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
855 ENABLE_LLVMC_DYNAMIC_PLUGINS
902 CONVENIENCE_LTDL_TRUE
903 CONVENIENCE_LTDL_FALSE
918 NO_MISSING_FIELD_INITIALIZERS
946 ENABLE_VISIBILITY_INLINES_HIDDEN
952 ac_precious_vars
='build_alias
966 ac_subdirs_all
='projects/sample
968 projects/llvm-stacker
975 projects/llvm-poolalloc
977 projects/llvm-kernel'
979 # Initialize some variables set by options.
981 ac_init_version
=false
982 # The variables have the same names as the options, with
983 # dashes changed to underlines.
991 program_transform_name
=s
,x
,x
,
999 # Installation directory options.
1000 # These are left unexpanded so users can "make install exec_prefix=/foo"
1001 # and all the variables that are supposed to be based on exec_prefix
1002 # by default will actually change.
1003 # Use braces instead of parens because sh, perl, etc. also accept them.
1004 # (The list follows the same order as the GNU Coding Standards.)
1005 bindir
='${exec_prefix}/bin'
1006 sbindir
='${exec_prefix}/sbin'
1007 libexecdir
='${exec_prefix}/libexec'
1008 datarootdir
='${prefix}/share'
1009 datadir
='${datarootdir}'
1010 sysconfdir
='${prefix}/etc'
1011 sharedstatedir
='${prefix}/com'
1012 localstatedir
='${prefix}/var'
1013 includedir
='${prefix}/include'
1014 oldincludedir
='/usr/include'
1015 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1016 infodir
='${datarootdir}/info'
1021 libdir
='${exec_prefix}/lib'
1022 localedir
='${datarootdir}/locale'
1023 mandir
='${datarootdir}/man'
1029 # If the previous option needs an argument, assign it.
1030 if test -n "$ac_prev"; then
1031 eval $ac_prev=\
$ac_option
1037 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1041 # Accept the important Cygnus configure options, so we can diagnose typos.
1043 case $ac_dashdash$ac_option in
1047 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1049 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1050 bindir
=$ac_optarg ;;
1052 -build |
--build |
--buil |
--bui |
--bu)
1053 ac_prev
=build_alias
;;
1054 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1055 build_alias
=$ac_optarg ;;
1057 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1058 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1059 ac_prev
=cache_file
;;
1060 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1061 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1062 cache_file
=$ac_optarg ;;
1064 --config-cache |
-C)
1065 cache_file
=config.cache
;;
1067 -datadir |
--datadir |
--datadi |
--datad)
1069 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1070 datadir
=$ac_optarg ;;
1072 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1073 |
--dataroo |
--dataro |
--datar)
1074 ac_prev
=datarootdir
;;
1075 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1076 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1077 datarootdir
=$ac_optarg ;;
1079 -disable-* |
--disable-*)
1080 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1083 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1084 { (exit 1); exit 1; }; }
1085 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1086 eval enable_
$ac_feature=no
;;
1088 -docdir |
--docdir |
--docdi |
--doc |
--do)
1090 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1091 docdir
=$ac_optarg ;;
1093 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1095 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1096 dvidir
=$ac_optarg ;;
1098 -enable-* |
--enable-*)
1099 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1102 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1105 eval enable_
$ac_feature=\
$ac_optarg ;;
1107 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1108 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1109 |
--exec |
--exe |
--ex)
1110 ac_prev
=exec_prefix
;;
1111 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1112 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1113 |
--exec=* |
--exe=* |
--ex=*)
1114 exec_prefix
=$ac_optarg ;;
1116 -gas |
--gas |
--ga |
--g)
1117 # Obsolete; use --with-gas.
1120 -help |
--help |
--hel |
--he |
-h)
1121 ac_init_help
=long
;;
1122 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1123 ac_init_help
=recursive
;;
1124 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1125 ac_init_help
=short
;;
1127 -host |
--host |
--hos |
--ho)
1128 ac_prev
=host_alias
;;
1129 -host=* |
--host=* |
--hos=* |
--ho=*)
1130 host_alias
=$ac_optarg ;;
1132 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1134 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1136 htmldir
=$ac_optarg ;;
1138 -includedir |
--includedir |
--includedi |
--included |
--include \
1139 |
--includ |
--inclu |
--incl |
--inc)
1140 ac_prev
=includedir
;;
1141 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1142 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1143 includedir
=$ac_optarg ;;
1145 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1147 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1148 infodir
=$ac_optarg ;;
1150 -libdir |
--libdir |
--libdi |
--libd)
1152 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1153 libdir
=$ac_optarg ;;
1155 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1156 |
--libexe |
--libex |
--libe)
1157 ac_prev
=libexecdir
;;
1158 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1159 |
--libexe=* |
--libex=* |
--libe=*)
1160 libexecdir
=$ac_optarg ;;
1162 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1163 ac_prev
=localedir
;;
1164 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1165 localedir
=$ac_optarg ;;
1167 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1168 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1169 ac_prev
=localstatedir
;;
1170 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1171 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1172 localstatedir
=$ac_optarg ;;
1174 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1176 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1177 mandir
=$ac_optarg ;;
1179 -nfp |
--nfp |
--nf)
1180 # Obsolete; use --without-fp.
1183 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1184 |
--no-cr |
--no-c |
-n)
1187 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1188 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1191 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1192 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1193 |
--oldin |
--oldi |
--old |
--ol |
--o)
1194 ac_prev
=oldincludedir
;;
1195 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1196 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1197 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1198 oldincludedir
=$ac_optarg ;;
1200 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1202 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1203 prefix
=$ac_optarg ;;
1205 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1206 |
--program-pre |
--program-pr |
--program-p)
1207 ac_prev
=program_prefix
;;
1208 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1209 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1210 program_prefix
=$ac_optarg ;;
1212 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1213 |
--program-suf |
--program-su |
--program-s)
1214 ac_prev
=program_suffix
;;
1215 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1216 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1217 program_suffix
=$ac_optarg ;;
1219 -program-transform-name |
--program-transform-name \
1220 |
--program-transform-nam |
--program-transform-na \
1221 |
--program-transform-n |
--program-transform- \
1222 |
--program-transform |
--program-transfor \
1223 |
--program-transfo |
--program-transf \
1224 |
--program-trans |
--program-tran \
1225 |
--progr-tra |
--program-tr |
--program-t)
1226 ac_prev
=program_transform_name
;;
1227 -program-transform-name=* |
--program-transform-name=* \
1228 |
--program-transform-nam=* |
--program-transform-na=* \
1229 |
--program-transform-n=* |
--program-transform-=* \
1230 |
--program-transform=* |
--program-transfor=* \
1231 |
--program-transfo=* |
--program-transf=* \
1232 |
--program-trans=* |
--program-tran=* \
1233 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1234 program_transform_name
=$ac_optarg ;;
1236 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1238 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1239 pdfdir
=$ac_optarg ;;
1241 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1243 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1246 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1247 |
-silent |
--silent |
--silen |
--sile |
--sil)
1250 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1252 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1254 sbindir
=$ac_optarg ;;
1256 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1257 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1258 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1260 ac_prev
=sharedstatedir
;;
1261 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1262 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1263 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1265 sharedstatedir
=$ac_optarg ;;
1267 -site |
--site |
--sit)
1269 -site=* |
--site=* |
--sit=*)
1272 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1274 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1275 srcdir
=$ac_optarg ;;
1277 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1278 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1279 ac_prev
=sysconfdir
;;
1280 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1281 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1282 sysconfdir
=$ac_optarg ;;
1284 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1285 ac_prev
=target_alias
;;
1286 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1287 target_alias
=$ac_optarg ;;
1289 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1292 -version |
--version |
--versio |
--versi |
--vers |
-V)
1293 ac_init_version
=: ;;
1296 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1297 # Reject names that are not valid shell variable names.
1298 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1299 { echo "$as_me: error: invalid package name: $ac_package" >&2
1300 { (exit 1); exit 1; }; }
1301 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1302 eval with_
$ac_package=\
$ac_optarg ;;
1304 -without-* |
--without-*)
1305 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1308 { echo "$as_me: error: invalid package name: $ac_package" >&2
1309 { (exit 1); exit 1; }; }
1310 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1311 eval with_
$ac_package=no
;;
1314 # Obsolete; use --with-x.
1317 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1318 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1319 ac_prev
=x_includes
;;
1320 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1321 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1322 x_includes
=$ac_optarg ;;
1324 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1325 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1326 ac_prev
=x_libraries
;;
1327 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1328 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1329 x_libraries
=$ac_optarg ;;
1331 -*) { echo "$as_me: error: unrecognized option: $ac_option
1332 Try \`$0 --help' for more information." >&2
1333 { (exit 1); exit 1; }; }
1337 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1338 # Reject names that are not valid shell variable names.
1339 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1340 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1341 { (exit 1); exit 1; }; }
1342 eval $ac_envvar=\
$ac_optarg
1343 export $ac_envvar ;;
1346 # FIXME: should be removed in autoconf 3.0.
1347 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1348 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1349 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1350 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1356 if test -n "$ac_prev"; then
1357 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1358 { echo "$as_me: error: missing argument to $ac_option" >&2
1359 { (exit 1); exit 1; }; }
1362 # Be sure to have absolute directory names.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1370 [\\/$
]* | ?
:[\\/]* ) continue;;
1371 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1373 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1374 { (exit 1); exit 1; }; }
1377 # There might be people who depend on the old broken behavior: `$host'
1378 # used to hold the argument of --host etc.
1379 # FIXME: To remove some day.
1382 target
=$target_alias
1384 # FIXME: To remove some day.
1385 if test "x$host_alias" != x
; then
1386 if test "x$build_alias" = x
; then
1387 cross_compiling
=maybe
1388 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1389 If a cross compiler is detected then cross compile mode will be used." >&2
1390 elif test "x$build_alias" != "x$host_alias"; then
1396 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1398 test "$silent" = yes && exec 6>/dev
/null
1401 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1402 ac_ls_di
=`ls -di .` &&
1403 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1404 { echo "$as_me: error: Working directory cannot be determined" >&2
1405 { (exit 1); exit 1; }; }
1406 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1407 { echo "$as_me: error: pwd does not report name of working directory" >&2
1408 { (exit 1); exit 1; }; }
1411 # Find the source files, if location was not specified.
1412 if test -z "$srcdir"; then
1413 ac_srcdir_defaulted
=yes
1414 # Try the directory containing this script, then the parent directory.
1415 ac_confdir
=`$as_dirname -- "$0" ||
1416 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1417 X"$0" : 'X\(//\)[^/]' \| \
1418 X"$0" : 'X\(//\)$' \| \
1419 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1439 if test ! -r "$srcdir/$ac_unique_file"; then
1443 ac_srcdir_defaulted
=no
1445 if test ! -r "$srcdir/$ac_unique_file"; then
1446 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1447 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1448 { (exit 1); exit 1; }; }
1450 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1452 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1453 { (exit 1); exit 1; }; }
1455 # When building in place, set srcdir=.
1456 if test "$ac_abs_confdir" = "$ac_pwd"; then
1459 # Remove unnecessary trailing slashes from srcdir.
1460 # Double slashes in file names in object file debugging info
1461 # mess up M-x gdb in Emacs.
1463 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1465 for ac_var
in $ac_precious_vars; do
1466 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1467 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1468 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1469 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1473 # Report the --help message.
1475 if test "$ac_init_help" = "long"; then
1476 # Omit some internal or obsolete options to make the list less imposing.
1477 # This message is too long to be a string in the A/UX 3.1 sh.
1479 \`configure' configures llvm 2.7svn to adapt to many kinds of systems.
1481 Usage: $0 [OPTION]... [VAR=VALUE]...
1483 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1484 VAR=VALUE. See below for descriptions of some of the useful variables.
1486 Defaults for the options are specified in brackets.
1489 -h, --help display this help and exit
1490 --help=short display options specific to this package
1491 --help=recursive display the short help of all the included packages
1492 -V, --version display version information and exit
1493 -q, --quiet, --silent do not print \`checking...' messages
1494 --cache-file=FILE cache test results in FILE [disabled]
1495 -C, --config-cache alias for \`--cache-file=config.cache'
1496 -n, --no-create do not create output files
1497 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1499 Installation directories:
1500 --prefix=PREFIX install architecture-independent files in PREFIX
1501 [$ac_default_prefix]
1502 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1505 By default, \`make install' will install all the files in
1506 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1507 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1508 for instance \`--prefix=\$HOME'.
1510 For better control, use the options below.
1512 Fine tuning of the installation directories:
1513 --bindir=DIR user executables [EPREFIX/bin]
1514 --sbindir=DIR system admin executables [EPREFIX/sbin]
1515 --libexecdir=DIR program executables [EPREFIX/libexec]
1516 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1517 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1518 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1519 --libdir=DIR object code libraries [EPREFIX/lib]
1520 --includedir=DIR C header files [PREFIX/include]
1521 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1522 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1523 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1524 --infodir=DIR info documentation [DATAROOTDIR/info]
1525 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1526 --mandir=DIR man documentation [DATAROOTDIR/man]
1527 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1528 --htmldir=DIR html documentation [DOCDIR]
1529 --dvidir=DIR dvi documentation [DOCDIR]
1530 --pdfdir=DIR pdf documentation [DOCDIR]
1531 --psdir=DIR ps documentation [DOCDIR]
1537 --build=BUILD configure
for building on BUILD
[guessed
]
1538 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1539 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1543 if test -n "$ac_init_help"; then
1544 case $ac_init_help in
1545 short | recursive
) echo "Configuration of llvm 2.7svn:";;
1550 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1551 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1552 --enable-optimized Compile with optimizations enabled
(default is NO
)
1553 --enable-profiling Compile with profiling enabled
(default is NO
)
1554 --enable-assertions Compile with assertion checks enabled
(default is
1556 --enable-expensive-checks
1557 Compile with expensive debug checks enabled
(default
1559 --enable-debug-runtime Build runtime libs with debug symbols
(default is
1561 --enable-debug-symbols Build compiler with debug symbols
(default is NO
if
1562 optimization is on and YES
if it
's off)
1563 --enable-jit Enable Just In Time Compiling (default is YES)
1564 --enable-doxygen Build doxygen documentation (default is NO)
1565 --enable-threads Use threads if available (default is YES)
1566 --enable-pic Build LLVM with Position Independent Code (default
1568 --enable-targets Build specific host targets: all or
1569 target1,target2,... Valid targets are: host, x86,
1570 x86_64, sparc, powerpc, alpha, arm, mips, spu,
1571 pic16, xcore, msp430, systemz, blackfin, cbe, msil,
1572 and cpp (default=all)
1573 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1575 --enable-bindings Build specific language bindings:
1576 all,auto,none,{binding-name} (default=auto)
1577 --enable-libffi Check for the presence of libffi (default is YES)
1578 --enable-llvmc-dynamic Link LLVMC dynamically (default is NO, unless on
1580 --enable-llvmc-dynamic-plugins
1581 Enable dynamic LLVMC plugins (default is YES)
1582 --enable-ltdl-install install libltdl
1583 --enable-shared[=PKGS] build shared libraries
1585 --enable-static[=PKGS] build static libraries
1587 --enable-fast-install[=PKGS]
1588 optimize for fast installation
1590 --disable-libtool-lock avoid locking (might break parallel builds)
1593 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1594 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1595 --with-llvmgccdir Specify location of llvm-gcc install dir (default
1597 --with-llvmgcc Specify location of llvm-gcc driver (default
1599 --with-llvmgxx Specify location of llvm-g++ driver (default
1601 --with-optimize-option Select the compiler options to use for optimized
1603 --with-extra-options Specify additional options to compile LLVM with
1604 --with-ocaml-libdir Specify install location for ocaml bindings (default
1606 --with-c-include-dirs Colon separated list of directories clang will
1608 --with-binutils-include Specify path to binutils/include/ containing
1609 plugin-api.h file for gold plugin.
1610 --with-tclinclude directory where tcl headers are
1611 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1612 --with-pic try to use only PIC/non-PIC objects [default=use
1614 --with-tags[=TAGS] include additional configurations [automatic]
1615 --with-udis86=<path> Use udis86 external x86 disassembler library
1616 --with-oprofile=<prefix>
1617 Tell OProfile >= 0.9.4 how to symbolize JIT output
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1625 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1629 CXXCPP C++ preprocessor
1630 F77 Fortran 77 compiler command
1631 FFLAGS Fortran 77 compiler flags
1633 Use these variables to override the choices made by `configure' or to
help
1634 it to
find libraries and programs with nonstandard names
/locations.
1636 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1641 if test "$ac_init_help" = "recursive"; then
1642 # If there are subdirs, report their specific --help.
1643 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1644 test -d "$ac_dir" ||
continue
1648 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1650 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1655 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1658 ac_abs_top_builddir
=$ac_pwd
1659 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir
=$ac_top_build_prefix
1664 .
) # We are building in place.
1666 ac_top_srcdir
=$ac_top_builddir_sub
1667 ac_abs_top_srcdir
=$ac_pwd ;;
1668 [\\/]* | ?
:[\\/]* ) # Absolute name.
1669 ac_srcdir
=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir
=$srcdir
1671 ac_abs_top_srcdir
=$srcdir ;;
1673 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1677 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1679 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1688 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1697 llvm configure
2.7svn
1698 generated by GNU Autoconf
2.60
1700 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1701 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1702 This configure
script is free software
; the Free Software Foundation
1703 gives unlimited permission to copy
, distribute and modify it.
1705 Copyright
(c
) 2003-2009 University of Illinois
at Urbana-Champaign.
1709 cat >config.log
<<_ACEOF
1710 This file contains any messages produced by compilers while
1711 running configure, to aid debugging if configure makes a mistake.
1713 It was created by llvm $as_me 2.7svn, which was
1714 generated by GNU Autoconf 2.60. Invocation command line was
1726 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1727 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1728 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1729 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1730 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1732 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1733 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1735 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1736 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1737 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1738 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1739 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1740 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1741 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1749 test -z "$as_dir" && as_dir
=.
1750 echo "PATH: $as_dir"
1766 # Keep a trace of the command line.
1767 # Strip out --no-create and --no-recursion so they do not pile up.
1768 # Strip out --silent because we don't want to record it for future runs.
1769 # Also quote any args containing shell meta-characters.
1770 # Make two passes to allow for proper duplicate-argument suppression.
1774 ac_must_keep_next
=false
1780 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1781 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1782 |
-silent |
--silent |
--silen |
--sile |
--sil)
1785 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1788 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1790 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1791 if test $ac_must_keep_next = true
; then
1792 ac_must_keep_next
=false
# Got value, back to normal.
1795 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1796 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1797 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1798 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1799 case "$ac_configure_args0 " in
1800 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1803 -* ) ac_must_keep_next
=true
;;
1806 ac_configure_args
="$ac_configure_args '$ac_arg'"
1811 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1812 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1814 # When interrupted or exit'd, cleanup temporary files, and complete
1815 # config.log. We remove comments because anyway the quotes in there
1816 # would cause problems or look ugly.
1817 # WARNING: Use '\'' to represent an apostrophe within the trap.
1818 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1819 trap 'exit_status=$?
1820 # Save into config.log some information that might help in debugging.
1825 ## ---------------- ##
1826 ## Cache variables. ##
1827 ## ---------------- ##
1830 # The following way of writing the cache mishandles newlines in values,
1832 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1833 eval ac_val=\$$ac_var
1837 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1838 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1841 _ | IFS | as_nl) ;; #(
1842 *) $as_unset $ac_var ;;
1847 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1848 *${as_nl}ac_space=\ *)
1850 "s/'\''/'\''\\\\'\'''\''/g;
1851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1862 ## ----------------- ##
1863 ## Output variables. ##
1864 ## ----------------- ##
1867 for ac_var in $ac_subst_vars
1869 eval ac_val=\$$ac_var
1871 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1873 echo "$ac_var='\''$ac_val'\''"
1877 if test -n "$ac_subst_files"; then
1879 ## ------------------- ##
1880 ## File substitutions. ##
1881 ## ------------------- ##
1884 for ac_var
in $ac_subst_files
1886 eval ac_val
=\$
$ac_var
1888 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1890 echo "$ac_var='\''$ac_val'\''"
1895 if test -s confdefs.h; then
1905 test "$ac_signal" != 0 &&
1906 echo "$as_me: caught signal $ac_signal"
1907 echo "$as_me: exit $exit_status"
1909 rm -f core *.core core.conftest.* &&
1910 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1913 for ac_signal
in 1 2 13 15; do
1914 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1918 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1919 rm -f -r conftest
* confdefs.h
1921 # Predefined preprocessor variables.
1923 cat >>confdefs.h
<<_ACEOF
1924 #define PACKAGE_NAME "$PACKAGE_NAME"
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1933 cat >>confdefs.h
<<_ACEOF
1934 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1938 cat >>confdefs.h
<<_ACEOF
1939 #define PACKAGE_STRING "$PACKAGE_STRING"
1943 cat >>confdefs.h
<<_ACEOF
1944 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1948 # Let the site file select an alternate cache file if it wants to.
1949 # Prefer explicitly selected file to automatically selected ones.
1950 if test -n "$CONFIG_SITE"; then
1951 set x
"$CONFIG_SITE"
1952 elif test "x$prefix" != xNONE
; then
1953 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1955 set x
"$ac_default_prefix/share/config.site" \
1956 "$ac_default_prefix/etc/config.site"
1961 if test -r "$ac_site_file"; then
1962 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1963 echo "$as_me: loading site script $ac_site_file" >&6;}
1964 sed 's/^/| /' "$ac_site_file" >&5
1969 if test -r "$cache_file"; then
1970 # Some versions of bash will fail to source /dev/null (special
1971 # files actually), so we avoid doing that.
1972 if test -f "$cache_file"; then
1973 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1974 echo "$as_me: loading cache $cache_file" >&6;}
1976 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1977 *) .
"./$cache_file";;
1981 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1982 echo "$as_me: creating cache $cache_file" >&6;}
1986 # Check that the precious variables saved in the cache have kept the same
1988 ac_cache_corrupted
=false
1989 for ac_var
in $ac_precious_vars; do
1990 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1991 eval ac_new_set
=\
$ac_env_${ac_var}_set
1992 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1993 eval ac_new_val
=\
$ac_env_${ac_var}_value
1994 case $ac_old_set,$ac_new_set in
1996 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1997 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1998 ac_cache_corrupted
=: ;;
2000 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2001 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2002 ac_cache_corrupted
=: ;;
2005 if test "x$ac_old_val" != "x$ac_new_val"; then
2006 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2007 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2008 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2009 echo "$as_me: former value: $ac_old_val" >&2;}
2010 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2011 echo "$as_me: current value: $ac_new_val" >&2;}
2012 ac_cache_corrupted
=:
2015 # Pass precious variables to config.status.
2016 if test "$ac_new_set" = set; then
2018 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2019 *) ac_arg
=$ac_var=$ac_new_val ;;
2021 case " $ac_configure_args " in
2022 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2023 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2027 if $ac_cache_corrupted; then
2028 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2029 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2030 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2031 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2032 { (exit 1); exit 1; }; }
2060 ac_cpp
='$CPP $CPPFLAGS'
2061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2067 LLVM_COPYRIGHT
="Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign."
2076 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2077 if test -f "$ac_dir/install-sh"; then
2079 ac_install_sh
="$ac_aux_dir/install-sh -c"
2081 elif test -f "$ac_dir/install.sh"; then
2083 ac_install_sh
="$ac_aux_dir/install.sh -c"
2085 elif test -f "$ac_dir/shtool"; then
2087 ac_install_sh
="$ac_aux_dir/shtool install -c"
2091 if test -z "$ac_aux_dir"; then
2092 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2093 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2094 { (exit 1); exit 1; }; }
2097 # These three variables are undocumented and unsupported,
2098 # and are intended to be withdrawn in a future Autoconf release.
2099 # They can cause serious problems if a builder's source tree is in a directory
2100 # whose full name contains unusual characters.
2101 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2102 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2103 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2107 if test ${srcdir} != "." ; then
2108 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
2109 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2110 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2111 { (exit 1); exit 1; }; }
2115 for i
in `ls ${srcdir}/projects`
2117 if test -d ${srcdir}/projects
/${i} ; then
2120 sample
) subdirs
="$subdirs projects/sample"
2122 privbracket
) subdirs
="$subdirs projects/privbracket"
2124 llvm-stacker
) subdirs
="$subdirs projects/llvm-stacker"
2126 # llvm-test is the old name of the test-suite, kept here for backwards
2128 llvm-test
) subdirs
="$subdirs projects/llvm-test"
2130 test-suite
) subdirs
="$subdirs projects/test-suite"
2132 llvm-reopt
) subdirs
="$subdirs projects/llvm-reopt"
2134 llvm-gcc
) subdirs
="$subdirs projects/llvm-gcc"
2136 llvm-java
) subdirs
="$subdirs projects/llvm-java"
2138 llvm-tv
) subdirs
="$subdirs projects/llvm-tv"
2140 llvm-poolalloc
) subdirs
="$subdirs projects/llvm-poolalloc"
2142 poolalloc
) subdirs
="$subdirs projects/poolalloc"
2144 llvm-kernel
) subdirs
="$subdirs projects/llvm-kernel"
2147 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2148 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2155 # Make sure we can run config.sub.
2156 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2157 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2158 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2159 { (exit 1); exit 1; }; }
2161 { echo "$as_me:$LINENO: checking build system type" >&5
2162 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2163 if test "${ac_cv_build+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 ac_build_alias
=$build_alias
2167 test "x$ac_build_alias" = x
&&
2168 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2169 test "x$ac_build_alias" = x
&&
2170 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2171 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2172 { (exit 1); exit 1; }; }
2173 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2174 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2175 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2176 { (exit 1); exit 1; }; }
2179 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2180 echo "${ECHO_T}$ac_cv_build" >&6; }
2181 case $ac_cv_build in
2183 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2184 echo "$as_me: error: invalid value of canonical build" >&2;}
2185 { (exit 1); exit 1; }; };;
2188 ac_save_IFS
=$IFS; IFS
='-'
2194 # Remember, the first character of IFS is used to create $*,
2195 # except with old shells:
2198 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2201 { echo "$as_me:$LINENO: checking host system type" >&5
2202 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2203 if test "${ac_cv_host+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test "x$host_alias" = x
; then
2207 ac_cv_host
=$ac_cv_build
2209 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2210 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2211 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2212 { (exit 1); exit 1; }; }
2216 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2217 echo "${ECHO_T}$ac_cv_host" >&6; }
2220 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2221 echo "$as_me: error: invalid value of canonical host" >&2;}
2222 { (exit 1); exit 1; }; };;
2225 ac_save_IFS
=$IFS; IFS
='-'
2231 # Remember, the first character of IFS is used to create $*,
2232 # except with old shells:
2235 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2238 { echo "$as_me:$LINENO: checking target system type" >&5
2239 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2240 if test "${ac_cv_target+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 if test "x$target_alias" = x
; then
2244 ac_cv_target
=$ac_cv_host
2246 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2247 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2248 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2249 { (exit 1); exit 1; }; }
2253 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2254 echo "${ECHO_T}$ac_cv_target" >&6; }
2255 case $ac_cv_target in
2257 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2258 echo "$as_me: error: invalid value of canonical target" >&2;}
2259 { (exit 1); exit 1; }; };;
2261 target
=$ac_cv_target
2262 ac_save_IFS
=$IFS; IFS
='-'
2268 # Remember, the first character of IFS is used to create $*,
2269 # except with old shells:
2272 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2275 # The aliases save the names the user supplied, while $host etc.
2276 # will get canonicalized.
2277 test -n "$target_alias" &&
2278 test "$program_prefix$program_suffix$program_transform_name" = \
2280 program_prefix
=${target_alias}-
2282 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2283 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2284 if test "${llvm_cv_os_type+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
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
="AIX"
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
="IRIX"
2297 llvm_cv_platform_type
="Unix" ;;
2299 llvm_cv_link_all_option
="-Wl,--whole-archive"
2300 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2301 llvm_cv_os_type
="Cygwin"
2302 llvm_cv_platform_type
="Unix" ;;
2304 llvm_cv_link_all_option
="-Wl,-all_load"
2305 llvm_cv_no_link_all_option
="-Wl,-noall_load"
2306 llvm_cv_os_type
="Darwin"
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
="FreeBSD"
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
="OpenBSD"
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
="NetBSD"
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
="DragonFly"
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
="HP-UX"
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
="Interix"
2337 llvm_cv_platform_type
="Unix" ;;
2339 llvm_cv_link_all_option
="-Wl,--whole-archive"
2340 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2341 llvm_cv_os_type
="Linux"
2342 llvm_cv_platform_type
="Unix" ;;
2344 llvm_cv_link_all_option
="-Wl,-z,allextract"
2345 llvm_cv_no_link_all_option
="-Wl,-z,defaultextract"
2346 llvm_cv_os_type
="SunOS"
2347 llvm_cv_platform_type
="Unix" ;;
2349 llvm_cv_link_all_option
="-Wl,-z,allextract"
2350 llvm_cv_link_all_option
="-Wl,-z,defaultextract"
2351 llvm_cv_os_type
="AuroraUX"
2352 llvm_cv_platform_type
="Unix" ;;
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
="Win32"
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
="MingW"
2362 llvm_cv_platform_type
="Win32" ;;
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
="Haiku"
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
="-Wl,--whole-archive"
2375 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2376 llvm_cv_os_type
="Freestanding"
2377 llvm_cv_platform_type
="Unix" ;;
2379 llvm_cv_link_all_option
=""
2380 llvm_cv_no_link_all_option
=""
2381 llvm_cv_os_type
="Unknown"
2382 llvm_cv_platform_type
="Unknown" ;;
2385 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2386 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2388 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
2389 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
2390 if test "${llvm_cv_target_os_type+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 llvm_cv_target_os_type
="AIX" ;;
2397 llvm_cv_target_os_type
="IRIX" ;;
2399 llvm_cv_target_os_type
="Cygwin" ;;
2401 llvm_cv_target_os_type
="Darwin" ;;
2403 llvm_cv_target_os_type
="FreeBSD" ;;
2405 llvm_cv_target_os_type
="OpenBSD" ;;
2407 llvm_cv_target_os_type
="NetBSD" ;;
2409 llvm_cv_target_os_type
="DragonFly" ;;
2411 llvm_cv_target_os_type
="HP-UX" ;;
2413 llvm_cv_target_os_type
="Interix" ;;
2415 llvm_cv_target_os_type
="Linux" ;;
2417 llvm_cv_target_os_type
="SunOS" ;;
2419 llvm_cv_target_os_type
="AuroraUX" ;;
2421 llvm_cv_target_os_type
="Win32" ;;
2423 llvm_cv_target_os_type
="MingW" ;;
2425 llvm_cv_target_os_type
="Haiku" ;;
2427 llvm_cv_target_os_type
="Freestanding" ;;
2429 llvm_cv_target_os_type
="Unknown" ;;
2432 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
2433 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
2435 if test "$llvm_cv_os_type" = "Unknown" ; then
2436 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2437 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2438 { (exit 1); exit 1; }; }
2443 HOST_OS
=$llvm_cv_os_type
2445 TARGET_OS
=$llvm_cv_target_os_type
2448 LINKALL
=$llvm_cv_link_all_option
2450 NOLINKALL
=$llvm_cv_no_link_all_option
2453 case $llvm_cv_platform_type in
2456 cat >>confdefs.h
<<\_ACEOF
2457 #define LLVM_ON_UNIX 1
2467 cat >>confdefs.h
<<\_ACEOF
2468 #define LLVM_ON_WIN32 1
2478 { echo "$as_me:$LINENO: checking target architecture" >&5
2479 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2480 if test "${llvm_cv_target_arch+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 i?
86-*) llvm_cv_target_arch
="x86" ;;
2485 amd64-
* | x86_64-
*) llvm_cv_target_arch
="x86_64" ;;
2486 sparc
*-*) llvm_cv_target_arch
="Sparc" ;;
2487 powerpc
*-*) llvm_cv_target_arch
="PowerPC" ;;
2488 alpha
*-*) llvm_cv_target_arch
="Alpha" ;;
2489 arm
*-*) llvm_cv_target_arch
="ARM" ;;
2490 mips-
*) llvm_cv_target_arch
="Mips" ;;
2491 pic16-
*) llvm_cv_target_arch
="PIC16" ;;
2492 xcore-
*) llvm_cv_target_arch
="XCore" ;;
2493 msp430-
*) llvm_cv_target_arch
="MSP430" ;;
2494 s390x-
*) llvm_cv_target_arch
="SystemZ" ;;
2495 bfin-
*) llvm_cv_target_arch
="Blackfin" ;;
2496 *) llvm_cv_target_arch
="Unknown" ;;
2499 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2500 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2502 if test "$llvm_cv_target_arch" = "Unknown" ; then
2503 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2504 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2507 # Determine the LLVM native architecture for the target
2508 case "$llvm_cv_target_arch" in
2509 x86
) LLVM_NATIVE_ARCH
="X86" ;;
2510 x86_64
) LLVM_NATIVE_ARCH
="X86" ;;
2511 *) LLVM_NATIVE_ARCH
="$llvm_cv_target_arch" ;;
2514 ARCH
=$llvm_cv_target_arch
2518 ac_cpp
='$CPP $CPPFLAGS'
2519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2524 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2527 if test "${ac_cv_prog_CC+set}" = set; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 if test -n "$CC"; then
2531 ac_cv_prog_CC
="$CC" # Let the user override the test.
2533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir
=.
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$CC"; then
2552 { echo "$as_me:$LINENO: result: $CC" >&5
2553 echo "${ECHO_T}$CC" >&6; }
2555 { echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6; }
2561 if test -z "$ac_cv_prog_CC"; then
2563 # Extract the first word of "gcc", so it can be a program name with args.
2564 set dummy gcc
; ac_word
=$2
2565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2567 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 if test -n "$ac_ct_CC"; then
2571 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir
=.
2578 for ac_exec_ext
in '' $ac_executable_extensions; do
2579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 ac_cv_prog_ac_ct_CC
="gcc"
2581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2591 if test -n "$ac_ct_CC"; then
2592 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2593 echo "${ECHO_T}$ac_ct_CC" >&6; }
2595 { echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6; }
2599 if test "x$ac_ct_CC" = x
; then
2602 case $cross_compiling:$ac_tool_warned in
2604 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2605 whose name does not start with the host triplet. If you think this
2606 configuration is useful to you, please write to autoconf@gnu.org." >&5
2607 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2608 whose name does not start with the host triplet. If you think this
2609 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2610 ac_tool_warned
=yes ;;
2618 if test -z "$CC"; then
2619 if test -n "$ac_tool_prefix"; then
2620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2621 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2624 if test "${ac_cv_prog_CC+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 if test -n "$CC"; then
2628 ac_cv_prog_CC
="$CC" # Let the user override the test.
2630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir
=.
2635 for ac_exec_ext
in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 if test -n "$CC"; then
2649 { echo "$as_me:$LINENO: result: $CC" >&5
2650 echo "${ECHO_T}$CC" >&6; }
2652 { echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6; }
2659 if test -z "$CC"; then
2660 # Extract the first word of "cc", so it can be a program name with args.
2661 set dummy cc
; ac_word
=$2
2662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2664 if test "${ac_cv_prog_CC+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 if test -n "$CC"; then
2668 ac_cv_prog_CC
="$CC" # Let the user override the test.
2671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir
=.
2676 for ac_exec_ext
in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2679 ac_prog_rejected
=yes
2683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 if test $ac_prog_rejected = yes; then
2691 # We found a bogon in the path, so make sure we never use it.
2692 set dummy
$ac_cv_prog_CC
2694 if test $# != 0; then
2695 # We chose a different compiler from the bogus one.
2696 # However, it has the same basename, so the bogon will be chosen
2697 # first if we set CC to just the basename; use the full file name.
2699 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2705 if test -n "$CC"; then
2706 { echo "$as_me:$LINENO: result: $CC" >&5
2707 echo "${ECHO_T}$CC" >&6; }
2709 { echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6; }
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 for ac_prog
in cl.exe
2719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2720 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2723 if test "${ac_cv_prog_CC+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC
="$CC" # Let the user override the test.
2729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir
=.
2734 for ac_exec_ext
in '' $ac_executable_extensions; do
2735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2736 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 if test -n "$CC"; then
2748 { echo "$as_me:$LINENO: result: $CC" >&5
2749 echo "${ECHO_T}$CC" >&6; }
2751 { echo "$as_me:$LINENO: result: no" >&5
2752 echo "${ECHO_T}no" >&6; }
2756 test -n "$CC" && break
2759 if test -z "$CC"; then
2761 for ac_prog
in cl.exe
2763 # Extract the first word of "$ac_prog", so it can be a program name with args.
2764 set dummy
$ac_prog; ac_word
=$2
2765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2770 if test -n "$ac_ct_CC"; then
2771 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir
=.
2778 for ac_exec_ext
in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_ac_ct_CC
="$ac_prog"
2781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2791 if test -n "$ac_ct_CC"; then
2792 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2793 echo "${ECHO_T}$ac_ct_CC" >&6; }
2795 { echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6; }
2800 test -n "$ac_ct_CC" && break
2803 if test "x$ac_ct_CC" = x
; then
2806 case $cross_compiling:$ac_tool_warned in
2808 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2809 whose name does not start with the host triplet. If you think this
2810 configuration is useful to you, please write to autoconf@gnu.org." >&5
2811 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2812 whose name does not start with the host triplet. If you think this
2813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2814 ac_tool_warned
=yes ;;
2823 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2824 See \`config.log' for more details." >&5
2825 echo "$as_me: error: no acceptable C compiler found in \$PATH
2826 See \`config.log' for more details." >&2;}
2827 { (exit 1); exit 1; }; }
2829 # Provide some information about the compiler.
2830 echo "$as_me:$LINENO: checking for C compiler version" >&5
2831 ac_compiler
=`set X $ac_compile; echo $2`
2832 { (ac_try
="$ac_compiler --version >&5"
2834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2838 (eval "$ac_compiler --version >&5") 2>&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }
2842 { (ac_try="$ac_compiler -v >&5"
2844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2845 *) ac_try_echo
=$ac_try;;
2847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2848 (eval "$ac_compiler -v >&5") 2>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }
2852 { (ac_try
="$ac_compiler -V >&5"
2854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2858 (eval "$ac_compiler -V >&5") 2>&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }
2863 cat >conftest.$ac_ext <<_ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2878 ac_clean_files_save=$ac_clean_files
2879 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2880 # Try to create an executable without -o first, disregard a.out.
2881 # It will help us diagnose broken compilers, and finding out an intuition
2883 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2884 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2885 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2887 # List of possible output files, starting from the most likely.
2888 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2889 # only as a last resort. b.out is created by i960 compilers.
2890 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2892 # The IRIX 6 linker writes into existing files which may not be
2893 # executable, retaining their permissions. Remove them first so a
2894 # subsequent execution test works.
2896 for ac_file in $ac_files
2899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2900 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2905 if { (ac_try="$ac_link_default"
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_link_default") 2>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; then
2915 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2916 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2917 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2918 # so that the user can short-circuit this test for compilers unknown to
2920 for ac_file
in $ac_files
2922 test -f "$ac_file" ||
continue
2924 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2927 # We found the default executable, but exeext='' is most
2931 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2933 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2935 # We set ac_cv_exeext here because the later test for it is not
2936 # safe: cross compilers may not add the suffix if given an `-o'
2937 # argument, so we may need to know it at that point already.
2938 # Even if this section looks crufty: it has the advantage of
2945 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2951 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&5
2953 echo "$as_me: error: C compiler cannot create executables
2954 See \`config.log' for more details." >&2;}
2955 { (exit 77); exit 77; }; }
2958 ac_exeext
=$ac_cv_exeext
2959 { echo "$as_me:$LINENO: result: $ac_file" >&5
2960 echo "${ECHO_T}$ac_file" >&6; }
2962 # Check that the compiler produces executables we can run. If not, either
2963 # the compiler is broken, or we cross compile.
2964 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2965 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2966 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2967 # If not cross compiling, check that we can run a simple program.
2968 if test "$cross_compiling" != yes; then
2969 if { ac_try
='./$ac_file'
2970 { (case "(($ac_try" in
2971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2975 (eval "$ac_try") 2>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2981 if test "$cross_compiling" = maybe; then
2984 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2985 If you meant to cross compile, use \`--host'.
2986 See \`config.log' for more details.
" >&5
2987 echo "$as_me: error
: cannot run C compiled programs.
2988 If you meant to cross compile
, use \
`--host'.
2989 See \`config.log
' for more details." >&2;}
2990 { (exit 1); exit 1; }; }
2994 { echo "$as_me:$LINENO: result: yes" >&5
2995 echo "${ECHO_T}yes" >&6; }
2997 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2998 ac_clean_files=$ac_clean_files_save
2999 # Check that the compiler produces executables we can run. If not, either
3000 # the compiler is broken, or we cross compile.
3001 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3002 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3003 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3004 echo "${ECHO_T}$cross_compiling" >&6; }
3006 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3007 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3008 if { (ac_try="$ac_link"
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_link") 2>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; then
3018 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3019 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3020 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3022 for ac_file
in conftest.exe conftest conftest.
*; do
3023 test -f "$ac_file" ||
continue
3025 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3026 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3032 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3033 See \`config.log' for more details." >&5
3034 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3035 See \`config.log' for more details." >&2;}
3036 { (exit 1); exit 1; }; }
3039 rm -f conftest
$ac_cv_exeext
3040 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3041 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3043 rm -f conftest.
$ac_ext
3044 EXEEXT
=$ac_cv_exeext
3046 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3047 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3048 if test "${ac_cv_objext+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 cat >conftest.
$ac_ext <<_ACEOF
3054 cat confdefs.h
>>conftest.
$ac_ext
3055 cat >>conftest.
$ac_ext <<_ACEOF
3056 /* end confdefs.h. */
3066 rm -f conftest.o conftest.obj
3067 if { (ac_try
="$ac_compile"
3069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3073 (eval "$ac_compile") 2>&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; then
3077 for ac_file in conftest.o conftest.obj conftest.*; do
3078 test -f "$ac_file" || continue;
3080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3081 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3089 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3090 See \`config.log
' for more details." >&5
3091 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3092 See \`config.log' for more details.
" >&2;}
3093 { (exit 1); exit 1; }; }
3096 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3098 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3099 echo "${ECHO_T}$ac_cv_objext" >&6; }
3100 OBJEXT=$ac_cv_objext
3102 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3103 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3104 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3105 echo $ECHO_N "(cached
) $ECHO_C" >&6
3107 cat >conftest.$ac_ext <<_ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3138 (exit $ac_status); } &&
3139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3140 { (case "(($ac_try" in
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_try") 2>&5
3147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3148 (exit $ac_status); }; } &&
3149 { ac_try='test -s conftest.$ac_objext'
3150 { (case "(($ac_try" in
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3155 (eval "$ac_try") 2>&5
3157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3158 (exit $ac_status); }; }; then
3161 echo "$as_me: failed program was
:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3171 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3172 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3173 GCC=`test $ac_compiler_gnu = yes && echo yes`
3174 ac_test_CFLAGS=${CFLAGS+set}
3175 ac_save_CFLAGS=$CFLAGS
3176 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3177 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3178 if test "${ac_cv_prog_cc_g+set}" = set; then
3179 echo $ECHO_N "(cached
) $ECHO_C" >&6
3181 ac_save_c_werror_flag=$ac_c_werror_flag
3182 ac_c_werror_flag=yes
3185 cat >conftest.$ac_ext <<_ACEOF
3188 cat confdefs.h >>conftest.$ac_ext
3189 cat >>conftest.$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3200 rm -f conftest.$ac_objext
3201 if { (ac_try="$ac_compile"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3207 (eval "$ac_compile") 2>conftest.er1
3209 grep -v '^ *+' conftest.er1 >conftest.err
3211 cat conftest.err >&5
3212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3213 (exit $ac_status); } &&
3214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3215 { (case "(($ac_try" in
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3220 (eval "$ac_try") 2>&5
3222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3223 (exit $ac_status); }; } &&
3224 { ac_try='test -s conftest.$ac_objext'
3225 { (case "(($ac_try" in
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3230 (eval "$ac_try") 2>&5
3232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3233 (exit $ac_status); }; }; then
3236 echo "$as_me: failed program was
:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3240 cat >conftest.$ac_ext <<_ACEOF
3243 cat confdefs.h >>conftest.$ac_ext
3244 cat >>conftest.$ac_ext <<_ACEOF
3245 /* end confdefs.h. */
3255 rm -f conftest.$ac_objext
3256 if { (ac_try="$ac_compile"
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3262 (eval "$ac_compile") 2>conftest.er1
3264 grep -v '^ *+' conftest.er1 >conftest.err
3266 cat conftest.err >&5
3267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3268 (exit $ac_status); } &&
3269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3270 { (case "(($ac_try" in
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3275 (eval "$ac_try") 2>&5
3277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try='test -s conftest.$ac_objext'
3280 { (case "(($ac_try" in
3281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3285 (eval "$ac_try") 2>&5
3287 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3288 (exit $ac_status); }; }; then
3291 echo "$as_me: failed program was
:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 ac_c_werror_flag=$ac_save_c_werror_flag
3296 cat >conftest.$ac_ext <<_ACEOF
3299 cat confdefs.h >>conftest.$ac_ext
3300 cat >>conftest.$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3311 rm -f conftest.$ac_objext
3312 if { (ac_try="$ac_compile"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3318 (eval "$ac_compile") 2>conftest.er1
3320 grep -v '^ *+' conftest.er1 >conftest.err
3322 cat conftest.err >&5
3323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3324 (exit $ac_status); } &&
3325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3326 { (case "(($ac_try" in
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3331 (eval "$ac_try") 2>&5
3333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3334 (exit $ac_status); }; } &&
3335 { ac_try='test -s conftest.$ac_objext'
3336 { (case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3341 (eval "$ac_try") 2>&5
3343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3344 (exit $ac_status); }; }; then
3347 echo "$as_me: failed program was
:" >&5
3348 sed 's/^/| /' conftest.$ac_ext >&5
3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360 ac_c_werror_flag=$ac_save_c_werror_flag
3362 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3363 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3364 if test "$ac_test_CFLAGS" = set; then
3365 CFLAGS=$ac_save_CFLAGS
3366 elif test $ac_cv_prog_cc_g = yes; then
3367 if test "$GCC" = yes; then
3373 if test "$GCC" = yes; then
3379 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3380 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3381 if test "${ac_cv_prog_cc_c89+set}" = set; then
3382 echo $ECHO_N "(cached
) $ECHO_C" >&6
3384 ac_cv_prog_cc_c89=no
3386 cat >conftest.$ac_ext <<_ACEOF
3389 cat confdefs.h >>conftest.$ac_ext
3390 cat >>conftest.$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3394 #include <sys/types.h>
3395 #include <sys/stat.h>
3396 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3397 struct buf { int x; };
3398 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3399 static char *e (p, i)
3405 static char *f (char * (*g) (char **, int), char **p, ...)
3410 s = g (p, va_arg (v,int));
3415 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3416 function prototypes and stuff, but not '\xHH' hex character constants.
3417 These don't provoke an error unfortunately, instead are silently treated
3418 as 'x'. The following induces an error, until -std is added to get
3419 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3420 array size at least. It's necessary to write '\x00'==0 to get something
3421 that's true only with -std. */
3422 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3424 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3425 inside strings and character constants. */
3427 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3429 int test (int i, double x);
3430 struct s1 {int (*f) (int a);};
3431 struct s2 {int (*f) (double a);};
3432 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3438 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3443 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3444 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3446 CC="$ac_save_CC $ac_arg"
3447 rm -f conftest.$ac_objext
3448 if { (ac_try="$ac_compile"
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3454 (eval "$ac_compile") 2>conftest.er1
3456 grep -v '^ *+' conftest.er1 >conftest.err
3458 cat conftest.err >&5
3459 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3460 (exit $ac_status); } &&
3461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3462 { (case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3467 (eval "$ac_try") 2>&5
3469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3470 (exit $ac_status); }; } &&
3471 { ac_try='test -s conftest.$ac_objext'
3472 { (case "(($ac_try" in
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3477 (eval "$ac_try") 2>&5
3479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3480 (exit $ac_status); }; }; then
3481 ac_cv_prog_cc_c89=$ac_arg
3483 echo "$as_me: failed program was
:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3489 rm -f core conftest.err conftest.$ac_objext
3490 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3492 rm -f conftest.$ac_ext
3497 case "x
$ac_cv_prog_cc_c89" in
3499 { echo "$as_me:$LINENO: result
: none needed
" >&5
3500 echo "${ECHO_T}none needed
" >&6; } ;;
3502 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3503 echo "${ECHO_T}unsupported
" >&6; } ;;
3505 CC="$CC $ac_cv_prog_cc_c89"
3506 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3507 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3519 ac_cpp='$CPP $CPPFLAGS'
3520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3523 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3524 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3525 # On Suns, sometimes $CPP names a directory.
3526 if test -n "$CPP" && test -d "$CPP"; then
3529 if test -z "$CPP"; then
3530 if test "${ac_cv_prog_CPP+set}" = set; then
3531 echo $ECHO_N "(cached
) $ECHO_C" >&6
3533 # Double quotes because CPP needs to be expanded
3534 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3537 for ac_c_preproc_warn_flag in '' yes
3539 # Use a header file that comes with gcc, so configuring glibc
3540 # with a fresh cross-compiler works.
3541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3542 # <limits.h> exists even on freestanding compilers.
3543 # On the NeXT, cc -E runs the code through the compiler's parser,
3544 # not just through cpp. "Syntax error
" is here to catch this case.
3545 cat >conftest.$ac_ext <<_ACEOF
3548 cat confdefs.h >>conftest.$ac_ext
3549 cat >>conftest.$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3552 # include <limits.h>
3554 # include <assert.h>
3558 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3564 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3566 grep -v '^ *+' conftest.er1 >conftest.err
3568 cat conftest.err >&5
3569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3570 (exit $ac_status); } >/dev/null; then
3571 if test -s conftest.err; then
3572 ac_cpp_err=$ac_c_preproc_warn_flag
3573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3580 if test -z "$ac_cpp_err"; then
3583 echo "$as_me: failed program was
:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3586 # Broken: fails on valid input.
3590 rm -f conftest.err conftest.$ac_ext
3592 # OK, works on sane cases. Now check whether nonexistent headers
3593 # can be detected and how.
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3600 #include <ac_nonexistent.h>
3602 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;;
3607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3608 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3610 grep -v '^ *+' conftest.er1 >conftest.err
3612 cat conftest.err >&5
3613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3614 (exit $ac_status); } >/dev/null; then
3615 if test -s conftest.err; then
3616 ac_cpp_err=$ac_c_preproc_warn_flag
3617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3624 if test -z "$ac_cpp_err"; then
3625 # Broken: success on invalid input.
3628 echo "$as_me: failed program was
:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3631 # Passes both tests.
3636 rm -f conftest.err conftest.$ac_ext
3639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3640 rm -f conftest.err conftest.$ac_ext
3641 if $ac_preproc_ok; then
3653 { echo "$as_me:$LINENO: result
: $CPP" >&5
3654 echo "${ECHO_T}$CPP" >&6; }
3656 for ac_c_preproc_warn_flag in '' yes
3658 # Use a header file that comes with gcc, so configuring glibc
3659 # with a fresh cross-compiler works.
3660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3661 # <limits.h> exists even on freestanding compilers.
3662 # On the NeXT, cc -E runs the code through the compiler's parser,
3663 # not just through cpp. "Syntax error
" is here to catch this case.
3664 cat >conftest.$ac_ext <<_ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3671 # include <limits.h>
3673 # include <assert.h>
3677 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3683 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3685 grep -v '^ *+' conftest.er1 >conftest.err
3687 cat conftest.err >&5
3688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3689 (exit $ac_status); } >/dev/null; then
3690 if test -s conftest.err; then
3691 ac_cpp_err=$ac_c_preproc_warn_flag
3692 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3699 if test -z "$ac_cpp_err"; then
3702 echo "$as_me: failed program was
:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3705 # Broken: fails on valid input.
3709 rm -f conftest.err conftest.$ac_ext
3711 # OK, works on sane cases. Now check whether nonexistent headers
3712 # can be detected and how.
3713 cat >conftest.$ac_ext <<_ACEOF
3716 cat confdefs.h >>conftest.$ac_ext
3717 cat >>conftest.$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3719 #include <ac_nonexistent.h>
3721 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3724 *) ac_try_echo=$ac_try;;
3726 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3727 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3729 grep -v '^ *+' conftest.er1 >conftest.err
3731 cat conftest.err >&5
3732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3733 (exit $ac_status); } >/dev/null; then
3734 if test -s conftest.err; then
3735 ac_cpp_err=$ac_c_preproc_warn_flag
3736 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3743 if test -z "$ac_cpp_err"; then
3744 # Broken: success on invalid input.
3747 echo "$as_me: failed program was
:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 # Passes both tests.
3755 rm -f conftest.err conftest.$ac_ext
3758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3759 rm -f conftest.err conftest.$ac_ext
3760 if $ac_preproc_ok; then
3763 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3764 See \
`config.log' for more details." >&5
3765 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3766 See \`config.log
' for more details." >&2;}
3767 { (exit 1); exit 1; }; }
3771 ac_cpp='$CPP $CPPFLAGS'
3772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3773 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3778 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3779 if test "${ac_cv_path_GREP+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 # Extract the first word of "grep ggrep" to use in msg output
3783 if test -z "$GREP"; then
3784 set dummy grep ggrep; ac_prog_name=$2
3785 if test "${ac_cv_path_GREP+set}" = set; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
3788 ac_path_GREP_found=false
3789 # Loop through the user's path and
test for each of PROGNAME-LIST
3790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3791 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3794 test -z "$as_dir" && as_dir
=.
3795 for ac_prog
in grep ggrep
; do
3796 for ac_exec_ext
in '' $ac_executable_extensions; do
3797 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3798 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3799 # Check for GNU ac_path_GREP and select it if it is found.
3800 # Check for GNU $ac_path_GREP
3801 case `"$ac_path_GREP" --version 2>&1` in
3803 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3806 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3809 cat "conftest.in" "conftest.in" >"conftest.tmp"
3810 mv "conftest.tmp" "conftest.in"
3811 cp "conftest.in" "conftest.nl"
3812 echo 'GREP' >> "conftest.nl"
3813 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3814 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3815 ac_count
=`expr $ac_count + 1`
3816 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3817 # Best one so far, save it but keep looking for a better one
3818 ac_cv_path_GREP
="$ac_path_GREP"
3819 ac_path_GREP_max
=$ac_count
3821 # 10*(2^10) chars as input seems more than enough
3822 test $ac_count -gt 10 && break
3824 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3828 $ac_path_GREP_found && break 3
3838 GREP
="$ac_cv_path_GREP"
3839 if test -z "$GREP"; then
3840 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3841 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3842 { (exit 1); exit 1; }; }
3846 ac_cv_path_GREP
=$GREP
3851 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3852 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3853 GREP
="$ac_cv_path_GREP"
3856 { echo "$as_me:$LINENO: checking for egrep" >&5
3857 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3858 if test "${ac_cv_path_EGREP+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3861 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3862 then ac_cv_path_EGREP
="$GREP -E"
3864 # Extract the first word of "egrep" to use in msg output
3865 if test -z "$EGREP"; then
3866 set dummy
egrep; ac_prog_name
=$2
3867 if test "${ac_cv_path_EGREP+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 ac_path_EGREP_found
=false
3871 # Loop through the user's path and test for each of PROGNAME-LIST
3872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3873 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3876 test -z "$as_dir" && as_dir
=.
3877 for ac_prog
in egrep; do
3878 for ac_exec_ext
in '' $ac_executable_extensions; do
3879 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3880 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3881 # Check for GNU ac_path_EGREP and select it if it is found.
3882 # Check for GNU $ac_path_EGREP
3883 case `"$ac_path_EGREP" --version 2>&1` in
3885 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3888 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3891 cat "conftest.in" "conftest.in" >"conftest.tmp"
3892 mv "conftest.tmp" "conftest.in"
3893 cp "conftest.in" "conftest.nl"
3894 echo 'EGREP' >> "conftest.nl"
3895 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3896 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3897 ac_count
=`expr $ac_count + 1`
3898 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3899 # Best one so far, save it but keep looking for a better one
3900 ac_cv_path_EGREP
="$ac_path_EGREP"
3901 ac_path_EGREP_max
=$ac_count
3903 # 10*(2^10) chars as input seems more than enough
3904 test $ac_count -gt 10 && break
3906 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3910 $ac_path_EGREP_found && break 3
3920 EGREP
="$ac_cv_path_EGREP"
3921 if test -z "$EGREP"; then
3922 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3923 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3924 { (exit 1); exit 1; }; }
3928 ac_cv_path_EGREP
=$EGREP
3934 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3935 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3936 EGREP
="$ac_cv_path_EGREP"
3939 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3940 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3941 if test "${ac_cv_header_stdc+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 cat >conftest.
$ac_ext <<_ACEOF
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3963 rm -f conftest.
$ac_objext
3964 if { (ac_try
="$ac_compile"
3966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3970 (eval "$ac_compile") 2>conftest.er1
3972 grep -v '^ *+' conftest.er1 >conftest.err
3974 cat conftest.err >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } &&
3977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3978 { (case "(($ac_try" in
3979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3980 *) ac_try_echo
=$ac_try;;
3982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3983 (eval "$ac_try") 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); }; } &&
3987 { ac_try
='test -s conftest.$ac_objext'
3988 { (case "(($ac_try" in
3989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3990 *) ac_try_echo=$ac_try;;
3992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3993 (eval "$ac_try") 2>&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); }; }; then
3997 ac_cv_header_stdc=yes
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.$ac_ext >&5
4002 ac_cv_header_stdc=no
4005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007 if test $ac_cv_header_stdc = yes; then
4008 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4009 cat >conftest.$ac_ext <<_ACEOF
4012 cat confdefs.h >>conftest.$ac_ext
4013 cat >>conftest.$ac_ext <<_ACEOF
4014 /* end confdefs.h. */
4018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4019 $EGREP "memchr" >/dev/null 2>&1; then
4022 ac_cv_header_stdc=no
4028 if test $ac_cv_header_stdc = yes; then
4029 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4030 cat >conftest.$ac_ext <<_ACEOF
4033 cat confdefs.h >>conftest.$ac_ext
4034 cat >>conftest.$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4040 $EGREP "free" >/dev/null 2>&1; then
4043 ac_cv_header_stdc=no
4049 if test $ac_cv_header_stdc = yes; then
4050 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4051 if test "$cross_compiling" = yes; then
4054 cat >conftest.$ac_ext <<_ACEOF
4057 cat confdefs.h >>conftest.$ac_ext
4058 cat >>conftest.$ac_ext <<_ACEOF
4059 /* end confdefs.h. */
4062 #if ((' ' & 0x0FF) == 0x020)
4063 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4064 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4066 # define ISLOWER(c) \
4067 (('a' <= (c) && (c) <= 'i') \
4068 || ('j' <= (c) && (c) <= 'r') \
4069 || ('s' <= (c) && (c) <= 'z'))
4070 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4073 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4078 for (i = 0; i < 256; i++)
4079 if (XOR (islower (i), ISLOWER (i))
4080 || toupper (i) != TOUPPER (i))
4085 rm -f conftest$ac_exeext
4086 if { (ac_try="$ac_link"
4088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4089 *) ac_try_echo
=$ac_try;;
4091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4092 (eval "$ac_link") 2>&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4096 { (case "(($ac_try" in
4097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4101 (eval "$ac_try") 2>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }; }; then
4107 echo "$as_me: program exited with status $ac_status" >&5
4108 echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.$ac_ext >&5
4112 ac_cv_header_stdc=no
4114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4120 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4121 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4122 if test $ac_cv_header_stdc = yes; then
4124 cat >>confdefs.h <<\_ACEOF
4125 #define STDC_HEADERS 1
4130 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4140 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4141 inttypes.h stdint.h unistd.h
4143 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 cat >conftest.$ac_ext <<_ACEOF
4152 cat confdefs.h >>conftest.$ac_ext
4153 cat >>conftest.$ac_ext <<_ACEOF
4154 /* end confdefs.h. */
4155 $ac_includes_default
4157 #include <$ac_header>
4159 rm -f conftest.$ac_objext
4160 if { (ac_try="$ac_compile"
4162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4163 *) ac_try_echo
=$ac_try;;
4165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166 (eval "$ac_compile") 2>conftest.er1
4168 grep -v '^ *+' conftest.er1
>conftest.err
4170 cat conftest.err
>&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } &&
4173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4174 { (case "(($ac_try" in
4175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4179 (eval "$ac_try") 2>&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; } &&
4183 { ac_try='test -s conftest.$ac_objext'
4184 { (case "(($ac_try" in
4185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4186 *) ac_try_echo
=$ac_try;;
4188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4189 (eval "$ac_try") 2>&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; }; then
4193 eval "$as_ac_Header=yes"
4195 echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.
$ac_ext >&5
4198 eval "$as_ac_Header=no"
4201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4203 ac_res
=`eval echo '${'$as_ac_Header'}'`
4204 { echo "$as_me:$LINENO: result: $ac_res" >&5
4205 echo "${ECHO_T}$ac_res" >&6; }
4206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4207 cat >>confdefs.h
<<_ACEOF
4208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4216 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4217 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4218 if test "${ac_cv_c_bigendian+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 # See if sys/param.h defines the BYTE_ORDER macro.
4222 cat >conftest.
$ac_ext <<_ACEOF
4225 cat confdefs.h
>>conftest.
$ac_ext
4226 cat >>conftest.
$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4228 #include <sys/types.h>
4229 #include <sys/param.h>
4234 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4242 rm -f conftest.
$ac_objext
4243 if { (ac_try
="$ac_compile"
4245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249 (eval "$ac_compile") 2>conftest.er1
4251 grep -v '^ *+' conftest.er1 >conftest.err
4253 cat conftest.err >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } &&
4256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4257 { (case "(($ac_try" in
4258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4259 *) ac_try_echo
=$ac_try;;
4261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4262 (eval "$ac_try") 2>&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); }; } &&
4266 { ac_try
='test -s conftest.$ac_objext'
4267 { (case "(($ac_try" in
4268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4272 (eval "$ac_try") 2>&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; }; then
4276 # It does; now see whether it defined to BIG_ENDIAN or not.
4277 cat >conftest.$ac_ext <<_ACEOF
4280 cat confdefs.h >>conftest.$ac_ext
4281 cat >>conftest.$ac_ext <<_ACEOF
4282 /* end confdefs.h. */
4283 #include <sys/types.h>
4284 #include <sys/param.h>
4289 #if BYTE_ORDER != BIG_ENDIAN
4297 rm -f conftest.$ac_objext
4298 if { (ac_try="$ac_compile"
4300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4301 *) ac_try_echo
=$ac_try;;
4303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4304 (eval "$ac_compile") 2>conftest.er1
4306 grep -v '^ *+' conftest.er1
>conftest.err
4308 cat conftest.err
>&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); } &&
4311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4312 { (case "(($ac_try" in
4313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_try") 2>&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); }; } &&
4321 { ac_try='test -s conftest.$ac_objext'
4322 { (case "(($ac_try" in
4323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4324 *) ac_try_echo
=$ac_try;;
4326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4327 (eval "$ac_try") 2>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); }; }; then
4331 ac_cv_c_bigendian
=yes
4333 echo "$as_me: failed program was:" >&5
4334 sed 's/^/| /' conftest.
$ac_ext >&5
4336 ac_cv_c_bigendian
=no
4339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4341 echo "$as_me: failed program was:" >&5
4342 sed 's/^/| /' conftest.
$ac_ext >&5
4344 # It does not; compile a test program.
4345 if test "$cross_compiling" = yes; then
4346 # try to guess the endianness by grepping values into an object file
4347 ac_cv_c_bigendian
=unknown
4348 cat >conftest.
$ac_ext <<_ACEOF
4351 cat confdefs.h
>>conftest.
$ac_ext
4352 cat >>conftest.
$ac_ext <<_ACEOF
4353 /* end confdefs.h. */
4354 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4355 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4356 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4357 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4358 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4359 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4363 _ascii (); _ebcdic ();
4368 rm -f conftest.
$ac_objext
4369 if { (ac_try
="$ac_compile"
4371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4375 (eval "$ac_compile") 2>conftest.er1
4377 grep -v '^ *+' conftest.er1 >conftest.err
4379 cat conftest.err >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); } &&
4382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4383 { (case "(($ac_try" in
4384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4385 *) ac_try_echo
=$ac_try;;
4387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4388 (eval "$ac_try") 2>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; } &&
4392 { ac_try
='test -s conftest.$ac_objext'
4393 { (case "(($ac_try" in
4394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4395 *) ac_try_echo=$ac_try;;
4397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4398 (eval "$ac_try") 2>&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; }; then
4402 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4403 ac_cv_c_bigendian=yes
4405 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4406 if test "$ac_cv_c_bigendian" = unknown; then
4407 ac_cv_c_bigendian=no
4409 # finding both strings is unlikely to happen, but who knows?
4410 ac_cv_c_bigendian=unknown
4414 echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.$ac_ext >&5
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 cat >conftest.$ac_ext <<_ACEOF
4425 cat confdefs.h >>conftest.$ac_ext
4426 cat >>conftest.$ac_ext <<_ACEOF
4427 /* end confdefs.h. */
4428 $ac_includes_default
4433 /* Are we little or big endian? From Harbison&Steele. */
4437 char c[sizeof (long int)];
4440 return u.c[sizeof (long int) - 1] == 1;
4446 rm -f conftest$ac_exeext
4447 if { (ac_try="$ac_link"
4449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4450 *) ac_try_echo
=$ac_try;;
4452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4453 (eval "$ac_link") 2>&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4457 { (case "(($ac_try" in
4458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462 (eval "$ac_try") 2>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; }; then
4466 ac_cv_c_bigendian=no
4468 echo "$as_me: program exited with status $ac_status" >&5
4469 echo "$as_me: failed program was:" >&5
4470 sed 's/^/| /' conftest.$ac_ext >&5
4473 ac_cv_c_bigendian=yes
4475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4483 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4484 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4485 case $ac_cv_c_bigendian in
4493 { { echo "$as_me:$LINENO: error: unknown endianness
4494 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4495 echo "$as_me: error: unknown endianness
4496 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4497 { (exit 1); exit 1; }; } ;;
4501 if test "$cross_compiling" = yes; then
4502 LLVM_CROSS_COMPILING=1
4505 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4506 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4507 if test "${ac_cv_build_exeext+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4511 ac_cv_build_exeext=.exe
4513 ac_build_prefix=${build_alias}-
4515 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4516 set dummy ${ac_build_prefix}gcc; ac_word=$2
4517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4519 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4522 if test -n "$BUILD_CC"; then
4523 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 test -z "$as_dir" && as_dir=.
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4532 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 BUILD_CC=$ac_cv_prog_BUILD_CC
4543 if test -n "$BUILD_CC"; then
4544 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4545 echo "${ECHO_T}$BUILD_CC" >&6; }
4547 { echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6; }
4552 if test -z "$BUILD_CC"; then
4553 # Extract the first word of "gcc", so it can be a program name with args.
4554 set dummy gcc; ac_word=$2
4555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4557 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 if test -n "$BUILD_CC"; then
4561 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir=.
4568 for ac_exec_ext in '' $ac_executable_extensions; do
4569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4570 ac_cv_prog_BUILD_CC="gcc"
4571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 BUILD_CC=$ac_cv_prog_BUILD_CC
4581 if test -n "$BUILD_CC"; then
4582 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4583 echo "${ECHO_T}$BUILD_CC" >&6; }
4585 { echo "$as_me:$LINENO: result: no" >&5
4586 echo "${ECHO_T}no" >&6; }
4590 if test -z "$BUILD_CC"; then
4591 # Extract the first word of "cc", so it can be a program name with args.
4592 set dummy cc; ac_word=$2
4593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4595 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 if test -n "$BUILD_CC"; then
4599 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4606 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4609 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4610 ac_prog_rejected=yes
4613 ac_cv_prog_BUILD_CC="cc"
4614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 if test $ac_prog_rejected = yes; then
4622 # We found a bogon in the path, so make sure we never use it.
4623 set dummy $ac_cv_prog_BUILD_CC
4625 if test $# != 0; then
4626 # We chose a different compiler from the bogus one.
4627 # However, it has the same basename, so the bogon will be chosen
4628 # first if we set BUILD_CC to just the basename; use the full file name.
4630 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4635 BUILD_CC=$ac_cv_prog_BUILD_CC
4636 if test -n "$BUILD_CC"; then
4637 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4638 echo "${ECHO_T}$BUILD_CC" >&6; }
4640 { echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6; }
4647 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4648 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4649 { (exit 1); exit 1; }; }
4650 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4652 echo 'int main () { return 0; }' > conftest.$ac_ext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4655 (eval $ac_build_link) 2>&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; then
4659 for file in conftest.*; do
4661 *.c | *.o | *.obj | *.dSYM) ;;
4662 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4666 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4667 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4668 { (exit 1); exit 1; }; }
4671 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4676 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4677 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4678 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4679 ac_build_exeext=$BUILD_EXEEXT
4681 ac_build_prefix=${build_alias}-
4682 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4683 set dummy ${ac_build_prefix}g++; ac_word=$2
4684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4686 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 if test -n "$BUILD_CXX"; then
4690 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4699 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4710 if test -n "$BUILD_CXX"; then
4711 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4712 echo "${ECHO_T}$BUILD_CXX" >&6; }
4714 { echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6; }
4719 if test -z "$BUILD_CXX"; then
4720 # Extract the first word of "g++", so it can be a program name with args.
4721 set dummy g++; ac_word=$2
4722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4724 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 if test -n "$BUILD_CXX"; then
4728 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir=.
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4737 ac_cv_prog_BUILD_CXX="g++"
4738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4748 if test -n "$BUILD_CXX"; then
4749 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4750 echo "${ECHO_T}$BUILD_CXX" >&6; }
4752 { echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6; }
4757 if test -z "$BUILD_CXX"; then
4758 # Extract the first word of "c++", so it can be a program name with args.
4759 set dummy c++; ac_word=$2
4760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4762 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 if test -n "$BUILD_CXX"; then
4766 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir=.
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4776 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4777 ac_prog_rejected=yes
4780 ac_cv_prog_BUILD_CXX="c++"
4781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 if test $ac_prog_rejected = yes; then
4789 # We found a bogon in the path, so make sure we never use it.
4790 set dummy $ac_cv_prog_BUILD_CXX
4792 if test $# != 0; then
4793 # We chose a different compiler from the bogus one.
4794 # However, it has the same basename, so the bogon will be chosen
4795 # first if we set BUILD_CXX to just the basename; use the full file name.
4797 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4802 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4803 if test -n "$BUILD_CXX"; then
4804 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4805 echo "${ECHO_T}$BUILD_CXX" >&6; }
4807 { echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6; }
4815 LLVM_CROSS_COMPILING=0
4819 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4830 # Check whether --enable-optimized was given.
4831 if test "${enable_optimized+set}" = set; then
4832 enableval=$enable_optimized;
4837 if test ${enableval} = "no" ; then
4841 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4845 # Check whether --enable-profiling was given.
4846 if test "${enable_profiling+set}" = set; then
4847 enableval=$enable_profiling;
4852 if test ${enableval} = "no" ; then
4856 ENABLE_PROFILING=ENABLE_PROFILING=1
4860 # Check whether --enable-assertions was given.
4861 if test "${enable_assertions+set}" = set; then
4862 enableval=$enable_assertions;
4867 if test ${enableval} = "yes" ; then
4871 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4875 # Check whether --enable-expensive-checks was given.
4876 if test "${enable_expensive_checks+set}" = set; then
4877 enableval=$enable_expensive_checks;
4882 if test ${enableval} = "yes" ; then
4883 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4885 EXPENSIVE_CHECKS=yes
4888 ENABLE_EXPENSIVE_CHECKS=
4894 # Check whether --enable-debug-runtime was given.
4895 if test "${enable_debug_runtime+set}" = set; then
4896 enableval=$enable_debug_runtime;
4901 if test ${enableval} = "no" ; then
4905 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4909 # Check whether --enable-debug-symbols was given.
4910 if test "${enable_debug_symbols+set}" = set; then
4911 enableval=$enable_debug_symbols;
4916 if test ${enableval} = "no" ; then
4920 DEBUG_SYMBOLS=DEBUG_SYMBOLS=1
4924 # Check whether --enable-jit was given.
4925 if test "${enable_jit+set}" = set; then
4926 enableval=$enable_jit;
4931 if test ${enableval} = "no"
4936 case "$llvm_cv_target_arch" in
4937 x86) TARGET_HAS_JIT=1
4939 Sparc) TARGET_HAS_JIT=0
4941 PowerPC) TARGET_HAS_JIT=1
4943 x86_64) TARGET_HAS_JIT=1
4945 Alpha) TARGET_HAS_JIT=1
4947 ARM) TARGET_HAS_JIT=1
4949 Mips) TARGET_HAS_JIT=0
4951 PIC16) TARGET_HAS_JIT=0
4953 XCore) TARGET_HAS_JIT=0
4955 MSP430) TARGET_HAS_JIT=0
4957 SystemZ) TARGET_HAS_JIT=0
4959 Blackfin) TARGET_HAS_JIT=0
4966 # Check whether --enable-doxygen was given.
4967 if test "${enable_doxygen+set}" = set; then
4968 enableval=$enable_doxygen;
4973 case "$enableval" in
4974 yes) ENABLE_DOXYGEN=1
4976 no) ENABLE_DOXYGEN=0
4978 default) ENABLE_DOXYGEN=0
4980 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4981 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4982 { (exit 1); exit 1; }; } ;;
4985 # Check whether --enable-threads was given.
4986 if test "${enable_threads+set}" = set; then
4987 enableval=$enable_threads;
4992 case "$enableval" in
4993 yes) ENABLE_THREADS=1
4995 no) ENABLE_THREADS=0
4997 default) ENABLE_THREADS=1
4999 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
5000 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
5001 { (exit 1); exit 1; }; } ;;
5004 cat >>confdefs.h <<_ACEOF
5005 #define ENABLE_THREADS $ENABLE_THREADS
5009 # Check whether --enable-pic was given.
5010 if test "${enable_pic+set}" = set; then
5011 enableval=$enable_pic;
5016 case "$enableval" in
5021 default) ENABLE_PIC=1
5023 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
5024 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
5025 { (exit 1); exit 1; }; } ;;
5028 cat >>confdefs.h <<_ACEOF
5029 #define ENABLE_PIC $ENABLE_PIC
5034 # Check whether --enable-targets was given.
5035 if test "${enable_targets+set}" = set; then
5036 enableval=$enable_targets;
5041 if test "$enableval" = host-only ; then
5044 case "$enableval" in
5045 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU PIC16 XCore MSP430 SystemZ Blackfin CBackend MSIL CppBackend" ;;
5046 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5048 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5049 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5050 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5051 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5052 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5053 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5054 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5055 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5056 pic16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
5057 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5058 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5059 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5060 blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5061 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
5062 msil) TARGETS_TO_BUILD="MSIL $TARGETS_TO_BUILD" ;;
5063 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
5064 host) case "$llvm_cv_target_arch" in
5065 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5066 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5067 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5068 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5069 Alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5070 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5071 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5072 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5073 PIC16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
5074 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5075 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5076 SystemZ) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5077 Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5078 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
5079 echo "$as_me: error: Can not set target to build" >&2;}
5080 { (exit 1); exit 1; }; } ;;
5082 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
5083 echo "$as_me: error: Unrecognized target $a_target" >&2;}
5084 { (exit 1); exit 1; }; } ;;
5089 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
5092 # Determine whether we are building LLVM support for the native architecture.
5093 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
5094 for a_target in $TARGETS_TO_BUILD; do
5095 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
5096 LLVM_NATIVE_ARCHTARGET="${LLVM_NATIVE_ARCH}Target"
5098 cat >>confdefs.h <<_ACEOF
5099 #define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCHTARGET
5105 # Build the LLVM_TARGET and LLVM_ASM_PRINTER macro uses for
5106 # Targets.def, AsmPrinters.def, and AsmParsers.def.
5107 LLVM_ENUM_TARGETS=""
5108 LLVM_ENUM_ASM_PRINTERS=""
5109 LLVM_ENUM_ASM_PARSERS=""
5110 for target_to_build in $TARGETS_TO_BUILD; do
5111 LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"
5112 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmPrinter/Makefile ; then
5113 LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
5115 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
5116 LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
5123 # Check whether --enable-cbe-printf-a was given.
5124 if test "${enable_cbe_printf_a+set}" = set; then
5125 enableval=$enable_cbe_printf_a;
5130 case "$enableval" in
5131 yes) ENABLE_CBE_PRINTF_A=1
5133 no) ENABLE_CBE_PRINTF_A=0
5135 default) ENABLE_CBE_PRINTF_A=1
5137 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
5138 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
5139 { (exit 1); exit 1; }; } ;;
5142 cat >>confdefs.h <<_ACEOF
5143 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
5148 # Check whether --with-llvmgccdir was given.
5149 if test "${with_llvmgccdir+set}" = set; then
5150 withval=$with_llvmgccdir;
5156 default) WITH_LLVMGCCDIR=default ;;
5157 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
5158 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
5159 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
5160 { (exit 1); exit 1; }; } ;;
5164 # Check whether --with-llvmgcc was given.
5165 if test "${with_llvmgcc+set}" = set; then
5166 withval=$with_llvmgcc; LLVMGCC=$with_llvmgcc
5172 # Check whether --with-llvmgxx was given.
5173 if test "${with_llvmgxx+set}" = set; then
5174 withval=$with_llvmgxx; LLVMGXX=$with_llvmgxx
5179 if test -n "$LLVMGCC"; then
5180 LLVMGCCCOMMAND="$LLVMGCC"
5183 if test -n "$LLVMGXX"; then
5184 LLVMGXXCOMMAND="$LLVMGXX"
5187 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
5188 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
5189 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
5190 { (exit 1); exit 1; }; };
5193 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
5194 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
5195 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
5196 { (exit 1); exit 1; }; };
5200 # Check whether --with-optimize-option was given.
5201 if test "${with_optimize_option+set}" = set; then
5202 withval=$with_optimize_option;
5207 { echo "$as_me:$LINENO: checking optimization flags" >&5
5208 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; }
5211 case "$llvm_cv_os_type" in
5212 MingW) optimize_option=-O3 ;;
5213 *) optimize_option=-O2 ;;
5215 *) optimize_option="$withval" ;;
5217 OPTIMIZE_OPTION=$optimize_option
5219 { echo "$as_me:$LINENO: result: $optimize_option" >&5
5220 echo "${ECHO_T}$optimize_option" >&6; }
5223 # Check whether --with-extra-options was given.
5224 if test "${with_extra_options+set}" = set; then
5225 withval=$with_extra_options;
5231 default) EXTRA_OPTIONS= ;;
5232 *) EXTRA_OPTIONS=$withval ;;
5234 EXTRA_OPTIONS=$EXTRA_OPTIONS
5237 # Check whether --enable-bindings was given.
5238 if test "${enable_bindings+set}" = set; then
5239 enableval=$enable_bindings;
5244 BINDINGS_TO_BUILD=""
5245 case "$enableval" in
5246 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5247 all ) BINDINGS_TO_BUILD="ocaml" ;;
5248 none | no) BINDINGS_TO_BUILD="" ;;
5249 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5250 case "$a_binding" in
5251 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5252 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5253 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5254 { (exit 1); exit 1; }; } ;;
5261 # Check whether --with-ocaml-libdir was given.
5262 if test "${with_ocaml_libdir+set}" = set; then
5263 withval=$with_ocaml_libdir;
5269 auto) with_ocaml_libdir="$withval" ;;
5270 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5271 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5272 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5273 { (exit 1); exit 1; }; } ;;
5277 # Check whether --with-c-include-dir was given.
5278 if test "${with_c_include_dir+set}" = set; then
5279 withval=$with_c_include_dir;
5285 cat >>confdefs.h <<_ACEOF
5286 #define C_INCLUDE_DIRS "$withval"
5291 # Check whether --with-binutils-include was given.
5292 if test "${with_binutils_include+set}" = set; then
5293 withval=$with_binutils_include;
5299 default) WITH_BINUTILS_INCDIR=default ;;
5300 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5301 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5302 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5303 { (exit 1); exit 1; }; } ;;
5305 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5306 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5308 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5309 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5310 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5311 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5312 { (exit 1); exit 1; }; };
5316 # Check whether --enable-libffi was given.
5317 if test "${enable_libffi+set}" = set; then
5318 enableval=$enable_libffi;
5323 case "$enableval" in
5324 yes) llvm_cv_enable_libffi="yes" ;;
5325 no) llvm_cv_enable_libffi="no" ;;
5326 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&5
5327 echo "$as_me: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&2;}
5328 { (exit 1); exit 1; }; } ;;
5331 if test "$llvm_cv_os_type" = "Win32" ; then
5337 # Check whether --enable-llvmc-dynamic was given.
5338 if test "${enable_llvmc_dynamic+set}" = set; then
5339 enableval=$enable_llvmc_dynamic;
5341 enableval=$llvmc_dynamic
5344 if test ${enableval} = "yes" && test "$ENABLE_PIC" -eq 1 ; then
5345 ENABLE_LLVMC_DYNAMIC=ENABLE_LLVMC_DYNAMIC=1
5348 ENABLE_LLVMC_DYNAMIC=
5352 # Check whether --enable-llvmc-dynamic-plugins was given.
5353 if test "${enable_llvmc_dynamic_plugins+set}" = set; then
5354 enableval=$enable_llvmc_dynamic_plugins;
5359 if test ${enableval} = "yes" ; then
5360 ENABLE_LLVMC_DYNAMIC_PLUGINS=ENABLE_LLVMC_DYNAMIC_PLUGINS=1
5363 ENABLE_LLVMC_DYNAMIC_PLUGINS=
5369 ac_cpp='$CPP $CPPFLAGS'
5370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5373 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5374 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5375 # On Suns, sometimes $CPP names a directory.
5376 if test -n "$CPP" && test -d "$CPP"; then
5379 if test -z "$CPP"; then
5380 if test "${ac_cv_prog_CPP+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5383 # Double quotes because CPP needs to be expanded
5384 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5387 for ac_c_preproc_warn_flag in '' yes
5389 # Use a header file that comes with gcc, so configuring glibc
5390 # with a fresh cross-compiler works.
5391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5392 # <limits.h> exists even on freestanding compilers.
5393 # On the NeXT, cc -E runs the code through the compiler's parser,
5394 # not just through cpp. "Syntax error" is here to catch this case.
5395 cat >conftest.$ac_ext <<_ACEOF
5398 cat confdefs.h >>conftest.$ac_ext
5399 cat >>conftest.$ac_ext <<_ACEOF
5400 /* end confdefs.h. */
5402 # include <limits.h>
5404 # include <assert.h>
5408 if { (ac_try="$ac_cpp conftest.$ac_ext"
5410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5411 *) ac_try_echo
=$ac_try;;
5413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5416 grep -v '^ *+' conftest.er1
>conftest.err
5418 cat conftest.err
>&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); } >/dev
/null
; then
5421 if test -s conftest.err
; then
5422 ac_cpp_err
=$ac_c_preproc_warn_flag
5423 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5430 if test -z "$ac_cpp_err"; then
5433 echo "$as_me: failed program was:" >&5
5434 sed 's/^/| /' conftest.
$ac_ext >&5
5436 # Broken: fails on valid input.
5440 rm -f conftest.err conftest.
$ac_ext
5442 # OK, works on sane cases. Now check whether nonexistent headers
5443 # can be detected and how.
5444 cat >conftest.
$ac_ext <<_ACEOF
5447 cat confdefs.h
>>conftest.
$ac_ext
5448 cat >>conftest.
$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5450 #include <ac_nonexistent.h>
5452 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5455 *) ac_try_echo=$ac_try;;
5457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5460 grep -v '^ *+' conftest.er1 >conftest.err
5462 cat conftest.err >&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); } >/dev/null; then
5465 if test -s conftest.err; then
5466 ac_cpp_err=$ac_c_preproc_warn_flag
5467 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5474 if test -z "$ac_cpp_err"; then
5475 # Broken: success on invalid input.
5478 echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.$ac_ext >&5
5481 # Passes both tests.
5486 rm -f conftest.err conftest.$ac_ext
5489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5490 rm -f conftest.err conftest.
$ac_ext
5491 if $ac_preproc_ok; then
5503 { echo "$as_me:$LINENO: result: $CPP" >&5
5504 echo "${ECHO_T}$CPP" >&6; }
5506 for ac_c_preproc_warn_flag
in '' yes
5508 # Use a header file that comes with gcc, so configuring glibc
5509 # with a fresh cross-compiler works.
5510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5511 # <limits.h> exists even on freestanding compilers.
5512 # On the NeXT, cc -E runs the code through the compiler's parser,
5513 # not just through cpp. "Syntax error" is here to catch this case.
5514 cat >conftest.
$ac_ext <<_ACEOF
5517 cat confdefs.h
>>conftest.
$ac_ext
5518 cat >>conftest.
$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5521 # include <limits.h>
5523 # include <assert.h>
5527 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5530 *) ac_try_echo=$ac_try;;
5532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5535 grep -v '^ *+' conftest.er1 >conftest.err
5537 cat conftest.err >&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); } >/dev/null; then
5540 if test -s conftest.err; then
5541 ac_cpp_err=$ac_c_preproc_warn_flag
5542 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5549 if test -z "$ac_cpp_err"; then
5552 echo "$as_me: failed program was:" >&5
5553 sed 's/^/| /' conftest.$ac_ext >&5
5555 # Broken: fails on valid input.
5559 rm -f conftest.err conftest.$ac_ext
5561 # OK, works on sane cases. Now check whether nonexistent headers
5562 # can be detected and how.
5563 cat >conftest.$ac_ext <<_ACEOF
5566 cat confdefs.h >>conftest.$ac_ext
5567 cat >>conftest.$ac_ext <<_ACEOF
5568 /* end confdefs.h. */
5569 #include <ac_nonexistent.h>
5571 if { (ac_try="$ac_cpp conftest.$ac_ext"
5573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5574 *) ac_try_echo
=$ac_try;;
5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5579 grep -v '^ *+' conftest.er1
>conftest.err
5581 cat conftest.err
>&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } >/dev
/null
; then
5584 if test -s conftest.err
; then
5585 ac_cpp_err
=$ac_c_preproc_warn_flag
5586 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5593 if test -z "$ac_cpp_err"; then
5594 # Broken: success on invalid input.
5597 echo "$as_me: failed program was:" >&5
5598 sed 's/^/| /' conftest.
$ac_ext >&5
5600 # Passes both tests.
5605 rm -f conftest.err conftest.
$ac_ext
5608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5609 rm -f conftest.err conftest.
$ac_ext
5610 if $ac_preproc_ok; then
5613 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5614 See \`config.log' for more details." >&5
5615 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5616 See \`config.log' for more details." >&2;}
5617 { (exit 1); exit 1; }; }
5621 ac_cpp
='$CPP $CPPFLAGS'
5622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5627 ac_cpp
='$CPP $CPPFLAGS'
5628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5631 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5635 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5638 if test "${ac_cv_prog_CC+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 if test -n "$CC"; then
5642 ac_cv_prog_CC
="$CC" # Let the user override the test.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 if test -n "$CC"; then
5663 { echo "$as_me:$LINENO: result: $CC" >&5
5664 echo "${ECHO_T}$CC" >&6; }
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5671 test -n "$CC" && break
5674 if test -z "$CC"; then
5678 # Extract the first word of "$ac_prog", so it can be a program name with args.
5679 set dummy
$ac_prog; ac_word
=$2
5680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5683 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 if test -n "$ac_ct_CC"; then
5686 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir
=.
5693 for ac_exec_ext
in '' $ac_executable_extensions; do
5694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5695 ac_cv_prog_ac_ct_CC
="$ac_prog"
5696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5706 if test -n "$ac_ct_CC"; then
5707 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5708 echo "${ECHO_T}$ac_ct_CC" >&6; }
5710 { echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6; }
5715 test -n "$ac_ct_CC" && break
5718 if test "x$ac_ct_CC" = x
; then
5721 case $cross_compiling:$ac_tool_warned in
5723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5724 whose name does not start with the host triplet. If you think this
5725 configuration is useful to you, please write to autoconf@gnu.org." >&5
5726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5727 whose name does not start with the host triplet. If you think this
5728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5729 ac_tool_warned
=yes ;;
5736 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5737 See \`config.log' for more details." >&5
5738 echo "$as_me: error: no acceptable C compiler found in \$PATH
5739 See \`config.log' for more details." >&2;}
5740 { (exit 1); exit 1; }; }
5742 # Provide some information about the compiler.
5743 echo "$as_me:$LINENO: checking for C compiler version" >&5
5744 ac_compiler
=`set X $ac_compile; echo $2`
5745 { (ac_try
="$ac_compiler --version >&5"
5747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5748 *) ac_try_echo=$ac_try;;
5750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5751 (eval "$ac_compiler --version >&5") 2>&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }
5755 { (ac_try="$ac_compiler -v >&5"
5757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5758 *) ac_try_echo
=$ac_try;;
5760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5761 (eval "$ac_compiler -v >&5") 2>&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }
5765 { (ac_try
="$ac_compiler -V >&5"
5767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5768 *) ac_try_echo=$ac_try;;
5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5771 (eval "$ac_compiler -V >&5") 2>&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }
5776 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5777 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5778 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5779 echo $ECHO_N "(cached) $ECHO_C" >&6
5781 cat >conftest.$ac_ext <<_ACEOF
5784 cat confdefs.h >>conftest.$ac_ext
5785 cat >>conftest.$ac_ext <<_ACEOF
5786 /* end confdefs.h. */
5799 rm -f conftest.$ac_objext
5800 if { (ac_try="$ac_compile"
5802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5803 *) ac_try_echo
=$ac_try;;
5805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806 (eval "$ac_compile") 2>conftest.er1
5808 grep -v '^ *+' conftest.er1
>conftest.err
5810 cat conftest.err
>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } &&
5813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5814 { (case "(($ac_try" in
5815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5816 *) ac_try_echo=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_try") 2>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); }; } &&
5823 { ac_try='test -s conftest.$ac_objext'
5824 { (case "(($ac_try" in
5825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5826 *) ac_try_echo
=$ac_try;;
5828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5829 (eval "$ac_try") 2>&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); }; }; then
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.
$ac_ext >&5
5841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5842 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5845 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5846 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5847 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5848 ac_test_CFLAGS
=${CFLAGS+set}
5849 ac_save_CFLAGS
=$CFLAGS
5850 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5851 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5852 if test "${ac_cv_prog_cc_g+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 ac_save_c_werror_flag
=$ac_c_werror_flag
5856 ac_c_werror_flag
=yes
5859 cat >conftest.
$ac_ext <<_ACEOF
5862 cat confdefs.h
>>conftest.
$ac_ext
5863 cat >>conftest.
$ac_ext <<_ACEOF
5864 /* end confdefs.h. */
5874 rm -f conftest.
$ac_objext
5875 if { (ac_try
="$ac_compile"
5877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5878 *) ac_try_echo=$ac_try;;
5880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5881 (eval "$ac_compile") 2>conftest.er1
5883 grep -v '^ *+' conftest.er1 >conftest.err
5885 cat conftest.err >&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } &&
5888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5889 { (case "(($ac_try" in
5890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5891 *) ac_try_echo
=$ac_try;;
5893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5894 (eval "$ac_try") 2>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; } &&
5898 { ac_try
='test -s conftest.$ac_objext'
5899 { (case "(($ac_try" in
5900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5901 *) ac_try_echo=$ac_try;;
5903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5904 (eval "$ac_try") 2>&5
5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; }; then
5910 echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.$ac_ext >&5
5914 cat >conftest.$ac_ext <<_ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5929 rm -f conftest.$ac_objext
5930 if { (ac_try="$ac_compile"
5932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5933 *) ac_try_echo
=$ac_try;;
5935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5936 (eval "$ac_compile") 2>conftest.er1
5938 grep -v '^ *+' conftest.er1
>conftest.err
5940 cat conftest.err
>&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); } &&
5943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5944 { (case "(($ac_try" in
5945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5946 *) ac_try_echo=$ac_try;;
5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 (eval "$ac_try") 2>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; } &&
5953 { ac_try='test -s conftest.$ac_objext'
5954 { (case "(($ac_try" in
5955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5956 *) ac_try_echo
=$ac_try;;
5958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 (eval "$ac_try") 2>&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); }; }; then
5965 echo "$as_me: failed program was:" >&5
5966 sed 's/^/| /' conftest.
$ac_ext >&5
5968 ac_c_werror_flag
=$ac_save_c_werror_flag
5970 cat >conftest.
$ac_ext <<_ACEOF
5973 cat confdefs.h
>>conftest.
$ac_ext
5974 cat >>conftest.
$ac_ext <<_ACEOF
5975 /* end confdefs.h. */
5985 rm -f conftest.
$ac_objext
5986 if { (ac_try
="$ac_compile"
5988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5989 *) ac_try_echo=$ac_try;;
5991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992 (eval "$ac_compile") 2>conftest.er1
5994 grep -v '^ *+' conftest.er1 >conftest.err
5996 cat conftest.err >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } &&
5999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6000 { (case "(($ac_try" in
6001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6002 *) ac_try_echo
=$ac_try;;
6004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6005 (eval "$ac_try") 2>&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; } &&
6009 { ac_try
='test -s conftest.$ac_objext'
6010 { (case "(($ac_try" in
6011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6012 *) ac_try_echo=$ac_try;;
6014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6015 (eval "$ac_try") 2>&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); }; }; then
6021 echo "$as_me: failed program was:" >&5
6022 sed 's/^/| /' conftest.$ac_ext >&5
6027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6034 ac_c_werror_flag=$ac_save_c_werror_flag
6036 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6037 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6038 if test "$ac_test_CFLAGS" = set; then
6039 CFLAGS=$ac_save_CFLAGS
6040 elif test $ac_cv_prog_cc_g = yes; then
6041 if test "$GCC" = yes; then
6047 if test "$GCC" = yes; then
6053 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6054 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6055 if test "${ac_cv_prog_cc_c89+set}" = set; then
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 ac_cv_prog_cc_c89=no
6060 cat >conftest.$ac_ext <<_ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6068 #include <sys/types.h>
6069 #include <sys/stat.h>
6070 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6071 struct buf { int x; };
6072 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6073 static char *e (p, i)
6079 static char *f (char * (*g) (char **, int), char **p, ...)
6084 s = g (p, va_arg (v,int));
6089 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6090 function prototypes and stuff, but not '\xHH' hex character constants.
6091 These don't provoke an error unfortunately, instead are silently treated
6092 as 'x'. The following induces an error, until -std is added to get
6093 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6094 array size at least. It's necessary to write '\x00'==0 to get something
6095 that's true only with -std. */
6096 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6098 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6099 inside strings and character constants. */
6101 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6103 int test (int i, double x);
6104 struct s1 {int (*f) (int a);};
6105 struct s2 {int (*f) (double a);};
6106 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6112 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6117 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6118 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6120 CC="$ac_save_CC $ac_arg"
6121 rm -f conftest.$ac_objext
6122 if { (ac_try="$ac_compile"
6124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6125 *) ac_try_echo
=$ac_try;;
6127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6128 (eval "$ac_compile") 2>conftest.er1
6130 grep -v '^ *+' conftest.er1
>conftest.err
6132 cat conftest.err
>&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } &&
6135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6136 { (case "(($ac_try" in
6137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6138 *) ac_try_echo=$ac_try;;
6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6141 (eval "$ac_try") 2>&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; } &&
6145 { ac_try='test -s conftest.$ac_objext'
6146 { (case "(($ac_try" in
6147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6148 *) ac_try_echo
=$ac_try;;
6150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6151 (eval "$ac_try") 2>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); }; }; then
6155 ac_cv_prog_cc_c89
=$ac_arg
6157 echo "$as_me: failed program was:" >&5
6158 sed 's/^/| /' conftest.
$ac_ext >&5
6163 rm -f core conftest.err conftest.
$ac_objext
6164 test "x$ac_cv_prog_cc_c89" != "xno" && break
6166 rm -f conftest.
$ac_ext
6171 case "x$ac_cv_prog_cc_c89" in
6173 { echo "$as_me:$LINENO: result: none needed" >&5
6174 echo "${ECHO_T}none needed" >&6; } ;;
6176 { echo "$as_me:$LINENO: result: unsupported" >&5
6177 echo "${ECHO_T}unsupported" >&6; } ;;
6179 CC
="$CC $ac_cv_prog_cc_c89"
6180 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6181 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6186 ac_cpp
='$CPP $CPPFLAGS'
6187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6192 ac_cpp
='$CXXCPP $CPPFLAGS'
6193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6196 if test -z "$CXX"; then
6197 if test -n "$CCC"; then
6200 if test -n "$ac_tool_prefix"; then
6203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6204 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6207 if test "${ac_cv_prog_CXX+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 if test -n "$CXX"; then
6211 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6217 test -z "$as_dir" && as_dir
=.
6218 for ac_exec_ext
in '' $ac_executable_extensions; do
6219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6220 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6231 if test -n "$CXX"; then
6232 { echo "$as_me:$LINENO: result: $CXX" >&5
6233 echo "${ECHO_T}$CXX" >&6; }
6235 { echo "$as_me:$LINENO: result: no" >&5
6236 echo "${ECHO_T}no" >&6; }
6240 test -n "$CXX" && break
6243 if test -z "$CXX"; then
6247 # Extract the first word of "$ac_prog", so it can be a program name with args.
6248 set dummy
$ac_prog; ac_word
=$2
6249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 if test -n "$ac_ct_CXX"; then
6255 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir
=.
6262 for ac_exec_ext
in '' $ac_executable_extensions; do
6263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6264 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6275 if test -n "$ac_ct_CXX"; then
6276 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6277 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6279 { echo "$as_me:$LINENO: result: no" >&5
6280 echo "${ECHO_T}no" >&6; }
6284 test -n "$ac_ct_CXX" && break
6287 if test "x$ac_ct_CXX" = x
; then
6290 case $cross_compiling:$ac_tool_warned in
6292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6293 whose name does not start with the host triplet. If you think this
6294 configuration is useful to you, please write to autoconf@gnu.org." >&5
6295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6296 whose name does not start with the host triplet. If you think this
6297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6298 ac_tool_warned
=yes ;;
6306 # Provide some information about the compiler.
6307 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6308 ac_compiler
=`set X $ac_compile; echo $2`
6309 { (ac_try
="$ac_compiler --version >&5"
6311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6312 *) ac_try_echo=$ac_try;;
6314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6315 (eval "$ac_compiler --version >&5") 2>&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); }
6319 { (ac_try="$ac_compiler -v >&5"
6321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6322 *) ac_try_echo
=$ac_try;;
6324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6325 (eval "$ac_compiler -v >&5") 2>&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }
6329 { (ac_try
="$ac_compiler -V >&5"
6331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6332 *) ac_try_echo=$ac_try;;
6334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6335 (eval "$ac_compiler -V >&5") 2>&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }
6340 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6341 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6342 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 cat >conftest.$ac_ext <<_ACEOF
6348 cat confdefs.h >>conftest.$ac_ext
6349 cat >>conftest.$ac_ext <<_ACEOF
6350 /* end confdefs.h. */
6363 rm -f conftest.$ac_objext
6364 if { (ac_try="$ac_compile"
6366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6367 *) ac_try_echo
=$ac_try;;
6369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6370 (eval "$ac_compile") 2>conftest.er1
6372 grep -v '^ *+' conftest.er1
>conftest.err
6374 cat conftest.err
>&5
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); } &&
6377 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6378 { (case "(($ac_try" in
6379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6380 *) ac_try_echo=$ac_try;;
6382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6383 (eval "$ac_try") 2>&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); }; } &&
6387 { ac_try='test -s conftest.$ac_objext'
6388 { (case "(($ac_try" in
6389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6390 *) ac_try_echo
=$ac_try;;
6392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6393 (eval "$ac_try") 2>&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; }; then
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.
$ac_ext >&5
6405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6406 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6409 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6410 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6411 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6412 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6413 ac_save_CXXFLAGS
=$CXXFLAGS
6414 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6415 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6416 if test "${ac_cv_prog_cxx_g+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6420 ac_cxx_werror_flag
=yes
6423 cat >conftest.
$ac_ext <<_ACEOF
6426 cat confdefs.h
>>conftest.
$ac_ext
6427 cat >>conftest.
$ac_ext <<_ACEOF
6428 /* end confdefs.h. */
6438 rm -f conftest.
$ac_objext
6439 if { (ac_try
="$ac_compile"
6441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6442 *) ac_try_echo=$ac_try;;
6444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6445 (eval "$ac_compile") 2>conftest.er1
6447 grep -v '^ *+' conftest.er1 >conftest.err
6449 cat conftest.err >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } &&
6452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6453 { (case "(($ac_try" in
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_try") 2>&5
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); }; } &&
6462 { ac_try
='test -s conftest.$ac_objext'
6463 { (case "(($ac_try" in
6464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6465 *) ac_try_echo=$ac_try;;
6467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6468 (eval "$ac_try") 2>&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then
6472 ac_cv_prog_cxx_g=yes
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6478 cat >conftest.$ac_ext <<_ACEOF
6481 cat confdefs.h >>conftest.$ac_ext
6482 cat >>conftest.$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6493 rm -f conftest.$ac_objext
6494 if { (ac_try="$ac_compile"
6496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6497 *) ac_try_echo
=$ac_try;;
6499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6500 (eval "$ac_compile") 2>conftest.er1
6502 grep -v '^ *+' conftest.er1
>conftest.err
6504 cat conftest.err
>&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } &&
6507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6508 { (case "(($ac_try" in
6509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6510 *) ac_try_echo=$ac_try;;
6512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6513 (eval "$ac_try") 2>&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; } &&
6517 { ac_try='test -s conftest.$ac_objext'
6518 { (case "(($ac_try" in
6519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6520 *) ac_try_echo
=$ac_try;;
6522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6523 (eval "$ac_try") 2>&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; }; then
6529 echo "$as_me: failed program was:" >&5
6530 sed 's/^/| /' conftest.
$ac_ext >&5
6532 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6549 rm -f conftest.
$ac_objext
6550 if { (ac_try
="$ac_compile"
6552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_compile") 2>conftest.er1
6558 grep -v '^ *+' conftest.er1 >conftest.err
6560 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } &&
6563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6564 { (case "(($ac_try" in
6565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6566 *) ac_try_echo
=$ac_try;;
6568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6569 (eval "$ac_try") 2>&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); }; } &&
6573 { ac_try
='test -s conftest.$ac_objext'
6574 { (case "(($ac_try" in
6575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6576 *) ac_try_echo=$ac_try;;
6578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6579 (eval "$ac_try") 2>&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); }; }; then
6583 ac_cv_prog_cxx_g=yes
6585 echo "$as_me: failed program was:" >&5
6586 sed 's/^/| /' conftest.$ac_ext >&5
6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6598 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6600 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6601 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6602 if test "$ac_test_CXXFLAGS" = set; then
6603 CXXFLAGS=$ac_save_CXXFLAGS
6604 elif test $ac_cv_prog_cxx_g = yes; then
6605 if test "$GXX" = yes; then
6611 if test "$GXX" = yes; then
6618 ac_cpp='$CPP $CPPFLAGS'
6619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6624 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6625 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6626 if test "${lt_cv_path_NM+set}" = set; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6629 if test -n "$NM"; then
6630 # Let the user override the test.
6633 lt_nm_to_check="${ac_tool_prefix}nm"
6634 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6635 lt_nm_to_check="$lt_nm_to_check nm"
6637 for lt_tmp_nm in $lt_nm_to_check; do
6638 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6639 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6641 test -z "$ac_dir" && ac_dir=.
6642 tmp_nm="$ac_dir/$lt_tmp_nm"
6643 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6644 # Check to see if the nm accepts a BSD-compat flag.
6645 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6646 # nm: unknown option "B" ignored
6647 # Tru64's nm complains that
/dev
/null is an invalid object
file
6648 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6649 */dev
/null
* |
*'Invalid file or object type'*)
6650 lt_cv_path_NM
="$tmp_nm -B"
6654 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6656 lt_cv_path_NM
="$tmp_nm -p"
6660 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6661 continue # so that we can try to find one that supports BSD flags
6670 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6673 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6674 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6679 { echo "$as_me:$LINENO: checking for GNU make" >&5
6680 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6681 if test "${llvm_cv_gnu_make_command+set}" = set; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 llvm_cv_gnu_make_command
=''
6685 for a
in "$MAKE" make gmake gnumake
; do
6686 if test -z "$a" ; then continue ; fi ;
6687 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6689 llvm_cv_gnu_make_command
=$a ;
6694 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6695 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6696 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6700 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6701 echo "${ECHO_T}\"Not found\"" >&6; };
6705 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6706 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6708 if test "$LN_S" = "ln -s"; then
6709 { echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6; }
6712 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6713 echo "${ECHO_T}no, using $LN_S" >&6; }
6716 # Extract the first word of "cmp", so it can be a program name with args.
6717 set dummy
cmp; ac_word
=$2
6718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6720 if test "${ac_cv_path_CMP+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir
=.
6733 for ac_exec_ext
in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6748 if test -n "$CMP"; then
6749 { echo "$as_me:$LINENO: result: $CMP" >&5
6750 echo "${ECHO_T}$CMP" >&6; }
6752 { echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6; }
6757 # Extract the first word of "cp", so it can be a program name with args.
6758 set dummy
cp; ac_word
=$2
6759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6761 if test "${ac_cv_path_CP+set}" = set; then
6762 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6773 test -z "$as_dir" && as_dir
=.
6774 for ac_exec_ext
in '' $ac_executable_extensions; do
6775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6776 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6789 if test -n "$CP"; then
6790 { echo "$as_me:$LINENO: result: $CP" >&5
6791 echo "${ECHO_T}$CP" >&6; }
6793 { echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6; }
6798 # Extract the first word of "date", so it can be a program name with args.
6799 set dummy
date; ac_word
=$2
6800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6802 if test "${ac_cv_path_DATE+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6807 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir
=.
6815 for ac_exec_ext
in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6825 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6829 DATE
=$ac_cv_path_DATE
6830 if test -n "$DATE"; then
6831 { echo "$as_me:$LINENO: result: $DATE" >&5
6832 echo "${ECHO_T}$DATE" >&6; }
6834 { echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6; }
6839 # Extract the first word of "find", so it can be a program name with args.
6840 set dummy
find; ac_word
=$2
6841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6843 if test "${ac_cv_path_FIND+set}" = set; then
6844 echo $ECHO_N "(cached) $ECHO_C" >&6
6848 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir
=.
6856 for ac_exec_ext
in '' $ac_executable_extensions; do
6857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6858 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6870 FIND
=$ac_cv_path_FIND
6871 if test -n "$FIND"; then
6872 { echo "$as_me:$LINENO: result: $FIND" >&5
6873 echo "${ECHO_T}$FIND" >&6; }
6875 { echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6; }
6880 # Extract the first word of "grep", so it can be a program name with args.
6881 set dummy
grep; ac_word
=$2
6882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6884 if test "${ac_cv_path_GREP+set}" = set; then
6885 echo $ECHO_N "(cached) $ECHO_C" >&6
6889 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6896 test -z "$as_dir" && as_dir
=.
6897 for ac_exec_ext
in '' $ac_executable_extensions; do
6898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6899 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6911 GREP
=$ac_cv_path_GREP
6912 if test -n "$GREP"; then
6913 { echo "$as_me:$LINENO: result: $GREP" >&5
6914 echo "${ECHO_T}$GREP" >&6; }
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6921 # Extract the first word of "mkdir", so it can be a program name with args.
6922 set dummy mkdir
; ac_word
=$2
6923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6925 if test "${ac_cv_path_MKDIR+set}" = set; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6930 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir
=.
6938 for ac_exec_ext
in '' $ac_executable_extensions; do
6939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6940 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6948 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6952 MKDIR
=$ac_cv_path_MKDIR
6953 if test -n "$MKDIR"; then
6954 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6955 echo "${ECHO_T}$MKDIR" >&6; }
6957 { echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6; }
6962 # Extract the first word of "mv", so it can be a program name with args.
6963 set dummy
mv; 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_path_MV+set}" = set; then
6967 echo $ECHO_N "(cached) $ECHO_C" >&6
6971 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6978 test -z "$as_dir" && as_dir
=.
6979 for ac_exec_ext
in '' $ac_executable_extensions; do
6980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6981 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6994 if test -n "$MV"; then
6995 { echo "$as_me:$LINENO: result: $MV" >&5
6996 echo "${ECHO_T}$MV" >&6; }
6998 { echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6; }
7003 if test -n "$ac_tool_prefix"; then
7004 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7005 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7008 if test "${ac_cv_prog_RANLIB+set}" = set; then
7009 echo $ECHO_N "(cached) $ECHO_C" >&6
7011 if test -n "$RANLIB"; then
7012 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir
=.
7019 for ac_exec_ext
in '' $ac_executable_extensions; do
7020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7021 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 RANLIB
=$ac_cv_prog_RANLIB
7032 if test -n "$RANLIB"; then
7033 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7034 echo "${ECHO_T}$RANLIB" >&6; }
7036 { echo "$as_me:$LINENO: result: no" >&5
7037 echo "${ECHO_T}no" >&6; }
7042 if test -z "$ac_cv_prog_RANLIB"; then
7043 ac_ct_RANLIB
=$RANLIB
7044 # Extract the first word of "ranlib", so it can be a program name with args.
7045 set dummy ranlib
; ac_word
=$2
7046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7048 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7049 echo $ECHO_N "(cached) $ECHO_C" >&6
7051 if test -n "$ac_ct_RANLIB"; then
7052 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir
=.
7059 for ac_exec_ext
in '' $ac_executable_extensions; do
7060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7061 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7072 if test -n "$ac_ct_RANLIB"; then
7073 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7074 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7076 { echo "$as_me:$LINENO: result: no" >&5
7077 echo "${ECHO_T}no" >&6; }
7080 if test "x$ac_ct_RANLIB" = x
; then
7083 case $cross_compiling:$ac_tool_warned in
7085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7086 whose name does not start with the host triplet. If you think this
7087 configuration is useful to you, please write to autoconf@gnu.org." >&5
7088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7089 whose name does not start with the host triplet. If you think this
7090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7091 ac_tool_warned
=yes ;;
7093 RANLIB
=$ac_ct_RANLIB
7096 RANLIB
="$ac_cv_prog_RANLIB"
7099 # Extract the first word of "rm", so it can be a program name with args.
7100 set dummy
rm; ac_word
=$2
7101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7103 if test "${ac_cv_path_RM+set}" = set; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
7111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7115 test -z "$as_dir" && as_dir
=.
7116 for ac_exec_ext
in '' $ac_executable_extensions; do
7117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7118 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
7119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
7131 if test -n "$RM"; then
7132 { echo "$as_me:$LINENO: result: $RM" >&5
7133 echo "${ECHO_T}$RM" >&6; }
7135 { echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6; }
7140 # Extract the first word of "sed", so it can be a program name with args.
7141 set dummy
sed; ac_word
=$2
7142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7144 if test "${ac_cv_path_SED+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
7152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7156 test -z "$as_dir" && as_dir
=.
7157 for ac_exec_ext
in '' $ac_executable_extensions; do
7158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7159 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
7160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7167 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
7172 if test -n "$SED"; then
7173 { echo "$as_me:$LINENO: result: $SED" >&5
7174 echo "${ECHO_T}$SED" >&6; }
7176 { echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6; }
7181 # Extract the first word of "tar", so it can be a program name with args.
7182 set dummy
tar; ac_word
=$2
7183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7185 if test "${ac_cv_path_TAR+set}" = set; then
7186 echo $ECHO_N "(cached) $ECHO_C" >&6
7190 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir
=.
7198 for ac_exec_ext
in '' $ac_executable_extensions; do
7199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7200 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
7213 if test -n "$TAR"; then
7214 { echo "$as_me:$LINENO: result: $TAR" >&5
7215 echo "${ECHO_T}$TAR" >&6; }
7217 { echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6; }
7222 # Extract the first word of "pwd", so it can be a program name with args.
7223 set dummy
pwd; 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_BINPWD+set}" = set; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 ac_cv_path_BINPWD
="$BINPWD" # 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_BINPWD
="$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_BINPWD" && ac_cv_path_BINPWD
="pwd"
7253 BINPWD
=$ac_cv_path_BINPWD
7254 if test -n "$BINPWD"; then
7255 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7256 echo "${ECHO_T}$BINPWD" >&6; }
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7264 # Extract the first word of "Graphviz", so it can be a program name with args.
7265 set dummy Graphviz
; ac_word
=$2
7266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7268 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7269 echo $ECHO_N "(cached) $ECHO_C" >&6
7273 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7280 test -z "$as_dir" && as_dir
=.
7281 for ac_exec_ext
in '' $ac_executable_extensions; do
7282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7283 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7295 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7296 if test -n "$GRAPHVIZ"; then
7297 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7298 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7300 { echo "$as_me:$LINENO: result: no" >&5
7301 echo "${ECHO_T}no" >&6; }
7305 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7307 cat >>confdefs.h
<<\_ACEOF
7308 #define HAVE_GRAPHVIZ 1
7311 if test "$llvm_cv_os_type" = "MingW" ; then
7312 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7315 cat >>confdefs.h
<<_ACEOF
7316 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7320 # Extract the first word of "dot", so it can be a program name with args.
7321 set dummy dot
; ac_word
=$2
7322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7324 if test "${ac_cv_path_DOT+set}" = set; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7329 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7336 test -z "$as_dir" && as_dir
=.
7337 for ac_exec_ext
in '' $ac_executable_extensions; do
7338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7339 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7352 if test -n "$DOT"; then
7353 { echo "$as_me:$LINENO: result: $DOT" >&5
7354 echo "${ECHO_T}$DOT" >&6; }
7356 { echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6; }
7361 if test "$DOT" != "echo dot" ; then
7363 cat >>confdefs.h
<<\_ACEOF
7367 if test "$llvm_cv_os_type" = "MingW" ; then
7368 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7371 cat >>confdefs.h
<<_ACEOF
7372 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7376 # Extract the first word of "fdp", so it can be a program name with args.
7377 set dummy fdp
; ac_word
=$2
7378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7380 if test "${ac_cv_path_FDP+set}" = set; then
7381 echo $ECHO_N "(cached) $ECHO_C" >&6
7385 ac_cv_path_FDP
="$FDP" # Let the user override the test with a path.
7388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7392 test -z "$as_dir" && as_dir
=.
7393 for ac_exec_ext
in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_path_FDP
="$as_dir/$ac_word$ac_exec_ext"
7396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7403 test -z "$ac_cv_path_FDP" && ac_cv_path_FDP
="echo fdp"
7408 if test -n "$FDP"; then
7409 { echo "$as_me:$LINENO: result: $FDP" >&5
7410 echo "${ECHO_T}$FDP" >&6; }
7412 { echo "$as_me:$LINENO: result: no" >&5
7413 echo "${ECHO_T}no" >&6; }
7417 if test "$FDP" != "echo fdp" ; then
7419 cat >>confdefs.h
<<\_ACEOF
7423 if test "$llvm_cv_os_type" = "MingW" ; then
7424 FDP
=`echo $FDP | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7427 cat >>confdefs.h
<<_ACEOF
7428 #define LLVM_PATH_FDP "$FDP${EXEEXT}"
7432 # Extract the first word of "neato", so it can be a program name with args.
7433 set dummy neato
; ac_word
=$2
7434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7436 if test "${ac_cv_path_NEATO+set}" = set; then
7437 echo $ECHO_N "(cached) $ECHO_C" >&6
7441 ac_cv_path_NEATO
="$NEATO" # Let the user override the test with a path.
7444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir
=.
7449 for ac_exec_ext
in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_path_NEATO
="$as_dir/$ac_word$ac_exec_ext"
7452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 test -z "$ac_cv_path_NEATO" && ac_cv_path_NEATO
="echo neato"
7463 NEATO
=$ac_cv_path_NEATO
7464 if test -n "$NEATO"; then
7465 { echo "$as_me:$LINENO: result: $NEATO" >&5
7466 echo "${ECHO_T}$NEATO" >&6; }
7468 { echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6; }
7473 if test "$NEATO" != "echo neato" ; then
7475 cat >>confdefs.h
<<\_ACEOF
7476 #define HAVE_NEATO 1
7479 if test "$llvm_cv_os_type" = "MingW" ; then
7480 NEATO
=`echo $NEATO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7483 cat >>confdefs.h
<<_ACEOF
7484 #define LLVM_PATH_NEATO "$NEATO${EXEEXT}"
7488 # Extract the first word of "twopi", so it can be a program name with args.
7489 set dummy twopi
; ac_word
=$2
7490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7492 if test "${ac_cv_path_TWOPI+set}" = set; then
7493 echo $ECHO_N "(cached) $ECHO_C" >&6
7497 ac_cv_path_TWOPI
="$TWOPI" # Let the user override the test with a path.
7500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7504 test -z "$as_dir" && as_dir
=.
7505 for ac_exec_ext
in '' $ac_executable_extensions; do
7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7507 ac_cv_path_TWOPI
="$as_dir/$ac_word$ac_exec_ext"
7508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7515 test -z "$ac_cv_path_TWOPI" && ac_cv_path_TWOPI
="echo twopi"
7519 TWOPI
=$ac_cv_path_TWOPI
7520 if test -n "$TWOPI"; then
7521 { echo "$as_me:$LINENO: result: $TWOPI" >&5
7522 echo "${ECHO_T}$TWOPI" >&6; }
7524 { echo "$as_me:$LINENO: result: no" >&5
7525 echo "${ECHO_T}no" >&6; }
7529 if test "$TWOPI" != "echo twopi" ; then
7531 cat >>confdefs.h
<<\_ACEOF
7532 #define HAVE_TWOPI 1
7535 if test "$llvm_cv_os_type" = "MingW" ; then
7536 TWOPI
=`echo $TWOPI | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7539 cat >>confdefs.h
<<_ACEOF
7540 #define LLVM_PATH_TWOPI "$TWOPI${EXEEXT}"
7544 # Extract the first word of "circo", so it can be a program name with args.
7545 set dummy circo
; ac_word
=$2
7546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7548 if test "${ac_cv_path_CIRCO+set}" = set; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 ac_cv_path_CIRCO
="$CIRCO" # Let the user override the test with a path.
7556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir
=.
7561 for ac_exec_ext
in '' $ac_executable_extensions; do
7562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7563 ac_cv_path_CIRCO
="$as_dir/$ac_word$ac_exec_ext"
7564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7571 test -z "$ac_cv_path_CIRCO" && ac_cv_path_CIRCO
="echo circo"
7575 CIRCO
=$ac_cv_path_CIRCO
7576 if test -n "$CIRCO"; then
7577 { echo "$as_me:$LINENO: result: $CIRCO" >&5
7578 echo "${ECHO_T}$CIRCO" >&6; }
7580 { echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6; }
7585 if test "$CIRCO" != "echo circo" ; then
7587 cat >>confdefs.h
<<\_ACEOF
7588 #define HAVE_CIRCO 1
7591 if test "$llvm_cv_os_type" = "MingW" ; then
7592 CIRCO
=`echo $CIRCO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7595 cat >>confdefs.h
<<_ACEOF
7596 #define LLVM_PATH_CIRCO "$CIRCO${EXEEXT}"
7600 for ac_prog
in gv gsview32
7602 # Extract the first word of "$ac_prog", so it can be a program name with args.
7603 set dummy
$ac_prog; ac_word
=$2
7604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7606 if test "${ac_cv_path_GV+set}" = set; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7611 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7618 test -z "$as_dir" && as_dir
=.
7619 for ac_exec_ext
in '' $ac_executable_extensions; do
7620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7621 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 if test -n "$GV"; then
7634 { echo "$as_me:$LINENO: result: $GV" >&5
7635 echo "${ECHO_T}$GV" >&6; }
7637 { echo "$as_me:$LINENO: result: no" >&5
7638 echo "${ECHO_T}no" >&6; }
7642 test -n "$GV" && break
7644 test -n "$GV" || GV
="echo gv"
7646 if test "$GV" != "echo gv" ; then
7648 cat >>confdefs.h
<<\_ACEOF
7652 if test "$llvm_cv_os_type" = "MingW" ; then
7653 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7656 cat >>confdefs.h
<<_ACEOF
7657 #define LLVM_PATH_GV "$GV${EXEEXT}"
7661 # Extract the first word of "dotty", so it can be a program name with args.
7662 set dummy dotty
; ac_word
=$2
7663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7665 if test "${ac_cv_path_DOTTY+set}" = set; then
7666 echo $ECHO_N "(cached) $ECHO_C" >&6
7670 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir
=.
7678 for ac_exec_ext
in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7688 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7692 DOTTY
=$ac_cv_path_DOTTY
7693 if test -n "$DOTTY"; then
7694 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7695 echo "${ECHO_T}$DOTTY" >&6; }
7697 { echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6; }
7702 if test "$DOTTY" != "echo dotty" ; then
7704 cat >>confdefs.h
<<\_ACEOF
7705 #define HAVE_DOTTY 1
7708 if test "$llvm_cv_os_type" = "MingW" ; then
7709 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7712 cat >>confdefs.h
<<_ACEOF
7713 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7719 # Extract the first word of "perl", so it can be a program name with args.
7720 set dummy perl
; ac_word
=$2
7721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7723 if test "${ac_cv_path_PERL+set}" = set; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir
=.
7736 for ac_exec_ext
in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7746 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7750 PERL
=$ac_cv_path_PERL
7751 if test -n "$PERL"; then
7752 { echo "$as_me:$LINENO: result: $PERL" >&5
7753 echo "${ECHO_T}$PERL" >&6; }
7755 { echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6; }
7760 if test "$PERL" != "none"; then
7761 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7762 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7763 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7768 { echo "$as_me:$LINENO: result: not found" >&5
7769 echo "${ECHO_T}not found" >&6; }
7774 if test x
"$PERL" = xnone
; then
7777 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7778 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7779 { (exit 1); exit 1; }; }
7785 # Find a good install program. We prefer a C program (faster),
7786 # so one script is as good as another. But avoid the broken or
7787 # incompatible versions:
7788 # SysV /etc/install, /usr/sbin/install
7789 # SunOS /usr/etc/install
7790 # IRIX /sbin/install
7792 # AmigaOS /C/install, which installs bootblocks on floppy discs
7793 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7794 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7795 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7796 # OS/2's system install, which has a completely different semantic
7797 # ./install, which can be erroneously created by make from ./install.sh.
7798 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7799 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7800 if test -z "$INSTALL"; then
7801 if test "${ac_cv_path_install+set}" = set; then
7802 echo $ECHO_N "(cached) $ECHO_C" >&6
7804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7808 test -z "$as_dir" && as_dir
=.
7809 # Account for people who put trailing slashes in PATH elements.
7811 .
/ | .
// |
/cC
/* | \
7812 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7813 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7816 # OSF1 and SCO ODT 3.0 have their own names for install.
7817 # Don't use installbsd from OSF since it installs stuff as root
7819 for ac_prog
in ginstall scoinst
install; do
7820 for ac_exec_ext
in '' $ac_executable_extensions; do
7821 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7822 if test $ac_prog = install &&
7823 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7824 # AIX install. It has an incompatible calling convention.
7826 elif test $ac_prog = install &&
7827 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7828 # program-specific install script used by HP pwplus--don't use.
7831 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7844 if test "${ac_cv_path_install+set}" = set; then
7845 INSTALL
=$ac_cv_path_install
7847 # As a last resort, use the slow shell script. Don't cache a
7848 # value for INSTALL within a source directory, because that will
7849 # break other packages using the cache if that directory is
7850 # removed, or if the value is a relative name.
7851 INSTALL
=$ac_install_sh
7854 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7855 echo "${ECHO_T}$INSTALL" >&6; }
7857 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7858 # It thinks the first close brace ends the variable substitution.
7859 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7861 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7863 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7866 # Extract the first word of "bzip2", so it can be a program name with args.
7867 set dummy
bzip2; ac_word
=$2
7868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7870 if test "${ac_cv_path_BZIP2+set}" = set; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7875 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7882 test -z "$as_dir" && as_dir
=.
7883 for ac_exec_ext
in '' $ac_executable_extensions; do
7884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7885 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 BZIP2
=$ac_cv_path_BZIP2
7897 if test -n "$BZIP2"; then
7898 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7899 echo "${ECHO_T}$BZIP2" >&6; }
7901 { echo "$as_me:$LINENO: result: no" >&5
7902 echo "${ECHO_T}no" >&6; }
7906 # Extract the first word of "doxygen", so it can be a program name with args.
7907 set dummy doxygen
; ac_word
=$2
7908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7910 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7911 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7922 test -z "$as_dir" && as_dir
=.
7923 for ac_exec_ext
in '' $ac_executable_extensions; do
7924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7925 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 DOXYGEN
=$ac_cv_path_DOXYGEN
7937 if test -n "$DOXYGEN"; then
7938 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7939 echo "${ECHO_T}$DOXYGEN" >&6; }
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7946 # Extract the first word of "groff", so it can be a program name with args.
7947 set dummy
groff; ac_word
=$2
7948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7950 if test "${ac_cv_path_GROFF+set}" = set; then
7951 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7962 test -z "$as_dir" && as_dir
=.
7963 for ac_exec_ext
in '' $ac_executable_extensions; do
7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7965 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 GROFF
=$ac_cv_path_GROFF
7977 if test -n "$GROFF"; then
7978 { echo "$as_me:$LINENO: result: $GROFF" >&5
7979 echo "${ECHO_T}$GROFF" >&6; }
7981 { echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6; }
7986 # Extract the first word of "gzip", so it can be a program name with args.
7987 set dummy
gzip; ac_word
=$2
7988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7990 if test "${ac_cv_path_GZIP+set}" = set; then
7991 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8002 test -z "$as_dir" && as_dir
=.
8003 for ac_exec_ext
in '' $ac_executable_extensions; do
8004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8005 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
8006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8016 GZIP
=$ac_cv_path_GZIP
8017 if test -n "$GZIP"; then
8018 { echo "$as_me:$LINENO: result: $GZIP" >&5
8019 echo "${ECHO_T}$GZIP" >&6; }
8021 { echo "$as_me:$LINENO: result: no" >&5
8022 echo "${ECHO_T}no" >&6; }
8026 # Extract the first word of "pod2html", so it can be a program name with args.
8027 set dummy pod2html
; ac_word
=$2
8028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8030 if test "${ac_cv_path_POD2HTML+set}" = set; then
8031 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
8038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8042 test -z "$as_dir" && as_dir
=.
8043 for ac_exec_ext
in '' $ac_executable_extensions; do
8044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8045 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
8046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 POD2HTML
=$ac_cv_path_POD2HTML
8057 if test -n "$POD2HTML"; then
8058 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
8059 echo "${ECHO_T}$POD2HTML" >&6; }
8061 { echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6; }
8066 # Extract the first word of "pod2man", so it can be a program name with args.
8067 set dummy pod2man
; ac_word
=$2
8068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8070 if test "${ac_cv_path_POD2MAN+set}" = set; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8075 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
8078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8082 test -z "$as_dir" && as_dir
=.
8083 for ac_exec_ext
in '' $ac_executable_extensions; do
8084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8085 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
8086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 POD2MAN
=$ac_cv_path_POD2MAN
8097 if test -n "$POD2MAN"; then
8098 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
8099 echo "${ECHO_T}$POD2MAN" >&6; }
8101 { echo "$as_me:$LINENO: result: no" >&5
8102 echo "${ECHO_T}no" >&6; }
8106 # Extract the first word of "runtest", so it can be a program name with args.
8107 set dummy runtest
; ac_word
=$2
8108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8110 if test "${ac_cv_path_RUNTEST+set}" = set; then
8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
8118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8122 test -z "$as_dir" && as_dir
=.
8123 for ac_exec_ext
in '' $ac_executable_extensions; do
8124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8125 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
8126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8136 RUNTEST
=$ac_cv_path_RUNTEST
8137 if test -n "$RUNTEST"; then
8138 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
8139 echo "${ECHO_T}$RUNTEST" >&6; }
8141 { echo "$as_me:$LINENO: result: no" >&5
8142 echo "${ECHO_T}no" >&6; }
8148 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
8149 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
8151 # Check whether --with-tclinclude was given.
8152 if test "${with_tclinclude+set}" = set; then
8153 withval
=$with_tclinclude; with_tclinclude
=${withval}
8158 if test "${ac_cv_path_tclsh+set}" = set; then
8159 echo $ECHO_N "(cached) $ECHO_C" >&6
8162 if test x
"${with_tclinclude}" != x
; then
8163 if test -f ${with_tclinclude}/tclsh
; then
8164 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
8165 elif test -f ${with_tclinclude}/src
/tclsh
; then
8166 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
8168 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
8169 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
8170 { (exit 1); exit 1; }; }
8174 if test x
"${ac_cv_path_tclsh}" = x
; then
8175 { echo "$as_me:$LINENO: result: none" >&5
8176 echo "${ECHO_T}none" >&6; }
8177 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
8179 # Extract the first word of "$ac_prog", so it can be a program name with args.
8180 set dummy
$ac_prog; ac_word
=$2
8181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8183 if test "${ac_cv_path_TCLSH+set}" = set; then
8184 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
8191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8195 test -z "$as_dir" && as_dir
=.
8196 for ac_exec_ext
in '' $ac_executable_extensions; do
8197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8198 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
8199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 TCLSH
=$ac_cv_path_TCLSH
8210 if test -n "$TCLSH"; then
8211 { echo "$as_me:$LINENO: result: $TCLSH" >&5
8212 echo "${ECHO_T}$TCLSH" >&6; }
8214 { echo "$as_me:$LINENO: result: no" >&5
8215 echo "${ECHO_T}no" >&6; }
8219 test -n "$TCLSH" && break
8222 if test x
"${TCLSH}" = x
; then
8223 ac_cv_path_tclsh
='';
8225 ac_cv_path_tclsh
="${TCLSH}";
8228 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
8229 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
8230 TCLSH="${ac_cv_path_tclsh}"
8236 # Extract the first word of "zip", so it can be a program name with args.
8237 set dummy zip; 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_ZIP+set}" = set; then
8241 echo $ECHO_N "(cached
) $ECHO_C" >&6
8245 ac_cv_path_ZIP="$ZIP" # 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_ZIP="$as_dir/$ac_word$ac_exec_ext"
8256 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8267 if test -n "$ZIP"; then
8268 { echo "$as_me:$LINENO: result
: $ZIP" >&5
8269 echo "${ECHO_T}$ZIP" >&6; }
8271 { echo "$as_me:$LINENO: result
: no
" >&5
8272 echo "${ECHO_T}no
" >&6; }
8276 for ac_prog in ocamlc
8278 # Extract the first word of "$ac_prog", so it can be a program name with args.
8279 set dummy $ac_prog; ac_word=$2
8280 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8281 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8282 if test "${ac_cv_path_OCAMLC+set}" = set; then
8283 echo $ECHO_N "(cached
) $ECHO_C" >&6
8287 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
8298 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8308 OCAMLC=$ac_cv_path_OCAMLC
8309 if test -n "$OCAMLC"; then
8310 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
8311 echo "${ECHO_T}$OCAMLC" >&6; }
8313 { echo "$as_me:$LINENO: result
: no
" >&5
8314 echo "${ECHO_T}no
" >&6; }
8318 test -n "$OCAMLC" && break
8321 for ac_prog in ocamlopt
8323 # Extract the first word of "$ac_prog", so it can be a program name with args.
8324 set dummy $ac_prog; ac_word=$2
8325 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8326 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8327 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
8328 echo $ECHO_N "(cached
) $ECHO_C" >&6
8332 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
8335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 test -z "$as_dir" && as_dir=.
8340 for ac_exec_ext in '' $ac_executable_extensions; do
8341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8342 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
8343 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8353 OCAMLOPT=$ac_cv_path_OCAMLOPT
8354 if test -n "$OCAMLOPT"; then
8355 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
8356 echo "${ECHO_T}$OCAMLOPT" >&6; }
8358 { echo "$as_me:$LINENO: result
: no
" >&5
8359 echo "${ECHO_T}no
" >&6; }
8363 test -n "$OCAMLOPT" && break
8366 for ac_prog in ocamldep
8368 # Extract the first word of "$ac_prog", so it can be a program name with args.
8369 set dummy $ac_prog; ac_word=$2
8370 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8371 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8372 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
8373 echo $ECHO_N "(cached
) $ECHO_C" >&6
8377 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
8380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8384 test -z "$as_dir" && as_dir=.
8385 for ac_exec_ext in '' $ac_executable_extensions; do
8386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8387 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
8388 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8398 OCAMLDEP=$ac_cv_path_OCAMLDEP
8399 if test -n "$OCAMLDEP"; then
8400 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
8401 echo "${ECHO_T}$OCAMLDEP" >&6; }
8403 { echo "$as_me:$LINENO: result
: no
" >&5
8404 echo "${ECHO_T}no
" >&6; }
8408 test -n "$OCAMLDEP" && break
8411 for ac_prog in ocamldoc
8413 # Extract the first word of "$ac_prog", so it can be a program name with args.
8414 set dummy $ac_prog; ac_word=$2
8415 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8416 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8417 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
8418 echo $ECHO_N "(cached
) $ECHO_C" >&6
8422 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8429 test -z "$as_dir" && as_dir=.
8430 for ac_exec_ext in '' $ac_executable_extensions; do
8431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8432 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
8433 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8443 OCAMLDOC=$ac_cv_path_OCAMLDOC
8444 if test -n "$OCAMLDOC"; then
8445 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
8446 echo "${ECHO_T}$OCAMLDOC" >&6; }
8448 { echo "$as_me:$LINENO: result
: no
" >&5
8449 echo "${ECHO_T}no
" >&6; }
8453 test -n "$OCAMLDOC" && break
8456 for ac_prog in gas as
8458 # Extract the first word of "$ac_prog", so it can be a program name with args.
8459 set dummy $ac_prog; ac_word=$2
8460 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8461 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8462 if test "${ac_cv_path_GAS+set}" = set; then
8463 echo $ECHO_N "(cached
) $ECHO_C" >&6
8467 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8477 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
8478 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8489 if test -n "$GAS"; then
8490 { echo "$as_me:$LINENO: result
: $GAS" >&5
8491 echo "${ECHO_T}$GAS" >&6; }
8493 { echo "$as_me:$LINENO: result
: no
" >&5
8494 echo "${ECHO_T}no
" >&6; }
8498 test -n "$GAS" && break
8502 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
8503 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
8504 if test "${llvm_cv_link_use_r+set}" = set; then
8505 echo $ECHO_N "(cached
) $ECHO_C" >&6
8508 ac_cpp='$CPP $CPPFLAGS'
8509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8514 CFLAGS="$CFLAGS -Wl,-R.
"
8515 cat >conftest.$ac_ext <<_ACEOF
8518 cat confdefs.h >>conftest.$ac_ext
8519 cat >>conftest.$ac_ext <<_ACEOF
8520 /* end confdefs.h. */
8525 int main() { return 0; }
8530 rm -f conftest.$ac_objext conftest$ac_exeext
8531 if { (ac_try="$ac_link"
8533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8534 *) ac_try_echo=$ac_try;;
8536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8537 (eval "$ac_link") 2>conftest.er1
8539 grep -v '^ *+' conftest.er1 >conftest.err
8541 cat conftest.err >&5
8542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8543 (exit $ac_status); } &&
8544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8545 { (case "(($ac_try" in
8546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8547 *) ac_try_echo=$ac_try;;
8549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8550 (eval "$ac_try") 2>&5
8552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8553 (exit $ac_status); }; } &&
8554 { ac_try='test -s conftest$ac_exeext'
8555 { (case "(($ac_try" in
8556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8557 *) ac_try_echo=$ac_try;;
8559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8560 (eval "$ac_try") 2>&5
8562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 llvm_cv_link_use_r=yes
8566 echo "$as_me: failed program was
:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8569 llvm_cv_link_use_r=no
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8576 ac_cpp='$CPP $CPPFLAGS'
8577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8583 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
8584 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8585 if test "$llvm_cv_link_use_r" = yes ; then
8587 cat >>confdefs.h <<\_ACEOF
8588 #define HAVE_LINK_R 1
8594 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-export-dynamic option
" >&5
8595 echo $ECHO_N "checking
for compiler
-Wl,-export-dynamic option...
$ECHO_C" >&6; }
8596 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
8597 echo $ECHO_N "(cached
) $ECHO_C" >&6
8600 ac_cpp='$CPP $CPPFLAGS'
8601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8606 CFLAGS="$CFLAGS -Wl,-export-dynamic"
8607 cat >conftest.$ac_ext <<_ACEOF
8610 cat confdefs.h >>conftest.$ac_ext
8611 cat >>conftest.$ac_ext <<_ACEOF
8612 /* end confdefs.h. */
8617 int main() { return 0; }
8622 rm -f conftest.$ac_objext conftest$ac_exeext
8623 if { (ac_try="$ac_link"
8625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8626 *) ac_try_echo=$ac_try;;
8628 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8629 (eval "$ac_link") 2>conftest.er1
8631 grep -v '^ *+' conftest.er1 >conftest.err
8633 cat conftest.err >&5
8634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8635 (exit $ac_status); } &&
8636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8637 { (case "(($ac_try" in
8638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8639 *) ac_try_echo=$ac_try;;
8641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8642 (eval "$ac_try") 2>&5
8644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8645 (exit $ac_status); }; } &&
8646 { ac_try='test -s conftest$ac_exeext'
8647 { (case "(($ac_try" in
8648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8649 *) ac_try_echo=$ac_try;;
8651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8652 (eval "$ac_try") 2>&5
8654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8655 (exit $ac_status); }; }; then
8656 llvm_cv_link_use_export_dynamic=yes
8658 echo "$as_me: failed program was
:" >&5
8659 sed 's/^/| /' conftest.$ac_ext >&5
8661 llvm_cv_link_use_export_dynamic=no
8664 rm -f core conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8668 ac_cpp='$CPP $CPPFLAGS'
8669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8675 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_export_dynamic" >&5
8676 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
8677 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
8679 cat >>confdefs.h <<\_ACEOF
8680 #define HAVE_LINK_EXPORT_DYNAMIC 1
8688 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8689 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8690 if test "${ac_cv_c_const+set}" = set; then
8691 echo $ECHO_N "(cached
) $ECHO_C" >&6
8693 cat >conftest.$ac_ext <<_ACEOF
8696 cat confdefs.h >>conftest.$ac_ext
8697 cat >>conftest.$ac_ext <<_ACEOF
8698 /* end confdefs.h. */
8703 /* FIXME: Include the comments suggested by Paul. */
8705 /* Ultrix mips cc rejects this. */
8706 typedef int charset[2];
8708 /* SunOS 4.1.1 cc rejects this. */
8709 char const *const *ccp;
8711 /* NEC SVR4.0.2 mips cc rejects this. */
8712 struct point {int x, y;};
8713 static struct point const zero = {0,0};
8714 /* AIX XL C 1.02.0.0 rejects this.
8715 It does not let you subtract one const X* pointer from another in
8716 an arm of an if-expression whose if-part is not a constant
8718 const char *g = "string
";
8719 ccp = &g + (g ? g-g : 0);
8720 /* HPUX 7.0 cc rejects these. */
8723 ccp = (char const *const *) p;
8724 { /* SCO 3.2v4 cc rejects this. */
8726 char const *s = 0 ? (char *) 0 : (char const *) 0;
8731 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8733 const int *foo = &x[0];
8736 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8737 typedef const int *iptr;
8741 { /* AIX XL C 1.02.0.0 rejects this saying
8742 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8743 struct s { int j; const int *ap[3]; };
8744 struct s *b; b->j = 5;
8746 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8750 return !x[0] && !zero.x;
8757 rm -f conftest.$ac_objext
8758 if { (ac_try="$ac_compile"
8760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8761 *) ac_try_echo=$ac_try;;
8763 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8764 (eval "$ac_compile") 2>conftest.er1
8766 grep -v '^ *+' conftest.er1 >conftest.err
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8770 (exit $ac_status); } &&
8771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8772 { (case "(($ac_try" in
8773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8774 *) ac_try_echo=$ac_try;;
8776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8777 (eval "$ac_try") 2>&5
8779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8780 (exit $ac_status); }; } &&
8781 { ac_try='test -s conftest.$ac_objext'
8782 { (case "(($ac_try" in
8783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8784 *) ac_try_echo=$ac_try;;
8786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8787 (eval "$ac_try") 2>&5
8789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8790 (exit $ac_status); }; }; then
8793 echo "$as_me: failed program was
:" >&5
8794 sed 's/^/| /' conftest.$ac_ext >&5
8799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8801 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8802 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8803 if test $ac_cv_c_const = no; then
8805 cat >>confdefs.h <<\_ACEOF
8817 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8818 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8819 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8820 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8821 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8822 echo $ECHO_N "(cached
) $ECHO_C" >&6
8824 cat >conftest.$ac_ext <<_ACEOF
8827 cat confdefs.h >>conftest.$ac_ext
8828 cat >>conftest.$ac_ext <<_ACEOF
8829 /* end confdefs.h. */
8830 #include <sys/types.h>
8842 rm -f conftest.$ac_objext
8843 if { (ac_try="$ac_compile"
8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8848 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8849 (eval "$ac_compile") 2>conftest.er1
8851 grep -v '^ *+' conftest.er1 >conftest.err
8853 cat conftest.err >&5
8854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8855 (exit $ac_status); } &&
8856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8857 { (case "(($ac_try" in
8858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_try") 2>&5
8864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8865 (exit $ac_status); }; } &&
8866 { ac_try='test -s conftest.$ac_objext'
8867 { (case "(($ac_try" in
8868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8869 *) ac_try_echo=$ac_try;;
8871 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8872 (eval "$ac_try") 2>&5
8874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8875 (exit $ac_status); }; }; then
8876 eval "$as_ac_Header=yes"
8878 echo "$as_me: failed program was
:" >&5
8879 sed 's/^/| /' conftest.$ac_ext >&5
8881 eval "$as_ac_Header=no
"
8884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8886 ac_res=`eval echo '${'$as_ac_Header'}'`
8887 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8888 echo "${ECHO_T}$ac_res" >&6; }
8889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8890 cat >>confdefs.h <<_ACEOF
8891 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8894 ac_header_dirent=$ac_hdr; break
8898 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8899 if test $ac_header_dirent = dirent.h; then
8900 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8901 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8902 if test "${ac_cv_search_opendir+set}" = set; then
8903 echo $ECHO_N "(cached
) $ECHO_C" >&6
8905 ac_func_search_save_LIBS=$LIBS
8906 cat >conftest.$ac_ext <<_ACEOF
8909 cat confdefs.h >>conftest.$ac_ext
8910 cat >>conftest.$ac_ext <<_ACEOF
8911 /* end confdefs.h. */
8913 /* Override any GCC internal prototype to avoid an error.
8914 Use char because int might match the return type of a GCC
8915 builtin and then its argument prototype would still apply. */
8928 for ac_lib in '' dir; do
8929 if test -z "$ac_lib"; then
8930 ac_res="none required
"
8933 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8935 rm -f conftest.$ac_objext conftest$ac_exeext
8936 if { (ac_try="$ac_link"
8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 *) ac_try_echo=$ac_try;;
8941 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8942 (eval "$ac_link") 2>conftest.er1
8944 grep -v '^ *+' conftest.er1 >conftest.err
8946 cat conftest.err >&5
8947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8948 (exit $ac_status); } &&
8949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8950 { (case "(($ac_try" in
8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8952 *) ac_try_echo=$ac_try;;
8954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8955 (eval "$ac_try") 2>&5
8957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8958 (exit $ac_status); }; } &&
8959 { ac_try='test -s conftest$ac_exeext'
8960 { (case "(($ac_try" in
8961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8962 *) ac_try_echo=$ac_try;;
8964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8965 (eval "$ac_try") 2>&5
8967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8968 (exit $ac_status); }; }; then
8969 ac_cv_search_opendir=$ac_res
8971 echo "$as_me: failed program was
:" >&5
8972 sed 's/^/| /' conftest.$ac_ext >&5
8977 rm -f core conftest.err conftest.$ac_objext \
8979 if test "${ac_cv_search_opendir+set}" = set; then
8983 if test "${ac_cv_search_opendir+set}" = set; then
8986 ac_cv_search_opendir=no
8989 LIBS=$ac_func_search_save_LIBS
8991 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8992 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8993 ac_res=$ac_cv_search_opendir
8994 if test "$ac_res" != no; then
8995 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9000 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9001 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9002 if test "${ac_cv_search_opendir+set}" = set; then
9003 echo $ECHO_N "(cached
) $ECHO_C" >&6
9005 ac_func_search_save_LIBS=$LIBS
9006 cat >conftest.$ac_ext <<_ACEOF
9009 cat confdefs.h >>conftest.$ac_ext
9010 cat >>conftest.$ac_ext <<_ACEOF
9011 /* end confdefs.h. */
9013 /* Override any GCC internal prototype to avoid an error.
9014 Use char because int might match the return type of a GCC
9015 builtin and then its argument prototype would still apply. */
9028 for ac_lib in '' x; do
9029 if test -z "$ac_lib"; then
9030 ac_res="none required
"
9033 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9035 rm -f conftest.$ac_objext conftest$ac_exeext
9036 if { (ac_try="$ac_link"
9038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9039 *) ac_try_echo=$ac_try;;
9041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9042 (eval "$ac_link") 2>conftest.er1
9044 grep -v '^ *+' conftest.er1 >conftest.err
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9048 (exit $ac_status); } &&
9049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9050 { (case "(($ac_try" in
9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;;
9054 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9055 (eval "$ac_try") 2>&5
9057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9058 (exit $ac_status); }; } &&
9059 { ac_try='test -s conftest$ac_exeext'
9060 { (case "(($ac_try" in
9061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9062 *) ac_try_echo=$ac_try;;
9064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9065 (eval "$ac_try") 2>&5
9067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9068 (exit $ac_status); }; }; then
9069 ac_cv_search_opendir=$ac_res
9071 echo "$as_me: failed program was
:" >&5
9072 sed 's/^/| /' conftest.$ac_ext >&5
9077 rm -f core conftest.err conftest.$ac_objext \
9079 if test "${ac_cv_search_opendir+set}" = set; then
9083 if test "${ac_cv_search_opendir+set}" = set; then
9086 ac_cv_search_opendir=no
9089 LIBS=$ac_func_search_save_LIBS
9091 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9092 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9093 ac_res=$ac_cv_search_opendir
9094 if test "$ac_res" != no; then
9095 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9102 for ac_header in dlfcn.h
9104 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9105 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9106 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9107 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9108 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9109 echo $ECHO_N "(cached
) $ECHO_C" >&6
9111 ac_res=`eval echo '${'$as_ac_Header'}'`
9112 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9113 echo "${ECHO_T}$ac_res" >&6; }
9115 # Is the header compilable?
9116 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9117 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9118 cat >conftest.$ac_ext <<_ACEOF
9121 cat confdefs.h >>conftest.$ac_ext
9122 cat >>conftest.$ac_ext <<_ACEOF
9123 /* end confdefs.h. */
9124 $ac_includes_default
9125 #include <$ac_header>
9127 rm -f conftest.$ac_objext
9128 if { (ac_try="$ac_compile"
9130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9131 *) ac_try_echo=$ac_try;;
9133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9134 (eval "$ac_compile") 2>conftest.er1
9136 grep -v '^ *+' conftest.er1 >conftest.err
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9140 (exit $ac_status); } &&
9141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9142 { (case "(($ac_try" in
9143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9144 *) ac_try_echo=$ac_try;;
9146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9147 (eval "$ac_try") 2>&5
9149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9150 (exit $ac_status); }; } &&
9151 { ac_try='test -s conftest.$ac_objext'
9152 { (case "(($ac_try" in
9153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9154 *) ac_try_echo=$ac_try;;
9156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9157 (eval "$ac_try") 2>&5
9159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9160 (exit $ac_status); }; }; then
9161 ac_header_compiler=yes
9163 echo "$as_me: failed program was
:" >&5
9164 sed 's/^/| /' conftest.$ac_ext >&5
9166 ac_header_compiler=no
9169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9170 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9171 echo "${ECHO_T}$ac_header_compiler" >&6; }
9173 # Is the header present?
9174 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9175 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9176 cat >conftest.$ac_ext <<_ACEOF
9179 cat confdefs.h >>conftest.$ac_ext
9180 cat >>conftest.$ac_ext <<_ACEOF
9181 /* end confdefs.h. */
9182 #include <$ac_header>
9184 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9187 *) ac_try_echo=$ac_try;;
9189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9190 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9192 grep -v '^ *+' conftest.er1 >conftest.err
9194 cat conftest.err >&5
9195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9196 (exit $ac_status); } >/dev/null; then
9197 if test -s conftest.err; then
9198 ac_cpp_err=$ac_c_preproc_warn_flag
9199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9206 if test -z "$ac_cpp_err"; then
9207 ac_header_preproc=yes
9209 echo "$as_me: failed program was
:" >&5
9210 sed 's/^/| /' conftest.$ac_ext >&5
9212 ac_header_preproc=no
9215 rm -f conftest.err conftest.$ac_ext
9216 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9217 echo "${ECHO_T}$ac_header_preproc" >&6; }
9219 # So? What about this header?
9220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9222 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9223 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9224 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9226 ac_header_preproc=yes
9229 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9230 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9231 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9232 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9233 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9234 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9235 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9236 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9237 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9239 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9240 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9242 ## ----------------------------------- ##
9243 ## Report this to llvmbugs@cs.uiuc.edu ##
9244 ## ----------------------------------- ##
9246 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
9249 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9250 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9251 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9252 echo $ECHO_N "(cached
) $ECHO_C" >&6
9254 eval "$as_ac_Header=\
$ac_header_preproc"
9256 ac_res=`eval echo '${'$as_ac_Header'}'`
9257 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9258 echo "${ECHO_T}$ac_res" >&6; }
9261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9262 cat >>confdefs.h <<_ACEOF
9263 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9270 # Check whether --enable-ltdl-install was given.
9271 if test "${enable_ltdl_install+set}" = set; then
9272 enableval=$enable_ltdl_install;
9278 if test x"${enable_ltdl_install-no}" != xno; then
9280 INSTALL_LTDL_FALSE='#'
9282 INSTALL_LTDL_TRUE='#'
9288 if test x"${enable_ltdl_convenience-no}" != xno; then
9289 CONVENIENCE_LTDL_TRUE=
9290 CONVENIENCE_LTDL_FALSE='#'
9292 CONVENIENCE_LTDL_TRUE='#'
9293 CONVENIENCE_LTDL_FALSE=
9297 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
9298 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
9300 libname_spec='lib$name'
9308 shlibpath_overrides_runpath=unknown
9310 dynamic_linker="$host_os ld.so
"
9311 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
9312 if test "$GCC" = yes; then
9313 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
9314 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9315 # if the path contains ";" then we assume it to be the separator
9316 # otherwise default to the standard path separator (i.e. ":") - it is
9317 # assumed that no part of a normal pathname contains ";" but that should
9318 # okay in the real world where ";" in dirpaths is itself problematic.
9319 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9321 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
9324 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
9326 need_lib_prefix=unknown
9327 hardcode_into_libs=no
9329 # when you set need_version to no, make sure it does not cause -set_version
9330 # flags to be left without arguments
9331 need_version=unknown
9336 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9337 shlibpath_var=LIBPATH
9339 # AIX 3 has no versioning support, so we append a major version to the name.
9340 soname_spec='${libname}${release}${shared_ext}$major'
9347 hardcode_into_libs=yes
9348 if test "$host_cpu" = ia64; then
9349 # AIX 5 supports IA64
9350 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9351 shlibpath_var=LD_LIBRARY_PATH
9353 # With GCC up to 2.95.x, collect2 would create an import file
9354 # for dependence libraries. The import file would start with
9355 # the line `#! .'. This would cause the generated library to
9356 # depend on `.', always an invalid library. This was fixed in
9357 # development snapshots of GCC prior to 3.0.
9359 aix4 | aix4.[01] | aix4.[01].*)
9360 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9362 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9369 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9370 # soname into executable. Probably we can add versioning support to
9371 # collect2, so additional links can be useful in future.
9372 if test "$aix_use_runtimelinking" = yes; then
9373 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9374 # instead of lib<name>.a to let people know that these are not
9375 # typical AIX shared libraries.
9376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9378 # We preserve .a as extension for shared libraries through AIX4.2
9379 # and later when we are not doing run time linking.
9380 library_names_spec='${libname}${release}.a $libname.a'
9381 soname_spec='${libname}${release}${shared_ext}$major'
9383 shlibpath_var=LIBPATH
9388 library_names_spec='$libname.ixlibrary $libname.a'
9389 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9390 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'
9394 library_names_spec='${libname}${shared_ext}'
9395 dynamic_linker="$host_os ld.so
"
9396 shlibpath_var=LIBRARY_PATH
9402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9403 soname_spec='${libname}${release}${shared_ext}$major'
9404 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
9405 shlibpath_var=LD_LIBRARY_PATH
9406 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
9407 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
9408 # the default ld.so.conf also contains /usr/contrib/lib and
9409 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9410 # libtool to hard-code these into programs
9413 cygwin* | mingw* | pw32*)
9414 version_type=windows
9419 case $GCC,$host_os in
9420 yes,cygwin* | yes,mingw* | yes,pw32*)
9421 library_names_spec='$libname.dll.a'
9422 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9423 postinstall_cmds='base_file=`basename \${file}`~
9424 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9425 dldir=$destdir/`dirname \$dlpath`~
9426 test -d \$dldir || mkdir -p \$dldir~
9427 $install_prog $dir/$dlname \$dldir/$dlname~
9428 chmod a+x \$dldir/$dlname'
9429 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9430 dlpath=$dir/\$dldll~
9432 shlibpath_overrides_runpath=yes
9436 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9437 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9438 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
9441 # MinGW DLLs use traditional 'lib' prefix
9442 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9443 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
9444 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9445 # It is most probably a Windows format PATH printed by
9446 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9447 # path with ; separators, and with drive letters. We can handle the
9448 # drive letters (cygwin fileutils understands them), so leave them,
9449 # especially as we might pass files found there to a mingw objdump,
9450 # which wouldn't understand a cygwinified path. Ahh.
9451 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9453 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
9457 # pw32 DLLs use 'pw' prefix rather than 'lib'
9458 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9464 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9467 dynamic_linker='Win32 ld.exe'
9468 # FIXME: first we should search . and the directory the executable is in
9472 darwin* | rhapsody*)
9473 dynamic_linker="$host_os dyld
"
9477 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9478 soname_spec='${libname}${release}${major}$shared_ext'
9479 shlibpath_overrides_runpath=yes
9480 shlibpath_var=DYLD_LIBRARY_PATH
9481 shrext_cmds='.dylib'
9482 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9483 if test "$GCC" = yes; then
9484 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
"`
9486 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9488 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9496 soname_spec='${libname}${release}${shared_ext}$major'
9497 shlibpath_var=LD_LIBRARY_PATH
9508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9509 soname_spec='${libname}${release}${shared_ext}$major'
9510 shlibpath_var=LD_LIBRARY_PATH
9511 shlibpath_overrides_runpath=no
9512 hardcode_into_libs=yes
9513 dynamic_linker='GNU ld.so'
9516 freebsd* | dragonfly*)
9517 # DragonFly does not have aout. When/if they implement a new
9518 # versioning mechanism, adjust this.
9519 if test -x /usr/bin/objformat; then
9520 objformat=`/usr/bin/objformat`
9523 freebsd[123]*) objformat=aout ;;
9527 version_type=freebsd-$objformat
9528 case $version_type in
9530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9535 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9539 shlibpath_var=LD_LIBRARY_PATH
9542 shlibpath_overrides_runpath=yes
9544 freebsd3.[01]* | freebsdelf3.[01]*)
9545 shlibpath_overrides_runpath=yes
9546 hardcode_into_libs=yes
9548 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9549 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9550 shlibpath_overrides_runpath=no
9551 hardcode_into_libs=yes
9553 freebsd*) # from 4.6 on
9554 shlibpath_overrides_runpath=yes
9555 hardcode_into_libs=yes
9564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9565 soname_spec='${libname}${release}${shared_ext}$major'
9566 shlibpath_var=LD_LIBRARY_PATH
9567 hardcode_into_libs=yes
9570 hpux9* | hpux10* | hpux11*)
9571 # Give a soname corresponding to the major version so that dld.sl refuses to
9572 # link against other versions.
9579 hardcode_into_libs=yes
9580 dynamic_linker="$host_os dld.so
"
9581 shlibpath_var=LD_LIBRARY_PATH
9582 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9584 soname_spec='${libname}${release}${shared_ext}$major'
9585 if test "X
$HPUX_IA64_MODE" = X32; then
9586 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
9588 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
9590 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9594 hardcode_into_libs=yes
9595 dynamic_linker="$host_os dld.sl
"
9596 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9597 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9599 soname_spec='${libname}${release}${shared_ext}$major'
9600 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
9601 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9605 dynamic_linker="$host_os dld.sl
"
9606 shlibpath_var=SHLIB_PATH
9607 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9609 soname_spec='${libname}${release}${shared_ext}$major'
9612 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9613 postinstall_cmds='chmod 555 $lib'
9620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9621 soname_spec='${libname}${release}${shared_ext}$major'
9622 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9623 shlibpath_var=LD_LIBRARY_PATH
9624 shlibpath_overrides_runpath=no
9625 hardcode_into_libs=yes
9628 irix5* | irix6* | nonstopux*)
9630 nonstopux*) version_type=nonstopux ;;
9632 if test "$lt_cv_prog_gnu_ld" = yes; then
9640 soname_spec='${libname}${release}${shared_ext}$major'
9641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9643 irix5* | nonstopux*)
9647 case $LD in # libtool.m4 will add one of these switches to LD
9648 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9649 libsuff= shlibsuff= libmagic=32-bit;;
9650 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9651 libsuff=32 shlibsuff=N32 libmagic=N32;;
9652 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9653 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9654 *) libsuff= shlibsuff= libmagic=never-match;;
9658 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9659 shlibpath_overrides_runpath=no
9660 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9661 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
9662 hardcode_into_libs=yes
9665 # No shared lib support for Linux oldld, aout, or coff.
9666 linux*oldld* | linux*aout* | linux*coff*)
9670 # This must be Linux ELF.
9675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9676 soname_spec='${libname}${release}${shared_ext}$major'
9677 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
9678 shlibpath_var=LD_LIBRARY_PATH
9679 shlibpath_overrides_runpath=no
9680 # This implies no fast_install, which is unacceptable.
9681 # Some rework will be needed to allow for fast_install
9682 # before this can be enabled.
9683 hardcode_into_libs=yes
9685 # Append ld.so.conf contents to the search path
9686 if test -f /etc/ld.so.conf; then
9687 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' ' '`
9688 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9691 # We used to test for /lib/ld.so.1 and disable shared libraries on
9692 # powerpc, because MkLinux only supported shared libraries with the
9693 # GNU dynamic linker. Since this was broken with cross compilers,
9694 # most powerpc-linux boxes support dynamic linking these days and
9695 # people can always --disable-shared, the test was removed, and we
9696 # assume the GNU/Linux dynamic linker is in use.
9697 dynamic_linker='GNU/Linux ld.so'
9704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9705 soname_spec='${libname}${release}${shared_ext}$major'
9706 shlibpath_var=LD_LIBRARY_PATH
9707 shlibpath_overrides_runpath=no
9708 hardcode_into_libs=yes
9709 dynamic_linker='GNU ld.so'
9716 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9718 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9719 dynamic_linker='NetBSD (a.out) ld.so'
9721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9722 soname_spec='${libname}${release}${shared_ext}$major'
9723 dynamic_linker='NetBSD ld.elf_so'
9725 shlibpath_var=LD_LIBRARY_PATH
9726 shlibpath_overrides_runpath=yes
9727 hardcode_into_libs=yes
9732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9733 shlibpath_var=LD_LIBRARY_PATH
9734 shlibpath_overrides_runpath=yes
9741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9742 soname_spec='${libname}${release}${shared_ext}$major'
9743 shlibpath_var=LD_LIBRARY_PATH
9744 shlibpath_overrides_runpath=yes
9749 sys_lib_dlsearch_path_spec="/usr
/lib
"
9751 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9753 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9754 *) need_version=no ;;
9756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9757 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9758 shlibpath_var=LD_LIBRARY_PATH
9759 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9761 openbsd2.[89] | openbsd2.[89].*)
9762 shlibpath_overrides_runpath=no
9765 shlibpath_overrides_runpath=yes
9769 shlibpath_overrides_runpath=yes
9774 libname_spec='$name'
9777 library_names_spec='$libname${shared_ext} $libname.a'
9778 dynamic_linker='OS/2 ld.exe'
9779 shlibpath_var=LIBPATH
9782 osf3* | osf4* | osf5*)
9786 soname_spec='${libname}${release}${shared_ext}$major'
9787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9788 shlibpath_var=LD_LIBRARY_PATH
9789 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9790 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9798 soname_spec='${libname}${release}${shared_ext}$major'
9799 shlibpath_var=LD_LIBRARY_PATH
9800 shlibpath_overrides_runpath=yes
9801 hardcode_into_libs=yes
9802 # ldd complains unless libraries are executable
9803 postinstall_cmds='chmod +x $lib'
9808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9809 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9810 shlibpath_var=LD_LIBRARY_PATH
9811 shlibpath_overrides_runpath=yes
9812 if test "$with_gnu_ld" = yes; then
9820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9821 soname_spec='${libname}${release}${shared_ext}$major'
9822 shlibpath_var=LD_LIBRARY_PATH
9823 case $host_vendor in
9825 shlibpath_overrides_runpath=no
9827 export_dynamic_flag_spec='${wl}-Blargedynsym'
9828 runpath_var=LD_RUN_PATH
9836 shlibpath_overrides_runpath=no
9837 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9843 if test -d /usr/nec ;then
9845 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9846 soname_spec='$libname${shared_ext}.$major'
9847 shlibpath_var=LD_LIBRARY_PATH
9851 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9852 version_type=freebsd-elf
9855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9856 soname_spec='${libname}${release}${shared_ext}$major'
9857 shlibpath_var=LD_LIBRARY_PATH
9858 hardcode_into_libs=yes
9859 if test "$with_gnu_ld" = yes; then
9860 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9861 shlibpath_overrides_runpath=no
9863 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9864 shlibpath_overrides_runpath=yes
9867 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9871 sys_lib_dlsearch_path_spec='/usr/lib'
9876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9877 soname_spec='${libname}${release}${shared_ext}$major'
9878 shlibpath_var=LD_LIBRARY_PATH
9885 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9886 echo "${ECHO_T}$dynamic_linker" >&6; }
9887 test "$dynamic_linker" = no && can_build_shared=no
9889 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9890 if test "$GCC" = yes; then
9891 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9895 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9896 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9897 if test "${libltdl_cv_shlibext+set}" = set; then
9898 echo $ECHO_N "(cached
) $ECHO_C" >&6
9902 eval libltdl_cv_shlibext=$shrext_cmds
9905 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9906 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9907 if test -n "$libltdl_cv_shlibext"; then
9909 cat >>confdefs.h <<_ACEOF
9910 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9916 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9917 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9918 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9919 echo $ECHO_N "(cached
) $ECHO_C" >&6
9921 libltdl_cv_shlibpath_var="$shlibpath_var"
9923 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9924 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9925 if test -n "$libltdl_cv_shlibpath_var"; then
9927 cat >>confdefs.h <<_ACEOF
9928 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9934 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9935 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9936 if test "${libltdl_cv_sys_search_path+set}" = set; then
9937 echo $ECHO_N "(cached
) $ECHO_C" >&6
9939 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9941 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9942 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9943 if test -n "$libltdl_cv_sys_search_path"; then
9945 for dir in $libltdl_cv_sys_search_path; do
9946 if test -z "$sys_search_path"; then
9947 sys_search_path="$dir"
9949 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9953 cat >>confdefs.h <<_ACEOF
9954 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9959 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9960 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9961 if test "${libltdl_cv_objdir+set}" = set; then
9962 echo $ECHO_N "(cached
) $ECHO_C" >&6
9964 libltdl_cv_objdir="$objdir"
9965 if test -n "$objdir"; then
9968 rm -f .libs 2>/dev/null
9969 mkdir .libs 2>/dev/null
9970 if test -d .libs; then
9971 libltdl_cv_objdir=.libs
9973 # MS-DOS does not allow filenames that begin with a dot.
9974 libltdl_cv_objdir=_libs
9976 rmdir .libs 2>/dev/null
9980 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9981 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9983 cat >>confdefs.h <<_ACEOF
9984 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9992 # Check for command to grab the raw symbol name followed by C symbol from nm.
9993 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9994 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9995 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9996 echo $ECHO_N "(cached
) $ECHO_C" >&6
9999 # These are sane defaults that work on at least a few old systems.
10000 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
10002 # Character class describing NM global symbol codes.
10003 symcode='[BCDEGRST]'
10005 # Regexp to match symbols that can be accessed directly from C.
10006 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10008 # Transform an extracted symbol line into a proper C declaration
10009 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
10011 # Transform an extracted symbol line into symbol name and symbol address
10012 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'"
10014 # Define system-specific variables.
10019 cygwin* | mingw* | pw32*)
10020 symcode='[ABCDGISTW]'
10022 hpux*) # Its linker distinguishes data from code symbols
10023 if test "$host_cpu" = ia64; then
10024 symcode='[ABCDEGRST]'
10026 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10027 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'"
10030 if test "$host_cpu" = ia64; then
10031 symcode='[ABCDGIRSTW]'
10032 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10033 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'"
10036 irix* | nonstopux*)
10037 symcode='[BCDEGRST]'
10040 symcode='[BCDEGQRST]'
10051 sysv5* | sco5v6* | unixware* | OpenUNIX*)
10059 # Handle CRLF in mingw tool chain
10063 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10067 # If we're using GNU nm, then use its standard symbol codes.
10068 case `$NM -V 2>&1` in
10069 *GNU* | *'with BFD'*)
10070 symcode='[ABCDGIRSTW]' ;;
10073 # Try without a prefix undercore, then with it.
10074 for ac_symprfx in "" "_
"; do
10076 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10077 symxfrm="\\1 $ac_symprfx\\2 \\2"
10079 # Write the raw and C identifiers.
10080 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10082 # Check to see that the pipe works correctly.
10086 cat > conftest.$ac_ext <<EOF
10091 void nm_test_func(){}
10095 int main(){nm_test_var='a';nm_test_func();return(0);}
10098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10099 (eval $ac_compile) 2>&5
10101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10102 (exit $ac_status); }; then
10103 # Now try to grab the symbols.
10105 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
10106 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10109 (exit $ac_status); } && test -s "$nlist"; then
10110 # Try sorting and uniquifying the output.
10111 if sort "$nlist" | uniq > "$nlist"T; then
10112 mv -f "$nlist"T "$nlist"
10117 # Make sure that we snagged all the symbols we need.
10118 if grep ' nm_test_var$' "$nlist" >/dev/null; then
10119 if grep ' nm_test_func$' "$nlist" >/dev/null; then
10120 cat <<EOF > conftest.$ac_ext
10126 # Now generate the symbol file.
10127 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10129 cat <<EOF >> conftest.$ac_ext
10130 #if defined (__STDC__) && __STDC__
10131 # define lt_ptr_t void *
10133 # define lt_ptr_t char *
10137 /* The mapping between symbol names and symbols. */
10142 lt_preloaded_symbols[] =
10145 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
10146 cat <<\EOF >> conftest.$ac_ext
10154 # Now try linking the two files.
10155 mv conftest.$ac_objext conftstm.$ac_objext
10156 lt_save_LIBS="$LIBS"
10157 lt_save_CFLAGS="$CFLAGS"
10158 LIBS="conftstm.
$ac_objext"
10159 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10161 (eval $ac_link) 2>&5
10163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10164 (exit $ac_status); } && test -s conftest${ac_exeext}; then
10167 LIBS="$lt_save_LIBS"
10168 CFLAGS="$lt_save_CFLAGS"
10170 echo "cannot
find nm_test_func
in $nlist" >&5
10173 echo "cannot
find nm_test_var
in $nlist" >&5
10176 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10179 echo "$progname: failed program was
:" >&5
10180 cat conftest.$ac_ext >&5
10182 rm -f conftest* conftst*
10184 # Do not use the global_symbol_pipe unless it works.
10185 if test "$pipe_works" = yes; then
10188 lt_cv_sys_global_symbol_pipe=
10194 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10195 lt_cv_sys_global_symbol_to_cdecl=
10197 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10198 { echo "$as_me:$LINENO: result
: failed
" >&5
10199 echo "${ECHO_T}failed
" >&6; }
10201 { echo "$as_me:$LINENO: result
: ok
" >&5
10202 echo "${ECHO_T}ok
" >&6; }
10206 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
10207 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
10208 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
10209 echo $ECHO_N "(cached
) $ECHO_C" >&6
10211 if test -n "$lt_cv_sys_global_symbol_pipe"; then
10212 libltdl_cv_preloaded_symbols=yes
10214 libltdl_cv_preloaded_symbols=no
10218 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
10219 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
10220 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
10222 cat >>confdefs.h <<\_ACEOF
10223 #define HAVE_PRELOADED_SYMBOLS 1
10231 ac_cpp='$CPP $CPPFLAGS'
10232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10237 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
10238 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
10239 if test "${ac_cv_func_shl_load+set}" = set; then
10240 echo $ECHO_N "(cached
) $ECHO_C" >&6
10242 cat >conftest.$ac_ext <<_ACEOF
10245 cat confdefs.h >>conftest.$ac_ext
10246 cat >>conftest.$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10248 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10250 #define shl_load innocuous_shl_load
10252 /* System header to define __stub macros and hopefully few prototypes,
10253 which can conflict with char shl_load (); below.
10254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10255 <limits.h> exists even on freestanding compilers. */
10258 # include <limits.h>
10260 # include <assert.h>
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10272 /* The GNU C library defines this for functions which it implements
10273 to always fail with ENOSYS. Some functions are actually named
10274 something starting with __ and the normal name is an alias. */
10275 #if defined __stub_shl_load || defined __stub___shl_load
10282 return shl_load ();
10287 rm -f conftest.$ac_objext conftest$ac_exeext
10288 if { (ac_try="$ac_link"
10289 case "(($ac_try" in
10290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10291 *) ac_try_echo=$ac_try;;
10293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10294 (eval "$ac_link") 2>conftest.er1
10296 grep -v '^ *+' conftest.er1 >conftest.err
10298 cat conftest.err >&5
10299 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10300 (exit $ac_status); } &&
10301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10302 { (case "(($ac_try" in
10303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10304 *) ac_try_echo=$ac_try;;
10306 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10307 (eval "$ac_try") 2>&5
10309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10310 (exit $ac_status); }; } &&
10311 { ac_try='test -s conftest$ac_exeext'
10312 { (case "(($ac_try" in
10313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10314 *) ac_try_echo=$ac_try;;
10316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10317 (eval "$ac_try") 2>&5
10319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10320 (exit $ac_status); }; }; then
10321 ac_cv_func_shl_load=yes
10323 echo "$as_me: failed program was
:" >&5
10324 sed 's/^/| /' conftest.$ac_ext >&5
10326 ac_cv_func_shl_load=no
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10332 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
10333 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10334 if test $ac_cv_func_shl_load = yes; then
10336 cat >>confdefs.h <<\_ACEOF
10337 #define HAVE_SHL_LOAD 1
10341 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
10342 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
10343 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10344 echo $ECHO_N "(cached
) $ECHO_C" >&6
10346 ac_check_lib_save_LIBS=$LIBS
10348 cat >conftest.$ac_ext <<_ACEOF
10351 cat confdefs.h >>conftest.$ac_ext
10352 cat >>conftest.$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10355 /* Override any GCC internal prototype to avoid an error.
10356 Use char because int might match the return type of a GCC
10357 builtin and then its argument prototype would still apply. */
10365 return shl_load ();
10370 rm -f conftest.$ac_objext conftest$ac_exeext
10371 if { (ac_try="$ac_link"
10372 case "(($ac_try" in
10373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10374 *) ac_try_echo=$ac_try;;
10376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10377 (eval "$ac_link") 2>conftest.er1
10379 grep -v '^ *+' conftest.er1 >conftest.err
10381 cat conftest.err >&5
10382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10383 (exit $ac_status); } &&
10384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10385 { (case "(($ac_try" in
10386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10387 *) ac_try_echo=$ac_try;;
10389 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10390 (eval "$ac_try") 2>&5
10392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10393 (exit $ac_status); }; } &&
10394 { ac_try='test -s conftest$ac_exeext'
10395 { (case "(($ac_try" in
10396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10397 *) ac_try_echo=$ac_try;;
10399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10400 (eval "$ac_try") 2>&5
10402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10403 (exit $ac_status); }; }; then
10404 ac_cv_lib_dld_shl_load=yes
10406 echo "$as_me: failed program was
:" >&5
10407 sed 's/^/| /' conftest.$ac_ext >&5
10409 ac_cv_lib_dld_shl_load=no
10412 rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414 LIBS=$ac_check_lib_save_LIBS
10416 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
10417 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10418 if test $ac_cv_lib_dld_shl_load = yes; then
10420 cat >>confdefs.h <<\_ACEOF
10421 #define HAVE_SHL_LOAD 1
10424 LIBADD_DL="$LIBADD_DL -ldld"
10426 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
10427 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
10428 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10429 echo $ECHO_N "(cached
) $ECHO_C" >&6
10431 ac_check_lib_save_LIBS=$LIBS
10433 cat >conftest.$ac_ext <<_ACEOF
10436 cat confdefs.h >>conftest.$ac_ext
10437 cat >>conftest.$ac_ext <<_ACEOF
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10455 rm -f conftest.$ac_objext conftest$ac_exeext
10456 if { (ac_try="$ac_link"
10457 case "(($ac_try" in
10458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10459 *) ac_try_echo=$ac_try;;
10461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10462 (eval "$ac_link") 2>conftest.er1
10464 grep -v '^ *+' conftest.er1 >conftest.err
10466 cat conftest.err >&5
10467 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10468 (exit $ac_status); } &&
10469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10470 { (case "(($ac_try" in
10471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10472 *) ac_try_echo=$ac_try;;
10474 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10475 (eval "$ac_try") 2>&5
10477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10478 (exit $ac_status); }; } &&
10479 { ac_try='test -s conftest$ac_exeext'
10480 { (case "(($ac_try" in
10481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10482 *) ac_try_echo=$ac_try;;
10484 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10485 (eval "$ac_try") 2>&5
10487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10488 (exit $ac_status); }; }; then
10489 ac_cv_lib_dl_dlopen=yes
10491 echo "$as_me: failed program was
:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10494 ac_cv_lib_dl_dlopen=no
10497 rm -f core conftest.err conftest.$ac_objext \
10498 conftest$ac_exeext conftest.$ac_ext
10499 LIBS=$ac_check_lib_save_LIBS
10501 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
10502 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10503 if test $ac_cv_lib_dl_dlopen = yes; then
10505 cat >>confdefs.h <<\_ACEOF
10506 #define HAVE_LIBDL 1
10509 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
10511 cat >conftest.$ac_ext <<_ACEOF
10514 cat confdefs.h >>conftest.$ac_ext
10515 cat >>conftest.$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10518 # include <dlfcn.h>
10529 rm -f conftest.$ac_objext conftest$ac_exeext
10530 if { (ac_try="$ac_link"
10531 case "(($ac_try" in
10532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10533 *) ac_try_echo=$ac_try;;
10535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10536 (eval "$ac_link") 2>conftest.er1
10538 grep -v '^ *+' conftest.er1 >conftest.err
10540 cat conftest.err >&5
10541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10542 (exit $ac_status); } &&
10543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10544 { (case "(($ac_try" in
10545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10546 *) ac_try_echo=$ac_try;;
10548 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10549 (eval "$ac_try") 2>&5
10551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10552 (exit $ac_status); }; } &&
10553 { ac_try='test -s conftest$ac_exeext'
10554 { (case "(($ac_try" in
10555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10556 *) ac_try_echo=$ac_try;;
10558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10559 (eval "$ac_try") 2>&5
10561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10562 (exit $ac_status); }; }; then
10564 cat >>confdefs.h <<\_ACEOF
10565 #define HAVE_LIBDL 1
10567 libltdl_cv_func_dlopen="yes"
10569 echo "$as_me: failed program was
:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10572 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
10573 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
10574 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10575 echo $ECHO_N "(cached
) $ECHO_C" >&6
10577 ac_check_lib_save_LIBS=$LIBS
10578 LIBS="-lsvld $LIBS"
10579 cat >conftest.$ac_ext <<_ACEOF
10582 cat confdefs.h >>conftest.$ac_ext
10583 cat >>conftest.$ac_ext <<_ACEOF
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10601 rm -f conftest.$ac_objext conftest$ac_exeext
10602 if { (ac_try="$ac_link"
10603 case "(($ac_try" in
10604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10605 *) ac_try_echo=$ac_try;;
10607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10608 (eval "$ac_link") 2>conftest.er1
10610 grep -v '^ *+' conftest.er1 >conftest.err
10612 cat conftest.err >&5
10613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10614 (exit $ac_status); } &&
10615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10616 { (case "(($ac_try" in
10617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10618 *) ac_try_echo=$ac_try;;
10620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10621 (eval "$ac_try") 2>&5
10623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10624 (exit $ac_status); }; } &&
10625 { ac_try='test -s conftest$ac_exeext'
10626 { (case "(($ac_try" in
10627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10628 *) ac_try_echo=$ac_try;;
10630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10631 (eval "$ac_try") 2>&5
10633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10634 (exit $ac_status); }; }; then
10635 ac_cv_lib_svld_dlopen=yes
10637 echo "$as_me: failed program was
:" >&5
10638 sed 's/^/| /' conftest.$ac_ext >&5
10640 ac_cv_lib_svld_dlopen=no
10643 rm -f core conftest.err conftest.$ac_objext \
10644 conftest$ac_exeext conftest.$ac_ext
10645 LIBS=$ac_check_lib_save_LIBS
10647 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
10648 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10649 if test $ac_cv_lib_svld_dlopen = yes; then
10651 cat >>confdefs.h <<\_ACEOF
10652 #define HAVE_LIBDL 1
10655 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10657 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
10658 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
10659 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10660 echo $ECHO_N "(cached
) $ECHO_C" >&6
10662 ac_check_lib_save_LIBS=$LIBS
10664 cat >conftest.$ac_ext <<_ACEOF
10667 cat confdefs.h >>conftest.$ac_ext
10668 cat >>conftest.$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10681 return dld_link ();
10686 rm -f conftest.$ac_objext conftest$ac_exeext
10687 if { (ac_try="$ac_link"
10688 case "(($ac_try" in
10689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10690 *) ac_try_echo=$ac_try;;
10692 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10693 (eval "$ac_link") 2>conftest.er1
10695 grep -v '^ *+' conftest.er1 >conftest.err
10697 cat conftest.err >&5
10698 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10699 (exit $ac_status); } &&
10700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10701 { (case "(($ac_try" in
10702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10703 *) ac_try_echo=$ac_try;;
10705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10706 (eval "$ac_try") 2>&5
10708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10709 (exit $ac_status); }; } &&
10710 { ac_try='test -s conftest$ac_exeext'
10711 { (case "(($ac_try" in
10712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10713 *) ac_try_echo=$ac_try;;
10715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10716 (eval "$ac_try") 2>&5
10718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_cv_lib_dld_dld_link=yes
10722 echo "$as_me: failed program was
:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 ac_cv_lib_dld_dld_link=no
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LIBS=$ac_check_lib_save_LIBS
10732 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10733 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10734 if test $ac_cv_lib_dld_dld_link = yes; then
10736 cat >>confdefs.h <<\_ACEOF
10740 LIBADD_DL="$LIBADD_DL -ldld"
10742 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10743 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10744 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10745 echo $ECHO_N "(cached
) $ECHO_C" >&6
10747 cat >conftest.$ac_ext <<_ACEOF
10750 cat confdefs.h >>conftest.$ac_ext
10751 cat >>conftest.$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10753 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10755 #define _dyld_func_lookup innocuous__dyld_func_lookup
10757 /* System header to define __stub macros and hopefully few prototypes,
10758 which can conflict with char _dyld_func_lookup (); below.
10759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10760 <limits.h> exists even on freestanding compilers. */
10763 # include <limits.h>
10765 # include <assert.h>
10768 #undef _dyld_func_lookup
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10776 char _dyld_func_lookup ();
10777 /* The GNU C library defines this for functions which it implements
10778 to always fail with ENOSYS. Some functions are actually named
10779 something starting with __ and the normal name is an alias. */
10780 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10787 return _dyld_func_lookup ();
10792 rm -f conftest.$ac_objext conftest$ac_exeext
10793 if { (ac_try="$ac_link"
10794 case "(($ac_try" in
10795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10796 *) ac_try_echo=$ac_try;;
10798 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10799 (eval "$ac_link") 2>conftest.er1
10801 grep -v '^ *+' conftest.er1 >conftest.err
10803 cat conftest.err >&5
10804 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10805 (exit $ac_status); } &&
10806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10807 { (case "(($ac_try" in
10808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10809 *) ac_try_echo=$ac_try;;
10811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10812 (eval "$ac_try") 2>&5
10814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10815 (exit $ac_status); }; } &&
10816 { ac_try='test -s conftest$ac_exeext'
10817 { (case "(($ac_try" in
10818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10819 *) ac_try_echo=$ac_try;;
10821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10822 (eval "$ac_try") 2>&5
10824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10825 (exit $ac_status); }; }; then
10826 ac_cv_func__dyld_func_lookup=yes
10828 echo "$as_me: failed program was
:" >&5
10829 sed 's/^/| /' conftest.$ac_ext >&5
10831 ac_cv_func__dyld_func_lookup=no
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10837 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10838 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10839 if test $ac_cv_func__dyld_func_lookup = yes; then
10841 cat >>confdefs.h <<\_ACEOF
10842 #define HAVE_DYLD 1
10856 rm -f core conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10868 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10870 lt_save_LIBS="$LIBS"
10871 LIBS="$LIBS $LIBADD_DL"
10873 for ac_func in dlerror
10875 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10876 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10877 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10878 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10879 echo $ECHO_N "(cached
) $ECHO_C" >&6
10881 cat >conftest.$ac_ext <<_ACEOF
10884 cat confdefs.h >>conftest.$ac_ext
10885 cat >>conftest.$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10889 #define $ac_func innocuous_$ac_func
10891 /* System header to define __stub macros and hopefully few prototypes,
10892 which can conflict with char $ac_func (); below.
10893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10894 <limits.h> exists even on freestanding compilers. */
10897 # include <limits.h>
10899 # include <assert.h>
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10911 /* The GNU C library defines this for functions which it implements
10912 to always fail with ENOSYS. Some functions are actually named
10913 something starting with __ and the normal name is an alias. */
10914 #if defined __stub_$ac_func || defined __stub___$ac_func
10921 return $ac_func ();
10926 rm -f conftest.$ac_objext conftest$ac_exeext
10927 if { (ac_try="$ac_link"
10928 case "(($ac_try" in
10929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10930 *) ac_try_echo=$ac_try;;
10932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10933 (eval "$ac_link") 2>conftest.er1
10935 grep -v '^ *+' conftest.er1 >conftest.err
10937 cat conftest.err >&5
10938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10939 (exit $ac_status); } &&
10940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10941 { (case "(($ac_try" in
10942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10943 *) ac_try_echo=$ac_try;;
10945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10946 (eval "$ac_try") 2>&5
10948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10949 (exit $ac_status); }; } &&
10950 { ac_try='test -s conftest$ac_exeext'
10951 { (case "(($ac_try" in
10952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10953 *) ac_try_echo=$ac_try;;
10955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10956 (eval "$ac_try") 2>&5
10958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10959 (exit $ac_status); }; }; then
10960 eval "$as_ac_var=yes"
10962 echo "$as_me: failed program was
:" >&5
10963 sed 's/^/| /' conftest.$ac_ext >&5
10965 eval "$as_ac_var=no
"
10968 rm -f core conftest.err conftest.$ac_objext \
10969 conftest$ac_exeext conftest.$ac_ext
10971 ac_res=`eval echo '${'$as_ac_var'}'`
10972 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10973 echo "${ECHO_T}$ac_res" >&6; }
10974 if test `eval echo '${'$as_ac_var'}'` = yes; then
10975 cat >>confdefs.h <<_ACEOF
10976 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10982 LIBS="$lt_save_LIBS"
10985 ac_cpp='$CPP $CPPFLAGS'
10986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10992 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10993 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10994 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10995 echo $ECHO_N "(cached
) $ECHO_C" >&6
10997 ac_cv_sys_symbol_underscore=no
10998 cat > conftest.$ac_ext <<EOF
10999 void nm_test_func(){}
11000 int main(){nm_test_func;return 0;}
11002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11003 (eval $ac_compile) 2>&5
11005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11006 (exit $ac_status); }; then
11007 # Now try to grab the symbols.
11008 ac_nlist=conftest.nm
11009 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
11010 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
11012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11013 (exit $ac_status); } && test -s "$ac_nlist"; then
11014 # See whether the symbols have a leading underscore.
11015 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
11016 ac_cv_sys_symbol_underscore=yes
11018 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
11021 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
11025 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
11028 echo "configure
: failed program was
:" >&5
11034 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
11035 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
11038 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
11039 if test x"$libltdl_cv_func_dlopen" = xyes ||
11040 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11041 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
11042 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
11043 if test "${libltdl_cv_need_uscore+set}" = set; then
11044 echo $ECHO_N "(cached
) $ECHO_C" >&6
11046 libltdl_cv_need_uscore=unknown
11048 LIBS="$LIBS $LIBADD_DL"
11049 if test "$cross_compiling" = yes; then :
11050 libltdl_cv_need_uscore=cross
11052 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11053 lt_status=$lt_dlunknown
11054 cat > conftest.$ac_ext <<EOF
11055 #line 11055 "configure
"
11056 #include "confdefs.h
"
11065 # define LT_DLGLOBAL RTLD_GLOBAL
11068 # define LT_DLGLOBAL DL_GLOBAL
11070 # define LT_DLGLOBAL 0
11074 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11075 find out it does not work in some platform. */
11076 #ifndef LT_DLLAZY_OR_NOW
11078 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11081 # define LT_DLLAZY_OR_NOW DL_LAZY
11084 # define LT_DLLAZY_OR_NOW RTLD_NOW
11087 # define LT_DLLAZY_OR_NOW DL_NOW
11089 # define LT_DLLAZY_OR_NOW 0
11097 extern "C
" void exit (int);
11100 void fnord() { int i=42;}
11103 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11104 int status = $lt_dlunknown;
11108 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
11109 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
11110 /* dlclose (self); */
11118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11119 (eval $ac_link) 2>&5
11121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11122 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11123 (./conftest; exit; ) >&5 2>/dev/null
11125 case x$lt_status in
11126 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
11127 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
11128 x$lt_dlunknown|x*) ;;
11131 # compilation failed
11140 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
11141 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
11145 if test x"$libltdl_cv_need_uscore" = xyes; then
11147 cat >>confdefs.h <<\_ACEOF
11148 #define NEED_USCORE 1
11154 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
11155 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
11156 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
11157 echo $ECHO_N "(cached
) $ECHO_C" >&6
11159 # PORTME does your system automatically load deplibs for dlopen?
11160 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
11161 # For now, we just catch OSes we know something about -- in the
11162 # future, we'll try test this programmatically.
11163 libltdl_cv_sys_dlopen_deplibs=unknown
11165 aix3*|aix4.1.*|aix4.2.*)
11166 # Unknown whether this is true for these versions of AIX, but
11167 # we want this `case' here to explicitly catch those versions.
11168 libltdl_cv_sys_dlopen_deplibs=unknown
11171 libltdl_cv_sys_dlopen_deplibs=yes
11174 # Assuming the user has installed a libdl from somewhere, this is true
11175 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
11176 libltdl_cv_sys_dlopen_deplibs=yes
11178 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
11179 # GNU and its variants, using gnu ld.so (Glibc)
11180 libltdl_cv_sys_dlopen_deplibs=yes
11183 libltdl_cv_sys_dlopen_deplibs=yes
11186 libltdl_cv_sys_dlopen_deplibs=yes
11188 irix[12345]*|irix6.[01]*)
11189 # Catch all versions of IRIX before 6.2, and indicate that we don't
11190 # know how it worked for any of those versions.
11191 libltdl_cv_sys_dlopen_deplibs=unknown
11194 # The case above catches anything before 6.2, and it's known that
11195 # at 6.2 and later dlopen does load deplibs.
11196 libltdl_cv_sys_dlopen_deplibs=yes
11199 libltdl_cv_sys_dlopen_deplibs=yes
11202 libltdl_cv_sys_dlopen_deplibs=yes
11205 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
11206 # it did *not* use an RPATH in a shared library to find objects the
11207 # library depends on, so we explictly say `no'.
11208 libltdl_cv_sys_dlopen_deplibs=no
11210 osf5.0|osf5.0a|osf5.1)
11211 # dlopen *does* load deplibs and with the right loader patch applied
11212 # it even uses RPATH in a shared library to search for shared objects
11213 # that the library depends on, but there's no easy way to know if that
11214 # patch is installed. Since this is the case, all we can really
11215 # say is unknown -- it depends on the patch being installed. If
11216 # it is, this changes to `yes'. Without it, it would be `no'.
11217 libltdl_cv_sys_dlopen_deplibs=unknown
11220 # the two cases above should catch all versions of osf <= 5.1. Read
11221 # the comments above for what we know about them.
11222 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
11223 # is used to find them so we can finally say `yes'.
11224 libltdl_cv_sys_dlopen_deplibs=yes
11227 libltdl_cv_sys_dlopen_deplibs=yes
11229 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11230 libltdl_cv_sys_dlopen_deplibs=yes
11235 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
11236 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
11237 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
11239 cat >>confdefs.h <<\_ACEOF
11240 #define LTDL_DLOPEN_DEPLIBS 1
11246 for ac_header in argz.h
11248 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11249 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11250 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11251 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11252 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11253 echo $ECHO_N "(cached
) $ECHO_C" >&6
11255 ac_res=`eval echo '${'$as_ac_Header'}'`
11256 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11257 echo "${ECHO_T}$ac_res" >&6; }
11259 # Is the header compilable?
11260 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11261 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11262 cat >conftest.$ac_ext <<_ACEOF
11265 cat confdefs.h >>conftest.$ac_ext
11266 cat >>conftest.$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11268 $ac_includes_default
11269 #include <$ac_header>
11271 rm -f conftest.$ac_objext
11272 if { (ac_try="$ac_compile"
11273 case "(($ac_try" in
11274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11275 *) ac_try_echo=$ac_try;;
11277 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11278 (eval "$ac_compile") 2>conftest.er1
11280 grep -v '^ *+' conftest.er1 >conftest.err
11282 cat conftest.err >&5
11283 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11284 (exit $ac_status); } &&
11285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11286 { (case "(($ac_try" in
11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_try") 2>&5
11293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest.$ac_objext'
11296 { (case "(($ac_try" in
11297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11298 *) ac_try_echo=$ac_try;;
11300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11301 (eval "$ac_try") 2>&5
11303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11304 (exit $ac_status); }; }; then
11305 ac_header_compiler=yes
11307 echo "$as_me: failed program was
:" >&5
11308 sed 's/^/| /' conftest.$ac_ext >&5
11310 ac_header_compiler=no
11313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11314 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11315 echo "${ECHO_T}$ac_header_compiler" >&6; }
11317 # Is the header present?
11318 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11319 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11320 cat >conftest.$ac_ext <<_ACEOF
11323 cat confdefs.h >>conftest.$ac_ext
11324 cat >>conftest.$ac_ext <<_ACEOF
11325 /* end confdefs.h. */
11326 #include <$ac_header>
11328 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11329 case "(($ac_try" in
11330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11331 *) ac_try_echo=$ac_try;;
11333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11334 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11336 grep -v '^ *+' conftest.er1 >conftest.err
11338 cat conftest.err >&5
11339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11340 (exit $ac_status); } >/dev/null; then
11341 if test -s conftest.err; then
11342 ac_cpp_err=$ac_c_preproc_warn_flag
11343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11350 if test -z "$ac_cpp_err"; then
11351 ac_header_preproc=yes
11353 echo "$as_me: failed program was
:" >&5
11354 sed 's/^/| /' conftest.$ac_ext >&5
11356 ac_header_preproc=no
11359 rm -f conftest.err conftest.$ac_ext
11360 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11361 echo "${ECHO_T}$ac_header_preproc" >&6; }
11363 # So? What about this header?
11364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11366 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11367 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11368 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11370 ac_header_preproc=yes
11373 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11374 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11375 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11376 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11377 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11378 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11379 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11380 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11381 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11383 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11384 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11386 ## ----------------------------------- ##
11387 ## Report this to llvmbugs@cs.uiuc.edu ##
11388 ## ----------------------------------- ##
11390 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11393 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11394 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11395 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11396 echo $ECHO_N "(cached
) $ECHO_C" >&6
11398 eval "$as_ac_Header=\
$ac_header_preproc"
11400 ac_res=`eval echo '${'$as_ac_Header'}'`
11401 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11402 echo "${ECHO_T}$ac_res" >&6; }
11405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11406 cat >>confdefs.h <<_ACEOF
11407 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11415 { echo "$as_me:$LINENO: checking
for error_t
" >&5
11416 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
11417 if test "${ac_cv_type_error_t+set}" = set; then
11418 echo $ECHO_N "(cached
) $ECHO_C" >&6
11420 cat >conftest.$ac_ext <<_ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11430 typedef error_t ac__type_new_;
11434 if ((ac__type_new_ *) 0)
11436 if (sizeof (ac__type_new_))
11442 rm -f conftest.$ac_objext
11443 if { (ac_try="$ac_compile"
11444 case "(($ac_try" in
11445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11446 *) ac_try_echo=$ac_try;;
11448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11449 (eval "$ac_compile") 2>conftest.er1
11451 grep -v '^ *+' conftest.er1 >conftest.err
11453 cat conftest.err >&5
11454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11455 (exit $ac_status); } &&
11456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11457 { (case "(($ac_try" in
11458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11459 *) ac_try_echo=$ac_try;;
11461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11462 (eval "$ac_try") 2>&5
11464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11465 (exit $ac_status); }; } &&
11466 { ac_try='test -s conftest.$ac_objext'
11467 { (case "(($ac_try" in
11468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11469 *) ac_try_echo=$ac_try;;
11471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11472 (eval "$ac_try") 2>&5
11474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11475 (exit $ac_status); }; }; then
11476 ac_cv_type_error_t=yes
11478 echo "$as_me: failed program was
:" >&5
11479 sed 's/^/| /' conftest.$ac_ext >&5
11481 ac_cv_type_error_t=no
11484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11486 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
11487 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
11488 if test $ac_cv_type_error_t = yes; then
11490 cat >>confdefs.h <<_ACEOF
11491 #define HAVE_ERROR_T 1
11497 cat >>confdefs.h <<\_ACEOF
11498 #define error_t int
11509 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
11511 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11512 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11513 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11514 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11515 echo $ECHO_N "(cached
) $ECHO_C" >&6
11517 cat >conftest.$ac_ext <<_ACEOF
11520 cat confdefs.h >>conftest.$ac_ext
11521 cat >>conftest.$ac_ext <<_ACEOF
11522 /* end confdefs.h. */
11523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11525 #define $ac_func innocuous_$ac_func
11527 /* System header to define __stub macros and hopefully few prototypes,
11528 which can conflict with char $ac_func (); below.
11529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11530 <limits.h> exists even on freestanding compilers. */
11533 # include <limits.h>
11535 # include <assert.h>
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11547 /* The GNU C library defines this for functions which it implements
11548 to always fail with ENOSYS. Some functions are actually named
11549 something starting with __ and the normal name is an alias. */
11550 #if defined __stub_$ac_func || defined __stub___$ac_func
11557 return $ac_func ();
11562 rm -f conftest.$ac_objext conftest$ac_exeext
11563 if { (ac_try="$ac_link"
11564 case "(($ac_try" in
11565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11566 *) ac_try_echo=$ac_try;;
11568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11569 (eval "$ac_link") 2>conftest.er1
11571 grep -v '^ *+' conftest.er1 >conftest.err
11573 cat conftest.err >&5
11574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11575 (exit $ac_status); } &&
11576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11577 { (case "(($ac_try" in
11578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11579 *) ac_try_echo=$ac_try;;
11581 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11582 (eval "$ac_try") 2>&5
11584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11585 (exit $ac_status); }; } &&
11586 { ac_try='test -s conftest$ac_exeext'
11587 { (case "(($ac_try" in
11588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11589 *) ac_try_echo=$ac_try;;
11591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11592 (eval "$ac_try") 2>&5
11594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11595 (exit $ac_status); }; }; then
11596 eval "$as_ac_var=yes"
11598 echo "$as_me: failed program was
:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11601 eval "$as_ac_var=no
"
11604 rm -f core conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11607 ac_res=`eval echo '${'$as_ac_var'}'`
11608 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11609 echo "${ECHO_T}$ac_res" >&6; }
11610 if test `eval echo '${'$as_ac_var'}'` = yes; then
11611 cat >>confdefs.h <<_ACEOF
11612 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11645 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11648 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11649 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11650 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11651 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11652 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11653 echo $ECHO_N "(cached
) $ECHO_C" >&6
11655 ac_res=`eval echo '${'$as_ac_Header'}'`
11656 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11657 echo "${ECHO_T}$ac_res" >&6; }
11659 # Is the header compilable?
11660 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11661 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11662 cat >conftest.$ac_ext <<_ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 $ac_includes_default
11669 #include <$ac_header>
11671 rm -f conftest.$ac_objext
11672 if { (ac_try="$ac_compile"
11673 case "(($ac_try" in
11674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11675 *) ac_try_echo=$ac_try;;
11677 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11678 (eval "$ac_compile") 2>conftest.er1
11680 grep -v '^ *+' conftest.er1 >conftest.err
11682 cat conftest.err >&5
11683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11684 (exit $ac_status); } &&
11685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11686 { (case "(($ac_try" in
11687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11688 *) ac_try_echo=$ac_try;;
11690 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11691 (eval "$ac_try") 2>&5
11693 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11694 (exit $ac_status); }; } &&
11695 { ac_try='test -s conftest.$ac_objext'
11696 { (case "(($ac_try" in
11697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11698 *) ac_try_echo=$ac_try;;
11700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11701 (eval "$ac_try") 2>&5
11703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11704 (exit $ac_status); }; }; then
11705 ac_header_compiler=yes
11707 echo "$as_me: failed program was
:" >&5
11708 sed 's/^/| /' conftest.$ac_ext >&5
11710 ac_header_compiler=no
11713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11714 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11715 echo "${ECHO_T}$ac_header_compiler" >&6; }
11717 # Is the header present?
11718 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11719 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11720 cat >conftest.$ac_ext <<_ACEOF
11723 cat confdefs.h >>conftest.$ac_ext
11724 cat >>conftest.$ac_ext <<_ACEOF
11725 /* end confdefs.h. */
11726 #include <$ac_header>
11728 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11729 case "(($ac_try" in
11730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11731 *) ac_try_echo=$ac_try;;
11733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11734 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11736 grep -v '^ *+' conftest.er1 >conftest.err
11738 cat conftest.err >&5
11739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11740 (exit $ac_status); } >/dev/null; then
11741 if test -s conftest.err; then
11742 ac_cpp_err=$ac_c_preproc_warn_flag
11743 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11750 if test -z "$ac_cpp_err"; then
11751 ac_header_preproc=yes
11753 echo "$as_me: failed program was
:" >&5
11754 sed 's/^/| /' conftest.$ac_ext >&5
11756 ac_header_preproc=no
11759 rm -f conftest.err conftest.$ac_ext
11760 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11761 echo "${ECHO_T}$ac_header_preproc" >&6; }
11763 # So? What about this header?
11764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11766 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11767 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11768 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11769 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11770 ac_header_preproc=yes
11773 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11774 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11775 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11776 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11777 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11778 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11779 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11780 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11781 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11783 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11784 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11786 ## ----------------------------------- ##
11787 ## Report this to llvmbugs@cs.uiuc.edu ##
11788 ## ----------------------------------- ##
11790 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11793 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11794 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11795 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11796 echo $ECHO_N "(cached
) $ECHO_C" >&6
11798 eval "$as_ac_Header=\
$ac_header_preproc"
11800 ac_res=`eval echo '${'$as_ac_Header'}'`
11801 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11802 echo "${ECHO_T}$ac_res" >&6; }
11805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11806 cat >>confdefs.h <<_ACEOF
11807 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11818 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11820 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11821 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11822 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11823 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11824 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11825 echo $ECHO_N "(cached
) $ECHO_C" >&6
11827 ac_res=`eval echo '${'$as_ac_Header'}'`
11828 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11829 echo "${ECHO_T}$ac_res" >&6; }
11831 # Is the header compilable?
11832 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11833 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11834 cat >conftest.$ac_ext <<_ACEOF
11837 cat confdefs.h >>conftest.$ac_ext
11838 cat >>conftest.$ac_ext <<_ACEOF
11839 /* end confdefs.h. */
11840 $ac_includes_default
11841 #include <$ac_header>
11843 rm -f conftest.$ac_objext
11844 if { (ac_try="$ac_compile"
11845 case "(($ac_try" in
11846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11847 *) ac_try_echo=$ac_try;;
11849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11850 (eval "$ac_compile") 2>conftest.er1
11852 grep -v '^ *+' conftest.er1 >conftest.err
11854 cat conftest.err >&5
11855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11856 (exit $ac_status); } &&
11857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11858 { (case "(($ac_try" in
11859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11860 *) ac_try_echo=$ac_try;;
11862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11863 (eval "$ac_try") 2>&5
11865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11866 (exit $ac_status); }; } &&
11867 { ac_try='test -s conftest.$ac_objext'
11868 { (case "(($ac_try" in
11869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;;
11872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11873 (eval "$ac_try") 2>&5
11875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11876 (exit $ac_status); }; }; then
11877 ac_header_compiler=yes
11879 echo "$as_me: failed program was
:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11882 ac_header_compiler=no
11885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11886 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11887 echo "${ECHO_T}$ac_header_compiler" >&6; }
11889 # Is the header present?
11890 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11891 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11892 cat >conftest.$ac_ext <<_ACEOF
11895 cat confdefs.h >>conftest.$ac_ext
11896 cat >>conftest.$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11898 #include <$ac_header>
11900 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11901 case "(($ac_try" in
11902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11903 *) ac_try_echo=$ac_try;;
11905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11906 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11908 grep -v '^ *+' conftest.er1 >conftest.err
11910 cat conftest.err >&5
11911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11912 (exit $ac_status); } >/dev/null; then
11913 if test -s conftest.err; then
11914 ac_cpp_err=$ac_c_preproc_warn_flag
11915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11922 if test -z "$ac_cpp_err"; then
11923 ac_header_preproc=yes
11925 echo "$as_me: failed program was
:" >&5
11926 sed 's/^/| /' conftest.$ac_ext >&5
11928 ac_header_preproc=no
11931 rm -f conftest.err conftest.$ac_ext
11932 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11933 echo "${ECHO_T}$ac_header_preproc" >&6; }
11935 # So? What about this header?
11936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11938 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11939 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11940 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11942 ac_header_preproc=yes
11945 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11946 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11947 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11948 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11949 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11950 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11951 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11952 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11953 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11955 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11956 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11958 ## ----------------------------------- ##
11959 ## Report this to llvmbugs@cs.uiuc.edu ##
11960 ## ----------------------------------- ##
11962 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11965 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11966 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11967 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11968 echo $ECHO_N "(cached
) $ECHO_C" >&6
11970 eval "$as_ac_Header=\
$ac_header_preproc"
11972 ac_res=`eval echo '${'$as_ac_Header'}'`
11973 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11974 echo "${ECHO_T}$ac_res" >&6; }
11977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11978 cat >>confdefs.h <<_ACEOF
11979 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11988 for ac_header in string.h strings.h
11990 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11991 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11992 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11993 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11994 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11995 echo $ECHO_N "(cached
) $ECHO_C" >&6
11997 ac_res=`eval echo '${'$as_ac_Header'}'`
11998 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11999 echo "${ECHO_T}$ac_res" >&6; }
12001 # Is the header compilable?
12002 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12003 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12004 cat >conftest.$ac_ext <<_ACEOF
12007 cat confdefs.h >>conftest.$ac_ext
12008 cat >>conftest.$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12010 $ac_includes_default
12011 #include <$ac_header>
12013 rm -f conftest.$ac_objext
12014 if { (ac_try="$ac_compile"
12015 case "(($ac_try" in
12016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12017 *) ac_try_echo=$ac_try;;
12019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12020 (eval "$ac_compile") 2>conftest.er1
12022 grep -v '^ *+' conftest.er1 >conftest.err
12024 cat conftest.err >&5
12025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12026 (exit $ac_status); } &&
12027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12028 { (case "(($ac_try" in
12029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12030 *) ac_try_echo=$ac_try;;
12032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12033 (eval "$ac_try") 2>&5
12035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12036 (exit $ac_status); }; } &&
12037 { ac_try='test -s conftest.$ac_objext'
12038 { (case "(($ac_try" in
12039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12040 *) ac_try_echo=$ac_try;;
12042 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12043 (eval "$ac_try") 2>&5
12045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 ac_header_compiler=yes
12049 echo "$as_me: failed program was
:" >&5
12050 sed 's/^/| /' conftest.$ac_ext >&5
12052 ac_header_compiler=no
12055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12056 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12057 echo "${ECHO_T}$ac_header_compiler" >&6; }
12059 # Is the header present?
12060 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12061 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12062 cat >conftest.$ac_ext <<_ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 #include <$ac_header>
12070 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12071 case "(($ac_try" in
12072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12073 *) ac_try_echo=$ac_try;;
12075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12076 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12078 grep -v '^ *+' conftest.er1 >conftest.err
12080 cat conftest.err >&5
12081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12082 (exit $ac_status); } >/dev/null; then
12083 if test -s conftest.err; then
12084 ac_cpp_err=$ac_c_preproc_warn_flag
12085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12092 if test -z "$ac_cpp_err"; then
12093 ac_header_preproc=yes
12095 echo "$as_me: failed program was
:" >&5
12096 sed 's/^/| /' conftest.$ac_ext >&5
12098 ac_header_preproc=no
12101 rm -f conftest.err conftest.$ac_ext
12102 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12103 echo "${ECHO_T}$ac_header_preproc" >&6; }
12105 # So? What about this header?
12106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12108 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12109 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12110 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12112 ac_header_preproc=yes
12115 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12116 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12117 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12118 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12119 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12120 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12121 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12122 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12123 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12125 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12126 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12128 ## ----------------------------------- ##
12129 ## Report this to llvmbugs@cs.uiuc.edu ##
12130 ## ----------------------------------- ##
12132 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
12135 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12136 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12137 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12138 echo $ECHO_N "(cached
) $ECHO_C" >&6
12140 eval "$as_ac_Header=\
$ac_header_preproc"
12142 ac_res=`eval echo '${'$as_ac_Header'}'`
12143 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12144 echo "${ECHO_T}$ac_res" >&6; }
12147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12148 cat >>confdefs.h <<_ACEOF
12149 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12159 for ac_func in strchr index
12161 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12162 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12163 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12164 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12165 echo $ECHO_N "(cached
) $ECHO_C" >&6
12167 cat >conftest.$ac_ext <<_ACEOF
12170 cat confdefs.h >>conftest.$ac_ext
12171 cat >>conftest.$ac_ext <<_ACEOF
12172 /* end confdefs.h. */
12173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12175 #define $ac_func innocuous_$ac_func
12177 /* System header to define __stub macros and hopefully few prototypes,
12178 which can conflict with char $ac_func (); below.
12179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12180 <limits.h> exists even on freestanding compilers. */
12183 # include <limits.h>
12185 # include <assert.h>
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12197 /* The GNU C library defines this for functions which it implements
12198 to always fail with ENOSYS. Some functions are actually named
12199 something starting with __ and the normal name is an alias. */
12200 #if defined __stub_$ac_func || defined __stub___$ac_func
12207 return $ac_func ();
12212 rm -f conftest.$ac_objext conftest$ac_exeext
12213 if { (ac_try="$ac_link"
12214 case "(($ac_try" in
12215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12216 *) ac_try_echo=$ac_try;;
12218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12219 (eval "$ac_link") 2>conftest.er1
12221 grep -v '^ *+' conftest.er1 >conftest.err
12223 cat conftest.err >&5
12224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12225 (exit $ac_status); } &&
12226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12227 { (case "(($ac_try" in
12228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12229 *) ac_try_echo=$ac_try;;
12231 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12232 (eval "$ac_try") 2>&5
12234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12235 (exit $ac_status); }; } &&
12236 { ac_try='test -s conftest$ac_exeext'
12237 { (case "(($ac_try" in
12238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12239 *) ac_try_echo=$ac_try;;
12241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12242 (eval "$ac_try") 2>&5
12244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12245 (exit $ac_status); }; }; then
12246 eval "$as_ac_var=yes"
12248 echo "$as_me: failed program was
:" >&5
12249 sed 's/^/| /' conftest.$ac_ext >&5
12251 eval "$as_ac_var=no
"
12254 rm -f core conftest.err conftest.$ac_objext \
12255 conftest$ac_exeext conftest.$ac_ext
12257 ac_res=`eval echo '${'$as_ac_var'}'`
12258 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12259 echo "${ECHO_T}$ac_res" >&6; }
12260 if test `eval echo '${'$as_ac_var'}'` = yes; then
12261 cat >>confdefs.h <<_ACEOF
12262 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12270 for ac_func in strrchr rindex
12272 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12273 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12274 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12275 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12276 echo $ECHO_N "(cached
) $ECHO_C" >&6
12278 cat >conftest.$ac_ext <<_ACEOF
12281 cat confdefs.h >>conftest.$ac_ext
12282 cat >>conftest.$ac_ext <<_ACEOF
12283 /* end confdefs.h. */
12284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12286 #define $ac_func innocuous_$ac_func
12288 /* System header to define __stub macros and hopefully few prototypes,
12289 which can conflict with char $ac_func (); below.
12290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12291 <limits.h> exists even on freestanding compilers. */
12294 # include <limits.h>
12296 # include <assert.h>
12301 /* Override any GCC internal prototype to avoid an error.
12302 Use char because int might match the return type of a GCC
12303 builtin and then its argument prototype would still apply. */
12308 /* The GNU C library defines this for functions which it implements
12309 to always fail with ENOSYS. Some functions are actually named
12310 something starting with __ and the normal name is an alias. */
12311 #if defined __stub_$ac_func || defined __stub___$ac_func
12318 return $ac_func ();
12323 rm -f conftest.$ac_objext conftest$ac_exeext
12324 if { (ac_try="$ac_link"
12325 case "(($ac_try" in
12326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12327 *) ac_try_echo=$ac_try;;
12329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12330 (eval "$ac_link") 2>conftest.er1
12332 grep -v '^ *+' conftest.er1 >conftest.err
12334 cat conftest.err >&5
12335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12338 { (case "(($ac_try" in
12339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12340 *) ac_try_echo=$ac_try;;
12342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12343 (eval "$ac_try") 2>&5
12345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12346 (exit $ac_status); }; } &&
12347 { ac_try='test -s conftest$ac_exeext'
12348 { (case "(($ac_try" in
12349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12350 *) ac_try_echo=$ac_try;;
12352 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12353 (eval "$ac_try") 2>&5
12355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12356 (exit $ac_status); }; }; then
12357 eval "$as_ac_var=yes"
12359 echo "$as_me: failed program was
:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12362 eval "$as_ac_var=no
"
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12368 ac_res=`eval echo '${'$as_ac_var'}'`
12369 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12370 echo "${ECHO_T}$ac_res" >&6; }
12371 if test `eval echo '${'$as_ac_var'}'` = yes; then
12372 cat >>confdefs.h <<_ACEOF
12373 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12381 for ac_func in memcpy bcopy
12383 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12384 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12385 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12386 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12387 echo $ECHO_N "(cached
) $ECHO_C" >&6
12389 cat >conftest.$ac_ext <<_ACEOF
12392 cat confdefs.h >>conftest.$ac_ext
12393 cat >>conftest.$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12397 #define $ac_func innocuous_$ac_func
12399 /* System header to define __stub macros and hopefully few prototypes,
12400 which can conflict with char $ac_func (); below.
12401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12402 <limits.h> exists even on freestanding compilers. */
12405 # include <limits.h>
12407 # include <assert.h>
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12419 /* The GNU C library defines this for functions which it implements
12420 to always fail with ENOSYS. Some functions are actually named
12421 something starting with __ and the normal name is an alias. */
12422 #if defined __stub_$ac_func || defined __stub___$ac_func
12429 return $ac_func ();
12434 rm -f conftest.$ac_objext conftest$ac_exeext
12435 if { (ac_try="$ac_link"
12436 case "(($ac_try" in
12437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12438 *) ac_try_echo=$ac_try;;
12440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12441 (eval "$ac_link") 2>conftest.er1
12443 grep -v '^ *+' conftest.er1 >conftest.err
12445 cat conftest.err >&5
12446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12447 (exit $ac_status); } &&
12448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12449 { (case "(($ac_try" in
12450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12451 *) ac_try_echo=$ac_try;;
12453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12454 (eval "$ac_try") 2>&5
12456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12457 (exit $ac_status); }; } &&
12458 { ac_try='test -s conftest$ac_exeext'
12459 { (case "(($ac_try" in
12460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12461 *) ac_try_echo=$ac_try;;
12463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12464 (eval "$ac_try") 2>&5
12466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12467 (exit $ac_status); }; }; then
12468 eval "$as_ac_var=yes"
12470 echo "$as_me: failed program was
:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 eval "$as_ac_var=no
"
12476 rm -f core conftest.err conftest.$ac_objext \
12477 conftest$ac_exeext conftest.$ac_ext
12479 ac_res=`eval echo '${'$as_ac_var'}'`
12480 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12481 echo "${ECHO_T}$ac_res" >&6; }
12482 if test `eval echo '${'$as_ac_var'}'` = yes; then
12483 cat >>confdefs.h <<_ACEOF
12484 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12492 for ac_func in memmove strcmp
12494 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12495 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12496 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12497 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12498 echo $ECHO_N "(cached
) $ECHO_C" >&6
12500 cat >conftest.$ac_ext <<_ACEOF
12503 cat confdefs.h >>conftest.$ac_ext
12504 cat >>conftest.$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12508 #define $ac_func innocuous_$ac_func
12510 /* System header to define __stub macros and hopefully few prototypes,
12511 which can conflict with char $ac_func (); below.
12512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12513 <limits.h> exists even on freestanding compilers. */
12516 # include <limits.h>
12518 # include <assert.h>
12523 /* Override any GCC internal prototype to avoid an error.
12524 Use char because int might match the return type of a GCC
12525 builtin and then its argument prototype would still apply. */
12530 /* The GNU C library defines this for functions which it implements
12531 to always fail with ENOSYS. Some functions are actually named
12532 something starting with __ and the normal name is an alias. */
12533 #if defined __stub_$ac_func || defined __stub___$ac_func
12540 return $ac_func ();
12545 rm -f conftest.$ac_objext conftest$ac_exeext
12546 if { (ac_try="$ac_link"
12547 case "(($ac_try" in
12548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12549 *) ac_try_echo=$ac_try;;
12551 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12552 (eval "$ac_link") 2>conftest.er1
12554 grep -v '^ *+' conftest.er1 >conftest.err
12556 cat conftest.err >&5
12557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12560 { (case "(($ac_try" in
12561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12562 *) ac_try_echo=$ac_try;;
12564 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12565 (eval "$ac_try") 2>&5
12567 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12568 (exit $ac_status); }; } &&
12569 { ac_try='test -s conftest$ac_exeext'
12570 { (case "(($ac_try" in
12571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12572 *) ac_try_echo=$ac_try;;
12574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12575 (eval "$ac_try") 2>&5
12577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12578 (exit $ac_status); }; }; then
12579 eval "$as_ac_var=yes"
12581 echo "$as_me: failed program was
:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12584 eval "$as_ac_var=no
"
12587 rm -f core conftest.err conftest.$ac_objext \
12588 conftest$ac_exeext conftest.$ac_ext
12590 ac_res=`eval echo '${'$as_ac_var'}'`
12591 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12592 echo "${ECHO_T}$ac_res" >&6; }
12593 if test `eval echo '${'$as_ac_var'}'` = yes; then
12594 cat >>confdefs.h <<_ACEOF
12595 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12604 for ac_func in closedir opendir readdir
12606 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12607 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12608 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12609 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12610 echo $ECHO_N "(cached
) $ECHO_C" >&6
12612 cat >conftest.$ac_ext <<_ACEOF
12615 cat confdefs.h >>conftest.$ac_ext
12616 cat >>conftest.$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12620 #define $ac_func innocuous_$ac_func
12622 /* System header to define __stub macros and hopefully few prototypes,
12623 which can conflict with char $ac_func (); below.
12624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12625 <limits.h> exists even on freestanding compilers. */
12628 # include <limits.h>
12630 # include <assert.h>
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12642 /* The GNU C library defines this for functions which it implements
12643 to always fail with ENOSYS. Some functions are actually named
12644 something starting with __ and the normal name is an alias. */
12645 #if defined __stub_$ac_func || defined __stub___$ac_func
12652 return $ac_func ();
12657 rm -f conftest.$ac_objext conftest$ac_exeext
12658 if { (ac_try="$ac_link"
12659 case "(($ac_try" in
12660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12661 *) ac_try_echo=$ac_try;;
12663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12664 (eval "$ac_link") 2>conftest.er1
12666 grep -v '^ *+' conftest.er1 >conftest.err
12668 cat conftest.err >&5
12669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12672 { (case "(($ac_try" in
12673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12676 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12677 (eval "$ac_try") 2>&5
12679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12680 (exit $ac_status); }; } &&
12681 { ac_try='test -s conftest$ac_exeext'
12682 { (case "(($ac_try" in
12683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12684 *) ac_try_echo=$ac_try;;
12686 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12687 (eval "$ac_try") 2>&5
12689 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12690 (exit $ac_status); }; }; then
12691 eval "$as_ac_var=yes"
12693 echo "$as_me: failed program was
:" >&5
12694 sed 's/^/| /' conftest.$ac_ext >&5
12696 eval "$as_ac_var=no
"
12699 rm -f core conftest.err conftest.$ac_objext \
12700 conftest$ac_exeext conftest.$ac_ext
12702 ac_res=`eval echo '${'$as_ac_var'}'`
12703 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12704 echo "${ECHO_T}$ac_res" >&6; }
12705 if test `eval echo '${'$as_ac_var'}'` = yes; then
12706 cat >>confdefs.h <<_ACEOF
12707 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12714 # Check whether --enable-shared was given.
12715 if test "${enable_shared+set}" = set; then
12716 enableval=$enable_shared; p=${PACKAGE-default}
12718 yes) enable_shared=yes ;;
12719 no) enable_shared=no ;;
12722 # Look at the argument we got. We use all the common list separators.
12723 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12724 for pkg in $enableval; do
12726 if test "X
$pkg" = "X
$p"; then
12738 # Check whether --enable-static was given.
12739 if test "${enable_static+set}" = set; then
12740 enableval=$enable_static; p=${PACKAGE-default}
12742 yes) enable_static=yes ;;
12743 no) enable_static=no ;;
12746 # Look at the argument we got. We use all the common list separators.
12747 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12748 for pkg in $enableval; do
12750 if test "X
$pkg" = "X
$p"; then
12762 # Check whether --enable-fast-install was given.
12763 if test "${enable_fast_install+set}" = set; then
12764 enableval=$enable_fast_install; p=${PACKAGE-default}
12766 yes) enable_fast_install=yes ;;
12767 no) enable_fast_install=no ;;
12769 enable_fast_install=no
12770 # Look at the argument we got. We use all the common list separators.
12771 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12772 for pkg in $enableval; do
12774 if test "X
$pkg" = "X
$p"; then
12775 enable_fast_install=yes
12782 enable_fast_install=yes
12786 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12787 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12788 if test "${lt_cv_path_SED+set}" = set; then
12789 echo $ECHO_N "(cached
) $ECHO_C" >&6
12791 # Loop through the user's path and test for sed and gsed.
12792 # Then use that list of sed's as ones to test for truncation.
12793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12794 for as_dir in $PATH
12797 test -z "$as_dir" && as_dir=.
12798 for lt_ac_prog in sed gsed; do
12799 for ac_exec_ext in '' $ac_executable_extensions; do
12800 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12801 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12808 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12809 # along with /bin/sed that truncates output.
12810 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12811 test ! -f $lt_ac_sed && continue
12812 cat /dev/null > conftest.in
12814 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12815 # Check for GNU sed and select it if it is found.
12816 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12817 lt_cv_path_SED=$lt_ac_sed
12821 cat conftest.in conftest.in >conftest.tmp
12822 mv conftest.tmp conftest.in
12823 cp conftest.in conftest.nl
12825 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12826 cmp -s conftest.out conftest.nl || break
12827 # 10000 chars as input seems more than enough
12828 test $lt_ac_count -gt 10 && break
12829 lt_ac_count=`expr $lt_ac_count + 1`
12830 if test $lt_ac_count -gt $lt_ac_max; then
12831 lt_ac_max=$lt_ac_count
12832 lt_cv_path_SED=$lt_ac_sed
12839 SED=$lt_cv_path_SED
12840 { echo "$as_me:$LINENO: result
: $SED" >&5
12841 echo "${ECHO_T}$SED" >&6; }
12844 # Check whether --with-gnu-ld was given.
12845 if test "${with_gnu_ld+set}" = set; then
12846 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12852 if test "$GCC" = yes; then
12853 # Check if gcc -print-prog-name=ld gives a path.
12854 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12855 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12858 # gcc leaves a trailing carriage return which upsets mingw
12859 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12861 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12864 # Accept absolute paths.
12866 re_direlt='/[^/][^/]*/\.\./'
12867 # Canonicalize the pathname of ld
12868 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12869 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12870 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12872 test -z "$LD" && LD="$ac_prog"
12875 # If it fails, then pretend we aren't using GCC.
12879 # If it is relative, then search for the first ld in PATH.
12880 with_gnu_ld=unknown
12883 elif test "$with_gnu_ld" = yes; then
12884 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12885 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12887 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12888 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12890 if test "${lt_cv_path_LD+set}" = set; then
12891 echo $ECHO_N "(cached
) $ECHO_C" >&6
12893 if test -z "$LD"; then
12894 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12895 for ac_dir in $PATH; do
12897 test -z "$ac_dir" && ac_dir=.
12898 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12899 lt_cv_path_LD="$ac_dir/$ac_prog"
12900 # Check to see if the program is GNU ld. I'd rather use --version,
12901 # but apparently some variants of GNU ld only accept -v.
12902 # Break only if it was the GNU/non-GNU ld that we prefer.
12903 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12904 *GNU* | *'with BFD'*)
12905 test "$with_gnu_ld" != no && break
12908 test "$with_gnu_ld" != yes && break
12915 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12919 LD="$lt_cv_path_LD"
12920 if test -n "$LD"; then
12921 { echo "$as_me:$LINENO: result
: $LD" >&5
12922 echo "${ECHO_T}$LD" >&6; }
12924 { echo "$as_me:$LINENO: result
: no
" >&5
12925 echo "${ECHO_T}no
" >&6; }
12927 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12928 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12929 { (exit 1); exit 1; }; }
12930 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12931 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12932 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12933 echo $ECHO_N "(cached
) $ECHO_C" >&6
12935 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12936 case `$LD -v 2>&1 </dev/null` in
12937 *GNU* | *'with BFD'*)
12938 lt_cv_prog_gnu_ld=yes
12941 lt_cv_prog_gnu_ld=no
12945 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12946 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12947 with_gnu_ld=$lt_cv_prog_gnu_ld
12950 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12951 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12952 if test "${lt_cv_ld_reload_flag+set}" = set; then
12953 echo $ECHO_N "(cached
) $ECHO_C" >&6
12955 lt_cv_ld_reload_flag='-r'
12957 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12958 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12959 reload_flag=$lt_cv_ld_reload_flag
12960 case $reload_flag in
12962 *) reload_flag=" $reload_flag" ;;
12964 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12967 if test "$GCC" = yes; then
12968 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12970 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12975 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12976 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12977 if test "${lt_cv_deplibs_check_method+set}" = set; then
12978 echo $ECHO_N "(cached
) $ECHO_C" >&6
12980 lt_cv_file_magic_cmd='$MAGIC_CMD'
12981 lt_cv_file_magic_test_file=
12982 lt_cv_deplibs_check_method='unknown'
12983 # Need to set the preceding variable on all platforms that support
12984 # interlibrary dependencies.
12985 # 'none' -- dependencies not supported.
12986 # `unknown' -- same as none, but documents that we really don't know.
12987 # 'pass_all' -- all dependencies passed with no checks.
12988 # 'test_compile' -- check by making test program.
12989 # 'file_magic [[regex]]' -- check by looking for files in library path
12990 # which responds to the $file_magic_cmd with a given extended regex.
12991 # If you have `file' or equivalent on your system and you're not sure
12992 # whether `pass_all' will *always* work, you probably want this one.
12996 lt_cv_deplibs_check_method=pass_all
13000 lt_cv_deplibs_check_method=pass_all
13004 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
13005 lt_cv_file_magic_cmd='/usr/bin/file -L'
13006 lt_cv_file_magic_test_file=/shlib/libc.so
13010 # func_win32_libid is a shell function defined in ltmain.sh
13011 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13012 lt_cv_file_magic_cmd='func_win32_libid'
13016 # Base MSYS/MinGW do not provide the 'file' command needed by
13017 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
13018 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13019 lt_cv_file_magic_cmd='$OBJDUMP -f'
13022 darwin* | rhapsody*)
13023 lt_cv_deplibs_check_method=pass_all
13026 freebsd* | kfreebsd*-gnu | dragonfly*)
13027 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13030 # Not sure whether the presence of OpenBSD here was a mistake.
13031 # Let's accept both of them until this is cleared up.
13032 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
13033 lt_cv_file_magic_cmd=/usr/bin/file
13034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
13038 lt_cv_deplibs_check_method=pass_all
13043 lt_cv_deplibs_check_method=pass_all
13046 hpux10.20* | hpux11*)
13047 lt_cv_file_magic_cmd=/usr/bin/file
13050 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
13051 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
13054 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]'
13055 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
13058 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
13059 lt_cv_file_magic_test_file=/usr/lib/libc.sl
13065 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
13066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
13069 irix5* | irix6* | nonstopux*)
13071 *-32|*"-32 ") libmagic=32-bit;;
13072 *-n32|*"-n32 ") libmagic=N32;;
13073 *-64|*"-64 ") libmagic=64-bit;;
13074 *) libmagic=never-match;;
13076 lt_cv_deplibs_check_method=pass_all
13079 # This must be Linux ELF.
13081 lt_cv_deplibs_check_method=pass_all
13085 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13086 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13088 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
13093 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
13094 lt_cv_file_magic_cmd=/usr/bin/file
13095 lt_cv_file_magic_test_file=/usr/lib/libnls.so
13099 lt_cv_deplibs_check_method=unknown
13103 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
13104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
13106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13110 osf3* | osf4* | osf5*)
13111 lt_cv_deplibs_check_method=pass_all
13115 lt_cv_deplibs_check_method=pass_all
13119 case $host_vendor in
13121 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]'
13122 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
13125 lt_cv_deplibs_check_method=pass_all
13128 lt_cv_file_magic_cmd='/bin/file'
13129 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
13132 lt_cv_file_magic_cmd='/bin/file'
13133 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
13134 lt_cv_file_magic_test_file=/lib/libc.so
13137 lt_cv_deplibs_check_method=pass_all
13140 lt_cv_deplibs_check_method=pass_all
13145 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13146 lt_cv_deplibs_check_method=pass_all
13151 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
13152 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
13153 file_magic_cmd=$lt_cv_file_magic_cmd
13154 deplibs_check_method=$lt_cv_deplibs_check_method
13155 test -z "$deplibs_check_method" && deplibs_check_method=unknown
13159 # If no C compiler was specified, use CC.
13162 # If no C compiler flags were specified, use CFLAGS.
13163 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13165 # Allow CC to be a program name with arguments.
13168 # Check whether --enable-libtool-lock was given.
13169 if test "${enable_libtool_lock+set}" = set; then
13170 enableval=$enable_libtool_lock;
13173 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
13175 # Some flags need to be propagated to the compiler or linker for good
13179 # Find out which ABI we are using.
13180 echo 'int i;' > conftest.$ac_ext
13181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13182 (eval $ac_compile) 2>&5
13184 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13185 (exit $ac_status); }; then
13186 case `/usr/bin/file conftest.$ac_objext` in
13188 HPUX_IA64_MODE="32"
13191 HPUX_IA64_MODE="64"
13198 # Find out which ABI we are using.
13199 echo '#line 13199 "configure
"' > conftest.$ac_ext
13200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13201 (eval $ac_compile) 2>&5
13203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13204 (exit $ac_status); }; then
13205 if test "$lt_cv_prog_gnu_ld" = yes; then
13206 case `/usr/bin/file conftest.$ac_objext` in
13208 LD="${LD-ld} -melf32bsmip"
13211 LD="${LD-ld} -melf32bmipn32"
13214 LD="${LD-ld} -melf64bmip"
13218 case `/usr/bin/file conftest.$ac_objext` in
13234 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
13235 # Find out which ABI we are using.
13236 echo 'int i;' > conftest.$ac_ext
13237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13238 (eval $ac_compile) 2>&5
13240 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13241 (exit $ac_status); }; then
13242 case `/usr/bin/file conftest.o` in
13246 LD="${LD-ld} -m elf_i386
"
13248 ppc64-*linux*|powerpc64-*linux*)
13249 LD="${LD-ld} -m elf32ppclinux
"
13252 LD="${LD-ld} -m elf_s390
"
13255 LD="${LD-ld} -m elf32_sparc
"
13262 LD="${LD-ld} -m elf_x86_64
"
13264 ppc*-*linux*|powerpc*-*linux*)
13265 LD="${LD-ld} -m elf64ppc
"
13268 LD="${LD-ld} -m elf64_s390
"
13271 LD="${LD-ld} -m elf64_sparc
"
13281 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13282 SAVE_CFLAGS="$CFLAGS"
13283 CFLAGS="$CFLAGS -belf"
13284 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
13285 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
13286 if test "${lt_cv_cc_needs_belf+set}" = set; then
13287 echo $ECHO_N "(cached
) $ECHO_C" >&6
13290 ac_cpp='$CPP $CPPFLAGS'
13291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13295 cat >conftest.$ac_ext <<_ACEOF
13298 cat confdefs.h >>conftest.$ac_ext
13299 cat >>conftest.$ac_ext <<_ACEOF
13300 /* end confdefs.h. */
13310 rm -f conftest.$ac_objext conftest$ac_exeext
13311 if { (ac_try="$ac_link"
13312 case "(($ac_try" in
13313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13314 *) ac_try_echo=$ac_try;;
13316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13317 (eval "$ac_link") 2>conftest.er1
13319 grep -v '^ *+' conftest.er1 >conftest.err
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13325 { (case "(($ac_try" in
13326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13327 *) ac_try_echo=$ac_try;;
13329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13330 (eval "$ac_try") 2>&5
13332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13333 (exit $ac_status); }; } &&
13334 { ac_try='test -s conftest$ac_exeext'
13335 { (case "(($ac_try" in
13336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13337 *) ac_try_echo=$ac_try;;
13339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13340 (eval "$ac_try") 2>&5
13342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13343 (exit $ac_status); }; }; then
13344 lt_cv_cc_needs_belf=yes
13346 echo "$as_me: failed program was
:" >&5
13347 sed 's/^/| /' conftest.$ac_ext >&5
13349 lt_cv_cc_needs_belf=no
13352 rm -f core conftest.err conftest.$ac_objext \
13353 conftest$ac_exeext conftest.$ac_ext
13355 ac_cpp='$CPP $CPPFLAGS'
13356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13361 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
13362 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
13363 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
13364 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13365 CFLAGS="$SAVE_CFLAGS"
13369 # Find out which ABI we are using.
13370 echo 'int i;' > conftest.$ac_ext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>&5
13374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13375 (exit $ac_status); }; then
13376 case `/usr/bin/file conftest.o` in
13378 case $lt_cv_prog_gnu_ld in
13379 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
13380 *) LD="${LD-ld} -64" ;;
13391 need_locks="$enable_libtool_lock"
13396 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
13397 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
13398 (test "X
$CXX" != "Xg
++"))) ; then
13400 ac_cpp='$CXXCPP $CPPFLAGS'
13401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13404 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
13405 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
13406 if test -z "$CXXCPP"; then
13407 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13408 echo $ECHO_N "(cached
) $ECHO_C" >&6
13410 # Double quotes because CXXCPP needs to be expanded
13411 for CXXCPP in "$CXX -E" "/lib
/cpp
"
13413 ac_preproc_ok=false
13414 for ac_cxx_preproc_warn_flag in '' yes
13416 # Use a header file that comes with gcc, so configuring glibc
13417 # with a fresh cross-compiler works.
13418 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13419 # <limits.h> exists even on freestanding compilers.
13420 # On the NeXT, cc -E runs the code through the compiler's parser,
13421 # not just through cpp. "Syntax error
" is here to catch this case.
13422 cat >conftest.$ac_ext <<_ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13429 # include <limits.h>
13431 # include <assert.h>
13435 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13436 case "(($ac_try" in
13437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13438 *) ac_try_echo=$ac_try;;
13440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13441 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13443 grep -v '^ *+' conftest.er1 >conftest.err
13445 cat conftest.err >&5
13446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13447 (exit $ac_status); } >/dev/null; then
13448 if test -s conftest.err; then
13449 ac_cpp_err=$ac_cxx_preproc_warn_flag
13450 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13457 if test -z "$ac_cpp_err"; then
13460 echo "$as_me: failed program was
:" >&5
13461 sed 's/^/| /' conftest.$ac_ext >&5
13463 # Broken: fails on valid input.
13467 rm -f conftest.err conftest.$ac_ext
13469 # OK, works on sane cases. Now check whether nonexistent headers
13470 # can be detected and how.
13471 cat >conftest.$ac_ext <<_ACEOF
13474 cat confdefs.h >>conftest.$ac_ext
13475 cat >>conftest.$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13477 #include <ac_nonexistent.h>
13479 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13480 case "(($ac_try" in
13481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13482 *) ac_try_echo=$ac_try;;
13484 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13485 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13487 grep -v '^ *+' conftest.er1 >conftest.err
13489 cat conftest.err >&5
13490 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13491 (exit $ac_status); } >/dev/null; then
13492 if test -s conftest.err; then
13493 ac_cpp_err=$ac_cxx_preproc_warn_flag
13494 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13501 if test -z "$ac_cpp_err"; then
13502 # Broken: success on invalid input.
13505 echo "$as_me: failed program was
:" >&5
13506 sed 's/^/| /' conftest.$ac_ext >&5
13508 # Passes both tests.
13513 rm -f conftest.err conftest.$ac_ext
13516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13517 rm -f conftest.err conftest.$ac_ext
13518 if $ac_preproc_ok; then
13523 ac_cv_prog_CXXCPP=$CXXCPP
13526 CXXCPP=$ac_cv_prog_CXXCPP
13528 ac_cv_prog_CXXCPP=$CXXCPP
13530 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
13531 echo "${ECHO_T}$CXXCPP" >&6; }
13532 ac_preproc_ok=false
13533 for ac_cxx_preproc_warn_flag in '' yes
13535 # Use a header file that comes with gcc, so configuring glibc
13536 # with a fresh cross-compiler works.
13537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13538 # <limits.h> exists even on freestanding compilers.
13539 # On the NeXT, cc -E runs the code through the compiler's parser,
13540 # not just through cpp. "Syntax error
" is here to catch this case.
13541 cat >conftest.$ac_ext <<_ACEOF
13544 cat confdefs.h >>conftest.$ac_ext
13545 cat >>conftest.$ac_ext <<_ACEOF
13546 /* end confdefs.h. */
13548 # include <limits.h>
13550 # include <assert.h>
13554 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13555 case "(($ac_try" in
13556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13557 *) ac_try_echo=$ac_try;;
13559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13560 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13562 grep -v '^ *+' conftest.er1 >conftest.err
13564 cat conftest.err >&5
13565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13566 (exit $ac_status); } >/dev/null; then
13567 if test -s conftest.err; then
13568 ac_cpp_err=$ac_cxx_preproc_warn_flag
13569 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13576 if test -z "$ac_cpp_err"; then
13579 echo "$as_me: failed program was
:" >&5
13580 sed 's/^/| /' conftest.$ac_ext >&5
13582 # Broken: fails on valid input.
13586 rm -f conftest.err conftest.$ac_ext
13588 # OK, works on sane cases. Now check whether nonexistent headers
13589 # can be detected and how.
13590 cat >conftest.$ac_ext <<_ACEOF
13593 cat confdefs.h >>conftest.$ac_ext
13594 cat >>conftest.$ac_ext <<_ACEOF
13595 /* end confdefs.h. */
13596 #include <ac_nonexistent.h>
13598 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13599 case "(($ac_try" in
13600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13601 *) ac_try_echo=$ac_try;;
13603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13604 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13606 grep -v '^ *+' conftest.er1 >conftest.err
13608 cat conftest.err >&5
13609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13610 (exit $ac_status); } >/dev/null; then
13611 if test -s conftest.err; then
13612 ac_cpp_err=$ac_cxx_preproc_warn_flag
13613 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13620 if test -z "$ac_cpp_err"; then
13621 # Broken: success on invalid input.
13624 echo "$as_me: failed program was
:" >&5
13625 sed 's/^/| /' conftest.$ac_ext >&5
13627 # Passes both tests.
13632 rm -f conftest.err conftest.$ac_ext
13635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13636 rm -f conftest.err conftest.$ac_ext
13637 if $ac_preproc_ok; then
13640 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
13641 See \
`config.log' for more details." >&5
13642 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13643 See \`config.log
' for more details." >&2;}
13644 { (exit 1); exit 1; }; }
13648 ac_cpp='$CXXCPP $CPPFLAGS'
13649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13650 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13657 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13658 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13659 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13660 if test -n "$ac_tool_prefix"; then
13661 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
13663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13664 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13667 if test "${ac_cv_prog_F77+set}" = set; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13670 if test -n "$F77"; then
13671 ac_cv_prog_F77="$F77" # Let the user override the test.
13673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13674 for as_dir in $PATH
13677 test -z "$as_dir" && as_dir=.
13678 for ac_exec_ext in '' $ac_executable_extensions; do
13679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13680 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13690 F77=$ac_cv_prog_F77
13691 if test -n "$F77"; then
13692 { echo "$as_me:$LINENO: result: $F77" >&5
13693 echo "${ECHO_T}$F77" >&6; }
13695 { echo "$as_me:$LINENO: result: no" >&5
13696 echo "${ECHO_T}no" >&6; }
13700 test -n "$F77" && break
13703 if test -z "$F77"; then
13705 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
13707 # Extract the first word of "$ac_prog", so it can be a program name with args.
13708 set dummy $ac_prog; ac_word=$2
13709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13711 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13712 echo $ECHO_N "(cached) $ECHO_C" >&6
13714 if test -n "$ac_ct_F77"; then
13715 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13718 for as_dir in $PATH
13721 test -z "$as_dir" && as_dir=.
13722 for ac_exec_ext in '' $ac_executable_extensions; do
13723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13724 ac_cv_prog_ac_ct_F77="$ac_prog"
13725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13734 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13735 if test -n "$ac_ct_F77"; then
13736 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13737 echo "${ECHO_T}$ac_ct_F77" >&6; }
13739 { echo "$as_me:$LINENO: result: no" >&5
13740 echo "${ECHO_T}no" >&6; }
13744 test -n "$ac_ct_F77" && break
13747 if test "x$ac_ct_F77" = x; then
13750 case $cross_compiling:$ac_tool_warned in
13752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13753 whose name does not start with the host triplet. If you think this
13754 configuration is useful to you, please write to autoconf@gnu.org." >&5
13755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13756 whose name does not start with the host triplet. If you think this
13757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13758 ac_tool_warned=yes ;;
13765 # Provide some information about the compiler.
13766 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13767 ac_compiler=`set X $ac_compile; echo $2`
13768 { (ac_try="$ac_compiler --version >&5"
13769 case "(($ac_try" in
13770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13771 *) ac_try_echo=$ac_try;;
13773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13774 (eval "$ac_compiler --version >&5") 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }
13778 { (ac_try="$ac_compiler -v >&5"
13779 case "(($ac_try" in
13780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781 *) ac_try_echo=$ac_try;;
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_compiler -v >&5") 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }
13788 { (ac_try="$ac_compiler -V >&5"
13789 case "(($ac_try" in
13790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13791 *) ac_try_echo=$ac_try;;
13793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13794 (eval "$ac_compiler -V >&5") 2>&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); }
13800 # If we don't use
`.F' as extension, the preprocessor is not run on the
13801 # input file. (Note that this only needs to work for GNU compilers.)
13802 ac_save_ext=$ac_ext
13804 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13805 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13806 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 cat >conftest.$ac_ext <<_ACEOF
13817 rm -f conftest.$ac_objext
13818 if { (ac_try="$ac_compile"
13819 case "(($ac_try" in
13820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13821 *) ac_try_echo
=$ac_try;;
13823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13824 (eval "$ac_compile") 2>conftest.er1
13826 grep -v '^ *+' conftest.er1
>conftest.err
13828 cat conftest.err
>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } &&
13831 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13832 { (case "(($ac_try" in
13833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_try") 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try='test -s conftest.$ac_objext'
13842 { (case "(($ac_try" in
13843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13844 *) ac_try_echo
=$ac_try;;
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 (eval "$ac_try") 2>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_compiler_gnu
=yes
13853 echo "$as_me: failed program was:" >&5
13854 sed 's/^/| /' conftest.
$ac_ext >&5
13859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13860 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13863 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13864 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13865 ac_ext
=$ac_save_ext
13866 ac_test_FFLAGS
=${FFLAGS+set}
13867 ac_save_FFLAGS
=$FFLAGS
13869 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13870 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13871 if test "${ac_cv_prog_f77_g+set}" = set; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 cat >conftest.
$ac_ext <<_ACEOF
13880 rm -f conftest.
$ac_objext
13881 if { (ac_try
="$ac_compile"
13882 case "(($ac_try" in
13883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13884 *) ac_try_echo=$ac_try;;
13886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13887 (eval "$ac_compile") 2>conftest.er1
13889 grep -v '^ *+' conftest.er1 >conftest.err
13891 cat conftest.err >&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); } &&
13894 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13895 { (case "(($ac_try" in
13896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13897 *) ac_try_echo
=$ac_try;;
13899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13900 (eval "$ac_try") 2>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); }; } &&
13904 { ac_try
='test -s conftest.$ac_objext'
13905 { (case "(($ac_try" in
13906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13907 *) ac_try_echo=$ac_try;;
13909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13910 (eval "$ac_try") 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; }; then
13914 ac_cv_prog_f77_g=yes
13916 echo "$as_me: failed program was:" >&5
13917 sed 's/^/| /' conftest.$ac_ext >&5
13919 ac_cv_prog_f77_g=no
13922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13925 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13926 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13927 if test "$ac_test_FFLAGS" = set; then
13928 FFLAGS=$ac_save_FFLAGS
13929 elif test $ac_cv_prog_f77_g = yes; then
13930 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13936 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13943 G77=`test $ac_compiler_gnu = yes && echo yes`
13945 ac_cpp='$CPP $CPPFLAGS'
13946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13952 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13954 # find the maximum length of command line arguments
13955 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13956 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13957 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13965 # On DJGPP, this test can blow up pretty badly due to problems in libc
13966 # (any single argument exceeding 2000 bytes causes a buffer overrun
13967 # during glob expansion). Even if it were fixed, the result of this
13968 # check would be larger than it should be.
13969 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13973 # Under GNU Hurd, this test is not required because there is
13974 # no limit to the length of command line arguments.
13975 # Libtool will interpret -1 as no limit whatsoever
13976 lt_cv_sys_max_cmd_len=-1;
13980 # On Win9x/ME, this test blows up -- it succeeds, but takes
13981 # about 5 minutes as the teststring grows exponentially.
13982 # Worse, since 9x/ME are not pre-emptively multitasking,
13983 # you end up with a "frozen" computer, even though with patience
13984 # the test eventually succeeds (with a max line length of 256k).
13985 # Instead, let's just punt: use the minimum linelength reported by
13986 # all of the supported platforms: 8192 (on NT/2K/XP).
13987 lt_cv_sys_max_cmd_len=8192;
13991 # On AmigaOS with pdksh, this test takes hours, literally.
13992 # So we just punt and use a minimum line length of 8192.
13993 lt_cv_sys_max_cmd_len=8192;
13996 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13997 # This has been around since 386BSD, at least. Likely further.
13998 if test -x /sbin/sysctl; then
13999 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
14000 elif test -x /usr/sbin/sysctl; then
14001 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
14003 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
14005 # And add a safety zone
14006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
14007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
14011 # We know the value 262144 and hardcode it with a safety zone (like BSD)
14012 lt_cv_sys_max_cmd_len=196608
14016 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
14017 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
14018 # nice to cause kernel panics so lets avoid the loop below.
14019 # First set a reasonable default.
14020 lt_cv_sys_max_cmd_len=16384
14022 if test -x /sbin/sysconfig; then
14023 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
14024 *1*) lt_cv_sys_max_cmd_len=-1 ;;
14029 lt_cv_sys_max_cmd_len=102400
14031 sysv5* | sco5v6* | sysv4.2uw2*)
14032 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
14033 if test -n "$kargmax"; then
14034 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
14036 lt_cv_sys_max_cmd_len=32768
14040 # If test is not a shell built-in, we'll probably end up computing a
14041 # maximum length that is only half of the actual maximum length, but
14043 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
14044 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
14045 = "XX$teststring") >/dev/null 2>&1 &&
14046 new_result=`expr "X$teststring" : ".*" 2>&1` &&
14047 lt_cv_sys_max_cmd_len=$new_result &&
14048 test $i != 17 # 1/2 MB should be enough
14051 teststring=$teststring$teststring
14054 # Add a significant safety factor because C++ compilers can tack on massive
14055 # amounts of additional arguments before passing them to the linker.
14056 # It appears as though 1/2 is a usable value.
14057 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
14063 if test -n $lt_cv_sys_max_cmd_len ; then
14064 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
14065 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
14067 { echo "$as_me:$LINENO: result: none" >&5
14068 echo "${ECHO_T}none" >&6; }
14074 # Check for command to grab the raw symbol name followed by C symbol from nm.
14075 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
14076 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
14077 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 # These are sane defaults that work on at least a few old systems.
14082 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
14084 # Character class describing NM global symbol codes.
14085 symcode='[BCDEGRST]'
14087 # Regexp to match symbols that can be accessed directly from C.
14088 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
14090 # Transform an extracted symbol line into a proper C declaration
14091 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
14093 # Transform an extracted symbol line into symbol name and symbol address
14094 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'"
14096 # Define system-specific variables.
14101 cygwin* | mingw* | pw32*)
14102 symcode='[ABCDGISTW]'
14104 hpux*) # Its linker distinguishes data from code symbols
14105 if test "$host_cpu" = ia64; then
14106 symcode='[ABCDEGRST]'
14108 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14109 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'"
14112 if test "$host_cpu" = ia64; then
14113 symcode='[ABCDGIRSTW]'
14114 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14115 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'"
14118 irix* | nonstopux*)
14119 symcode='[BCDEGRST]'
14122 symcode='[BCDEGQRST]'
14133 sysv5* | sco5v6* | unixware* | OpenUNIX*)
14141 # Handle CRLF in mingw tool chain
14145 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
14149 # If we're using GNU nm, then use its standard symbol codes.
14150 case `$NM -V 2>&1` in
14151 *GNU* | *'with BFD'*)
14152 symcode='[ABCDGIRSTW]' ;;
14155 # Try without a prefix undercore, then with it.
14156 for ac_symprfx in "" "_"; do
14158 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
14159 symxfrm="\\1 $ac_symprfx\\2 \\2"
14161 # Write the raw and C identifiers.
14162 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14164 # Check to see that the pipe works correctly.
14168 cat > conftest.$ac_ext <<EOF
14173 void nm_test_func(){}
14177 int main(){nm_test_var='a';nm_test_func();return(0);}
14180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14181 (eval $ac_compile) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; then
14185 # Now try to grab the symbols.
14187 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
14188 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); } && test -s "$nlist"; then
14192 # Try sorting and uniquifying the output.
14193 if sort "$nlist" | uniq > "$nlist"T; then
14194 mv -f "$nlist"T "$nlist"
14199 # Make sure that we snagged all the symbols we need.
14200 if grep ' nm_test_var$' "$nlist" >/dev/null; then
14201 if grep ' nm_test_func$' "$nlist" >/dev/null; then
14202 cat <<EOF > conftest.$ac_ext
14208 # Now generate the symbol file.
14209 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14211 cat <<EOF >> conftest.$ac_ext
14212 #if defined (__STDC__) && __STDC__
14213 # define lt_ptr_t void *
14215 # define lt_ptr_t char *
14219 /* The mapping between symbol names and symbols. */
14224 lt_preloaded_symbols[] =
14227 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14228 cat <<\EOF >> conftest.$ac_ext
14236 # Now try linking the two files.
14237 mv conftest.$ac_objext conftstm.$ac_objext
14238 lt_save_LIBS="$LIBS"
14239 lt_save_CFLAGS="$CFLAGS"
14240 LIBS="conftstm.$ac_objext"
14241 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
14242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14243 (eval $ac_link) 2>&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); } && test -s conftest${ac_exeext}; then
14249 LIBS="$lt_save_LIBS"
14250 CFLAGS="$lt_save_CFLAGS"
14252 echo "cannot find nm_test_func in $nlist" >&5
14255 echo "cannot find nm_test_var in $nlist" >&5
14258 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
14261 echo "$progname: failed program was:" >&5
14262 cat conftest.$ac_ext >&5
14264 rm -f conftest* conftst*
14266 # Do not use the global_symbol_pipe unless it works.
14267 if test "$pipe_works" = yes; then
14270 lt_cv_sys_global_symbol_pipe=
14276 if test -z "$lt_cv_sys_global_symbol_pipe"; then
14277 lt_cv_sys_global_symbol_to_cdecl=
14279 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14280 { echo "$as_me:$LINENO: result: failed" >&5
14281 echo "${ECHO_T}failed" >&6; }
14283 { echo "$as_me:$LINENO: result: ok" >&5
14284 echo "${ECHO_T}ok" >&6; }
14287 { echo "$as_me:$LINENO: checking for objdir" >&5
14288 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
14289 if test "${lt_cv_objdir+set}" = set; then
14290 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 rm -f .libs 2>/dev/null
14293 mkdir .libs 2>/dev/null
14294 if test -d .libs; then
14297 # MS-DOS does not allow filenames that begin with a dot.
14300 rmdir .libs 2>/dev/null
14302 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14303 echo "${ECHO_T}$lt_cv_objdir" >&6; }
14304 objdir=$lt_cv_objdir
14312 # AIX sometimes has problems with the GCC collect2 program. For some
14313 # reason, if we set the COLLECT_NAMES environment variable, the problems
14314 # vanish in a puff of smoke.
14315 if test "X${COLLECT_NAMES+set}" != Xset; then
14317 export COLLECT_NAMES
14322 # Sed substitution that helps us do robust quoting. It backslashifies
14323 # metacharacters that are still active within double-quoted strings.
14324 Xsed='sed -e 1s/^X//'
14325 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
14327 # Same as above, but do not quote variable references.
14328 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
14330 # Sed substitution to delay expansion of an escaped shell variable in a
14331 # double_quote_subst'ed string.
14332 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14334 # Sed substitution to avoid accidental globbing in evaled expressions
14335 no_glob_subst='s/\*/\\\*/g'
14340 # Global variables:
14341 default_ofile=mklib
14342 can_build_shared=yes
14344 # All known linkers require a `.a' archive for static linking (except MSVC,
14345 # which needs '.lib').
14347 ltmain="$ac_aux_dir/ltmain.sh
"
14348 ofile="$default_ofile"
14349 with_gnu_ld="$lt_cv_prog_gnu_ld"
14351 if test -n "$ac_tool_prefix"; then
14352 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14353 set dummy ${ac_tool_prefix}ar; ac_word=$2
14354 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14355 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14356 if test "${ac_cv_prog_AR+set}" = set; then
14357 echo $ECHO_N "(cached
) $ECHO_C" >&6
14359 if test -n "$AR"; then
14360 ac_cv_prog_AR="$AR" # Let the user override the test.
14362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14363 for as_dir in $PATH
14366 test -z "$as_dir" && as_dir=.
14367 for ac_exec_ext in '' $ac_executable_extensions; do
14368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14369 ac_cv_prog_AR="${ac_tool_prefix}ar"
14370 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14380 if test -n "$AR"; then
14381 { echo "$as_me:$LINENO: result
: $AR" >&5
14382 echo "${ECHO_T}$AR" >&6; }
14384 { echo "$as_me:$LINENO: result
: no
" >&5
14385 echo "${ECHO_T}no
" >&6; }
14390 if test -z "$ac_cv_prog_AR"; then
14392 # Extract the first word of "ar", so it can be a program name with args.
14393 set dummy ar; ac_word=$2
14394 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14395 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14396 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14397 echo $ECHO_N "(cached
) $ECHO_C" >&6
14399 if test -n "$ac_ct_AR"; then
14400 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14403 for as_dir in $PATH
14406 test -z "$as_dir" && as_dir=.
14407 for ac_exec_ext in '' $ac_executable_extensions; do
14408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14409 ac_cv_prog_ac_ct_AR="ar"
14410 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14419 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14420 if test -n "$ac_ct_AR"; then
14421 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
14422 echo "${ECHO_T}$ac_ct_AR" >&6; }
14424 { echo "$as_me:$LINENO: result
: no
" >&5
14425 echo "${ECHO_T}no
" >&6; }
14428 if test "x
$ac_ct_AR" = x; then
14431 case $cross_compiling:$ac_tool_warned in
14433 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14434 whose name does not start with the
host triplet. If you think this
14435 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14436 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14437 whose name does not start with the
host triplet. If you think this
14438 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14439 ac_tool_warned=yes ;;
14444 AR="$ac_cv_prog_AR"
14447 if test -n "$ac_tool_prefix"; then
14448 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
14449 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14450 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14451 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14452 if test "${ac_cv_prog_RANLIB+set}" = set; then
14453 echo $ECHO_N "(cached
) $ECHO_C" >&6
14455 if test -n "$RANLIB"; then
14456 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14459 for as_dir in $PATH
14462 test -z "$as_dir" && as_dir=.
14463 for ac_exec_ext in '' $ac_executable_extensions; do
14464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14465 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
14466 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14475 RANLIB=$ac_cv_prog_RANLIB
14476 if test -n "$RANLIB"; then
14477 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
14478 echo "${ECHO_T}$RANLIB" >&6; }
14480 { echo "$as_me:$LINENO: result
: no
" >&5
14481 echo "${ECHO_T}no
" >&6; }
14486 if test -z "$ac_cv_prog_RANLIB"; then
14487 ac_ct_RANLIB=$RANLIB
14488 # Extract the first word of "ranlib
", so it can be a program name with args.
14489 set dummy ranlib; ac_word=$2
14490 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14491 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14492 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14493 echo $ECHO_N "(cached
) $ECHO_C" >&6
14495 if test -n "$ac_ct_RANLIB"; then
14496 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14499 for as_dir in $PATH
14502 test -z "$as_dir" && as_dir=.
14503 for ac_exec_ext in '' $ac_executable_extensions; do
14504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14505 ac_cv_prog_ac_ct_RANLIB="ranlib
"
14506 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14515 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14516 if test -n "$ac_ct_RANLIB"; then
14517 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
14518 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14520 { echo "$as_me:$LINENO: result
: no
" >&5
14521 echo "${ECHO_T}no
" >&6; }
14524 if test "x
$ac_ct_RANLIB" = x; then
14527 case $cross_compiling:$ac_tool_warned in
14529 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14530 whose name does not start with the
host triplet. If you think this
14531 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14532 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14533 whose name does not start with the
host triplet. If you think this
14534 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14535 ac_tool_warned=yes ;;
14537 RANLIB=$ac_ct_RANLIB
14540 RANLIB="$ac_cv_prog_RANLIB"
14543 if test -n "$ac_tool_prefix"; then
14544 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14545 set dummy ${ac_tool_prefix}strip; ac_word=$2
14546 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14547 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14548 if test "${ac_cv_prog_STRIP+set}" = set; then
14549 echo $ECHO_N "(cached
) $ECHO_C" >&6
14551 if test -n "$STRIP"; then
14552 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14555 for as_dir in $PATH
14558 test -z "$as_dir" && as_dir=.
14559 for ac_exec_ext in '' $ac_executable_extensions; do
14560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14561 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14562 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14571 STRIP=$ac_cv_prog_STRIP
14572 if test -n "$STRIP"; then
14573 { echo "$as_me:$LINENO: result
: $STRIP" >&5
14574 echo "${ECHO_T}$STRIP" >&6; }
14576 { echo "$as_me:$LINENO: result
: no
" >&5
14577 echo "${ECHO_T}no
" >&6; }
14582 if test -z "$ac_cv_prog_STRIP"; then
14584 # Extract the first word of "strip
", so it can be a program name with args.
14585 set dummy strip; ac_word=$2
14586 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14587 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14588 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14589 echo $ECHO_N "(cached
) $ECHO_C" >&6
14591 if test -n "$ac_ct_STRIP"; then
14592 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14595 for as_dir in $PATH
14598 test -z "$as_dir" && as_dir=.
14599 for ac_exec_ext in '' $ac_executable_extensions; do
14600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14601 ac_cv_prog_ac_ct_STRIP="strip
"
14602 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14611 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14612 if test -n "$ac_ct_STRIP"; then
14613 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
14614 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14616 { echo "$as_me:$LINENO: result
: no
" >&5
14617 echo "${ECHO_T}no
" >&6; }
14620 if test "x
$ac_ct_STRIP" = x; then
14623 case $cross_compiling:$ac_tool_warned in
14625 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14626 whose name does not start with the
host triplet. If you think this
14627 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14628 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14629 whose name does not start with the
host triplet. If you think this
14630 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14631 ac_tool_warned=yes ;;
14636 STRIP="$ac_cv_prog_STRIP"
14641 old_CFLAGS="$CFLAGS"
14643 # Set sane defaults for various variables
14644 test -z "$AR" && AR=ar
14645 test -z "$AR_FLAGS" && AR_FLAGS=cru
14646 test -z "$AS" && AS=as
14647 test -z "$CC" && CC=cc
14648 test -z "$LTCC" && LTCC=$CC
14649 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14650 test -z "$DLLTOOL" && DLLTOOL=dlltool
14651 test -z "$LD" && LD=ld
14652 test -z "$LN_S" && LN_S="ln -s"
14653 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14654 test -z "$NM" && NM=nm
14655 test -z "$SED" && SED=sed
14656 test -z "$OBJDUMP" && OBJDUMP=objdump
14657 test -z "$RANLIB" && RANLIB=:
14658 test -z "$STRIP" && STRIP=:
14659 test -z "$ac_objext" && ac_objext=o
14661 # Determine commands to create old-style static archives.
14662 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14663 old_postinstall_cmds='chmod 644 $oldlib'
14664 old_postuninstall_cmds=
14666 if test -n "$RANLIB"; then
14669 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
14672 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
14675 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
14678 for cc_temp in $compiler""; do
14680 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14681 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14686 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14689 # Only perform the check for file, if the check method requires it
14690 case $deplibs_check_method in
14692 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14693 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14694 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14695 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14696 echo $ECHO_N "(cached
) $ECHO_C" >&6
14700 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14703 lt_save_MAGIC_CMD="$MAGIC_CMD"
14704 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14705 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14706 for ac_dir in $ac_dummy; do
14708 test -z "$ac_dir" && ac_dir=.
14709 if test -f $ac_dir/${ac_tool_prefix}file; then
14710 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14711 if test -n "$file_magic_test_file"; then
14712 case $deplibs_check_method in
14714 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14715 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14716 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14717 $EGREP "$file_magic_regex" > /dev/null; then
14722 *** Warning: the command libtool uses to detect shared libraries,
14723 *** $file_magic_cmd, produces output that libtool cannot recognize.
14724 *** The result is that libtool may fail to recognize shared libraries
14725 *** as such. This will affect the creation of libtool libraries that
14726 *** depend on shared libraries, but programs linked with such libtool
14727 *** libraries will work regardless of this problem. Nevertheless, you
14728 *** may want to report the problem to your system manager and/or to
14729 *** bug-libtool@gnu.org
14739 MAGIC_CMD="$lt_save_MAGIC_CMD"
14744 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14745 if test -n "$MAGIC_CMD"; then
14746 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14747 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14749 { echo "$as_me:$LINENO: result
: no
" >&5
14750 echo "${ECHO_T}no
" >&6; }
14753 if test -z "$lt_cv_path_MAGIC_CMD"; then
14754 if test -n "$ac_tool_prefix"; then
14755 { echo "$as_me:$LINENO: checking
for file" >&5
14756 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14757 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14758 echo $ECHO_N "(cached
) $ECHO_C" >&6
14762 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14765 lt_save_MAGIC_CMD="$MAGIC_CMD"
14766 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14767 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14768 for ac_dir in $ac_dummy; do
14770 test -z "$ac_dir" && ac_dir=.
14771 if test -f $ac_dir/file; then
14772 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14773 if test -n "$file_magic_test_file"; then
14774 case $deplibs_check_method in
14776 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14777 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14778 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14779 $EGREP "$file_magic_regex" > /dev/null; then
14784 *** Warning: the command libtool uses to detect shared libraries,
14785 *** $file_magic_cmd, produces output that libtool cannot recognize.
14786 *** The result is that libtool may fail to recognize shared libraries
14787 *** as such. This will affect the creation of libtool libraries that
14788 *** depend on shared libraries, but programs linked with such libtool
14789 *** libraries will work regardless of this problem. Nevertheless, you
14790 *** may want to report the problem to your system manager and/or to
14791 *** bug-libtool@gnu.org
14801 MAGIC_CMD="$lt_save_MAGIC_CMD"
14806 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14807 if test -n "$MAGIC_CMD"; then
14808 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14809 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14811 { echo "$as_me:$LINENO: result
: no
" >&5
14812 echo "${ECHO_T}no
" >&6; }
14825 enable_win32_dll=no
14827 # Check whether --enable-libtool-lock was given.
14828 if test "${enable_libtool_lock+set}" = set; then
14829 enableval=$enable_libtool_lock;
14832 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14835 # Check whether --with-pic was given.
14836 if test "${with_pic+set}" = set; then
14837 withval=$with_pic; pic_mode="$withval"
14842 test -z "$pic_mode" && pic_mode=default
14844 # Use C for the default configuration in the libtool script
14848 ac_cpp='$CPP $CPPFLAGS'
14849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14854 # Source file extension for C test sources.
14857 # Object file extension for compiled C test sources.
14861 # Code to be used in simple compile tests
14862 lt_simple_compile_test_code="int some_variable
= 0;\n"
14864 # Code to be used in simple link tests
14865 lt_simple_link_test_code='int main(){return(0);}\n'
14868 # If no C compiler was specified, use CC.
14871 # If no C compiler flags were specified, use CFLAGS.
14872 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14874 # Allow CC to be a program name with arguments.
14878 # save warnings/boilerplate of simple test code
14879 ac_outfile=conftest.$ac_objext
14880 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14881 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14882 _lt_compiler_boilerplate=`cat conftest.err`
14885 ac_outfile=conftest.$ac_objext
14886 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14887 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14888 _lt_linker_boilerplate=`cat conftest.err`
14893 lt_prog_compiler_no_builtin_flag=
14895 if test "$GCC" = yes; then
14896 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14899 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14900 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14901 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14902 echo $ECHO_N "(cached
) $ECHO_C" >&6
14904 lt_cv_prog_compiler_rtti_exceptions=no
14905 ac_outfile=conftest.$ac_objext
14906 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14907 lt_compiler_flag="-fno-rtti -fno-exceptions"
14908 # Insert the option either (1) after the last *FLAGS variable, or
14909 # (2) before a word containing "conftest.
", or (3) at the end.
14910 # Note that $ac_compile itself does not contain backslashes and begins
14911 # with a dollar sign (not a hyphen), so the echo should work correctly.
14912 # The option is referenced via a variable to avoid confusing sed.
14913 lt_compile=`echo "$ac_compile" | $SED \
14914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14916 -e 's:$: $lt_compiler_flag:'`
14917 (eval echo "\"\
$as_me:14917: $lt_compile\"" >&5)
14918 (eval "$lt_compile" 2>conftest.err)
14920 cat conftest.err >&5
14921 echo "$as_me:14921: \$?
= $ac_status" >&5
14922 if (exit $ac_status) && test -s "$ac_outfile"; then
14923 # The compiler can only warn and ignore the option if not recognized
14924 # So say no if there are warnings other than the usual output.
14925 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14926 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14927 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14928 lt_cv_prog_compiler_rtti_exceptions=yes
14934 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14935 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14937 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14938 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14945 lt_prog_compiler_wl=
14946 lt_prog_compiler_pic=
14947 lt_prog_compiler_static=
14949 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14950 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14952 if test "$GCC" = yes; then
14953 lt_prog_compiler_wl='-Wl,'
14954 lt_prog_compiler_static='-static'
14958 # All AIX code is PIC.
14959 if test "$host_cpu" = ia64; then
14960 # AIX 5 now supports IA64 processor
14961 lt_prog_compiler_static='-Bstatic'
14966 # FIXME: we need at least 68020 code to build shared libraries, but
14967 # adding the `-m68020' flag to GCC prevents building anything better,
14969 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14972 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14973 # PIC is the default for these OSes.
14976 mingw* | pw32* | os2*)
14977 # This hack is so that the source file can tell whether it is being
14978 # built for inclusion in a dll (and should export symbols for example).
14979 lt_prog_compiler_pic='-DDLL_EXPORT'
14982 darwin* | rhapsody*)
14983 # PIC is the default on this platform
14984 # Common symbols not allowed in MH_DYLIB files
14985 lt_prog_compiler_pic='-fno-common'
14989 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14990 # Instead, we relocate shared libraries at runtime.
14994 # Just because we use GCC doesn't mean we suddenly get shared libraries
14995 # on systems that don't support them.
14996 lt_prog_compiler_can_build_shared=no
15001 if test -d /usr/nec; then
15002 lt_prog_compiler_pic=-Kconform_pic
15007 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15008 # not for PA HP-UX.
15014 lt_prog_compiler_pic='-fPIC'
15020 lt_prog_compiler_pic='-fPIC'
15024 # PORTME Check for flag to pass linker flags through the system compiler.
15027 lt_prog_compiler_wl='-Wl,'
15028 if test "$host_cpu" = ia64; then
15029 # AIX 5 now supports IA64 processor
15030 lt_prog_compiler_static='-Bstatic'
15032 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
15036 # PIC is the default on this platform
15037 # Common symbols not allowed in MH_DYLIB files
15038 case $cc_basename in
15040 lt_prog_compiler_pic='-qnocommon'
15041 lt_prog_compiler_wl='-Wl,'
15046 mingw* | pw32* | os2*)
15047 # This hack is so that the source file can tell whether it is being
15048 # built for inclusion in a dll (and should export symbols for example).
15049 lt_prog_compiler_pic='-DDLL_EXPORT'
15052 hpux9* | hpux10* | hpux11*)
15053 lt_prog_compiler_wl='-Wl,'
15054 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15055 # not for PA HP-UX.
15061 lt_prog_compiler_pic='+Z'
15064 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15065 lt_prog_compiler_static='${wl}-a ${wl}archive'
15068 irix5* | irix6* | nonstopux*)
15069 lt_prog_compiler_wl='-Wl,'
15070 # PIC (with -KPIC) is the default.
15071 lt_prog_compiler_static='-non_shared'
15075 lt_prog_compiler_pic='-KPIC'
15076 lt_prog_compiler_static='-Bstatic'
15080 case $cc_basename in
15082 lt_prog_compiler_wl='-Wl,'
15083 lt_prog_compiler_pic='-KPIC'
15084 lt_prog_compiler_static='-static'
15086 pgcc* | pgf77* | pgf90* | pgf95*)
15087 # Portland Group compilers (*not* the Pentium gcc compiler,
15088 # which looks to be a dead project)
15089 lt_prog_compiler_wl='-Wl,'
15090 lt_prog_compiler_pic='-fpic'
15091 lt_prog_compiler_static='-Bstatic'
15094 lt_prog_compiler_wl='-Wl,'
15095 # All Alpha code is PIC.
15096 lt_prog_compiler_static='-non_shared'
15101 osf3* | osf4* | osf5*)
15102 lt_prog_compiler_wl='-Wl,'
15103 # All OSF/1 code is PIC.
15104 lt_prog_compiler_static='-non_shared'
15108 lt_prog_compiler_pic='-KPIC'
15109 lt_prog_compiler_static='-Bstatic'
15110 case $cc_basename in
15111 f77* | f90* | f95*)
15112 lt_prog_compiler_wl='-Qoption ld ';;
15114 lt_prog_compiler_wl='-Wl,';;
15119 lt_prog_compiler_wl='-Qoption ld '
15120 lt_prog_compiler_pic='-PIC'
15121 lt_prog_compiler_static='-Bstatic'
15124 sysv4 | sysv4.2uw2* | sysv4.3*)
15125 lt_prog_compiler_wl='-Wl,'
15126 lt_prog_compiler_pic='-KPIC'
15127 lt_prog_compiler_static='-Bstatic'
15131 if test -d /usr/nec ;then
15132 lt_prog_compiler_pic='-Kconform_pic'
15133 lt_prog_compiler_static='-Bstatic'
15137 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15138 lt_prog_compiler_wl='-Wl,'
15139 lt_prog_compiler_pic='-KPIC'
15140 lt_prog_compiler_static='-Bstatic'
15144 lt_prog_compiler_wl='-Wl,'
15145 lt_prog_compiler_can_build_shared=no
15149 lt_prog_compiler_pic='-pic'
15150 lt_prog_compiler_static='-Bstatic'
15154 lt_prog_compiler_can_build_shared=no
15159 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
15160 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
15163 # Check to make sure the PIC flag actually works.
15165 if test -n "$lt_prog_compiler_pic"; then
15167 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
15168 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
15169 if test "${lt_prog_compiler_pic_works+set}" = set; then
15170 echo $ECHO_N "(cached
) $ECHO_C" >&6
15172 lt_prog_compiler_pic_works=no
15173 ac_outfile=conftest.$ac_objext
15174 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15175 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15176 # Insert the option either (1) after the last *FLAGS variable, or
15177 # (2) before a word containing "conftest.
", or (3) at the end.
15178 # Note that $ac_compile itself does not contain backslashes and begins
15179 # with a dollar sign (not a hyphen), so the echo should work correctly.
15180 # The option is referenced via a variable to avoid confusing sed.
15181 lt_compile=`echo "$ac_compile" | $SED \
15182 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15184 -e 's:$: $lt_compiler_flag:'`
15185 (eval echo "\"\
$as_me:15185: $lt_compile\"" >&5)
15186 (eval "$lt_compile" 2>conftest.err)
15188 cat conftest.err >&5
15189 echo "$as_me:15189: \$?
= $ac_status" >&5
15190 if (exit $ac_status) && test -s "$ac_outfile"; then
15191 # The compiler can only warn and ignore the option if not recognized
15192 # So say no if there are warnings other than the usual output.
15193 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15194 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15195 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15196 lt_prog_compiler_pic_works=yes
15202 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
15203 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
15205 if test x"$lt_prog_compiler_pic_works" = xyes; then
15206 case $lt_prog_compiler_pic in
15208 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15211 lt_prog_compiler_pic=
15212 lt_prog_compiler_can_build_shared=no
15217 # For platforms which do not support PIC, -DPIC is meaningless:
15219 lt_prog_compiler_pic=
15222 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15227 # Check to make sure the static flag actually works.
15229 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15230 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
15231 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
15232 if test "${lt_prog_compiler_static_works+set}" = set; then
15233 echo $ECHO_N "(cached
) $ECHO_C" >&6
15235 lt_prog_compiler_static_works=no
15236 save_LDFLAGS="$LDFLAGS"
15237 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15238 printf "$lt_simple_link_test_code" > conftest.$ac_ext
15239 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15240 # The linker can only warn and ignore the option if not recognized
15241 # So say no if there are warnings
15242 if test -s conftest.err; then
15243 # Append any errors to the config.log.
15244 cat conftest.err 1>&5
15245 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15246 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15247 if diff conftest.exp conftest.er2 >/dev/null; then
15248 lt_prog_compiler_static_works=yes
15251 lt_prog_compiler_static_works=yes
15255 LDFLAGS="$save_LDFLAGS"
15258 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
15259 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
15261 if test x"$lt_prog_compiler_static_works" = xyes; then
15264 lt_prog_compiler_static=
15268 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
15269 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
15270 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15271 echo $ECHO_N "(cached
) $ECHO_C" >&6
15273 lt_cv_prog_compiler_c_o=no
15274 $rm -r conftest 2>/dev/null
15278 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15280 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
15281 # Insert the option either (1) after the last *FLAGS variable, or
15282 # (2) before a word containing "conftest.
", or (3) at the end.
15283 # Note that $ac_compile itself does not contain backslashes and begins
15284 # with a dollar sign (not a hyphen), so the echo should work correctly.
15285 lt_compile=`echo "$ac_compile" | $SED \
15286 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15287 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15288 -e 's:$: $lt_compiler_flag:'`
15289 (eval echo "\"\
$as_me:15289: $lt_compile\"" >&5)
15290 (eval "$lt_compile" 2>out/conftest.err)
15292 cat out/conftest.err >&5
15293 echo "$as_me:15293: \$?
= $ac_status" >&5
15294 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15296 # The compiler can only warn and ignore the option if not recognized
15297 # So say no if there are warnings
15298 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15299 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15300 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15301 lt_cv_prog_compiler_c_o=yes
15306 # SGI C++ compiler will create directory out/ii_files/ for
15307 # template instantiation
15308 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15309 $rm out/* && rmdir out
15315 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
15316 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
15319 hard_links="nottested
"
15320 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15321 # do not overwrite the value of need_locks provided by the user
15322 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
15323 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
15326 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15328 ln conftest.a conftest.b 2>&5 || hard_links=no
15329 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15330 { echo "$as_me:$LINENO: result
: $hard_links" >&5
15331 echo "${ECHO_T}$hard_links" >&6; }
15332 if test "$hard_links" = no; then
15333 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
15334 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
15341 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
15342 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
15345 allow_undefined_flag=
15346 enable_shared_with_static_runtimes=no
15348 archive_expsym_cmds=
15349 old_archive_From_new_cmds=
15350 old_archive_from_expsyms_cmds=
15351 export_dynamic_flag_spec=
15352 whole_archive_flag_spec=
15353 thread_safe_flag_spec=
15354 hardcode_libdir_flag_spec=
15355 hardcode_libdir_flag_spec_ld=
15356 hardcode_libdir_separator=
15358 hardcode_minus_L=no
15359 hardcode_shlibpath_var=unsupported
15360 link_all_deplibs=unknown
15361 hardcode_automatic=no
15363 module_expsym_cmds=
15364 always_export_symbols=no
15365 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15366 # include_expsyms should be a list of space-separated symbols to be *always*
15367 # included in the symbol list
15369 # exclude_expsyms can be an extended regexp of symbols to exclude
15370 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15371 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15372 # as well as any symbol that contains `d'.
15373 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
15374 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15375 # platforms (ab)use it in PIC code, but their linkers get confused if
15376 # the symbol is explicitly referenced. Since portable code cannot
15377 # rely on this symbol name, it's probably fine to never include it in
15378 # preloaded symbol tables.
15379 extract_expsyms_cmds=
15380 # Just being paranoid about ensuring that cc_basename is set.
15381 for cc_temp in $compiler""; do
15383 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15384 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15389 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
15392 cygwin* | mingw* | pw32*)
15393 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15394 # When not using gcc, we currently assume that we are using
15395 # Microsoft Visual C++.
15396 if test "$GCC" != yes; then
15401 # we just hope/assume this is gcc and not c89 (= MSVC++)
15410 if test "$with_gnu_ld" = yes; then
15411 # If archive_cmds runs LD, not CC, wlarc should be empty
15414 # Set some defaults for GNU ld with shared library support. These
15415 # are reset later if shared libraries are not supported. Putting them
15416 # here allows them to be overridden if necessary.
15417 runpath_var=LD_RUN_PATH
15418 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15419 export_dynamic_flag_spec='${wl}--export-dynamic'
15420 # ancient GNU ld didn't support --whole-archive et. al.
15421 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15422 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15424 whole_archive_flag_spec=
15426 supports_anon_versioning=no
15427 case `$LD -v 2>/dev/null` in
15428 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15429 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15430 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15431 *\ 2.11.*) ;; # other 2.11 versions
15432 *) supports_anon_versioning=yes ;;
15435 # See if GNU ld supports shared libraries.
15437 aix3* | aix4* | aix5*)
15438 # On AIX/PPC, the GNU linker is very broken
15439 if test "$host_cpu" != ia64; then
15443 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15444 *** to be unable to reliably create shared libraries on AIX.
15445 *** Therefore, libtool is disabling shared libraries support. If you
15446 *** really care for shared libraries, you may want to modify your PATH
15447 *** so that a non-GNU linker is found, and then restart.
15454 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)'
15455 hardcode_libdir_flag_spec
='-L$libdir'
15456 hardcode_minus_L
=yes
15458 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15459 # that the semantics of dynamic libraries on AmigaOS, at least up
15460 # to version 4, is to share data among multiple programs linked
15461 # with the same dynamic library. Since this doesn't match the
15462 # behavior of shared libraries on other platforms, we can't use
15468 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15469 allow_undefined_flag
=unsupported
15470 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15471 # support --undefined. This deserves some investigation. FIXME
15472 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15478 cygwin
* | mingw
* | pw32
*)
15479 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15480 # as there is no search path for DLLs.
15481 hardcode_libdir_flag_spec
='-L$libdir'
15482 allow_undefined_flag
=unsupported
15483 always_export_symbols
=no
15484 enable_shared_with_static_runtimes
=yes
15485 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15487 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15488 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15489 # If the export-symbols file already is a .def file (1st line
15490 # is EXPORTS), use it as is; otherwise, prepend...
15491 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15492 cp $export_symbols $output_objdir/$soname.def;
15494 echo EXPORTS > $output_objdir/$soname.def;
15495 cat $export_symbols >> $output_objdir/$soname.def;
15497 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15505 hardcode_shlibpath_var
=no
15506 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15507 export_dynamic_flag_spec
='${wl}-E'
15508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15509 # Instead, shared libraries are loaded at an image base (0x10000000 by
15510 # default) and relocated if they conflict, which is a slow very memory
15511 # consuming and fragmenting process. To avoid this, we pick a random,
15512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15514 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15515 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'
15519 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15521 case $cc_basename,$host_cpu in
15522 pgcc
*) # Portland Group C compiler
15523 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'
15524 tmp_addflag
=' $pic_flag'
15526 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15527 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'
15528 tmp_addflag
=' $pic_flag -Mnomain' ;;
15529 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15530 tmp_addflag
=' -i_dynamic' ;;
15531 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15532 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15533 ifc
* | ifort
*) # Intel Fortran compiler
15534 tmp_addflag
=' -nofor_main' ;;
15536 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15538 if test $supports_anon_versioning = yes; then
15539 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
15540 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15541 $echo "local: *; };" >> $output_objdir/$libname.ver~
15542 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15550 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15551 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15554 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15555 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15560 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15564 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15565 *** create shared libraries on Solaris systems. Therefore, libtool
15566 *** is disabling shared libraries support. We urge you to upgrade GNU
15567 *** binutils to release 2.9.1 or newer. Another option is to modify
15568 *** your PATH or compiler configuration so that the native linker is
15569 *** used, and then restart.
15572 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15573 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15574 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15580 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15581 case `$LD -v 2>&1` in
15582 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15586 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15587 *** reliably create shared libraries on SCO systems. Therefore, libtool
15588 *** is disabling shared libraries support. We urge you to upgrade GNU
15589 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15590 *** your PATH or compiler configuration so that the native linker is
15591 *** used, and then restart.
15596 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15597 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15598 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15599 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15608 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15610 hardcode_direct
=yes
15611 hardcode_shlibpath_var
=no
15615 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15616 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15617 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15624 if test "$ld_shlibs" = no
; then
15626 hardcode_libdir_flag_spec
=
15627 export_dynamic_flag_spec
=
15628 whole_archive_flag_spec
=
15631 # PORTME fill in a description of your system's linker (not GNU ld)
15634 allow_undefined_flag
=unsupported
15635 always_export_symbols
=yes
15636 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'
15637 # Note: this linker hardcodes the directories in LIBPATH if there
15638 # are no directories specified by -L.
15639 hardcode_minus_L
=yes
15640 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15641 # Neither direct hardcoding nor static linking is supported with a
15643 hardcode_direct
=unsupported
15648 if test "$host_cpu" = ia64
; then
15649 # On IA64, the linker does run time linking by default, so we don't
15650 # have to do anything special.
15651 aix_use_runtimelinking
=no
15652 exp_sym_flag
='-Bexport'
15655 # If we're using GNU nm, then we don't want the "-C" option.
15656 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15657 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15658 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'
15660 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'
15662 aix_use_runtimelinking
=no
15664 # Test if we are trying to use run time linking or normal
15665 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15666 # need to do runtime linking.
15667 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15668 for ld_flag
in $LDFLAGS; do
15669 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15670 aix_use_runtimelinking
=yes
15677 exp_sym_flag
='-bexport'
15678 no_entry_flag
='-bnoentry'
15681 # When large executables or shared objects are built, AIX ld can
15682 # have problems creating the table of contents. If linking a library
15683 # or program results in "error TOC overflow" add -mminimal-toc to
15684 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15685 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15688 hardcode_direct
=yes
15689 hardcode_libdir_separator
=':'
15690 link_all_deplibs
=yes
15692 if test "$GCC" = yes; then
15693 case $host_os in aix4.
[012]|aix4.
[012].
*)
15694 # We only want to do this on AIX 4.2 and lower, the check
15695 # below for broken collect2 doesn't work under 4.3+
15696 collect2name
=`${CC} -print-prog-name=collect2`
15697 if test -f "$collect2name" && \
15698 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15700 # We have reworked collect2
15701 hardcode_direct
=yes
15703 # We have old collect2
15704 hardcode_direct
=unsupported
15705 # It fails to find uninstalled libraries when the uninstalled
15706 # path is not listed in the libpath. Setting hardcode_minus_L
15707 # to unsupported forces relinking
15708 hardcode_minus_L
=yes
15709 hardcode_libdir_flag_spec
='-L$libdir'
15710 hardcode_libdir_separator
=
15714 shared_flag
='-shared'
15715 if test "$aix_use_runtimelinking" = yes; then
15716 shared_flag
="$shared_flag "'${wl}-G'
15720 if test "$host_cpu" = ia64
; then
15721 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15722 # chokes on -Wl,-G. The following line is correct:
15725 if test "$aix_use_runtimelinking" = yes; then
15726 shared_flag
='${wl}-G'
15728 shared_flag
='${wl}-bM:SRE'
15733 # It seems that -bexpall does not export symbols beginning with
15734 # underscore (_), so it is better to generate a list of symbols to export.
15735 always_export_symbols
=yes
15736 if test "$aix_use_runtimelinking" = yes; then
15737 # Warning - without using the other runtime loading flags (-brtl),
15738 # -berok will link without error, but may produce a broken library.
15739 allow_undefined_flag
='-berok'
15740 # Determine the default libpath from the value encoded in an empty executable.
15741 cat >conftest.
$ac_ext <<_ACEOF
15744 cat confdefs.h
>>conftest.
$ac_ext
15745 cat >>conftest.
$ac_ext <<_ACEOF
15746 /* end confdefs.h. */
15756 rm -f conftest.
$ac_objext conftest
$ac_exeext
15757 if { (ac_try
="$ac_link"
15758 case "(($ac_try" in
15759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15760 *) ac_try_echo=$ac_try;;
15762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15763 (eval "$ac_link") 2>conftest.er1
15765 grep -v '^ *+' conftest.er1 >conftest.err
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15771 { (case "(($ac_try" in
15772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15773 *) ac_try_echo
=$ac_try;;
15775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15776 (eval "$ac_try") 2>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; } &&
15780 { ac_try
='test -s conftest$ac_exeext'
15781 { (case "(($ac_try" in
15782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15783 *) ac_try_echo=$ac_try;;
15785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15786 (eval "$ac_try") 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; }; then
15791 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15793 # Check for a 64-bit object if we didn't find anything.
15794 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; }
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15803 rm -f core conftest.err conftest.$ac_objext \
15804 conftest$ac_exeext conftest.$ac_ext
15805 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15807 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15808 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"
15810 if test "$host_cpu" = ia64; then
15811 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15812 allow_undefined_flag="-z nodefs"
15813 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"
15815 # Determine the default libpath from the value encoded in an empty executable.
15816 cat >conftest.$ac_ext <<_ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15831 rm -f conftest.$ac_objext conftest$ac_exeext
15832 if { (ac_try="$ac_link"
15833 case "(($ac_try" in
15834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15835 *) ac_try_echo
=$ac_try;;
15837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15838 (eval "$ac_link") 2>conftest.er1
15840 grep -v '^ *+' conftest.er1
>conftest.err
15842 cat conftest.err
>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); } &&
15845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15846 { (case "(($ac_try" in
15847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15848 *) ac_try_echo=$ac_try;;
15850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15851 (eval "$ac_try") 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; } &&
15855 { ac_try='test -s conftest$ac_exeext'
15856 { (case "(($ac_try" in
15857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15858 *) ac_try_echo
=$ac_try;;
15860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15861 (eval "$ac_try") 2>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }; }; then
15866 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15868 # Check for a 64-bit object if we didn't find anything.
15869 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; }
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.
$ac_ext >&5
15878 rm -f core conftest.err conftest.
$ac_objext \
15879 conftest
$ac_exeext conftest.
$ac_ext
15880 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15882 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15883 # Warning - without using the other run time loading flags,
15884 # -berok will link without error, but may produce a broken library.
15885 no_undefined_flag
=' ${wl}-bernotok'
15886 allow_undefined_flag
=' ${wl}-berok'
15887 # Exported symbols can be pulled into shared objects from archives
15888 whole_archive_flag_spec
='$convenience'
15889 archive_cmds_need_lc
=yes
15890 # This is similar to how AIX traditionally builds its shared libraries.
15891 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'
15897 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)'
15898 hardcode_libdir_flag_spec
='-L$libdir'
15899 hardcode_minus_L
=yes
15900 # see comment about different semantics on the GNU ld section
15905 export_dynamic_flag_spec
=-rdynamic
15908 cygwin
* | mingw
* | pw32
*)
15909 # When not using gcc, we currently assume that we are using
15910 # Microsoft Visual C++.
15911 # hardcode_libdir_flag_spec is actually meaningless, as there is
15912 # no search path for DLLs.
15913 hardcode_libdir_flag_spec
=' '
15914 allow_undefined_flag
=unsupported
15915 # Tell ltmain to make .lib files, not .a files.
15917 # Tell ltmain to make .dll files, not .so files.
15919 # FIXME: Setting linknames here is a bad hack.
15920 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15921 # The linker will automatically build a .lib file if we build a DLL.
15922 old_archive_From_new_cmds
='true'
15923 # FIXME: Should let the user specify the lib program.
15924 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15925 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15926 enable_shared_with_static_runtimes
=yes
15929 darwin
* | rhapsody
*)
15931 rhapsody
* | darwin1.
[012])
15932 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15935 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15936 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15938 case ${MACOSX_DEPLOYMENT_TARGET} in
15940 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15943 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15949 archive_cmds_need_lc
=no
15951 hardcode_automatic
=yes
15952 hardcode_shlibpath_var
=unsupported
15953 whole_archive_flag_spec
=''
15954 link_all_deplibs
=yes
15955 if test "$GCC" = yes ; then
15956 output_verbose_link_cmd
='echo'
15957 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15958 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15959 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15960 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}'
15961 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}'
15963 case $cc_basename in
15965 output_verbose_link_cmd
='echo'
15966 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15967 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15968 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15969 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}'
15970 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}'
15980 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15981 hardcode_libdir_flag_spec
='-L$libdir'
15982 hardcode_shlibpath_var
=no
15989 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15990 # support. Future versions do this automatically, but an explicit c++rt0.o
15991 # does not break anything, and helps significantly (at the cost of a little
15994 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15995 hardcode_libdir_flag_spec
='-R$libdir'
15996 hardcode_direct
=yes
15997 hardcode_shlibpath_var
=no
16000 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16002 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16003 hardcode_direct
=yes
16004 hardcode_minus_L
=yes
16005 hardcode_shlibpath_var
=no
16008 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16009 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16010 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16011 hardcode_libdir_flag_spec
='-R$libdir'
16012 hardcode_direct
=yes
16013 hardcode_shlibpath_var
=no
16017 if test "$GCC" = yes; then
16018 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'
16020 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'
16022 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
16023 hardcode_libdir_separator
=:
16024 hardcode_direct
=yes
16026 # hardcode_minus_L: Not really in the search PATH,
16027 # but as the default location of the library.
16028 hardcode_minus_L
=yes
16029 export_dynamic_flag_spec
='${wl}-E'
16033 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16034 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16036 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16038 if test "$with_gnu_ld" = no
; then
16039 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
16040 hardcode_libdir_separator
=:
16042 hardcode_direct
=yes
16043 export_dynamic_flag_spec
='${wl}-E'
16045 # hardcode_minus_L: Not really in the search PATH,
16046 # but as the default location of the library.
16047 hardcode_minus_L
=yes
16052 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16055 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16058 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16061 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16067 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16070 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16073 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16077 if test "$with_gnu_ld" = no
; then
16078 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
16079 hardcode_libdir_separator
=:
16083 hardcode_libdir_flag_spec_ld
='+b $libdir'
16085 hardcode_shlibpath_var
=no
16088 hardcode_direct
=yes
16089 export_dynamic_flag_spec
='${wl}-E'
16091 # hardcode_minus_L: Not really in the search PATH,
16092 # but as the default location of the library.
16093 hardcode_minus_L
=yes
16099 irix5
* | irix6
* | nonstopux
*)
16100 if test "$GCC" = yes; then
16101 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'
16103 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'
16104 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
16106 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
16107 hardcode_libdir_separator
=:
16108 link_all_deplibs
=yes
16112 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16113 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16115 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16117 hardcode_libdir_flag_spec
='-R$libdir'
16118 hardcode_direct
=yes
16119 hardcode_shlibpath_var
=no
16123 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16124 hardcode_direct
=yes
16125 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
16126 hardcode_libdir_separator
=:
16127 hardcode_shlibpath_var
=no
16131 hardcode_direct
=yes
16132 hardcode_shlibpath_var
=no
16133 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16134 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16135 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16136 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
16137 export_dynamic_flag_spec
='${wl}-E'
16140 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16141 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16142 hardcode_libdir_flag_spec
='-R$libdir'
16145 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16146 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
16153 hardcode_libdir_flag_spec
='-L$libdir'
16154 hardcode_minus_L
=yes
16155 allow_undefined_flag
=unsupported
16156 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'
16157 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16161 if test "$GCC" = yes; then
16162 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
16163 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'
16165 allow_undefined_flag
=' -expect_unresolved \*'
16166 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'
16168 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
16169 hardcode_libdir_separator
=:
16172 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16173 if test "$GCC" = yes; then
16174 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
16175 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'
16176 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
16178 allow_undefined_flag
=' -expect_unresolved \*'
16179 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'
16180 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16181 $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'
16183 # Both c and cxx compiler support -rpath directly
16184 hardcode_libdir_flag_spec
='-rpath $libdir'
16186 hardcode_libdir_separator
=:
16190 no_undefined_flag
=' -z text'
16191 if test "$GCC" = yes; then
16193 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16194 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16195 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16198 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16199 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16200 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16202 hardcode_libdir_flag_spec
='-R$libdir'
16203 hardcode_shlibpath_var
=no
16205 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16207 # The compiler driver will combine linker options so we
16208 # cannot just pass the convience library names through
16209 # without $wl, iff we do not link with $LD.
16210 # Luckily, gcc supports the same syntax we need for Sun Studio.
16211 # Supported since Solaris 2.6 (maybe 2.5.1?)
16214 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
16216 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' ;;
16219 link_all_deplibs
=yes
16223 if test "x$host_vendor" = xsequent
; then
16224 # Use $CC to link under sequent, because it throws in some extra .o
16225 # files that make .init and .fini sections work.
16226 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16228 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16230 hardcode_libdir_flag_spec
='-L$libdir'
16231 hardcode_direct
=yes
16232 hardcode_minus_L
=yes
16233 hardcode_shlibpath_var
=no
16237 case $host_vendor in
16239 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16240 hardcode_direct
=yes # is this really true???
16243 ## LD is ld it makes a PLAMLIB
16244 ## CC just makes a GrossModule.
16245 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16246 reload_cmds
='$CC -r -o $output$reload_objs'
16250 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16251 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
16254 runpath_var
='LD_RUN_PATH'
16255 hardcode_shlibpath_var
=no
16259 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16260 hardcode_shlibpath_var
=no
16261 export_dynamic_flag_spec
='-Bexport'
16265 if test -d /usr
/nec
; then
16266 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16267 hardcode_shlibpath_var
=no
16268 runpath_var
=LD_RUN_PATH
16269 hardcode_runpath_var
=yes
16274 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16275 no_undefined_flag
='${wl}-z,text'
16276 archive_cmds_need_lc
=no
16277 hardcode_shlibpath_var
=no
16278 runpath_var
='LD_RUN_PATH'
16280 if test "$GCC" = yes; then
16281 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16282 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16284 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16285 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16289 sysv5
* | sco3.2v5
* | sco5v6
*)
16290 # Note: We can NOT use -z defs as we might desire, because we do not
16291 # link with -lc, and that would cause any symbols used from libc to
16292 # always be unresolved, which means just about no library would
16293 # ever link correctly. If we're not using GNU ld we use -z text
16294 # though, which does catch some bad symbols but isn't as heavy-handed
16296 no_undefined_flag
='${wl}-z,text'
16297 allow_undefined_flag
='${wl}-z,nodefs'
16298 archive_cmds_need_lc
=no
16299 hardcode_shlibpath_var
=no
16300 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16301 hardcode_libdir_separator
=':'
16302 link_all_deplibs
=yes
16303 export_dynamic_flag_spec
='${wl}-Bexport'
16304 runpath_var
='LD_RUN_PATH'
16306 if test "$GCC" = yes; then
16307 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16308 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16310 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16311 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16316 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16317 hardcode_libdir_flag_spec
='-L$libdir'
16318 hardcode_shlibpath_var
=no
16327 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16328 echo "${ECHO_T}$ld_shlibs" >&6; }
16329 test "$ld_shlibs" = no
&& can_build_shared
=no
16332 # Do we need to explicitly link libc?
16334 case "x$archive_cmds_need_lc" in
16336 # Assume -lc should be added
16337 archive_cmds_need_lc
=yes
16339 if test "$enable_shared" = yes && test "$GCC" = yes; then
16340 case $archive_cmds in
16342 # FIXME: we may have to deal with multi-command sequences.
16345 # Test whether the compiler implicitly links with -lc since on some
16346 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16347 # to ld, don't add -lc before -lgcc.
16348 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16349 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16351 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16354 (eval $ac_compile) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); } 2>conftest.err
; then
16360 libobjs
=conftest.
$ac_objext
16362 wl
=$lt_prog_compiler_wl
16363 pic_flag
=$lt_prog_compiler_pic
16369 lt_save_allow_undefined_flag
=$allow_undefined_flag
16370 allow_undefined_flag
=
16371 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16372 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }
16377 archive_cmds_need_lc
=no
16379 archive_cmds_need_lc
=yes
16381 allow_undefined_flag
=$lt_save_allow_undefined_flag
16383 cat conftest.err
1>&5
16386 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16387 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16394 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16395 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16396 library_names_spec
=
16397 libname_spec
='lib$name'
16401 postuninstall_cmds
=
16405 shlibpath_overrides_runpath
=unknown
16407 dynamic_linker
="$host_os ld.so"
16408 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16409 if test "$GCC" = yes; then
16410 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16411 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16412 # if the path contains ";" then we assume it to be the separator
16413 # otherwise default to the standard path separator (i.e. ":") - it is
16414 # assumed that no part of a normal pathname contains ";" but that should
16415 # okay in the real world where ";" in dirpaths is itself problematic.
16416 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16418 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16421 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16423 need_lib_prefix
=unknown
16424 hardcode_into_libs
=no
16426 # when you set need_version to no, make sure it does not cause -set_version
16427 # flags to be left without arguments
16428 need_version
=unknown
16433 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16434 shlibpath_var
=LIBPATH
16436 # AIX 3 has no versioning support, so we append a major version to the name.
16437 soname_spec
='${libname}${release}${shared_ext}$major'
16444 hardcode_into_libs
=yes
16445 if test "$host_cpu" = ia64
; then
16446 # AIX 5 supports IA64
16447 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16448 shlibpath_var
=LD_LIBRARY_PATH
16450 # With GCC up to 2.95.x, collect2 would create an import file
16451 # for dependence libraries. The import file would start with
16452 # the line `#! .'. This would cause the generated library to
16453 # depend on `.', always an invalid library. This was fixed in
16454 # development snapshots of GCC prior to 3.0.
16456 aix4 | aix4.
[01] | aix4.
[01].
*)
16457 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16459 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16462 can_build_shared
=no
16466 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16467 # soname into executable. Probably we can add versioning support to
16468 # collect2, so additional links can be useful in future.
16469 if test "$aix_use_runtimelinking" = yes; then
16470 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16471 # instead of lib<name>.a to let people know that these are not
16472 # typical AIX shared libraries.
16473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16475 # We preserve .a as extension for shared libraries through AIX4.2
16476 # and later when we are not doing run time linking.
16477 library_names_spec
='${libname}${release}.a $libname.a'
16478 soname_spec
='${libname}${release}${shared_ext}$major'
16480 shlibpath_var
=LIBPATH
16485 library_names_spec
='$libname.ixlibrary $libname.a'
16486 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16487 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'
16491 library_names_spec
='${libname}${shared_ext}'
16492 dynamic_linker
="$host_os ld.so"
16493 shlibpath_var
=LIBRARY_PATH
16499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16500 soname_spec
='${libname}${release}${shared_ext}$major'
16501 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16502 shlibpath_var
=LD_LIBRARY_PATH
16503 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16504 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16505 # the default ld.so.conf also contains /usr/contrib/lib and
16506 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16507 # libtool to hard-code these into programs
16510 cygwin
* | mingw
* | pw32
*)
16511 version_type
=windows
16516 case $GCC,$host_os in
16517 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16518 library_names_spec
='$libname.dll.a'
16519 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16520 postinstall_cmds
='base_file=`basename \${file}`~
16521 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16522 dldir=$destdir/`dirname \$dlpath`~
16523 test -d \$dldir || mkdir -p \$dldir~
16524 $install_prog $dir/$dlname \$dldir/$dlname~
16525 chmod a+x \$dldir/$dlname'
16526 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16527 dlpath=$dir/\$dldll~
16529 shlibpath_overrides_runpath
=yes
16533 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16534 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16535 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16538 # MinGW DLLs use traditional 'lib' prefix
16539 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16540 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16541 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16542 # It is most probably a Windows format PATH printed by
16543 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16544 # path with ; separators, and with drive letters. We can handle the
16545 # drive letters (cygwin fileutils understands them), so leave them,
16546 # especially as we might pass files found there to a mingw objdump,
16547 # which wouldn't understand a cygwinified path. Ahh.
16548 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16550 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16554 # pw32 DLLs use 'pw' prefix rather than 'lib'
16555 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16561 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16564 dynamic_linker
='Win32 ld.exe'
16565 # FIXME: first we should search . and the directory the executable is in
16569 darwin
* | rhapsody
*)
16570 dynamic_linker
="$host_os dyld"
16571 version_type
=darwin
16574 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16575 soname_spec
='${libname}${release}${major}$shared_ext'
16576 shlibpath_overrides_runpath
=yes
16577 shlibpath_var
=DYLD_LIBRARY_PATH
16578 shrext_cmds
='.dylib'
16579 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16580 if test "$GCC" = yes; then
16581 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"`
16583 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16585 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16593 soname_spec
='${libname}${release}${shared_ext}$major'
16594 shlibpath_var
=LD_LIBRARY_PATH
16605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16606 soname_spec
='${libname}${release}${shared_ext}$major'
16607 shlibpath_var
=LD_LIBRARY_PATH
16608 shlibpath_overrides_runpath
=no
16609 hardcode_into_libs
=yes
16610 dynamic_linker
='GNU ld.so'
16613 freebsd
* | dragonfly
*)
16614 # DragonFly does not have aout. When/if they implement a new
16615 # versioning mechanism, adjust this.
16616 if test -x /usr
/bin
/objformat
; then
16617 objformat
=`/usr/bin/objformat`
16620 freebsd
[123]*) objformat
=aout
;;
16621 *) objformat
=elf
;;
16624 version_type
=freebsd-
$objformat
16625 case $version_type in
16627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16632 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16636 shlibpath_var
=LD_LIBRARY_PATH
16639 shlibpath_overrides_runpath
=yes
16641 freebsd3.
[01]* | freebsdelf3.
[01]*)
16642 shlibpath_overrides_runpath
=yes
16643 hardcode_into_libs
=yes
16645 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16646 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16647 shlibpath_overrides_runpath
=no
16648 hardcode_into_libs
=yes
16650 freebsd
*) # from 4.6 on
16651 shlibpath_overrides_runpath
=yes
16652 hardcode_into_libs
=yes
16661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16662 soname_spec
='${libname}${release}${shared_ext}$major'
16663 shlibpath_var
=LD_LIBRARY_PATH
16664 hardcode_into_libs
=yes
16667 hpux9
* | hpux10
* | hpux11
*)
16668 # Give a soname corresponding to the major version so that dld.sl refuses to
16669 # link against other versions.
16676 hardcode_into_libs
=yes
16677 dynamic_linker
="$host_os dld.so"
16678 shlibpath_var
=LD_LIBRARY_PATH
16679 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16681 soname_spec
='${libname}${release}${shared_ext}$major'
16682 if test "X$HPUX_IA64_MODE" = X32
; then
16683 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16685 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16687 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16691 hardcode_into_libs
=yes
16692 dynamic_linker
="$host_os dld.sl"
16693 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16694 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16696 soname_spec
='${libname}${release}${shared_ext}$major'
16697 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16698 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16702 dynamic_linker
="$host_os dld.sl"
16703 shlibpath_var
=SHLIB_PATH
16704 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16706 soname_spec
='${libname}${release}${shared_ext}$major'
16709 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16710 postinstall_cmds
='chmod 555 $lib'
16717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16718 soname_spec
='${libname}${release}${shared_ext}$major'
16719 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16720 shlibpath_var
=LD_LIBRARY_PATH
16721 shlibpath_overrides_runpath
=no
16722 hardcode_into_libs
=yes
16725 irix5
* | irix6
* | nonstopux
*)
16727 nonstopux
*) version_type
=nonstopux
;;
16729 if test "$lt_cv_prog_gnu_ld" = yes; then
16737 soname_spec
='${libname}${release}${shared_ext}$major'
16738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16740 irix5
* | nonstopux
*)
16741 libsuff
= shlibsuff
=
16744 case $LD in # libtool.m4 will add one of these switches to LD
16745 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16746 libsuff
= shlibsuff
= libmagic
=32-bit;;
16747 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16748 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16749 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16750 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16751 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16755 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16756 shlibpath_overrides_runpath
=no
16757 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16758 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16759 hardcode_into_libs
=yes
16762 # No shared lib support for Linux oldld, aout, or coff.
16763 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16767 # This must be Linux ELF.
16772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16773 soname_spec
='${libname}${release}${shared_ext}$major'
16774 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16775 shlibpath_var
=LD_LIBRARY_PATH
16776 shlibpath_overrides_runpath
=no
16777 # This implies no fast_install, which is unacceptable.
16778 # Some rework will be needed to allow for fast_install
16779 # before this can be enabled.
16780 hardcode_into_libs
=yes
16782 # Append ld.so.conf contents to the search path
16783 if test -f /etc
/ld.so.conf
; then
16784 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' ' '`
16785 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16788 # We used to test for /lib/ld.so.1 and disable shared libraries on
16789 # powerpc, because MkLinux only supported shared libraries with the
16790 # GNU dynamic linker. Since this was broken with cross compilers,
16791 # most powerpc-linux boxes support dynamic linking these days and
16792 # people can always --disable-shared, the test was removed, and we
16793 # assume the GNU/Linux dynamic linker is in use.
16794 dynamic_linker
='GNU/Linux ld.so'
16801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16802 soname_spec
='${libname}${release}${shared_ext}$major'
16803 shlibpath_var
=LD_LIBRARY_PATH
16804 shlibpath_overrides_runpath
=no
16805 hardcode_into_libs
=yes
16806 dynamic_linker
='GNU ld.so'
16813 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16815 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16816 dynamic_linker
='NetBSD (a.out) ld.so'
16818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16819 soname_spec
='${libname}${release}${shared_ext}$major'
16820 dynamic_linker
='NetBSD ld.elf_so'
16822 shlibpath_var
=LD_LIBRARY_PATH
16823 shlibpath_overrides_runpath
=yes
16824 hardcode_into_libs
=yes
16829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16830 shlibpath_var
=LD_LIBRARY_PATH
16831 shlibpath_overrides_runpath
=yes
16838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16839 soname_spec
='${libname}${release}${shared_ext}$major'
16840 shlibpath_var
=LD_LIBRARY_PATH
16841 shlibpath_overrides_runpath
=yes
16846 sys_lib_dlsearch_path_spec
="/usr/lib"
16848 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16850 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16851 *) need_version
=no
;;
16853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16854 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16855 shlibpath_var
=LD_LIBRARY_PATH
16856 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16858 openbsd2.
[89] | openbsd2.
[89].
*)
16859 shlibpath_overrides_runpath
=no
16862 shlibpath_overrides_runpath
=yes
16866 shlibpath_overrides_runpath
=yes
16871 libname_spec
='$name'
16874 library_names_spec
='$libname${shared_ext} $libname.a'
16875 dynamic_linker
='OS/2 ld.exe'
16876 shlibpath_var
=LIBPATH
16879 osf3
* | osf4
* | osf5
*)
16883 soname_spec
='${libname}${release}${shared_ext}$major'
16884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16885 shlibpath_var
=LD_LIBRARY_PATH
16886 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16887 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16895 soname_spec
='${libname}${release}${shared_ext}$major'
16896 shlibpath_var
=LD_LIBRARY_PATH
16897 shlibpath_overrides_runpath
=yes
16898 hardcode_into_libs
=yes
16899 # ldd complains unless libraries are executable
16900 postinstall_cmds
='chmod +x $lib'
16905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16906 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16907 shlibpath_var
=LD_LIBRARY_PATH
16908 shlibpath_overrides_runpath
=yes
16909 if test "$with_gnu_ld" = yes; then
16917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16918 soname_spec
='${libname}${release}${shared_ext}$major'
16919 shlibpath_var
=LD_LIBRARY_PATH
16920 case $host_vendor in
16922 shlibpath_overrides_runpath
=no
16924 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16925 runpath_var
=LD_RUN_PATH
16933 shlibpath_overrides_runpath
=no
16934 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16940 if test -d /usr
/nec
;then
16942 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16943 soname_spec
='$libname${shared_ext}.$major'
16944 shlibpath_var
=LD_LIBRARY_PATH
16948 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16949 version_type
=freebsd-elf
16952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16953 soname_spec
='${libname}${release}${shared_ext}$major'
16954 shlibpath_var
=LD_LIBRARY_PATH
16955 hardcode_into_libs
=yes
16956 if test "$with_gnu_ld" = yes; then
16957 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16958 shlibpath_overrides_runpath
=no
16960 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16961 shlibpath_overrides_runpath
=yes
16964 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16968 sys_lib_dlsearch_path_spec
='/usr/lib'
16973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16974 soname_spec
='${libname}${release}${shared_ext}$major'
16975 shlibpath_var
=LD_LIBRARY_PATH
16982 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16983 echo "${ECHO_T}$dynamic_linker" >&6; }
16984 test "$dynamic_linker" = no
&& can_build_shared
=no
16986 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16987 if test "$GCC" = yes; then
16988 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16991 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16992 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16994 if test -n "$hardcode_libdir_flag_spec" || \
16995 test -n "$runpath_var" || \
16996 test "X$hardcode_automatic" = "Xyes" ; then
16998 # We can hardcode non-existant directories.
16999 if test "$hardcode_direct" != no
&&
17000 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17001 # have to relink, otherwise we might link with an installed library
17002 # when we should be linking with a yet-to-be-installed one
17003 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
17004 test "$hardcode_minus_L" != no
; then
17005 # Linking always hardcodes the temporary library directory.
17006 hardcode_action
=relink
17008 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17009 hardcode_action
=immediate
17012 # We cannot hardcode anything, or else we can only hardcode existing
17014 hardcode_action
=unsupported
17016 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
17017 echo "${ECHO_T}$hardcode_action" >&6; }
17019 if test "$hardcode_action" = relink
; then
17020 # Fast installation is not supported
17021 enable_fast_install
=no
17022 elif test "$shlibpath_overrides_runpath" = yes ||
17023 test "$enable_shared" = no
; then
17024 # Fast installation is not necessary
17025 enable_fast_install
=needless
17030 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17031 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17032 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17033 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17034 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17035 { echo "$as_me:$LINENO: result: yes" >&5
17036 echo "${ECHO_T}yes" >&6; }
17038 # FIXME - insert some real tests, host_os isn't really good enough
17041 if test -n "$STRIP" ; then
17042 striplib
="$STRIP -x"
17043 { echo "$as_me:$LINENO: result: yes" >&5
17044 echo "${ECHO_T}yes" >&6; }
17046 { echo "$as_me:$LINENO: result: no" >&5
17047 echo "${ECHO_T}no" >&6; }
17051 { echo "$as_me:$LINENO: result: no" >&5
17052 echo "${ECHO_T}no" >&6; }
17057 if test "x$enable_dlopen" != xyes
; then
17058 enable_dlopen
=unknown
17059 enable_dlopen_self
=unknown
17060 enable_dlopen_self_static
=unknown
17067 lt_cv_dlopen
="load_add_on"
17069 lt_cv_dlopen_self
=yes
17073 lt_cv_dlopen
="LoadLibrary"
17078 lt_cv_dlopen
="dlopen"
17083 # if libdl is installed we need to link against it
17084 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17085 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17086 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 ac_check_lib_save_LIBS
=$LIBS
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17098 /* Override any GCC internal prototype to avoid an error.
17099 Use char because int might match the return type of a GCC
17100 builtin and then its argument prototype would still apply. */
17113 rm -f conftest.
$ac_objext conftest
$ac_exeext
17114 if { (ac_try
="$ac_link"
17115 case "(($ac_try" in
17116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17117 *) ac_try_echo=$ac_try;;
17119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17120 (eval "$ac_link") 2>conftest.er1
17122 grep -v '^ *+' conftest.er1 >conftest.err
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } &&
17127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17128 { (case "(($ac_try" in
17129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17130 *) ac_try_echo
=$ac_try;;
17132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17133 (eval "$ac_try") 2>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; } &&
17137 { ac_try
='test -s conftest$ac_exeext'
17138 { (case "(($ac_try" in
17139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17140 *) ac_try_echo=$ac_try;;
17142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17143 (eval "$ac_try") 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17147 ac_cv_lib_dl_dlopen=yes
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17152 ac_cv_lib_dl_dlopen=no
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17157 LIBS=$ac_check_lib_save_LIBS
17159 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17160 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17161 if test $ac_cv_lib_dl_dlopen = yes; then
17162 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17165 lt_cv_dlopen="dyld"
17167 lt_cv_dlopen_self=yes
17174 { echo "$as_me:$LINENO: checking for shl_load" >&5
17175 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17176 if test "${ac_cv_func_shl_load+set}" = set; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17179 cat >conftest.$ac_ext <<_ACEOF
17182 cat confdefs.h >>conftest.$ac_ext
17183 cat >>conftest.$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17185 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17187 #define shl_load innocuous_shl_load
17189 /* System header to define __stub macros and hopefully few prototypes,
17190 which can conflict with char shl_load (); below.
17191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17192 <limits.h> exists even on freestanding compilers. */
17195 # include <limits.h>
17197 # include <assert.h>
17202 /* Override any GCC internal prototype to avoid an error.
17203 Use char because int might match the return type of a GCC
17204 builtin and then its argument prototype would still apply. */
17209 /* The GNU C library defines this for functions which it implements
17210 to always fail with ENOSYS. Some functions are actually named
17211 something starting with __ and the normal name is an alias. */
17212 #if defined __stub_shl_load || defined __stub___shl_load
17219 return shl_load ();
17224 rm -f conftest.$ac_objext conftest$ac_exeext
17225 if { (ac_try="$ac_link"
17226 case "(($ac_try" in
17227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17228 *) ac_try_echo
=$ac_try;;
17230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17231 (eval "$ac_link") 2>conftest.er1
17233 grep -v '^ *+' conftest.er1
>conftest.err
17235 cat conftest.err
>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } &&
17238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17239 { (case "(($ac_try" in
17240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_try") 2>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }; } &&
17248 { ac_try='test -s conftest$ac_exeext'
17249 { (case "(($ac_try" in
17250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17251 *) ac_try_echo
=$ac_try;;
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_try") 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; }; then
17258 ac_cv_func_shl_load
=yes
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.
$ac_ext >&5
17263 ac_cv_func_shl_load
=no
17266 rm -f core conftest.err conftest.
$ac_objext \
17267 conftest
$ac_exeext conftest.
$ac_ext
17269 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17270 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17271 if test $ac_cv_func_shl_load = yes; then
17272 lt_cv_dlopen
="shl_load"
17274 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17275 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17276 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 ac_check_lib_save_LIBS
=$LIBS
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17288 /* Override any GCC internal prototype to avoid an error.
17289 Use char because int might match the return type of a GCC
17290 builtin and then its argument prototype would still apply. */
17298 return shl_load ();
17303 rm -f conftest.
$ac_objext conftest
$ac_exeext
17304 if { (ac_try
="$ac_link"
17305 case "(($ac_try" in
17306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_link") 2>conftest.er1
17312 grep -v '^ *+' conftest.er1 >conftest.err
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } &&
17317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17318 { (case "(($ac_try" in
17319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17320 *) ac_try_echo
=$ac_try;;
17322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_try") 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try
='test -s conftest$ac_exeext'
17328 { (case "(($ac_try" in
17329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17330 *) ac_try_echo=$ac_try;;
17332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17333 (eval "$ac_try") 2>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; }; then
17337 ac_cv_lib_dld_shl_load=yes
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.$ac_ext >&5
17342 ac_cv_lib_dld_shl_load=no
17345 rm -f core conftest.err conftest.$ac_objext \
17346 conftest$ac_exeext conftest.$ac_ext
17347 LIBS=$ac_check_lib_save_LIBS
17349 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17350 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17351 if test $ac_cv_lib_dld_shl_load = yes; then
17352 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17354 { echo "$as_me:$LINENO: checking for dlopen" >&5
17355 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17356 if test "${ac_cv_func_dlopen+set}" = set; then
17357 echo $ECHO_N "(cached) $ECHO_C" >&6
17359 cat >conftest.$ac_ext <<_ACEOF
17362 cat confdefs.h >>conftest.$ac_ext
17363 cat >>conftest.$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17365 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17367 #define dlopen innocuous_dlopen
17369 /* System header to define __stub macros and hopefully few prototypes,
17370 which can conflict with char dlopen (); below.
17371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17372 <limits.h> exists even on freestanding compilers. */
17375 # include <limits.h>
17377 # include <assert.h>
17382 /* Override any GCC internal prototype to avoid an error.
17383 Use char because int might match the return type of a GCC
17384 builtin and then its argument prototype would still apply. */
17389 /* The GNU C library defines this for functions which it implements
17390 to always fail with ENOSYS. Some functions are actually named
17391 something starting with __ and the normal name is an alias. */
17392 #if defined __stub_dlopen || defined __stub___dlopen
17404 rm -f conftest.$ac_objext conftest$ac_exeext
17405 if { (ac_try="$ac_link"
17406 case "(($ac_try" in
17407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17408 *) ac_try_echo
=$ac_try;;
17410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 (eval "$ac_link") 2>conftest.er1
17413 grep -v '^ *+' conftest.er1
>conftest.err
17415 cat conftest.err
>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } &&
17418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17419 { (case "(($ac_try" in
17420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17421 *) ac_try_echo=$ac_try;;
17423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17424 (eval "$ac_try") 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; } &&
17428 { ac_try='test -s conftest$ac_exeext'
17429 { (case "(($ac_try" in
17430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17431 *) ac_try_echo
=$ac_try;;
17433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17434 (eval "$ac_try") 2>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; }; then
17438 ac_cv_func_dlopen
=yes
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.
$ac_ext >&5
17443 ac_cv_func_dlopen
=no
17446 rm -f core conftest.err conftest.
$ac_objext \
17447 conftest
$ac_exeext conftest.
$ac_ext
17449 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17450 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17451 if test $ac_cv_func_dlopen = yes; then
17452 lt_cv_dlopen
="dlopen"
17454 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17455 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17456 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17457 echo $ECHO_N "(cached) $ECHO_C" >&6
17459 ac_check_lib_save_LIBS
=$LIBS
17461 cat >conftest.
$ac_ext <<_ACEOF
17464 cat confdefs.h
>>conftest.
$ac_ext
17465 cat >>conftest.
$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17468 /* Override any GCC internal prototype to avoid an error.
17469 Use char because int might match the return type of a GCC
17470 builtin and then its argument prototype would still apply. */
17483 rm -f conftest.
$ac_objext conftest
$ac_exeext
17484 if { (ac_try
="$ac_link"
17485 case "(($ac_try" in
17486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17487 *) ac_try_echo=$ac_try;;
17489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17490 (eval "$ac_link") 2>conftest.er1
17492 grep -v '^ *+' conftest.er1 >conftest.err
17494 cat conftest.err >&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } &&
17497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17498 { (case "(($ac_try" in
17499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17500 *) ac_try_echo
=$ac_try;;
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_try") 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try
='test -s conftest$ac_exeext'
17508 { (case "(($ac_try" in
17509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17510 *) ac_try_echo=$ac_try;;
17512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17513 (eval "$ac_try") 2>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; }; then
17517 ac_cv_lib_dl_dlopen=yes
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17522 ac_cv_lib_dl_dlopen=no
17525 rm -f core conftest.err conftest.$ac_objext \
17526 conftest$ac_exeext conftest.$ac_ext
17527 LIBS=$ac_check_lib_save_LIBS
17529 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17530 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17531 if test $ac_cv_lib_dl_dlopen = yes; then
17532 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17534 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17535 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17536 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17537 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 ac_check_lib_save_LIBS=$LIBS
17540 LIBS="-lsvld $LIBS"
17541 cat >conftest.$ac_ext <<_ACEOF
17544 cat confdefs.h >>conftest.$ac_ext
17545 cat >>conftest.$ac_ext <<_ACEOF
17546 /* end confdefs.h. */
17548 /* Override any GCC internal prototype to avoid an error.
17549 Use char because int might match the return type of a GCC
17550 builtin and then its argument prototype would still apply. */
17563 rm -f conftest.$ac_objext conftest$ac_exeext
17564 if { (ac_try="$ac_link"
17565 case "(($ac_try" in
17566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17567 *) ac_try_echo
=$ac_try;;
17569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17570 (eval "$ac_link") 2>conftest.er1
17572 grep -v '^ *+' conftest.er1
>conftest.err
17574 cat conftest.err
>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17578 { (case "(($ac_try" in
17579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_try") 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; } &&
17587 { ac_try='test -s conftest$ac_exeext'
17588 { (case "(($ac_try" in
17589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17590 *) ac_try_echo
=$ac_try;;
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_try") 2>&5
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); }; }; then
17597 ac_cv_lib_svld_dlopen
=yes
17599 echo "$as_me: failed program was:" >&5
17600 sed 's/^/| /' conftest.
$ac_ext >&5
17602 ac_cv_lib_svld_dlopen
=no
17605 rm -f core conftest.err conftest.
$ac_objext \
17606 conftest
$ac_exeext conftest.
$ac_ext
17607 LIBS
=$ac_check_lib_save_LIBS
17609 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17610 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17611 if test $ac_cv_lib_svld_dlopen = yes; then
17612 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17614 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17615 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17616 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 ac_check_lib_save_LIBS
=$LIBS
17621 cat >conftest.
$ac_ext <<_ACEOF
17624 cat confdefs.h
>>conftest.
$ac_ext
17625 cat >>conftest.
$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17628 /* Override any GCC internal prototype to avoid an error.
17629 Use char because int might match the return type of a GCC
17630 builtin and then its argument prototype would still apply. */
17638 return dld_link ();
17643 rm -f conftest.
$ac_objext conftest
$ac_exeext
17644 if { (ac_try
="$ac_link"
17645 case "(($ac_try" in
17646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_link") 2>conftest.er1
17652 grep -v '^ *+' conftest.er1 >conftest.err
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } &&
17657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17658 { (case "(($ac_try" in
17659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17660 *) ac_try_echo
=$ac_try;;
17662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17663 (eval "$ac_try") 2>&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); }; } &&
17667 { ac_try
='test -s conftest$ac_exeext'
17668 { (case "(($ac_try" in
17669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17670 *) ac_try_echo=$ac_try;;
17672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17673 (eval "$ac_try") 2>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }; }; then
17677 ac_cv_lib_dld_dld_link=yes
17679 echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.$ac_ext >&5
17682 ac_cv_lib_dld_dld_link=no
17685 rm -f core conftest.err conftest.$ac_objext \
17686 conftest$ac_exeext conftest.$ac_ext
17687 LIBS=$ac_check_lib_save_LIBS
17689 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17690 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17691 if test $ac_cv_lib_dld_dld_link = yes; then
17692 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17713 if test "x$lt_cv_dlopen" != xno; then
17719 case $lt_cv_dlopen in
17721 save_CPPFLAGS="$CPPFLAGS"
17722 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17724 save_LDFLAGS="$LDFLAGS"
17725 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17728 LIBS="$lt_cv_dlopen_libs $LIBS"
17730 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17731 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17732 if test "${lt_cv_dlopen_self+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 if test "$cross_compiling" = yes; then :
17736 lt_cv_dlopen_self=cross
17738 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17739 lt_status=$lt_dlunknown
17740 cat > conftest.$ac_ext <<EOF
17741 #line 17741 "configure"
17742 #include "confdefs.h"
17751 # define LT_DLGLOBAL RTLD_GLOBAL
17754 # define LT_DLGLOBAL DL_GLOBAL
17756 # define LT_DLGLOBAL 0
17760 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17761 find out it does not work in some platform. */
17762 #ifndef LT_DLLAZY_OR_NOW
17764 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17767 # define LT_DLLAZY_OR_NOW DL_LAZY
17770 # define LT_DLLAZY_OR_NOW RTLD_NOW
17773 # define LT_DLLAZY_OR_NOW DL_NOW
17775 # define LT_DLLAZY_OR_NOW 0
17783 extern "C" void exit (int);
17786 void fnord() { int i=42;}
17789 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17790 int status = $lt_dlunknown;
17794 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17795 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17796 /* dlclose (self); */
17804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17805 (eval $ac_link) 2>&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17809 (./conftest; exit; ) >&5 2>/dev/null
17811 case x$lt_status in
17812 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17813 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17814 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17817 # compilation failed
17818 lt_cv_dlopen_self=no
17825 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17826 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17828 if test "x$lt_cv_dlopen_self" = xyes; then
17829 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17830 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17831 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17832 if test "${lt_cv_dlopen_self_static+set}" = set; then
17833 echo $ECHO_N "(cached) $ECHO_C" >&6
17835 if test "$cross_compiling" = yes; then :
17836 lt_cv_dlopen_self_static=cross
17838 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17839 lt_status=$lt_dlunknown
17840 cat > conftest.$ac_ext <<EOF
17841 #line 17841 "configure"
17842 #include "confdefs.h"
17851 # define LT_DLGLOBAL RTLD_GLOBAL
17854 # define LT_DLGLOBAL DL_GLOBAL
17856 # define LT_DLGLOBAL 0
17860 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17861 find out it does not work in some platform. */
17862 #ifndef LT_DLLAZY_OR_NOW
17864 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17867 # define LT_DLLAZY_OR_NOW DL_LAZY
17870 # define LT_DLLAZY_OR_NOW RTLD_NOW
17873 # define LT_DLLAZY_OR_NOW DL_NOW
17875 # define LT_DLLAZY_OR_NOW 0
17883 extern "C" void exit (int);
17886 void fnord() { int i=42;}
17889 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17890 int status = $lt_dlunknown;
17894 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17895 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17896 /* dlclose (self); */
17904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17905 (eval $ac_link) 2>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17909 (./conftest; exit; ) >&5 2>/dev/null
17911 case x$lt_status in
17912 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17913 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17914 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17917 # compilation failed
17918 lt_cv_dlopen_self_static=no
17925 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17926 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17929 CPPFLAGS="$save_CPPFLAGS"
17930 LDFLAGS="$save_LDFLAGS"
17935 case $lt_cv_dlopen_self in
17936 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17937 *) enable_dlopen_self=unknown ;;
17940 case $lt_cv_dlopen_self_static in
17941 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17942 *) enable_dlopen_self_static=unknown ;;
17947 # Report which library types will actually be built
17948 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17949 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17950 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17951 echo "${ECHO_T}$can_build_shared" >&6; }
17953 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17954 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17955 test "$can_build_shared" = "no" && enable_shared=no
17957 # On AIX, shared libraries and static libraries use the same namespace, and
17958 # are all built from PIC.
17961 test "$enable_shared" = yes && enable_static=no
17962 if test -n "$RANLIB"; then
17963 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17964 postinstall_cmds='$RANLIB $lib'
17969 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17970 test "$enable_shared" = yes && enable_static=no
17974 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17975 echo "${ECHO_T}$enable_shared" >&6; }
17977 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17978 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17979 # Make sure either enable_shared or enable_static is yes.
17980 test "$enable_shared" = yes || enable_static=yes
17981 { echo "$as_me:$LINENO: result: $enable_static" >&5
17982 echo "${ECHO_T}$enable_static" >&6; }
17984 # The else clause should only fire when bootstrapping the
17985 # libtool distribution, otherwise you forgot to ship ltmain.sh
17986 # with your package, and you will get complaints that there are
17987 # no rules to generate ltmain.sh.
17988 if test -f "$ltmain"; then
17989 # See if we are running on zsh, and set the options which allow our commands through
17990 # without removal of \ escapes.
17991 if test -n "${ZSH_VERSION+set}" ; then
17992 setopt NO_GLOB_SUBST
17994 # Now quote all the things that may contain metacharacters while being
17995 # careful not to overquote the AC_SUBSTed values. We take copies of the
17996 # variables and quote the copies for generation of the libtool script.
17997 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17999 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18000 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18001 deplibs_check_method reload_flag reload_cmds need_locks \
18002 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18003 lt_cv_sys_global_symbol_to_c_name_address \
18004 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18005 old_postinstall_cmds old_postuninstall_cmds \
18009 lt_prog_compiler_wl \
18010 lt_prog_compiler_pic \
18011 lt_prog_compiler_static \
18012 lt_prog_compiler_no_builtin_flag \
18013 export_dynamic_flag_spec \
18014 thread_safe_flag_spec \
18015 whole_archive_flag_spec \
18016 enable_shared_with_static_runtimes \
18018 old_archive_from_new_cmds \
18023 compiler_lib_search_path \
18025 archive_expsym_cmds \
18027 postuninstall_cmds \
18028 old_archive_from_expsyms_cmds \
18029 allow_undefined_flag \
18030 no_undefined_flag \
18031 export_symbols_cmds \
18032 hardcode_libdir_flag_spec \
18033 hardcode_libdir_flag_spec_ld \
18034 hardcode_libdir_separator \
18035 hardcode_automatic \
18037 module_expsym_cmds \
18038 lt_cv_prog_compiler_c_o \
18040 include_expsyms; do
18043 old_archive_cmds | \
18044 old_archive_from_new_cmds | \
18046 archive_expsym_cmds | \
18048 module_expsym_cmds | \
18049 old_archive_from_expsyms_cmds | \
18050 export_symbols_cmds | \
18051 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18052 postinstall_cmds | postuninstall_cmds | \
18053 old_postinstall_cmds | old_postuninstall_cmds | \
18054 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18055 # Double-quote double-evaled strings.
18056 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
18059 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
18065 *'\$0 --fallback-echo"')
18066 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18070 cfgfile="${ofile}T"
18071 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
18073 { echo "$as_me:$LINENO: creating $ofile" >&5
18074 echo "$as_me: creating $ofile" >&6;}
18076 cat <<__EOF__ >> "$cfgfile"
18079 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
18080 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
18081 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18083 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
18084 # Free Software Foundation, Inc.
18086 # This file is part of GNU Libtool:
18087 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
18089 # This program is free software; you can redistribute it and/or modify
18090 # it under the terms of the GNU General Public License as published by
18091 # the Free Software Foundation; either version 2 of the License, or
18092 # (at your option) any later version.
18094 # This program is distributed in the hope that it will be useful, but
18095 # WITHOUT ANY WARRANTY; without even the implied warranty of
18096 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18097 # General Public License for more details.
18099 # You should have received a copy of the GNU General Public License
18100 # along with this program; if not, write to the Free Software
18101 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18103 # As a special exception to the GNU General Public License, if you
18104 # distribute this file as part of a program that contains a
18105 # configuration script generated by Autoconf, you may include it under
18106 # the same distribution terms that you use for the rest of that program.
18108 # A sed program that does not truncate output.
18111 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18112 Xsed="$SED -e 1s/^X//"
18114 # The HP-UX ksh and POSIX shell print the target directory to stdout
18115 # if CDPATH is set.
18116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18118 # The names of the tagged configurations supported by this script.
18121 # ### BEGIN LIBTOOL CONFIG
18123 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
18125 # Shell to use when invoking shell scripts.
18128 # Whether or not to build shared libraries.
18129 build_libtool_libs=$enable_shared
18131 # Whether or not to build static libraries.
18132 build_old_libs=$enable_static
18134 # Whether or not to add -lc for building shared libraries.
18135 build_libtool_need_lc=$archive_cmds_need_lc
18137 # Whether or not to disallow shared libs when runtime libs are static
18138 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18140 # Whether or not to optimize for fast installation.
18141 fast_install=$enable_fast_install
18144 host_alias=$host_alias
18148 # The build system.
18149 build_alias=$build_alias
18153 # An echo program that does not interpret backslashes.
18158 AR_FLAGS=$lt_AR_FLAGS
18163 # LTCC compiler flags.
18164 LTCFLAGS=$lt_LTCFLAGS
18166 # A language-specific compiler.
18169 # Is the compiler the GNU C compiler?
18175 # The linker used to build libraries.
18178 # Whether we need hard or soft links.
18181 # A BSD-compatible nm program.
18184 # A symbol stripping program
18187 # Used to examine libraries when file_magic_cmd begins "file"
18188 MAGIC_CMD=$MAGIC_CMD
18190 # Used on cygwin: DLL creation program.
18193 # Used on cygwin: object dumper.
18196 # Used on cygwin: assembler.
18199 # The name of the directory that contains temporary libtool files.
18202 # How to create reloadable object files.
18203 reload_flag=$lt_reload_flag
18204 reload_cmds=$lt_reload_cmds
18206 # How to pass a linker flag through the compiler.
18207 wl=$lt_lt_prog_compiler_wl
18209 # Object file suffix (normally "o").
18210 objext="$ac_objext"
18212 # Old archive suffix (normally "a").
18215 # Shared library suffix (normally ".so").
18216 shrext_cmds='$shrext_cmds'
18218 # Executable file suffix (normally "").
18221 # Additional compiler flags for building library objects.
18222 pic_flag=$lt_lt_prog_compiler_pic
18225 # What is the maximum length of a command?
18226 max_cmd_len=$lt_cv_sys_max_cmd_len
18228 # Does compiler simultaneously support -c and -o options?
18229 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18231 # Must we lock files when doing compilation?
18232 need_locks=$lt_need_locks
18234 # Do we need the lib prefix for modules?
18235 need_lib_prefix=$need_lib_prefix
18237 # Do we need a version for libraries?
18238 need_version=$need_version
18240 # Whether dlopen is supported.
18241 dlopen_support=$enable_dlopen
18243 # Whether dlopen of programs is supported.
18244 dlopen_self=$enable_dlopen_self
18246 # Whether dlopen of statically linked programs is supported.
18247 dlopen_self_static=$enable_dlopen_self_static
18249 # Compiler flag to prevent dynamic linking.
18250 link_static_flag=$lt_lt_prog_compiler_static
18252 # Compiler flag to turn off builtin functions.
18253 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18255 # Compiler flag to allow reflexive dlopens.
18256 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18258 # Compiler flag to generate shared objects directly from archives.
18259 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18261 # Compiler flag to generate thread-safe objects.
18262 thread_safe_flag_spec=$lt_thread_safe_flag_spec
18264 # Library versioning type.
18265 version_type=$version_type
18267 # Format of library name prefix.
18268 libname_spec=$lt_libname_spec
18270 # List of archive names. First name is the real one, the rest are links.
18271 # The last name is the one that the linker finds with -lNAME.
18272 library_names_spec=$lt_library_names_spec
18274 # The coded name of the library, if different from the real name.
18275 soname_spec=$lt_soname_spec
18277 # Commands used to build and install an old-style archive.
18279 old_archive_cmds=$lt_old_archive_cmds
18280 old_postinstall_cmds=$lt_old_postinstall_cmds
18281 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18283 # Create an old-style archive from a shared archive.
18284 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18286 # Create a temporary old-style archive to link instead of a shared archive.
18287 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18289 # Commands used to build and install a shared archive.
18290 archive_cmds=$lt_archive_cmds
18291 archive_expsym_cmds=$lt_archive_expsym_cmds
18292 postinstall_cmds=$lt_postinstall_cmds
18293 postuninstall_cmds=$lt_postuninstall_cmds
18295 # Commands used to build a loadable module (assumed same as above if empty)
18296 module_cmds=$lt_module_cmds
18297 module_expsym_cmds=$lt_module_expsym_cmds
18299 # Commands to strip libraries.
18300 old_striplib=$lt_old_striplib
18301 striplib=$lt_striplib
18303 # Dependencies to place before the objects being linked to create a
18305 predep_objects=$lt_predep_objects
18307 # Dependencies to place after the objects being linked to create a
18309 postdep_objects=$lt_postdep_objects
18311 # Dependencies to place before the objects being linked to create a
18313 predeps=$lt_predeps
18315 # Dependencies to place after the objects being linked to create a
18317 postdeps=$lt_postdeps
18319 # The library search path used internally by the compiler when linking
18320 # a shared library.
18321 compiler_lib_search_path=$lt_compiler_lib_search_path
18323 # Method to check whether dependent libraries are shared objects.
18324 deplibs_check_method=$lt_deplibs_check_method
18326 # Command to use when deplibs_check_method == file_magic.
18327 file_magic_cmd=$lt_file_magic_cmd
18329 # Flag that allows shared libraries with undefined symbols to be built.
18330 allow_undefined_flag=$lt_allow_undefined_flag
18332 # Flag that forces no undefined symbols.
18333 no_undefined_flag=$lt_no_undefined_flag
18335 # Commands used to finish a libtool library installation in a directory.
18336 finish_cmds=$lt_finish_cmds
18338 # Same as above, but a single script fragment to be evaled but not shown.
18339 finish_eval=$lt_finish_eval
18341 # Take the output of nm and produce a listing of raw symbols and C names.
18342 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18344 # Transform the output of nm in a proper C declaration
18345 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18347 # Transform the output of nm in a C name address pair
18348 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18350 # This is the shared library runtime path variable.
18351 runpath_var=$runpath_var
18353 # This is the shared library path variable.
18354 shlibpath_var=$shlibpath_var
18356 # Is shlibpath searched before the hard-coded library search path?
18357 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18359 # How to hardcode a shared library path into an executable.
18360 hardcode_action=$hardcode_action
18362 # Whether we should hardcode library paths into libraries.
18363 hardcode_into_libs=$hardcode_into_libs
18365 # Flag to hardcode \$libdir into a binary during linking.
18366 # This must work even if \$libdir does not exist.
18367 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18369 # If ld is used when linking, flag to hardcode \$libdir into
18370 # a binary during linking. This must work even if \$libdir does
18372 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18374 # Whether we need a single -rpath flag with a separated argument.
18375 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18377 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18378 # resulting binary.
18379 hardcode_direct=$hardcode_direct
18381 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18382 # resulting binary.
18383 hardcode_minus_L=$hardcode_minus_L
18385 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18386 # the resulting binary.
18387 hardcode_shlibpath_var=$hardcode_shlibpath_var
18389 # Set to yes if building a shared library automatically hardcodes DIR into the library
18390 # and all subsequent libraries and executables linked against it.
18391 hardcode_automatic=$hardcode_automatic
18393 # Variables whose values should be saved in libtool wrapper scripts and
18394 # restored at relink time.
18395 variables_saved_for_relink="$variables_saved_for_relink"
18397 # Whether libtool must link a program against all its dependency libraries.
18398 link_all_deplibs=$link_all_deplibs
18400 # Compile-time system search path for libraries
18401 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18403 # Run-time system search path for libraries
18404 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18406 # Fix the shell variable \$srcfile for the compiler.
18407 fix_srcfile_path="$fix_srcfile_path"
18409 # Set to yes if exported symbols are required.
18410 always_export_symbols=$always_export_symbols
18412 # The commands to list exported symbols.
18413 export_symbols_cmds=$lt_export_symbols_cmds
18415 # The commands to extract the exported symbol list from a shared archive.
18416 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18418 # Symbols that should not be listed in the preloaded symbols.
18419 exclude_expsyms=$lt_exclude_expsyms
18421 # Symbols that must always be exported.
18422 include_expsyms=$lt_include_expsyms
18424 # ### END LIBTOOL CONFIG
18431 cat <<\EOF >> "$cfgfile"
18433 # AIX sometimes has problems with the GCC collect2 program. For some
18434 # reason, if we set the COLLECT_NAMES environment variable, the problems
18435 # vanish in a puff of smoke.
18436 if test "X${COLLECT_NAMES+set}" != Xset; then
18438 export COLLECT_NAMES
18444 # We use sed instead of cat because bash on DJGPP gets confused if
18445 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18446 # text mode, it properly converts lines to CR/LF. This bash problem
18447 # is reportedly fixed, but why not run on old versions too?
18448 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18450 mv -f "$cfgfile" "$ofile" || \
18451 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18455 # If there is no Makefile yet, we rely on a make rule to execute
18456 # `config.status
--recheck' to rerun these tests and create the
18457 # libtool script then.
18458 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
18459 if test -f "$ltmain_in"; then
18460 test -f Makefile && make "$ltmain"
18466 ac_cpp='$CPP $CPPFLAGS'
18467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18468 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18474 # Check whether --with-tags was given.
18475 if test "${with_tags+set}" = set; then
18476 withval=$with_tags; tagnames="$withval"
18480 if test -f "$ltmain" && test -n "$tagnames"; then
18481 if test ! -f "${ofile}"; then
18482 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
18483 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
18486 if test -z "$LTCC"; then
18487 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
18488 if test -z "$LTCC"; then
18489 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18490 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
18492 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
18493 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
18496 if test -z "$LTCFLAGS"; then
18497 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
18500 # Extract list of available tagged configurations in $ofile.
18501 # Note that this assumes the entire list is on one line.
18502 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18504 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18505 for tagname in $tagnames; do
18507 # Check whether tagname contains only valid characters
18508 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18510 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18511 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18512 { (exit 1); exit 1; }; }
18516 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18518 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18519 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18520 { (exit 1); exit 1; }; }
18523 # Update the list of available tags.
18524 if test -n "$tagname"; then
18525 echo appending configuration tag \"$tagname\" to $ofile
18529 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18530 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
18531 (test "X$CXX" != "Xg++"))) ; then
18533 ac_cpp='$CXXCPP $CPPFLAGS'
18534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18541 archive_cmds_need_lc_CXX=no
18542 allow_undefined_flag_CXX=
18543 always_export_symbols_CXX=no
18544 archive_expsym_cmds_CXX=
18545 export_dynamic_flag_spec_CXX=
18546 hardcode_direct_CXX=no
18547 hardcode_libdir_flag_spec_CXX=
18548 hardcode_libdir_flag_spec_ld_CXX=
18549 hardcode_libdir_separator_CXX=
18550 hardcode_minus_L_CXX=no
18551 hardcode_shlibpath_var_CXX=unsupported
18552 hardcode_automatic_CXX=no
18554 module_expsym_cmds_CXX=
18555 link_all_deplibs_CXX=unknown
18556 old_archive_cmds_CXX=$old_archive_cmds
18557 no_undefined_flag_CXX=
18558 whole_archive_flag_spec_CXX=
18559 enable_shared_with_static_runtimes_CXX=no
18561 # Dependencies to place before and after the object being linked:
18562 predep_objects_CXX=
18563 postdep_objects_CXX=
18566 compiler_lib_search_path_CXX=
18568 # Source file extension for C++ test sources.
18571 # Object file extension for compiled C++ test sources.
18575 # Code to be used in simple compile tests
18576 lt_simple_compile_test_code="int some_variable = 0;\n"
18578 # Code to be used in simple link tests
18579 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18581 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18583 # If no C compiler was specified, use CC.
18586 # If no C compiler flags were specified, use CFLAGS.
18587 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18589 # Allow CC to be a program name with arguments.
18593 # save warnings/boilerplate of simple test code
18594 ac_outfile=conftest.$ac_objext
18595 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18596 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18597 _lt_compiler_boilerplate=`cat conftest.err
`
18600 ac_outfile=conftest.$ac_objext
18601 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18602 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18603 _lt_linker_boilerplate=`cat conftest.err
`
18607 # Allow CC to be a program name with arguments.
18612 lt_save_with_gnu_ld=$with_gnu_ld
18613 lt_save_path_LD=$lt_cv_path_LD
18614 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18615 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18617 $as_unset lt_cv_prog_gnu_ld
18619 if test -n "${lt_cv_path_LDCXX+set}"; then
18620 lt_cv_path_LD=$lt_cv_path_LDCXX
18622 $as_unset lt_cv_path_LD
18624 test -z "${LDCXX+set}" || LD=$LDCXX
18628 for cc_temp in $compiler""; do
18630 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18631 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18636 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18639 # We don't want -fno-exception wen compiling C++ code, so set the
18640 # no_builtin_flag separately
18641 if test "$GXX" = yes; then
18642 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18644 lt_prog_compiler_no_builtin_flag_CXX=
18647 if test "$GXX" = yes; then
18648 # Set up default GNU C++ configuration
18651 # Check whether --with-gnu-ld was given.
18652 if test "${with_gnu_ld+set}" = set; then
18653 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18659 if test "$GCC" = yes; then
18660 # Check if gcc -print-prog-name=ld gives a path.
18661 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18662 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18665 # gcc leaves a trailing carriage return which upsets mingw
18666 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
18668 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18671 # Accept absolute paths.
18673 re_direlt='/[^/][^/]*/\.\./'
18674 # Canonicalize the pathname of ld
18675 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
18676 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18677 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
18679 test -z "$LD" && LD="$ac_prog"
18682 # If it fails, then pretend we aren't using GCC.
18686 # If it is relative, then search for the first ld in PATH.
18687 with_gnu_ld=unknown
18690 elif test "$with_gnu_ld" = yes; then
18691 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18692 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18694 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18695 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18697 if test "${lt_cv_path_LD+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 if test -z "$LD"; then
18701 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18702 for ac_dir in $PATH; do
18704 test -z "$ac_dir" && ac_dir=.
18705 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18706 lt_cv_path_LD="$ac_dir/$ac_prog"
18707 # Check to see if the program is GNU ld. I'd rather use --version,
18708 # but apparently some variants of GNU ld only accept -v.
18709 # Break only if it was the GNU/non-GNU ld that we prefer.
18710 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18711 *GNU* | *'with BFD'*)
18712 test "$with_gnu_ld" != no && break
18715 test "$with_gnu_ld" != yes && break
18722 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18726 LD="$lt_cv_path_LD"
18727 if test -n "$LD"; then
18728 { echo "$as_me:$LINENO: result: $LD" >&5
18729 echo "${ECHO_T}$LD" >&6; }
18731 { echo "$as_me:$LINENO: result: no" >&5
18732 echo "${ECHO_T}no" >&6; }
18734 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18735 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18736 { (exit 1); exit 1; }; }
18737 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18738 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18739 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18742 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18743 case `$LD -v 2>&1 </dev
/null
` in
18744 *GNU* | *'with BFD'*)
18745 lt_cv_prog_gnu_ld=yes
18748 lt_cv_prog_gnu_ld=no
18752 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18753 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18754 with_gnu_ld=$lt_cv_prog_gnu_ld
18758 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18759 # archiving commands below assume that GNU ld is being used.
18760 if test "$with_gnu_ld" = yes; then
18761 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18762 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'
18764 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18765 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18767 # If archive_cmds runs LD, not CC, wlarc should be empty
18768 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18769 # investigate it a little bit more. (MM)
18772 # ancient GNU ld didn't support --whole-archive et. al.
18773 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18774 grep 'no-whole-archive' > /dev/null; then
18775 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18777 whole_archive_flag_spec_CXX=
18783 # A generic and very simple default shared library creation
18784 # command for GNU C++ for the case where it uses the native
18785 # linker, instead of GNU ld. If possible, this setting should
18786 # overridden to take advantage of the native linker features on
18787 # the platform it is being used on.
18788 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18791 # Commands to make compiler produce verbose output that lists
18792 # what "hidden" libraries, object files and flags are used when
18793 # linking a shared library.
18794 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18802 # PORTME: fill in a description of your system's C++ link characteristics
18803 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18804 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18808 # FIXME: insert proper C++ library support
18812 if test "$host_cpu" = ia64; then
18813 # On IA64, the linker does run time linking by default, so we don't
18814 # have to do anything special.
18815 aix_use_runtimelinking=no
18816 exp_sym_flag='-Bexport'
18819 aix_use_runtimelinking=no
18821 # Test if we are trying to use run time linking or normal
18822 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18823 # need to do runtime linking.
18824 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18825 for ld_flag in $LDFLAGS; do
18828 aix_use_runtimelinking=yes
18836 exp_sym_flag='-bexport'
18837 no_entry_flag='-bnoentry'
18840 # When large executables or shared objects are built, AIX ld can
18841 # have problems creating the table of contents. If linking a library
18842 # or program results in "error TOC overflow" add -mminimal-toc to
18843 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18844 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18846 archive_cmds_CXX=''
18847 hardcode_direct_CXX=yes
18848 hardcode_libdir_separator_CXX=':'
18849 link_all_deplibs_CXX=yes
18851 if test "$GXX" = yes; then
18852 case $host_os in aix4.[012]|aix4.[012].*)
18853 # We only want to do this on AIX 4.2 and lower, the check
18854 # below for broken collect2 doesn't work under 4.3+
18855 collect2name=`${CC} -print-prog-name=collect2
`
18856 if test -f "$collect2name" && \
18857 strings "$collect2name" | grep resolve_lib_name >/dev/null
18859 # We have reworked collect2
18860 hardcode_direct_CXX=yes
18862 # We have old collect2
18863 hardcode_direct_CXX=unsupported
18864 # It fails to find uninstalled libraries when the uninstalled
18865 # path is not listed in the libpath. Setting hardcode_minus_L
18866 # to unsupported forces relinking
18867 hardcode_minus_L_CXX=yes
18868 hardcode_libdir_flag_spec_CXX='-L$libdir'
18869 hardcode_libdir_separator_CXX=
18873 shared_flag='-shared'
18874 if test "$aix_use_runtimelinking" = yes; then
18875 shared_flag="$shared_flag "'${wl}-G'
18879 if test "$host_cpu" = ia64; then
18880 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18881 # chokes on -Wl,-G. The following line is correct:
18884 if test "$aix_use_runtimelinking" = yes; then
18885 shared_flag='${wl}-G'
18887 shared_flag='${wl}-bM:SRE'
18892 # It seems that -bexpall does not export symbols beginning with
18893 # underscore (_), so it is better to generate a list of symbols to export.
18894 always_export_symbols_CXX=yes
18895 if test "$aix_use_runtimelinking" = yes; then
18896 # Warning - without using the other runtime loading flags (-brtl),
18897 # -berok will link without error, but may produce a broken library.
18898 allow_undefined_flag_CXX='-berok'
18899 # Determine the default libpath from the value encoded in an empty executable.
18900 cat >conftest.$ac_ext <<_ACEOF
18903 cat confdefs.h >>conftest.$ac_ext
18904 cat >>conftest.$ac_ext <<_ACEOF
18905 /* end confdefs.h. */
18915 rm -f conftest.$ac_objext conftest$ac_exeext
18916 if { (ac_try="$ac_link"
18917 case "(($ac_try" in
18918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18919 *) ac_try_echo
=$ac_try;;
18921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_link") 2>conftest.er1
18924 grep -v '^ *+' conftest.er1
>conftest.err
18926 cat conftest.err
>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } &&
18929 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18930 { (case "(($ac_try" in
18931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18932 *) ac_try_echo=$ac_try;;
18934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18935 (eval "$ac_try") 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; } &&
18939 { ac_try='test -s conftest$ac_exeext'
18940 { (case "(($ac_try" in
18941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18942 *) ac_try_echo
=$ac_try;;
18944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 (eval "$ac_try") 2>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18950 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18952 # Check for a 64-bit object if we didn't find anything.
18953 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; }
18956 echo "$as_me: failed program was:" >&5
18957 sed 's/^/| /' conftest.
$ac_ext >&5
18962 rm -f core conftest.err conftest.
$ac_objext \
18963 conftest
$ac_exeext conftest.
$ac_ext
18964 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18966 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18968 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"
18970 if test "$host_cpu" = ia64
; then
18971 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18972 allow_undefined_flag_CXX
="-z nodefs"
18973 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"
18975 # Determine the default libpath from the value encoded in an empty executable.
18976 cat >conftest.
$ac_ext <<_ACEOF
18979 cat confdefs.h
>>conftest.
$ac_ext
18980 cat >>conftest.
$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18991 rm -f conftest.
$ac_objext conftest
$ac_exeext
18992 if { (ac_try
="$ac_link"
18993 case "(($ac_try" in
18994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18995 *) ac_try_echo=$ac_try;;
18997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18998 (eval "$ac_link") 2>conftest.er1
19000 grep -v '^ *+' conftest.er1 >conftest.err
19002 cat conftest.err >&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19006 { (case "(($ac_try" in
19007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19008 *) ac_try_echo
=$ac_try;;
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_try") 2>&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); }; } &&
19015 { ac_try
='test -s conftest$ac_exeext'
19016 { (case "(($ac_try" in
19017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19018 *) ac_try_echo=$ac_try;;
19020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19021 (eval "$ac_try") 2>&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); }; }; then
19026 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19028 # Check for a 64-bit object if we didn't find anything.
19029 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; }
19032 echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19038 rm -f core conftest.err conftest.$ac_objext \
19039 conftest$ac_exeext conftest.$ac_ext
19040 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19042 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19043 # Warning - without using the other run time loading flags,
19044 # -berok will link without error, but may produce a broken library.
19045 no_undefined_flag_CXX=' ${wl}-bernotok'
19046 allow_undefined_flag_CXX=' ${wl}-berok'
19047 # Exported symbols can be pulled into shared objects from archives
19048 whole_archive_flag_spec_CXX='$convenience'
19049 archive_cmds_need_lc_CXX=yes
19050 # This is similar to how AIX traditionally builds its shared libraries.
19051 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'
19057 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19058 allow_undefined_flag_CXX=unsupported
19059 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19060 # support --undefined. This deserves some investigation. FIXME
19061 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19068 case $cc_basename in
19070 # FIXME: insert proper C++ library support
19076 cygwin* | mingw* | pw32*)
19077 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
19078 # as there is no search path for DLLs.
19079 hardcode_libdir_flag_spec_CXX='-L$libdir'
19080 allow_undefined_flag_CXX=unsupported
19081 always_export_symbols_CXX=no
19082 enable_shared_with_static_runtimes_CXX=yes
19084 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19085 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'
19086 # If the export-symbols file already is a .def file (1st line
19087 # is EXPORTS), use it as is; otherwise, prepend...
19088 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
19089 cp $export_symbols $output_objdir/$soname.def;
19091 echo EXPORTS > $output_objdir/$soname.def;
19092 cat $export_symbols >> $output_objdir/$soname.def;
19094 $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'
19099 darwin* | rhapsody*)
19101 rhapsody* | darwin1.[012])
19102 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
19105 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19106 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19108 case ${MACOSX_DEPLOYMENT_TARGET} in
19110 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19113 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
19119 archive_cmds_need_lc_CXX=no
19120 hardcode_direct_CXX=no
19121 hardcode_automatic_CXX=yes
19122 hardcode_shlibpath_var_CXX=unsupported
19123 whole_archive_flag_spec_CXX=''
19124 link_all_deplibs_CXX=yes
19126 if test "$GXX" = yes ; then
19127 lt_int_apple_cc_single_mod=no
19128 output_verbose_link_cmd='echo'
19129 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
19130 lt_int_apple_cc_single_mod=yes
19132 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19133 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19135 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'
19137 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19138 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19139 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19140 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}'
19142 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}'
19144 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}'
19146 case $cc_basename in
19148 output_verbose_link_cmd='echo'
19149 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'
19150 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19151 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19152 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}'
19153 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}'
19163 case $cc_basename in
19165 # FIXME: insert proper C++ library support
19169 # Green Hills C++ Compiler
19170 # FIXME: insert proper C++ library support
19174 # FIXME: insert proper C++ library support
19180 # C++ shared libraries reported to be fairly broken before switch to ELF
19184 archive_cmds_need_lc_CXX=no
19186 freebsd* | kfreebsd*-gnu | dragonfly*)
19187 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
19194 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19195 hardcode_libdir_separator_CXX=:
19196 export_dynamic_flag_spec_CXX='${wl}-E'
19197 hardcode_direct_CXX=yes
19198 hardcode_minus_L_CXX=yes # Not in the search PATH,
19199 # but as the default
19200 # location of the library.
19202 case $cc_basename in
19204 # FIXME: insert proper C++ library support
19208 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'
19209 # Commands to make compiler produce verbose output that lists
19210 # what "hidden" libraries, object files and flags are used when
19211 # linking a shared library.
19213 # There doesn't appear to be a way to prevent this compiler from
19214 # explicitly linking system object files so we need to strip them
19215 # from the output so that they don't get included in the library
19217 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'
19220 if test "$GXX" = yes; then
19221 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'
19223 # FIXME: insert proper C++ library support
19230 if test $with_gnu_ld = no; then
19231 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19232 hardcode_libdir_separator_CXX=:
19236 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
19239 export_dynamic_flag_spec_CXX='${wl}-E'
19245 hardcode_direct_CXX=no
19246 hardcode_shlibpath_var_CXX=no
19249 hardcode_direct_CXX=yes
19250 hardcode_minus_L_CXX=yes # Not in the search PATH,
19251 # but as the default
19252 # location of the library.
19256 case $cc_basename in
19258 # FIXME: insert proper C++ library support
19264 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19267 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19270 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19273 # Commands to make compiler produce verbose output that lists
19274 # what "hidden" libraries, object files and flags are used when
19275 # linking a shared library.
19277 # There doesn't appear to be a way to prevent this compiler from
19278 # explicitly linking system object files so we need to strip them
19279 # from the output so that they don't get included in the library
19281 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'
19284 if test "$GXX" = yes; then
19285 if test $with_gnu_ld = no; then
19288 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19291 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19294 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'
19299 # FIXME: insert proper C++ library support
19306 hardcode_direct_CXX=no
19307 hardcode_shlibpath_var_CXX=no
19308 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19309 export_dynamic_flag_spec_CXX='${wl}-E'
19310 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19311 # Instead, shared libraries are loaded at an image base (0x10000000 by
19312 # default) and relocated if they conflict, which is a slow very memory
19313 # consuming and fragmenting process. To avoid this, we pick a random,
19314 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19315 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19316 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'
19317 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'
19320 case $cc_basename in
19323 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'
19325 # Archives containing C++ object files must be created using
19326 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19327 # necessary to make sure instantiated templates are included
19329 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19332 if test "$GXX" = yes; then
19333 if test "$with_gnu_ld" = no; then
19334 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'
19336 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'
19339 link_all_deplibs_CXX=yes
19342 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19343 hardcode_libdir_separator_CXX=:
19346 case $cc_basename in
19348 # Kuck and Associates, Inc. (KAI) C++ Compiler
19350 # KCC will only create a shared library if the output file
19351 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19352 # to its proper name (with version) after linking.
19353 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'
19354 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'
19355 # Commands to make compiler produce verbose output that lists
19356 # what "hidden" libraries, object files and flags are used when
19357 # linking a shared library.
19359 # There doesn't appear to be a way to prevent this compiler from
19360 # explicitly linking system object files so we need to strip them
19361 # from the output so that they don't get included in the library
19363 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'
19365 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
19366 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19368 # Archives containing C++ object files must be created using
19369 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19370 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
19375 # version 8.0 and above of icpc choke on multiply defined symbols
19376 # if we add $predep_objects and $postdep_objects, however 7.1 and
19377 # earlier do not add the objects themselves.
19378 case `$CC -V 2>&1` in
19380 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19381 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'
19383 *) # Version 8.0 or newer
19386 ia64
*) tmp_idyn
=' -i_dynamic';;
19388 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19389 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'
19392 archive_cmds_need_lc_CXX
=no
19393 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19394 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19395 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19398 # Portland Group C++ compiler
19399 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19400 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'
19402 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
19403 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19404 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'
19408 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19409 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'
19411 runpath_var
=LD_RUN_PATH
19412 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19413 hardcode_libdir_separator_CXX
=:
19415 # Commands to make compiler produce verbose output that lists
19416 # what "hidden" libraries, object files and flags are used when
19417 # linking a shared library.
19419 # There doesn't appear to be a way to prevent this compiler from
19420 # explicitly linking system object files so we need to strip them
19421 # from the output so that they don't get included in the library
19423 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'
19428 # FIXME: insert proper C++ library support
19432 # FIXME: insert proper C++ library support
19436 case $cc_basename in
19438 # FIXME: insert proper C++ library support
19442 # FIXME: insert proper C++ library support
19448 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19449 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19451 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19452 hardcode_direct_CXX
=yes
19453 hardcode_shlibpath_var_CXX
=no
19455 # Workaround some broken pre-1.5 toolchains
19456 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19459 # C++ shared libraries are fairly broken
19463 hardcode_direct_CXX
=yes
19464 hardcode_shlibpath_var_CXX
=no
19465 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19466 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19467 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19468 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19469 export_dynamic_flag_spec_CXX
='${wl}-E'
19470 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19472 output_verbose_link_cmd
='echo'
19475 case $cc_basename in
19477 # Kuck and Associates, Inc. (KAI) C++ Compiler
19479 # KCC will only create a shared library if the output file
19480 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19481 # to its proper name (with version) after linking.
19482 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'
19484 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19485 hardcode_libdir_separator_CXX
=:
19487 # Archives containing C++ object files must be created using
19488 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19489 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
19493 # Rational C++ 2.4.1
19494 # FIXME: insert proper C++ library support
19498 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19499 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'
19501 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19502 hardcode_libdir_separator_CXX
=:
19504 # Commands to make compiler produce verbose output that lists
19505 # what "hidden" libraries, object files and flags are used when
19506 # linking a shared library.
19508 # There doesn't appear to be a way to prevent this compiler from
19509 # explicitly linking system object files so we need to strip them
19510 # from the output so that they don't get included in the library
19512 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'
19515 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19516 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19517 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'
19519 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19520 hardcode_libdir_separator_CXX
=:
19522 # Commands to make compiler produce verbose output that lists
19523 # what "hidden" libraries, object files and flags are used when
19524 # linking a shared library.
19525 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19528 # FIXME: insert proper C++ library support
19535 case $cc_basename in
19537 # Kuck and Associates, Inc. (KAI) C++ Compiler
19539 # KCC will only create a shared library if the output file
19540 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19541 # to its proper name (with version) after linking.
19542 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'
19544 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19545 hardcode_libdir_separator_CXX
=:
19547 # Archives containing C++ object files must be created using
19548 # the KAI C++ compiler.
19549 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
19552 # Rational C++ 2.4.1
19553 # FIXME: insert proper C++ library support
19557 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19558 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'
19559 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19560 echo "-hidden">> $lib.exp~
19561 $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~
19564 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19565 hardcode_libdir_separator_CXX
=:
19567 # Commands to make compiler produce verbose output that lists
19568 # what "hidden" libraries, object files and flags are used when
19569 # linking a shared library.
19571 # There doesn't appear to be a way to prevent this compiler from
19572 # explicitly linking system object files so we need to strip them
19573 # from the output so that they don't get included in the library
19575 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'
19578 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19579 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19580 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'
19582 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19583 hardcode_libdir_separator_CXX
=:
19585 # Commands to make compiler produce verbose output that lists
19586 # what "hidden" libraries, object files and flags are used when
19587 # linking a shared library.
19588 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19591 # FIXME: insert proper C++ library support
19598 # FIXME: insert proper C++ library support
19602 case $cc_basename in
19605 # FIXME: insert proper C++ library support
19610 # FIXME: insert proper C++ library support
19614 # FIXME: insert proper C++ library support
19620 case $cc_basename in
19622 # Sun C++ 4.2, 5.x and Centerline C++
19623 archive_cmds_need_lc_CXX
=yes
19624 no_undefined_flag_CXX
=' -zdefs'
19625 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19626 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19627 $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'
19629 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19630 hardcode_shlibpath_var_CXX
=no
19632 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19634 # The C++ compiler is used as linker so we must use $wl
19635 # flag to pass the commands to the underlying system
19636 # linker. We must also pass each convience library through
19637 # to the system linker between allextract/defaultextract.
19638 # The C++ compiler will combine linker options so we
19639 # cannot just pass the convience library names through
19641 # Supported since Solaris 2.6 (maybe 2.5.1?)
19642 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'
19645 link_all_deplibs_CXX
=yes
19647 output_verbose_link_cmd
='echo'
19649 # Archives containing C++ object files must be created using
19650 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19651 # necessary to make sure instantiated templates are included
19653 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19656 # Green Hills C++ Compiler
19657 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19659 # The C++ compiler must be used to create the archive.
19660 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19663 # GNU C++ compiler with Solaris linker
19664 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19665 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19666 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
19667 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19668 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19669 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19671 # Commands to make compiler produce verbose output that lists
19672 # what "hidden" libraries, object files and flags are used when
19673 # linking a shared library.
19674 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19676 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19678 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19679 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19680 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19682 # Commands to make compiler produce verbose output that lists
19683 # what "hidden" libraries, object files and flags are used when
19684 # linking a shared library.
19685 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19688 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19693 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19694 no_undefined_flag_CXX
='${wl}-z,text'
19695 archive_cmds_need_lc_CXX
=no
19696 hardcode_shlibpath_var_CXX
=no
19697 runpath_var
='LD_RUN_PATH'
19699 case $cc_basename in
19701 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19702 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19705 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19706 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19710 sysv5
* | sco3.2v5
* | sco5v6
*)
19711 # Note: We can NOT use -z defs as we might desire, because we do not
19712 # link with -lc, and that would cause any symbols used from libc to
19713 # always be unresolved, which means just about no library would
19714 # ever link correctly. If we're not using GNU ld we use -z text
19715 # though, which does catch some bad symbols but isn't as heavy-handed
19717 # For security reasons, it is highly recommended that you always
19718 # use absolute paths for naming shared libraries, and exclude the
19719 # DT_RUNPATH tag from executables and libraries. But doing so
19720 # requires that you compile everything twice, which is a pain.
19721 # So that behaviour is only enabled if SCOABSPATH is set to a
19722 # non-empty value in the environment. Most likely only useful for
19723 # creating official distributions of packages.
19724 # This is a hack until libtool officially supports absolute path
19725 # names for shared libraries.
19726 no_undefined_flag_CXX
='${wl}-z,text'
19727 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19728 archive_cmds_need_lc_CXX
=no
19729 hardcode_shlibpath_var_CXX
=no
19730 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19731 hardcode_libdir_separator_CXX
=':'
19732 link_all_deplibs_CXX
=yes
19733 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19734 runpath_var
='LD_RUN_PATH'
19736 case $cc_basename in
19738 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19739 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19742 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19743 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19748 case $cc_basename in
19750 # NonStop-UX NCC 3.20
19751 # FIXME: insert proper C++ library support
19755 # FIXME: insert proper C++ library support
19761 # FIXME: insert proper C++ library support
19765 # FIXME: insert proper C++ library support
19769 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19770 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19771 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19777 cat > conftest.
$ac_ext <<EOF
19781 Foo (void) { a = 0; }
19787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19788 (eval $ac_compile) 2>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; then
19792 # Parse the compiler output and extract the necessary
19793 # objects, libraries and library flags.
19795 # Sentinel used to keep track of whether or not we are before
19796 # the conftest object file.
19797 pre_test_object_deps_done
=no
19799 # The `*' in the case matches for architectures that use `case' in
19800 # $output_verbose_cmd can trigger glob expansion during the loop
19801 # eval without this substitution.
19802 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19804 for p
in `eval $output_verbose_link_cmd`; do
19808 # Some compilers place space between "-{L,R}" and the path.
19809 # Remove the space.
19810 if test $p = "-L" \
19811 ||
test $p = "-R"; then
19818 if test "$pre_test_object_deps_done" = no
; then
19821 # Internal compiler library paths should come after those
19822 # provided the user. The postdeps already come after the
19823 # user supplied libs so there is no need to process them.
19824 if test -z "$compiler_lib_search_path_CXX"; then
19825 compiler_lib_search_path_CXX
="${prev}${p}"
19827 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19830 # The "-l" case would never come before the object being
19831 # linked, so don't bother handling this case.
19834 if test -z "$postdeps_CXX"; then
19835 postdeps_CXX
="${prev}${p}"
19837 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19843 # This assumes that the test object file only shows up
19844 # once in the compiler output.
19845 if test "$p" = "conftest.$objext"; then
19846 pre_test_object_deps_done
=yes
19850 if test "$pre_test_object_deps_done" = no
; then
19851 if test -z "$predep_objects_CXX"; then
19852 predep_objects_CXX
="$p"
19854 predep_objects_CXX
="$predep_objects_CXX $p"
19857 if test -z "$postdep_objects_CXX"; then
19858 postdep_objects_CXX
="$p"
19860 postdep_objects_CXX
="$postdep_objects_CXX $p"
19865 *) ;; # Ignore the rest.
19873 echo "libtool.m4: error: problem compiling CXX test program"
19876 $rm -f confest.
$objext
19878 # PORTME: override above test on systems where it is broken
19881 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19882 # hack all around it, let's just trust "g++" to DTRT.
19883 predep_objects_CXX
=
19884 postdep_objects_CXX
=
19889 case $cc_basename in
19891 # Adding this requires a known-good setup of shared libraries for
19892 # Sun compiler versions before 5.6, else PIC objects from an old
19893 # archive will be linked into the output, leading to subtle bugs.
19894 postdeps_CXX
='-lCstd -lCrun'
19901 case " $postdeps_CXX " in
19902 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19905 lt_prog_compiler_wl_CXX
=
19906 lt_prog_compiler_pic_CXX
=
19907 lt_prog_compiler_static_CXX
=
19909 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19910 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19912 # C++ specific cases for pic, static, wl, etc.
19913 if test "$GXX" = yes; then
19914 lt_prog_compiler_wl_CXX
='-Wl,'
19915 lt_prog_compiler_static_CXX
='-static'
19919 # All AIX code is PIC.
19920 if test "$host_cpu" = ia64
; then
19921 # AIX 5 now supports IA64 processor
19922 lt_prog_compiler_static_CXX
='-Bstatic'
19926 # FIXME: we need at least 68020 code to build shared libraries, but
19927 # adding the `-m68020' flag to GCC prevents building anything better,
19929 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19931 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19932 # PIC is the default for these OSes.
19934 mingw
* | os2
* | pw32
*)
19935 # This hack is so that the source file can tell whether it is being
19936 # built for inclusion in a dll (and should export symbols for example).
19937 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19939 darwin
* | rhapsody
*)
19940 # PIC is the default on this platform
19941 # Common symbols not allowed in MH_DYLIB files
19942 lt_prog_compiler_pic_CXX
='-fno-common'
19945 # DJGPP does not support shared libraries at all
19946 lt_prog_compiler_pic_CXX
=
19949 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19950 # Instead, we relocate shared libraries at runtime.
19953 if test -d /usr
/nec
; then
19954 lt_prog_compiler_pic_CXX
=-Kconform_pic
19958 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19959 # not for PA HP-UX.
19964 lt_prog_compiler_pic_CXX
='-fPIC'
19969 lt_prog_compiler_pic_CXX
='-fPIC'
19975 # All AIX code is PIC.
19976 if test "$host_cpu" = ia64
; then
19977 # AIX 5 now supports IA64 processor
19978 lt_prog_compiler_static_CXX
='-Bstatic'
19980 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19984 case $cc_basename in
19986 # Green Hills C++ Compiler
19987 # _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"
19992 # PIC is the default on this platform
19993 # Common symbols not allowed in MH_DYLIB files
19994 case $cc_basename in
19996 lt_prog_compiler_pic_CXX
='-qnocommon'
19997 lt_prog_compiler_wl_CXX
='-Wl,'
20002 case $cc_basename in
20004 lt_prog_compiler_pic_CXX
='-KPIC'
20007 # Green Hills C++ Compiler
20008 lt_prog_compiler_pic_CXX
='-pic'
20014 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
20015 # FreeBSD uses GNU C++
20017 hpux9
* | hpux10
* | hpux11
*)
20018 case $cc_basename in
20020 lt_prog_compiler_wl_CXX
='-Wl,'
20021 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
20022 if test "$host_cpu" != ia64
; then
20023 lt_prog_compiler_pic_CXX
='+Z'
20027 lt_prog_compiler_wl_CXX
='-Wl,'
20028 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
20034 lt_prog_compiler_pic_CXX
='+Z'
20043 # This is c89, which is MS Visual C++ (no shared libs)
20044 # Anyone wants to do a port?
20046 irix5
* | irix6
* | nonstopux
*)
20047 case $cc_basename in
20049 lt_prog_compiler_wl_CXX
='-Wl,'
20050 lt_prog_compiler_static_CXX
='-non_shared'
20051 # CC pic flag -KPIC is the default.
20058 case $cc_basename in
20061 lt_prog_compiler_wl_CXX
='--backend -Wl,'
20062 lt_prog_compiler_pic_CXX
='-fPIC'
20066 lt_prog_compiler_wl_CXX
='-Wl,'
20067 lt_prog_compiler_pic_CXX
='-KPIC'
20068 lt_prog_compiler_static_CXX
='-static'
20071 # Portland Group C++ compiler.
20072 lt_prog_compiler_wl_CXX
='-Wl,'
20073 lt_prog_compiler_pic_CXX
='-fpic'
20074 lt_prog_compiler_static_CXX
='-Bstatic'
20078 # Make sure the PIC flag is empty. It appears that all Alpha
20079 # Linux and Compaq Tru64 Unix objects are PIC.
20080 lt_prog_compiler_pic_CXX
=
20081 lt_prog_compiler_static_CXX
='-non_shared'
20092 case $cc_basename in
20094 lt_prog_compiler_pic_CXX
='-W c,exportall'
20102 osf3
* | osf4
* | osf5
*)
20103 case $cc_basename in
20105 lt_prog_compiler_wl_CXX
='--backend -Wl,'
20108 # Rational C++ 2.4.1
20109 lt_prog_compiler_pic_CXX
='-pic'
20112 # Digital/Compaq C++
20113 lt_prog_compiler_wl_CXX
='-Wl,'
20114 # Make sure the PIC flag is empty. It appears that all Alpha
20115 # Linux and Compaq Tru64 Unix objects are PIC.
20116 lt_prog_compiler_pic_CXX
=
20117 lt_prog_compiler_static_CXX
='-non_shared'
20126 case $cc_basename in
20128 # Sun C++ 4.2, 5.x and Centerline C++
20129 lt_prog_compiler_pic_CXX
='-KPIC'
20130 lt_prog_compiler_static_CXX
='-Bstatic'
20131 lt_prog_compiler_wl_CXX
='-Qoption ld '
20134 # Green Hills C++ Compiler
20135 lt_prog_compiler_pic_CXX
='-PIC'
20142 case $cc_basename in
20145 lt_prog_compiler_pic_CXX
='-pic'
20146 lt_prog_compiler_static_CXX
='-Bstatic'
20150 lt_prog_compiler_pic_CXX
='-pic'
20157 case $cc_basename in
20159 # NonStop-UX NCC 3.20
20160 lt_prog_compiler_pic_CXX
='-KPIC'
20166 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
20167 case $cc_basename in
20169 lt_prog_compiler_wl_CXX
='-Wl,'
20170 lt_prog_compiler_pic_CXX
='-KPIC'
20171 lt_prog_compiler_static_CXX
='-Bstatic'
20178 lt_prog_compiler_can_build_shared_CXX
=no
20183 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
20184 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
20187 # Check to make sure the PIC flag actually works.
20189 if test -n "$lt_prog_compiler_pic_CXX"; then
20191 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20192 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
20193 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 lt_prog_compiler_pic_works_CXX
=no
20197 ac_outfile
=conftest.
$ac_objext
20198 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
20199 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
20200 # Insert the option either (1) after the last *FLAGS variable, or
20201 # (2) before a word containing "conftest.", or (3) at the end.
20202 # Note that $ac_compile itself does not contain backslashes and begins
20203 # with a dollar sign (not a hyphen), so the echo should work correctly.
20204 # The option is referenced via a variable to avoid confusing sed.
20205 lt_compile
=`echo "$ac_compile" | $SED \
20206 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20208 -e 's:$: $lt_compiler_flag:'`
20209 (eval echo "\"\$as_me:20209: $lt_compile\"" >&5)
20210 (eval "$lt_compile" 2>conftest.err
)
20212 cat conftest.err
>&5
20213 echo "$as_me:20213: \$? = $ac_status" >&5
20214 if (exit $ac_status) && test -s "$ac_outfile"; then
20215 # The compiler can only warn and ignore the option if not recognized
20216 # So say no if there are warnings other than the usual output.
20217 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
20218 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20219 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
20220 lt_prog_compiler_pic_works_CXX
=yes
20226 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
20227 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
20229 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
20230 case $lt_prog_compiler_pic_CXX in
20232 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
20235 lt_prog_compiler_pic_CXX
=
20236 lt_prog_compiler_can_build_shared_CXX
=no
20241 # For platforms which do not support PIC, -DPIC is meaningless:
20243 lt_prog_compiler_pic_CXX
=
20246 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
20251 # Check to make sure the static flag actually works.
20253 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
20254 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20255 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20256 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
20257 echo $ECHO_N "(cached) $ECHO_C" >&6
20259 lt_prog_compiler_static_works_CXX
=no
20260 save_LDFLAGS
="$LDFLAGS"
20261 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
20262 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
20263 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
20264 # The linker can only warn and ignore the option if not recognized
20265 # So say no if there are warnings
20266 if test -s conftest.err
; then
20267 # Append any errors to the config.log.
20268 cat conftest.err
1>&5
20269 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
20270 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20271 if diff conftest.exp conftest.er2
>/dev
/null
; then
20272 lt_prog_compiler_static_works_CXX
=yes
20275 lt_prog_compiler_static_works_CXX
=yes
20279 LDFLAGS
="$save_LDFLAGS"
20282 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
20283 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
20285 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
20288 lt_prog_compiler_static_CXX
=
20292 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20293 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20294 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20297 lt_cv_prog_compiler_c_o_CXX
=no
20298 $rm -r conftest
2>/dev
/null
20302 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
20304 lt_compiler_flag
="-o out/conftest2.$ac_objext"
20305 # Insert the option either (1) after the last *FLAGS variable, or
20306 # (2) before a word containing "conftest.", or (3) at the end.
20307 # Note that $ac_compile itself does not contain backslashes and begins
20308 # with a dollar sign (not a hyphen), so the echo should work correctly.
20309 lt_compile
=`echo "$ac_compile" | $SED \
20310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20311 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20312 -e 's:$: $lt_compiler_flag:'`
20313 (eval echo "\"\$as_me:20313: $lt_compile\"" >&5)
20314 (eval "$lt_compile" 2>out
/conftest.err
)
20316 cat out
/conftest.err
>&5
20317 echo "$as_me:20317: \$? = $ac_status" >&5
20318 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
20320 # The compiler can only warn and ignore the option if not recognized
20321 # So say no if there are warnings
20322 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
20323 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
20324 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
20325 lt_cv_prog_compiler_c_o_CXX
=yes
20330 # SGI C++ compiler will create directory out/ii_files/ for
20331 # template instantiation
20332 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
20333 $rm out
/* && rmdir out
20339 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20340 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
20343 hard_links
="nottested"
20344 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
20345 # do not overwrite the value of need_locks provided by the user
20346 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20347 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20350 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20352 ln conftest.a conftest.b
2>&5 || hard_links
=no
20353 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20354 { echo "$as_me:$LINENO: result: $hard_links" >&5
20355 echo "${ECHO_T}$hard_links" >&6; }
20356 if test "$hard_links" = no
; then
20357 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20358 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20365 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20366 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20368 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20371 # If we're using GNU nm, then we don't want the "-C" option.
20372 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20373 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
20374 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'
20376 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'
20380 export_symbols_cmds_CXX
="$ltdll_cmds"
20383 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'
20386 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20390 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20391 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
20392 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
20395 # Do we need to explicitly link libc?
20397 case "x$archive_cmds_need_lc_CXX" in
20399 # Assume -lc should be added
20400 archive_cmds_need_lc_CXX
=yes
20402 if test "$enable_shared" = yes && test "$GCC" = yes; then
20403 case $archive_cmds_CXX in
20405 # FIXME: we may have to deal with multi-command sequences.
20408 # Test whether the compiler implicitly links with -lc since on some
20409 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20410 # to ld, don't add -lc before -lgcc.
20411 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20412 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20414 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
20416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20417 (eval $ac_compile) 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } 2>conftest.err
; then
20423 libobjs
=conftest.
$ac_objext
20425 wl
=$lt_prog_compiler_wl_CXX
20426 pic_flag
=$lt_prog_compiler_pic_CXX
20432 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
20433 allow_undefined_flag_CXX
=
20434 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20435 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }
20440 archive_cmds_need_lc_CXX
=no
20442 archive_cmds_need_lc_CXX
=yes
20444 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
20446 cat conftest.err
1>&5
20449 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20450 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
20457 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20458 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20459 library_names_spec
=
20460 libname_spec
='lib$name'
20464 postuninstall_cmds
=
20468 shlibpath_overrides_runpath
=unknown
20470 dynamic_linker
="$host_os ld.so"
20471 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
20472 if test "$GCC" = yes; then
20473 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20474 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
20475 # if the path contains ";" then we assume it to be the separator
20476 # otherwise default to the standard path separator (i.e. ":") - it is
20477 # assumed that no part of a normal pathname contains ";" but that should
20478 # okay in the real world where ";" in dirpaths is itself problematic.
20479 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20481 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20484 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
20486 need_lib_prefix
=unknown
20487 hardcode_into_libs
=no
20489 # when you set need_version to no, make sure it does not cause -set_version
20490 # flags to be left without arguments
20491 need_version
=unknown
20496 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20497 shlibpath_var
=LIBPATH
20499 # AIX 3 has no versioning support, so we append a major version to the name.
20500 soname_spec
='${libname}${release}${shared_ext}$major'
20507 hardcode_into_libs
=yes
20508 if test "$host_cpu" = ia64
; then
20509 # AIX 5 supports IA64
20510 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20511 shlibpath_var
=LD_LIBRARY_PATH
20513 # With GCC up to 2.95.x, collect2 would create an import file
20514 # for dependence libraries. The import file would start with
20515 # the line `#! .'. This would cause the generated library to
20516 # depend on `.', always an invalid library. This was fixed in
20517 # development snapshots of GCC prior to 3.0.
20519 aix4 | aix4.
[01] | aix4.
[01].
*)
20520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20522 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20525 can_build_shared
=no
20529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20530 # soname into executable. Probably we can add versioning support to
20531 # collect2, so additional links can be useful in future.
20532 if test "$aix_use_runtimelinking" = yes; then
20533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20534 # instead of lib<name>.a to let people know that these are not
20535 # typical AIX shared libraries.
20536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20538 # We preserve .a as extension for shared libraries through AIX4.2
20539 # and later when we are not doing run time linking.
20540 library_names_spec
='${libname}${release}.a $libname.a'
20541 soname_spec
='${libname}${release}${shared_ext}$major'
20543 shlibpath_var
=LIBPATH
20548 library_names_spec
='$libname.ixlibrary $libname.a'
20549 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20550 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'
20554 library_names_spec
='${libname}${shared_ext}'
20555 dynamic_linker
="$host_os ld.so"
20556 shlibpath_var
=LIBRARY_PATH
20562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20563 soname_spec
='${libname}${release}${shared_ext}$major'
20564 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20565 shlibpath_var
=LD_LIBRARY_PATH
20566 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20567 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20568 # the default ld.so.conf also contains /usr/contrib/lib and
20569 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20570 # libtool to hard-code these into programs
20573 cygwin
* | mingw
* | pw32
*)
20574 version_type
=windows
20579 case $GCC,$host_os in
20580 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20581 library_names_spec
='$libname.dll.a'
20582 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20583 postinstall_cmds
='base_file=`basename \${file}`~
20584 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20585 dldir=$destdir/`dirname \$dlpath`~
20586 test -d \$dldir || mkdir -p \$dldir~
20587 $install_prog $dir/$dlname \$dldir/$dlname~
20588 chmod a+x \$dldir/$dlname'
20589 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20590 dlpath=$dir/\$dldll~
20592 shlibpath_overrides_runpath
=yes
20596 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20597 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20598 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20601 # MinGW DLLs use traditional 'lib' prefix
20602 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20603 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20604 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20605 # It is most probably a Windows format PATH printed by
20606 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20607 # path with ; separators, and with drive letters. We can handle the
20608 # drive letters (cygwin fileutils understands them), so leave them,
20609 # especially as we might pass files found there to a mingw objdump,
20610 # which wouldn't understand a cygwinified path. Ahh.
20611 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20613 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20617 # pw32 DLLs use 'pw' prefix rather than 'lib'
20618 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20624 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20627 dynamic_linker
='Win32 ld.exe'
20628 # FIXME: first we should search . and the directory the executable is in
20632 darwin
* | rhapsody
*)
20633 dynamic_linker
="$host_os dyld"
20634 version_type
=darwin
20637 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20638 soname_spec
='${libname}${release}${major}$shared_ext'
20639 shlibpath_overrides_runpath
=yes
20640 shlibpath_var
=DYLD_LIBRARY_PATH
20641 shrext_cmds
='.dylib'
20642 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20643 if test "$GCC" = yes; then
20644 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"`
20646 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20648 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20656 soname_spec
='${libname}${release}${shared_ext}$major'
20657 shlibpath_var
=LD_LIBRARY_PATH
20668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20669 soname_spec
='${libname}${release}${shared_ext}$major'
20670 shlibpath_var
=LD_LIBRARY_PATH
20671 shlibpath_overrides_runpath
=no
20672 hardcode_into_libs
=yes
20673 dynamic_linker
='GNU ld.so'
20676 freebsd
* | dragonfly
*)
20677 # DragonFly does not have aout. When/if they implement a new
20678 # versioning mechanism, adjust this.
20679 if test -x /usr
/bin
/objformat
; then
20680 objformat
=`/usr/bin/objformat`
20683 freebsd
[123]*) objformat
=aout
;;
20684 *) objformat
=elf
;;
20687 version_type
=freebsd-
$objformat
20688 case $version_type in
20690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20695 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20699 shlibpath_var
=LD_LIBRARY_PATH
20702 shlibpath_overrides_runpath
=yes
20704 freebsd3.
[01]* | freebsdelf3.
[01]*)
20705 shlibpath_overrides_runpath
=yes
20706 hardcode_into_libs
=yes
20708 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20709 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20710 shlibpath_overrides_runpath
=no
20711 hardcode_into_libs
=yes
20713 freebsd
*) # from 4.6 on
20714 shlibpath_overrides_runpath
=yes
20715 hardcode_into_libs
=yes
20724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20725 soname_spec
='${libname}${release}${shared_ext}$major'
20726 shlibpath_var
=LD_LIBRARY_PATH
20727 hardcode_into_libs
=yes
20730 hpux9
* | hpux10
* | hpux11
*)
20731 # Give a soname corresponding to the major version so that dld.sl refuses to
20732 # link against other versions.
20739 hardcode_into_libs
=yes
20740 dynamic_linker
="$host_os dld.so"
20741 shlibpath_var
=LD_LIBRARY_PATH
20742 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20744 soname_spec
='${libname}${release}${shared_ext}$major'
20745 if test "X$HPUX_IA64_MODE" = X32
; then
20746 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20748 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20750 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20754 hardcode_into_libs
=yes
20755 dynamic_linker
="$host_os dld.sl"
20756 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20757 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20759 soname_spec
='${libname}${release}${shared_ext}$major'
20760 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20761 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20765 dynamic_linker
="$host_os dld.sl"
20766 shlibpath_var
=SHLIB_PATH
20767 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20769 soname_spec
='${libname}${release}${shared_ext}$major'
20772 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20773 postinstall_cmds
='chmod 555 $lib'
20780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20781 soname_spec
='${libname}${release}${shared_ext}$major'
20782 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20783 shlibpath_var
=LD_LIBRARY_PATH
20784 shlibpath_overrides_runpath
=no
20785 hardcode_into_libs
=yes
20788 irix5
* | irix6
* | nonstopux
*)
20790 nonstopux
*) version_type
=nonstopux
;;
20792 if test "$lt_cv_prog_gnu_ld" = yes; then
20800 soname_spec
='${libname}${release}${shared_ext}$major'
20801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20803 irix5
* | nonstopux
*)
20804 libsuff
= shlibsuff
=
20807 case $LD in # libtool.m4 will add one of these switches to LD
20808 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20809 libsuff
= shlibsuff
= libmagic
=32-bit;;
20810 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20811 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20812 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20813 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20814 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20818 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20819 shlibpath_overrides_runpath
=no
20820 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20821 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20822 hardcode_into_libs
=yes
20825 # No shared lib support for Linux oldld, aout, or coff.
20826 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20830 # This must be Linux ELF.
20835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20836 soname_spec
='${libname}${release}${shared_ext}$major'
20837 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20838 shlibpath_var
=LD_LIBRARY_PATH
20839 shlibpath_overrides_runpath
=no
20840 # This implies no fast_install, which is unacceptable.
20841 # Some rework will be needed to allow for fast_install
20842 # before this can be enabled.
20843 hardcode_into_libs
=yes
20845 # Append ld.so.conf contents to the search path
20846 if test -f /etc
/ld.so.conf
; then
20847 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' ' '`
20848 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20851 # We used to test for /lib/ld.so.1 and disable shared libraries on
20852 # powerpc, because MkLinux only supported shared libraries with the
20853 # GNU dynamic linker. Since this was broken with cross compilers,
20854 # most powerpc-linux boxes support dynamic linking these days and
20855 # people can always --disable-shared, the test was removed, and we
20856 # assume the GNU/Linux dynamic linker is in use.
20857 dynamic_linker
='GNU/Linux ld.so'
20864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20865 soname_spec
='${libname}${release}${shared_ext}$major'
20866 shlibpath_var
=LD_LIBRARY_PATH
20867 shlibpath_overrides_runpath
=no
20868 hardcode_into_libs
=yes
20869 dynamic_linker
='GNU ld.so'
20876 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20878 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20879 dynamic_linker
='NetBSD (a.out) ld.so'
20881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20882 soname_spec
='${libname}${release}${shared_ext}$major'
20883 dynamic_linker
='NetBSD ld.elf_so'
20885 shlibpath_var
=LD_LIBRARY_PATH
20886 shlibpath_overrides_runpath
=yes
20887 hardcode_into_libs
=yes
20892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20893 shlibpath_var
=LD_LIBRARY_PATH
20894 shlibpath_overrides_runpath
=yes
20901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20902 soname_spec
='${libname}${release}${shared_ext}$major'
20903 shlibpath_var
=LD_LIBRARY_PATH
20904 shlibpath_overrides_runpath
=yes
20909 sys_lib_dlsearch_path_spec
="/usr/lib"
20911 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20913 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20914 *) need_version
=no
;;
20916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20917 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20918 shlibpath_var
=LD_LIBRARY_PATH
20919 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20921 openbsd2.
[89] | openbsd2.
[89].
*)
20922 shlibpath_overrides_runpath
=no
20925 shlibpath_overrides_runpath
=yes
20929 shlibpath_overrides_runpath
=yes
20934 libname_spec
='$name'
20937 library_names_spec
='$libname${shared_ext} $libname.a'
20938 dynamic_linker
='OS/2 ld.exe'
20939 shlibpath_var
=LIBPATH
20942 osf3
* | osf4
* | osf5
*)
20946 soname_spec
='${libname}${release}${shared_ext}$major'
20947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20948 shlibpath_var
=LD_LIBRARY_PATH
20949 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20950 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20958 soname_spec
='${libname}${release}${shared_ext}$major'
20959 shlibpath_var
=LD_LIBRARY_PATH
20960 shlibpath_overrides_runpath
=yes
20961 hardcode_into_libs
=yes
20962 # ldd complains unless libraries are executable
20963 postinstall_cmds
='chmod +x $lib'
20968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20969 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20970 shlibpath_var
=LD_LIBRARY_PATH
20971 shlibpath_overrides_runpath
=yes
20972 if test "$with_gnu_ld" = yes; then
20980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20981 soname_spec
='${libname}${release}${shared_ext}$major'
20982 shlibpath_var
=LD_LIBRARY_PATH
20983 case $host_vendor in
20985 shlibpath_overrides_runpath
=no
20987 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20988 runpath_var
=LD_RUN_PATH
20996 shlibpath_overrides_runpath
=no
20997 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
21003 if test -d /usr
/nec
;then
21005 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21006 soname_spec
='$libname${shared_ext}.$major'
21007 shlibpath_var
=LD_LIBRARY_PATH
21011 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
21012 version_type
=freebsd-elf
21015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21016 soname_spec
='${libname}${release}${shared_ext}$major'
21017 shlibpath_var
=LD_LIBRARY_PATH
21018 hardcode_into_libs
=yes
21019 if test "$with_gnu_ld" = yes; then
21020 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21021 shlibpath_overrides_runpath
=no
21023 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
21024 shlibpath_overrides_runpath
=yes
21027 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
21031 sys_lib_dlsearch_path_spec
='/usr/lib'
21036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21037 soname_spec
='${libname}${release}${shared_ext}$major'
21038 shlibpath_var
=LD_LIBRARY_PATH
21045 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21046 echo "${ECHO_T}$dynamic_linker" >&6; }
21047 test "$dynamic_linker" = no
&& can_build_shared
=no
21049 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
21050 if test "$GCC" = yes; then
21051 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21054 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21055 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21056 hardcode_action_CXX
=
21057 if test -n "$hardcode_libdir_flag_spec_CXX" || \
21058 test -n "$runpath_var_CXX" || \
21059 test "X$hardcode_automatic_CXX" = "Xyes" ; then
21061 # We can hardcode non-existant directories.
21062 if test "$hardcode_direct_CXX" != no
&&
21063 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21064 # have to relink, otherwise we might link with an installed library
21065 # when we should be linking with a yet-to-be-installed one
21066 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
21067 test "$hardcode_minus_L_CXX" != no
; then
21068 # Linking always hardcodes the temporary library directory.
21069 hardcode_action_CXX
=relink
21071 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21072 hardcode_action_CXX
=immediate
21075 # We cannot hardcode anything, or else we can only hardcode existing
21077 hardcode_action_CXX
=unsupported
21079 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
21080 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
21082 if test "$hardcode_action_CXX" = relink
; then
21083 # Fast installation is not supported
21084 enable_fast_install
=no
21085 elif test "$shlibpath_overrides_runpath" = yes ||
21086 test "$enable_shared" = no
; then
21087 # Fast installation is not necessary
21088 enable_fast_install
=needless
21092 # The else clause should only fire when bootstrapping the
21093 # libtool distribution, otherwise you forgot to ship ltmain.sh
21094 # with your package, and you will get complaints that there are
21095 # no rules to generate ltmain.sh.
21096 if test -f "$ltmain"; then
21097 # See if we are running on zsh, and set the options which allow our commands through
21098 # without removal of \ escapes.
21099 if test -n "${ZSH_VERSION+set}" ; then
21100 setopt NO_GLOB_SUBST
21102 # Now quote all the things that may contain metacharacters while being
21103 # careful not to overquote the AC_SUBSTed values. We take copies of the
21104 # variables and quote the copies for generation of the libtool script.
21105 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21107 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21108 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21109 deplibs_check_method reload_flag reload_cmds need_locks \
21110 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21111 lt_cv_sys_global_symbol_to_c_name_address \
21112 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21113 old_postinstall_cmds old_postuninstall_cmds \
21117 lt_prog_compiler_wl_CXX \
21118 lt_prog_compiler_pic_CXX \
21119 lt_prog_compiler_static_CXX \
21120 lt_prog_compiler_no_builtin_flag_CXX \
21121 export_dynamic_flag_spec_CXX \
21122 thread_safe_flag_spec_CXX \
21123 whole_archive_flag_spec_CXX \
21124 enable_shared_with_static_runtimes_CXX \
21125 old_archive_cmds_CXX \
21126 old_archive_from_new_cmds_CXX \
21127 predep_objects_CXX \
21128 postdep_objects_CXX \
21131 compiler_lib_search_path_CXX \
21133 archive_expsym_cmds_CXX \
21134 postinstall_cmds_CXX \
21135 postuninstall_cmds_CXX \
21136 old_archive_from_expsyms_cmds_CXX \
21137 allow_undefined_flag_CXX \
21138 no_undefined_flag_CXX \
21139 export_symbols_cmds_CXX \
21140 hardcode_libdir_flag_spec_CXX \
21141 hardcode_libdir_flag_spec_ld_CXX \
21142 hardcode_libdir_separator_CXX \
21143 hardcode_automatic_CXX \
21145 module_expsym_cmds_CXX \
21146 lt_cv_prog_compiler_c_o_CXX \
21147 exclude_expsyms_CXX \
21148 include_expsyms_CXX
; do
21151 old_archive_cmds_CXX | \
21152 old_archive_from_new_cmds_CXX | \
21153 archive_cmds_CXX | \
21154 archive_expsym_cmds_CXX | \
21155 module_cmds_CXX | \
21156 module_expsym_cmds_CXX | \
21157 old_archive_from_expsyms_cmds_CXX | \
21158 export_symbols_cmds_CXX | \
21159 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21160 postinstall_cmds | postuninstall_cmds | \
21161 old_postinstall_cmds | old_postuninstall_cmds | \
21162 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
21163 # Double-quote double-evaled strings.
21164 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21167 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21173 *'\$0 --fallback-echo"')
21174 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21180 cat <<__EOF__ >> "$cfgfile"
21181 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21183 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21185 # Shell to use when invoking shell scripts.
21188 # Whether or not to build shared libraries.
21189 build_libtool_libs=$enable_shared
21191 # Whether or not to build static libraries.
21192 build_old_libs=$enable_static
21194 # Whether or not to add -lc for building shared libraries.
21195 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21197 # Whether or not to disallow shared libs when runtime libs are static
21198 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21200 # Whether or not to optimize for fast installation.
21201 fast_install=$enable_fast_install
21204 host_alias=$host_alias
21208 # The build system.
21209 build_alias=$build_alias
21213 # An echo program that does not interpret backslashes.
21218 AR_FLAGS=$lt_AR_FLAGS
21223 # LTCC compiler flags.
21224 LTCFLAGS=$lt_LTCFLAGS
21226 # A language-specific compiler.
21227 CC=$lt_compiler_CXX
21229 # Is the compiler the GNU C compiler?
21235 # The linker used to build libraries.
21238 # Whether we need hard or soft links.
21241 # A BSD-compatible nm program.
21244 # A symbol stripping program
21247 # Used to examine libraries when file_magic_cmd begins "file"
21248 MAGIC_CMD=$MAGIC_CMD
21250 # Used on cygwin: DLL creation program.
21253 # Used on cygwin: object dumper.
21256 # Used on cygwin: assembler.
21259 # The name of the directory that contains temporary libtool files.
21262 # How to create reloadable object files.
21263 reload_flag=$lt_reload_flag
21264 reload_cmds=$lt_reload_cmds
21266 # How to pass a linker flag through the compiler.
21267 wl=$lt_lt_prog_compiler_wl_CXX
21269 # Object file suffix (normally "o").
21270 objext="$ac_objext"
21272 # Old archive suffix (normally "a").
21275 # Shared library suffix (normally ".so").
21276 shrext_cmds='$shrext_cmds'
21278 # Executable file suffix (normally "").
21281 # Additional compiler flags for building library objects.
21282 pic_flag=$lt_lt_prog_compiler_pic_CXX
21285 # What is the maximum length of a command?
21286 max_cmd_len=$lt_cv_sys_max_cmd_len
21288 # Does compiler simultaneously support -c and -o options?
21289 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21291 # Must we lock files when doing compilation?
21292 need_locks=$lt_need_locks
21294 # Do we need the lib prefix for modules?
21295 need_lib_prefix=$need_lib_prefix
21297 # Do we need a version for libraries?
21298 need_version=$need_version
21300 # Whether dlopen is supported.
21301 dlopen_support=$enable_dlopen
21303 # Whether dlopen of programs is supported.
21304 dlopen_self=$enable_dlopen_self
21306 # Whether dlopen of statically linked programs is supported.
21307 dlopen_self_static=$enable_dlopen_self_static
21309 # Compiler flag to prevent dynamic linking.
21310 link_static_flag=$lt_lt_prog_compiler_static_CXX
21312 # Compiler flag to turn off builtin functions.
21313 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21315 # Compiler flag to allow reflexive dlopens.
21316 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21318 # Compiler flag to generate shared objects directly from archives.
21319 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21321 # Compiler flag to generate thread-safe objects.
21322 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21324 # Library versioning type.
21325 version_type=$version_type
21327 # Format of library name prefix.
21328 libname_spec=$lt_libname_spec
21330 # List of archive names. First name is the real one, the rest are links.
21331 # The last name is the one that the linker finds with -lNAME.
21332 library_names_spec=$lt_library_names_spec
21334 # The coded name of the library, if different from the real name.
21335 soname_spec=$lt_soname_spec
21337 # Commands used to build and install an old-style archive.
21339 old_archive_cmds=$lt_old_archive_cmds_CXX
21340 old_postinstall_cmds=$lt_old_postinstall_cmds
21341 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21343 # Create an old-style archive from a shared archive.
21344 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21346 # Create a temporary old-style archive to link instead of a shared archive.
21347 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21349 # Commands used to build and install a shared archive.
21350 archive_cmds=$lt_archive_cmds_CXX
21351 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21352 postinstall_cmds=$lt_postinstall_cmds
21353 postuninstall_cmds=$lt_postuninstall_cmds
21355 # Commands used to build a loadable module (assumed same as above if empty)
21356 module_cmds=$lt_module_cmds_CXX
21357 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21359 # Commands to strip libraries.
21360 old_striplib=$lt_old_striplib
21361 striplib=$lt_striplib
21363 # Dependencies to place before the objects being linked to create a
21365 predep_objects=$lt_predep_objects_CXX
21367 # Dependencies to place after the objects being linked to create a
21369 postdep_objects=$lt_postdep_objects_CXX
21371 # Dependencies to place before the objects being linked to create a
21373 predeps=$lt_predeps_CXX
21375 # Dependencies to place after the objects being linked to create a
21377 postdeps=$lt_postdeps_CXX
21379 # The library search path used internally by the compiler when linking
21380 # a shared library.
21381 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21383 # Method to check whether dependent libraries are shared objects.
21384 deplibs_check_method=$lt_deplibs_check_method
21386 # Command to use when deplibs_check_method == file_magic.
21387 file_magic_cmd=$lt_file_magic_cmd
21389 # Flag that allows shared libraries with undefined symbols to be built.
21390 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21392 # Flag that forces no undefined symbols.
21393 no_undefined_flag=$lt_no_undefined_flag_CXX
21395 # Commands used to finish a libtool library installation in a directory.
21396 finish_cmds=$lt_finish_cmds
21398 # Same as above, but a single script fragment to be evaled but not shown.
21399 finish_eval=$lt_finish_eval
21401 # Take the output of nm and produce a listing of raw symbols and C names.
21402 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21404 # Transform the output of nm in a proper C declaration
21405 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21407 # Transform the output of nm in a C name address pair
21408 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21410 # This is the shared library runtime path variable.
21411 runpath_var=$runpath_var
21413 # This is the shared library path variable.
21414 shlibpath_var=$shlibpath_var
21416 # Is shlibpath searched before the hard-coded library search path?
21417 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21419 # How to hardcode a shared library path into an executable.
21420 hardcode_action=$hardcode_action_CXX
21422 # Whether we should hardcode library paths into libraries.
21423 hardcode_into_libs=$hardcode_into_libs
21425 # Flag to hardcode \$libdir into a binary during linking.
21426 # This must work even if \$libdir does not exist.
21427 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21429 # If ld is used when linking, flag to hardcode \$libdir into
21430 # a binary during linking. This must work even if \$libdir does
21432 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21434 # Whether we need a single -rpath flag with a separated argument.
21435 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21437 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21438 # resulting binary.
21439 hardcode_direct=$hardcode_direct_CXX
21441 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21442 # resulting binary.
21443 hardcode_minus_L=$hardcode_minus_L_CXX
21445 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21446 # the resulting binary.
21447 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21449 # Set to yes if building a shared library automatically hardcodes DIR into the library
21450 # and all subsequent libraries and executables linked against it.
21451 hardcode_automatic=$hardcode_automatic_CXX
21453 # Variables whose values should be saved in libtool wrapper scripts and
21454 # restored at relink time.
21455 variables_saved_for_relink="$variables_saved_for_relink"
21457 # Whether libtool must link a program against all its dependency libraries.
21458 link_all_deplibs=$link_all_deplibs_CXX
21460 # Compile-time system search path for libraries
21461 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21463 # Run-time system search path for libraries
21464 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21466 # Fix the shell variable \$srcfile for the compiler.
21467 fix_srcfile_path="$fix_srcfile_path_CXX"
21469 # Set to yes if exported symbols are required.
21470 always_export_symbols=$always_export_symbols_CXX
21472 # The commands to list exported symbols.
21473 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21475 # The commands to extract the exported symbol list from a shared archive.
21476 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21478 # Symbols that should not be listed in the preloaded symbols.
21479 exclude_expsyms=$lt_exclude_expsyms_CXX
21481 # Symbols that must always be exported.
21482 include_expsyms=$lt_include_expsyms_CXX
21484 # ### END LIBTOOL TAG CONFIG: $tagname
21490 # If there is no Makefile yet, we rely on a make rule to execute
21491 # `config.status --recheck' to rerun these tests and create the
21492 # libtool script then.
21493 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21494 if test -f "$ltmain_in"; then
21495 test -f Makefile
&& make "$ltmain"
21501 ac_cpp
='$CPP $CPPFLAGS'
21502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21510 with_gnu_ldcxx
=$with_gnu_ld
21511 with_gnu_ld
=$lt_save_with_gnu_ld
21512 lt_cv_path_LDCXX
=$lt_cv_path_LD
21513 lt_cv_path_LD
=$lt_save_path_LD
21514 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
21515 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
21523 if test -n "$F77" && test "X$F77" != "Xno"; then
21526 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21527 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21528 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
21531 archive_cmds_need_lc_F77
=no
21532 allow_undefined_flag_F77
=
21533 always_export_symbols_F77
=no
21534 archive_expsym_cmds_F77
=
21535 export_dynamic_flag_spec_F77
=
21536 hardcode_direct_F77
=no
21537 hardcode_libdir_flag_spec_F77
=
21538 hardcode_libdir_flag_spec_ld_F77
=
21539 hardcode_libdir_separator_F77
=
21540 hardcode_minus_L_F77
=no
21541 hardcode_automatic_F77
=no
21543 module_expsym_cmds_F77
=
21544 link_all_deplibs_F77
=unknown
21545 old_archive_cmds_F77
=$old_archive_cmds
21546 no_undefined_flag_F77
=
21547 whole_archive_flag_spec_F77
=
21548 enable_shared_with_static_runtimes_F77
=no
21550 # Source file extension for f77 test sources.
21553 # Object file extension for compiled f77 test sources.
21557 # Code to be used in simple compile tests
21558 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
21560 # Code to be used in simple link tests
21561 lt_simple_link_test_code
=" program t\n end\n"
21563 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21565 # If no C compiler was specified, use CC.
21568 # If no C compiler flags were specified, use CFLAGS.
21569 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21571 # Allow CC to be a program name with arguments.
21575 # save warnings/boilerplate of simple test code
21576 ac_outfile
=conftest.
$ac_objext
21577 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
21578 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21579 _lt_compiler_boilerplate
=`cat conftest.err`
21582 ac_outfile
=conftest.
$ac_objext
21583 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
21584 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21585 _lt_linker_boilerplate
=`cat conftest.err`
21589 # Allow CC to be a program name with arguments.
21594 for cc_temp
in $compiler""; do
21596 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21597 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21602 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21605 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21606 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21607 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21608 echo "${ECHO_T}$can_build_shared" >&6; }
21610 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21611 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21612 test "$can_build_shared" = "no" && enable_shared
=no
21614 # On AIX, shared libraries and static libraries use the same namespace, and
21615 # are all built from PIC.
21618 test "$enable_shared" = yes && enable_static
=no
21619 if test -n "$RANLIB"; then
21620 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
21621 postinstall_cmds
='$RANLIB $lib'
21625 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
21626 test "$enable_shared" = yes && enable_static
=no
21630 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21631 echo "${ECHO_T}$enable_shared" >&6; }
21633 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21634 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21635 # Make sure either enable_shared or enable_static is yes.
21636 test "$enable_shared" = yes || enable_static
=yes
21637 { echo "$as_me:$LINENO: result: $enable_static" >&5
21638 echo "${ECHO_T}$enable_static" >&6; }
21643 lt_prog_compiler_wl_F77
=
21644 lt_prog_compiler_pic_F77
=
21645 lt_prog_compiler_static_F77
=
21647 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21648 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21650 if test "$GCC" = yes; then
21651 lt_prog_compiler_wl_F77
='-Wl,'
21652 lt_prog_compiler_static_F77
='-static'
21656 # All AIX code is PIC.
21657 if test "$host_cpu" = ia64
; then
21658 # AIX 5 now supports IA64 processor
21659 lt_prog_compiler_static_F77
='-Bstatic'
21664 # FIXME: we need at least 68020 code to build shared libraries, but
21665 # adding the `-m68020' flag to GCC prevents building anything better,
21667 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21670 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21671 # PIC is the default for these OSes.
21674 mingw
* | pw32
* | os2
*)
21675 # This hack is so that the source file can tell whether it is being
21676 # built for inclusion in a dll (and should export symbols for example).
21677 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21680 darwin
* | rhapsody
*)
21681 # PIC is the default on this platform
21682 # Common symbols not allowed in MH_DYLIB files
21683 lt_prog_compiler_pic_F77
='-fno-common'
21687 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21688 # Instead, we relocate shared libraries at runtime.
21692 # Just because we use GCC doesn't mean we suddenly get shared libraries
21693 # on systems that don't support them.
21694 lt_prog_compiler_can_build_shared_F77
=no
21699 if test -d /usr
/nec
; then
21700 lt_prog_compiler_pic_F77
=-Kconform_pic
21705 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21706 # not for PA HP-UX.
21712 lt_prog_compiler_pic_F77
='-fPIC'
21718 lt_prog_compiler_pic_F77
='-fPIC'
21722 # PORTME Check for flag to pass linker flags through the system compiler.
21725 lt_prog_compiler_wl_F77
='-Wl,'
21726 if test "$host_cpu" = ia64
; then
21727 # AIX 5 now supports IA64 processor
21728 lt_prog_compiler_static_F77
='-Bstatic'
21730 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21734 # PIC is the default on this platform
21735 # Common symbols not allowed in MH_DYLIB files
21736 case $cc_basename in
21738 lt_prog_compiler_pic_F77
='-qnocommon'
21739 lt_prog_compiler_wl_F77
='-Wl,'
21744 mingw
* | pw32
* | os2
*)
21745 # This hack is so that the source file can tell whether it is being
21746 # built for inclusion in a dll (and should export symbols for example).
21747 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21750 hpux9
* | hpux10
* | hpux11
*)
21751 lt_prog_compiler_wl_F77
='-Wl,'
21752 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21753 # not for PA HP-UX.
21759 lt_prog_compiler_pic_F77
='+Z'
21762 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21763 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21766 irix5
* | irix6
* | nonstopux
*)
21767 lt_prog_compiler_wl_F77
='-Wl,'
21768 # PIC (with -KPIC) is the default.
21769 lt_prog_compiler_static_F77
='-non_shared'
21773 lt_prog_compiler_pic_F77
='-KPIC'
21774 lt_prog_compiler_static_F77
='-Bstatic'
21778 case $cc_basename in
21780 lt_prog_compiler_wl_F77
='-Wl,'
21781 lt_prog_compiler_pic_F77
='-KPIC'
21782 lt_prog_compiler_static_F77
='-static'
21784 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21785 # Portland Group compilers (*not* the Pentium gcc compiler,
21786 # which looks to be a dead project)
21787 lt_prog_compiler_wl_F77
='-Wl,'
21788 lt_prog_compiler_pic_F77
='-fpic'
21789 lt_prog_compiler_static_F77
='-Bstatic'
21792 lt_prog_compiler_wl_F77
='-Wl,'
21793 # All Alpha code is PIC.
21794 lt_prog_compiler_static_F77
='-non_shared'
21799 osf3
* | osf4
* | osf5
*)
21800 lt_prog_compiler_wl_F77
='-Wl,'
21801 # All OSF/1 code is PIC.
21802 lt_prog_compiler_static_F77
='-non_shared'
21806 lt_prog_compiler_pic_F77
='-KPIC'
21807 lt_prog_compiler_static_F77
='-Bstatic'
21808 case $cc_basename in
21809 f77
* | f90
* | f95
*)
21810 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21812 lt_prog_compiler_wl_F77
='-Wl,';;
21817 lt_prog_compiler_wl_F77
='-Qoption ld '
21818 lt_prog_compiler_pic_F77
='-PIC'
21819 lt_prog_compiler_static_F77
='-Bstatic'
21822 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21823 lt_prog_compiler_wl_F77
='-Wl,'
21824 lt_prog_compiler_pic_F77
='-KPIC'
21825 lt_prog_compiler_static_F77
='-Bstatic'
21829 if test -d /usr
/nec
;then
21830 lt_prog_compiler_pic_F77
='-Kconform_pic'
21831 lt_prog_compiler_static_F77
='-Bstatic'
21835 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21836 lt_prog_compiler_wl_F77
='-Wl,'
21837 lt_prog_compiler_pic_F77
='-KPIC'
21838 lt_prog_compiler_static_F77
='-Bstatic'
21842 lt_prog_compiler_wl_F77
='-Wl,'
21843 lt_prog_compiler_can_build_shared_F77
=no
21847 lt_prog_compiler_pic_F77
='-pic'
21848 lt_prog_compiler_static_F77
='-Bstatic'
21852 lt_prog_compiler_can_build_shared_F77
=no
21857 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21858 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21861 # Check to make sure the PIC flag actually works.
21863 if test -n "$lt_prog_compiler_pic_F77"; then
21865 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21866 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21867 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21868 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 lt_prog_compiler_pic_works_F77
=no
21871 ac_outfile
=conftest.
$ac_objext
21872 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21873 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21874 # Insert the option either (1) after the last *FLAGS variable, or
21875 # (2) before a word containing "conftest.", or (3) at the end.
21876 # Note that $ac_compile itself does not contain backslashes and begins
21877 # with a dollar sign (not a hyphen), so the echo should work correctly.
21878 # The option is referenced via a variable to avoid confusing sed.
21879 lt_compile
=`echo "$ac_compile" | $SED \
21880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21882 -e 's:$: $lt_compiler_flag:'`
21883 (eval echo "\"\$as_me:21883: $lt_compile\"" >&5)
21884 (eval "$lt_compile" 2>conftest.err
)
21886 cat conftest.err
>&5
21887 echo "$as_me:21887: \$? = $ac_status" >&5
21888 if (exit $ac_status) && test -s "$ac_outfile"; then
21889 # The compiler can only warn and ignore the option if not recognized
21890 # So say no if there are warnings other than the usual output.
21891 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21892 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21893 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21894 lt_prog_compiler_pic_works_F77
=yes
21900 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21901 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21903 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21904 case $lt_prog_compiler_pic_F77 in
21906 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21909 lt_prog_compiler_pic_F77
=
21910 lt_prog_compiler_can_build_shared_F77
=no
21915 # For platforms which do not support PIC, -DPIC is meaningless:
21917 lt_prog_compiler_pic_F77
=
21920 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21925 # Check to make sure the static flag actually works.
21927 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21928 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21929 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21930 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21931 echo $ECHO_N "(cached) $ECHO_C" >&6
21933 lt_prog_compiler_static_works_F77
=no
21934 save_LDFLAGS
="$LDFLAGS"
21935 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21936 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21937 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21938 # The linker can only warn and ignore the option if not recognized
21939 # So say no if there are warnings
21940 if test -s conftest.err
; then
21941 # Append any errors to the config.log.
21942 cat conftest.err
1>&5
21943 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21944 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21945 if diff conftest.exp conftest.er2
>/dev
/null
; then
21946 lt_prog_compiler_static_works_F77
=yes
21949 lt_prog_compiler_static_works_F77
=yes
21953 LDFLAGS
="$save_LDFLAGS"
21956 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21957 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21959 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21962 lt_prog_compiler_static_F77
=
21966 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21967 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21968 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21969 echo $ECHO_N "(cached) $ECHO_C" >&6
21971 lt_cv_prog_compiler_c_o_F77
=no
21972 $rm -r conftest
2>/dev
/null
21976 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21978 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21979 # Insert the option either (1) after the last *FLAGS variable, or
21980 # (2) before a word containing "conftest.", or (3) at the end.
21981 # Note that $ac_compile itself does not contain backslashes and begins
21982 # with a dollar sign (not a hyphen), so the echo should work correctly.
21983 lt_compile
=`echo "$ac_compile" | $SED \
21984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21986 -e 's:$: $lt_compiler_flag:'`
21987 (eval echo "\"\$as_me:21987: $lt_compile\"" >&5)
21988 (eval "$lt_compile" 2>out
/conftest.err
)
21990 cat out
/conftest.err
>&5
21991 echo "$as_me:21991: \$? = $ac_status" >&5
21992 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21994 # The compiler can only warn and ignore the option if not recognized
21995 # So say no if there are warnings
21996 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21997 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21998 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21999 lt_cv_prog_compiler_c_o_F77
=yes
22004 # SGI C++ compiler will create directory out/ii_files/ for
22005 # template instantiation
22006 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
22007 $rm out
/* && rmdir out
22013 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
22014 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
22017 hard_links
="nottested"
22018 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
22019 # do not overwrite the value of need_locks provided by the user
22020 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22021 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
22024 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
22026 ln conftest.a conftest.b
2>&5 || hard_links
=no
22027 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
22028 { echo "$as_me:$LINENO: result: $hard_links" >&5
22029 echo "${ECHO_T}$hard_links" >&6; }
22030 if test "$hard_links" = no
; then
22031 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22032 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22039 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22040 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
22043 allow_undefined_flag_F77
=
22044 enable_shared_with_static_runtimes_F77
=no
22046 archive_expsym_cmds_F77
=
22047 old_archive_From_new_cmds_F77
=
22048 old_archive_from_expsyms_cmds_F77
=
22049 export_dynamic_flag_spec_F77
=
22050 whole_archive_flag_spec_F77
=
22051 thread_safe_flag_spec_F77
=
22052 hardcode_libdir_flag_spec_F77
=
22053 hardcode_libdir_flag_spec_ld_F77
=
22054 hardcode_libdir_separator_F77
=
22055 hardcode_direct_F77
=no
22056 hardcode_minus_L_F77
=no
22057 hardcode_shlibpath_var_F77
=unsupported
22058 link_all_deplibs_F77
=unknown
22059 hardcode_automatic_F77
=no
22061 module_expsym_cmds_F77
=
22062 always_export_symbols_F77
=no
22063 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22064 # include_expsyms should be a list of space-separated symbols to be *always*
22065 # included in the symbol list
22066 include_expsyms_F77
=
22067 # exclude_expsyms can be an extended regexp of symbols to exclude
22068 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22069 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22070 # as well as any symbol that contains `d'.
22071 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
22072 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22073 # platforms (ab)use it in PIC code, but their linkers get confused if
22074 # the symbol is explicitly referenced. Since portable code cannot
22075 # rely on this symbol name, it's probably fine to never include it in
22076 # preloaded symbol tables.
22077 extract_expsyms_cmds
=
22078 # Just being paranoid about ensuring that cc_basename is set.
22079 for cc_temp
in $compiler""; do
22081 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
22082 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
22087 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22090 cygwin
* | mingw
* | pw32
*)
22091 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22092 # When not using gcc, we currently assume that we are using
22093 # Microsoft Visual C++.
22094 if test "$GCC" != yes; then
22099 # we just hope/assume this is gcc and not c89 (= MSVC++)
22108 if test "$with_gnu_ld" = yes; then
22109 # If archive_cmds runs LD, not CC, wlarc should be empty
22112 # Set some defaults for GNU ld with shared library support. These
22113 # are reset later if shared libraries are not supported. Putting them
22114 # here allows them to be overridden if necessary.
22115 runpath_var
=LD_RUN_PATH
22116 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
22117 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
22118 # ancient GNU ld didn't support --whole-archive et. al.
22119 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
22120 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22122 whole_archive_flag_spec_F77
=
22124 supports_anon_versioning
=no
22125 case `$LD -v 2>/dev/null` in
22126 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
22127 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
22128 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
22129 *\
2.11.
*) ;; # other 2.11 versions
22130 *) supports_anon_versioning
=yes ;;
22133 # See if GNU ld supports shared libraries.
22135 aix3
* | aix4
* | aix5
*)
22136 # On AIX/PPC, the GNU linker is very broken
22137 if test "$host_cpu" != ia64
; then
22141 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22142 *** to be unable to reliably create shared libraries on AIX.
22143 *** Therefore, libtool is disabling shared libraries support. If you
22144 *** really care for shared libraries, you may want to modify your PATH
22145 *** so that a non-GNU linker is found, and then restart.
22152 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)'
22153 hardcode_libdir_flag_spec_F77
='-L$libdir'
22154 hardcode_minus_L_F77
=yes
22156 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22157 # that the semantics of dynamic libraries on AmigaOS, at least up
22158 # to version 4, is to share data among multiple programs linked
22159 # with the same dynamic library. Since this doesn't match the
22160 # behavior of shared libraries on other platforms, we can't use
22166 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22167 allow_undefined_flag_F77
=unsupported
22168 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22169 # support --undefined. This deserves some investigation. FIXME
22170 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22176 cygwin
* | mingw
* | pw32
*)
22177 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
22178 # as there is no search path for DLLs.
22179 hardcode_libdir_flag_spec_F77
='-L$libdir'
22180 allow_undefined_flag_F77
=unsupported
22181 always_export_symbols_F77
=no
22182 enable_shared_with_static_runtimes_F77
=yes
22183 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22185 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
22186 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22187 # If the export-symbols file already is a .def file (1st line
22188 # is EXPORTS), use it as is; otherwise, prepend...
22189 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22190 cp $export_symbols $output_objdir/$soname.def;
22192 echo EXPORTS > $output_objdir/$soname.def;
22193 cat $export_symbols >> $output_objdir/$soname.def;
22195 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22202 hardcode_direct_F77
=no
22203 hardcode_shlibpath_var_F77
=no
22204 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22205 export_dynamic_flag_spec_F77
='${wl}-E'
22206 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22207 # Instead, shared libraries are loaded at an image base (0x10000000 by
22208 # default) and relocated if they conflict, which is a slow very memory
22209 # consuming and fragmenting process. To avoid this, we pick a random,
22210 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22211 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22212 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'
22213 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'
22217 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22219 case $cc_basename,$host_cpu in
22220 pgcc
*) # Portland Group C compiler
22221 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'
22222 tmp_addflag
=' $pic_flag'
22224 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
22225 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'
22226 tmp_addflag
=' $pic_flag -Mnomain' ;;
22227 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
22228 tmp_addflag
=' -i_dynamic' ;;
22229 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
22230 tmp_addflag
=' -i_dynamic -nofor_main' ;;
22231 ifc
* | ifort
*) # Intel Fortran compiler
22232 tmp_addflag
=' -nofor_main' ;;
22234 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22236 if test $supports_anon_versioning = yes; then
22237 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
22238 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22239 $echo "local: *; };" >> $output_objdir/$libname.ver~
22240 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22248 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22249 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22252 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22253 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22258 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
22262 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22263 *** create shared libraries on Solaris systems. Therefore, libtool
22264 *** is disabling shared libraries support. We urge you to upgrade GNU
22265 *** binutils to release 2.9.1 or newer. Another option is to modify
22266 *** your PATH or compiler configuration so that the native linker is
22267 *** used, and then restart.
22270 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22271 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22272 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22278 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
22279 case `$LD -v 2>&1` in
22280 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
22284 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22285 *** reliably create shared libraries on SCO systems. Therefore, libtool
22286 *** is disabling shared libraries support. We urge you to upgrade GNU
22287 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22288 *** your PATH or compiler configuration so that the native linker is
22289 *** used, and then restart.
22294 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22295 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22296 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22297 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22306 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22308 hardcode_direct_F77
=yes
22309 hardcode_shlibpath_var_F77
=no
22313 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22314 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22315 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22322 if test "$ld_shlibs_F77" = no
; then
22324 hardcode_libdir_flag_spec_F77
=
22325 export_dynamic_flag_spec_F77
=
22326 whole_archive_flag_spec_F77
=
22329 # PORTME fill in a description of your system's linker (not GNU ld)
22332 allow_undefined_flag_F77
=unsupported
22333 always_export_symbols_F77
=yes
22334 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'
22335 # Note: this linker hardcodes the directories in LIBPATH if there
22336 # are no directories specified by -L.
22337 hardcode_minus_L_F77
=yes
22338 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22339 # Neither direct hardcoding nor static linking is supported with a
22341 hardcode_direct_F77
=unsupported
22346 if test "$host_cpu" = ia64
; then
22347 # On IA64, the linker does run time linking by default, so we don't
22348 # have to do anything special.
22349 aix_use_runtimelinking
=no
22350 exp_sym_flag
='-Bexport'
22353 # If we're using GNU nm, then we don't want the "-C" option.
22354 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22355 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
22356 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'
22358 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'
22360 aix_use_runtimelinking
=no
22362 # Test if we are trying to use run time linking or normal
22363 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22364 # need to do runtime linking.
22365 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
22366 for ld_flag
in $LDFLAGS; do
22367 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
22368 aix_use_runtimelinking
=yes
22375 exp_sym_flag
='-bexport'
22376 no_entry_flag
='-bnoentry'
22379 # When large executables or shared objects are built, AIX ld can
22380 # have problems creating the table of contents. If linking a library
22381 # or program results in "error TOC overflow" add -mminimal-toc to
22382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22385 archive_cmds_F77
=''
22386 hardcode_direct_F77
=yes
22387 hardcode_libdir_separator_F77
=':'
22388 link_all_deplibs_F77
=yes
22390 if test "$GCC" = yes; then
22391 case $host_os in aix4.
[012]|aix4.
[012].
*)
22392 # We only want to do this on AIX 4.2 and lower, the check
22393 # below for broken collect2 doesn't work under 4.3+
22394 collect2name
=`${CC} -print-prog-name=collect2`
22395 if test -f "$collect2name" && \
22396 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
22398 # We have reworked collect2
22399 hardcode_direct_F77
=yes
22401 # We have old collect2
22402 hardcode_direct_F77
=unsupported
22403 # It fails to find uninstalled libraries when the uninstalled
22404 # path is not listed in the libpath. Setting hardcode_minus_L
22405 # to unsupported forces relinking
22406 hardcode_minus_L_F77
=yes
22407 hardcode_libdir_flag_spec_F77
='-L$libdir'
22408 hardcode_libdir_separator_F77
=
22412 shared_flag
='-shared'
22413 if test "$aix_use_runtimelinking" = yes; then
22414 shared_flag
="$shared_flag "'${wl}-G'
22418 if test "$host_cpu" = ia64
; then
22419 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22420 # chokes on -Wl,-G. The following line is correct:
22423 if test "$aix_use_runtimelinking" = yes; then
22424 shared_flag
='${wl}-G'
22426 shared_flag
='${wl}-bM:SRE'
22431 # It seems that -bexpall does not export symbols beginning with
22432 # underscore (_), so it is better to generate a list of symbols to export.
22433 always_export_symbols_F77
=yes
22434 if test "$aix_use_runtimelinking" = yes; then
22435 # Warning - without using the other runtime loading flags (-brtl),
22436 # -berok will link without error, but may produce a broken library.
22437 allow_undefined_flag_F77
='-berok'
22438 # Determine the default libpath from the value encoded in an empty executable.
22439 cat >conftest.
$ac_ext <<_ACEOF
22444 rm -f conftest.
$ac_objext conftest
$ac_exeext
22445 if { (ac_try
="$ac_link"
22446 case "(($ac_try" in
22447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22448 *) ac_try_echo=$ac_try;;
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_link") 2>conftest.er1
22453 grep -v '^ *+' conftest.er1 >conftest.err
22455 cat conftest.err >&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } &&
22458 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22459 { (case "(($ac_try" in
22460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22461 *) ac_try_echo
=$ac_try;;
22463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22464 (eval "$ac_try") 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; } &&
22468 { ac_try
='test -s conftest$ac_exeext'
22469 { (case "(($ac_try" in
22470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22471 *) ac_try_echo=$ac_try;;
22473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22474 (eval "$ac_try") 2>&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; }; then
22479 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22481 # Check for a 64-bit object if we didn't find anything.
22482 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; }
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.$ac_ext >&5
22491 rm -f core conftest.err conftest.$ac_objext \
22492 conftest$ac_exeext conftest.$ac_ext
22493 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22495 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22496 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"
22498 if test "$host_cpu" = ia64; then
22499 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22500 allow_undefined_flag_F77="-z nodefs"
22501 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"
22503 # Determine the default libpath from the value encoded in an empty executable.
22504 cat >conftest.$ac_ext <<_ACEOF
22509 rm -f conftest.$ac_objext conftest$ac_exeext
22510 if { (ac_try="$ac_link"
22511 case "(($ac_try" in
22512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22513 *) ac_try_echo
=$ac_try;;
22515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22516 (eval "$ac_link") 2>conftest.er1
22518 grep -v '^ *+' conftest.er1
>conftest.err
22520 cat conftest.err
>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } &&
22523 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22524 { (case "(($ac_try" in
22525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_try") 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; } &&
22533 { ac_try='test -s conftest$ac_exeext'
22534 { (case "(($ac_try" in
22535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22536 *) ac_try_echo
=$ac_try;;
22538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22539 (eval "$ac_try") 2>&5
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22544 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22546 # Check for a 64-bit object if we didn't find anything.
22547 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; }
22550 echo "$as_me: failed program was:" >&5
22551 sed 's/^/| /' conftest.
$ac_ext >&5
22556 rm -f core conftest.err conftest.
$ac_objext \
22557 conftest
$ac_exeext conftest.
$ac_ext
22558 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22560 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22561 # Warning - without using the other run time loading flags,
22562 # -berok will link without error, but may produce a broken library.
22563 no_undefined_flag_F77
=' ${wl}-bernotok'
22564 allow_undefined_flag_F77
=' ${wl}-berok'
22565 # Exported symbols can be pulled into shared objects from archives
22566 whole_archive_flag_spec_F77
='$convenience'
22567 archive_cmds_need_lc_F77
=yes
22568 # This is similar to how AIX traditionally builds its shared libraries.
22569 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'
22575 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)'
22576 hardcode_libdir_flag_spec_F77
='-L$libdir'
22577 hardcode_minus_L_F77
=yes
22578 # see comment about different semantics on the GNU ld section
22583 export_dynamic_flag_spec_F77
=-rdynamic
22586 cygwin
* | mingw
* | pw32
*)
22587 # When not using gcc, we currently assume that we are using
22588 # Microsoft Visual C++.
22589 # hardcode_libdir_flag_spec is actually meaningless, as there is
22590 # no search path for DLLs.
22591 hardcode_libdir_flag_spec_F77
=' '
22592 allow_undefined_flag_F77
=unsupported
22593 # Tell ltmain to make .lib files, not .a files.
22595 # Tell ltmain to make .dll files, not .so files.
22597 # FIXME: Setting linknames here is a bad hack.
22598 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22599 # The linker will automatically build a .lib file if we build a DLL.
22600 old_archive_From_new_cmds_F77
='true'
22601 # FIXME: Should let the user specify the lib program.
22602 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
22603 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22604 enable_shared_with_static_runtimes_F77
=yes
22607 darwin
* | rhapsody
*)
22609 rhapsody
* | darwin1.
[012])
22610 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
22613 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22614 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22616 case ${MACOSX_DEPLOYMENT_TARGET} in
22618 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22621 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
22627 archive_cmds_need_lc_F77
=no
22628 hardcode_direct_F77
=no
22629 hardcode_automatic_F77
=yes
22630 hardcode_shlibpath_var_F77
=unsupported
22631 whole_archive_flag_spec_F77
=''
22632 link_all_deplibs_F77
=yes
22633 if test "$GCC" = yes ; then
22634 output_verbose_link_cmd
='echo'
22635 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22636 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22637 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22638 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}'
22639 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}'
22641 case $cc_basename in
22643 output_verbose_link_cmd
='echo'
22644 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22645 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22646 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22647 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}'
22648 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}'
22658 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22659 hardcode_libdir_flag_spec_F77
='-L$libdir'
22660 hardcode_shlibpath_var_F77
=no
22667 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22668 # support. Future versions do this automatically, but an explicit c++rt0.o
22669 # does not break anything, and helps significantly (at the cost of a little
22672 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22673 hardcode_libdir_flag_spec_F77
='-R$libdir'
22674 hardcode_direct_F77
=yes
22675 hardcode_shlibpath_var_F77
=no
22678 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22680 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22681 hardcode_direct_F77
=yes
22682 hardcode_minus_L_F77
=yes
22683 hardcode_shlibpath_var_F77
=no
22686 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22687 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22688 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22689 hardcode_libdir_flag_spec_F77
='-R$libdir'
22690 hardcode_direct_F77
=yes
22691 hardcode_shlibpath_var_F77
=no
22695 if test "$GCC" = yes; then
22696 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'
22698 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'
22700 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22701 hardcode_libdir_separator_F77
=:
22702 hardcode_direct_F77
=yes
22704 # hardcode_minus_L: Not really in the search PATH,
22705 # but as the default location of the library.
22706 hardcode_minus_L_F77
=yes
22707 export_dynamic_flag_spec_F77
='${wl}-E'
22711 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22712 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22714 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22716 if test "$with_gnu_ld" = no
; then
22717 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22718 hardcode_libdir_separator_F77
=:
22720 hardcode_direct_F77
=yes
22721 export_dynamic_flag_spec_F77
='${wl}-E'
22723 # hardcode_minus_L: Not really in the search PATH,
22724 # but as the default location of the library.
22725 hardcode_minus_L_F77
=yes
22730 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22733 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22736 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22739 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22745 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22748 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22751 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22755 if test "$with_gnu_ld" = no
; then
22756 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22757 hardcode_libdir_separator_F77
=:
22761 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22762 hardcode_direct_F77
=no
22763 hardcode_shlibpath_var_F77
=no
22766 hardcode_direct_F77
=yes
22767 export_dynamic_flag_spec_F77
='${wl}-E'
22769 # hardcode_minus_L: Not really in the search PATH,
22770 # but as the default location of the library.
22771 hardcode_minus_L_F77
=yes
22777 irix5
* | irix6
* | nonstopux
*)
22778 if test "$GCC" = yes; then
22779 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'
22781 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'
22782 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22784 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22785 hardcode_libdir_separator_F77
=:
22786 link_all_deplibs_F77
=yes
22790 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22791 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22793 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22795 hardcode_libdir_flag_spec_F77
='-R$libdir'
22796 hardcode_direct_F77
=yes
22797 hardcode_shlibpath_var_F77
=no
22801 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22802 hardcode_direct_F77
=yes
22803 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22804 hardcode_libdir_separator_F77
=:
22805 hardcode_shlibpath_var_F77
=no
22809 hardcode_direct_F77
=yes
22810 hardcode_shlibpath_var_F77
=no
22811 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22812 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22813 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22814 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22815 export_dynamic_flag_spec_F77
='${wl}-E'
22818 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22819 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22820 hardcode_libdir_flag_spec_F77
='-R$libdir'
22823 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22824 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22831 hardcode_libdir_flag_spec_F77
='-L$libdir'
22832 hardcode_minus_L_F77
=yes
22833 allow_undefined_flag_F77
=unsupported
22834 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'
22835 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22839 if test "$GCC" = yes; then
22840 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22841 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'
22843 allow_undefined_flag_F77
=' -expect_unresolved \*'
22844 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'
22846 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22847 hardcode_libdir_separator_F77
=:
22850 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22851 if test "$GCC" = yes; then
22852 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22853 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'
22854 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22856 allow_undefined_flag_F77
=' -expect_unresolved \*'
22857 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'
22858 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~
22859 $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'
22861 # Both c and cxx compiler support -rpath directly
22862 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22864 hardcode_libdir_separator_F77
=:
22868 no_undefined_flag_F77
=' -z text'
22869 if test "$GCC" = yes; then
22871 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22872 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22873 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22876 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22877 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22878 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22880 hardcode_libdir_flag_spec_F77
='-R$libdir'
22881 hardcode_shlibpath_var_F77
=no
22883 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22885 # The compiler driver will combine linker options so we
22886 # cannot just pass the convience library names through
22887 # without $wl, iff we do not link with $LD.
22888 # Luckily, gcc supports the same syntax we need for Sun Studio.
22889 # Supported since Solaris 2.6 (maybe 2.5.1?)
22892 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22894 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' ;;
22897 link_all_deplibs_F77
=yes
22901 if test "x$host_vendor" = xsequent
; then
22902 # Use $CC to link under sequent, because it throws in some extra .o
22903 # files that make .init and .fini sections work.
22904 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22906 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22908 hardcode_libdir_flag_spec_F77
='-L$libdir'
22909 hardcode_direct_F77
=yes
22910 hardcode_minus_L_F77
=yes
22911 hardcode_shlibpath_var_F77
=no
22915 case $host_vendor in
22917 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22918 hardcode_direct_F77
=yes # is this really true???
22921 ## LD is ld it makes a PLAMLIB
22922 ## CC just makes a GrossModule.
22923 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22924 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22925 hardcode_direct_F77
=no
22928 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22929 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22932 runpath_var
='LD_RUN_PATH'
22933 hardcode_shlibpath_var_F77
=no
22937 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22938 hardcode_shlibpath_var_F77
=no
22939 export_dynamic_flag_spec_F77
='-Bexport'
22943 if test -d /usr
/nec
; then
22944 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22945 hardcode_shlibpath_var_F77
=no
22946 runpath_var
=LD_RUN_PATH
22947 hardcode_runpath_var
=yes
22952 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22953 no_undefined_flag_F77
='${wl}-z,text'
22954 archive_cmds_need_lc_F77
=no
22955 hardcode_shlibpath_var_F77
=no
22956 runpath_var
='LD_RUN_PATH'
22958 if test "$GCC" = yes; then
22959 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22960 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22962 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22963 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22967 sysv5
* | sco3.2v5
* | sco5v6
*)
22968 # Note: We can NOT use -z defs as we might desire, because we do not
22969 # link with -lc, and that would cause any symbols used from libc to
22970 # always be unresolved, which means just about no library would
22971 # ever link correctly. If we're not using GNU ld we use -z text
22972 # though, which does catch some bad symbols but isn't as heavy-handed
22974 no_undefined_flag_F77
='${wl}-z,text'
22975 allow_undefined_flag_F77
='${wl}-z,nodefs'
22976 archive_cmds_need_lc_F77
=no
22977 hardcode_shlibpath_var_F77
=no
22978 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22979 hardcode_libdir_separator_F77
=':'
22980 link_all_deplibs_F77
=yes
22981 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22982 runpath_var
='LD_RUN_PATH'
22984 if test "$GCC" = yes; then
22985 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22986 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22988 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22989 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22994 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22995 hardcode_libdir_flag_spec_F77
='-L$libdir'
22996 hardcode_shlibpath_var_F77
=no
23005 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
23006 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
23007 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
23010 # Do we need to explicitly link libc?
23012 case "x$archive_cmds_need_lc_F77" in
23014 # Assume -lc should be added
23015 archive_cmds_need_lc_F77
=yes
23017 if test "$enable_shared" = yes && test "$GCC" = yes; then
23018 case $archive_cmds_F77 in
23020 # FIXME: we may have to deal with multi-command sequences.
23023 # Test whether the compiler implicitly links with -lc since on some
23024 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23025 # to ld, don't add -lc before -lgcc.
23026 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23027 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
23029 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23032 (eval $ac_compile) 2>&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); } 2>conftest.err
; then
23038 libobjs
=conftest.
$ac_objext
23040 wl
=$lt_prog_compiler_wl_F77
23041 pic_flag
=$lt_prog_compiler_pic_F77
23047 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
23048 allow_undefined_flag_F77
=
23049 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23050 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); }
23055 archive_cmds_need_lc_F77
=no
23057 archive_cmds_need_lc_F77
=yes
23059 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
23061 cat conftest.err
1>&5
23064 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
23065 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
23072 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23073 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
23074 library_names_spec
=
23075 libname_spec
='lib$name'
23079 postuninstall_cmds
=
23083 shlibpath_overrides_runpath
=unknown
23085 dynamic_linker
="$host_os ld.so"
23086 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
23087 if test "$GCC" = yes; then
23088 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23089 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
23090 # if the path contains ";" then we assume it to be the separator
23091 # otherwise default to the standard path separator (i.e. ":") - it is
23092 # assumed that no part of a normal pathname contains ";" but that should
23093 # okay in the real world where ";" in dirpaths is itself problematic.
23094 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23096 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23099 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
23101 need_lib_prefix
=unknown
23102 hardcode_into_libs
=no
23104 # when you set need_version to no, make sure it does not cause -set_version
23105 # flags to be left without arguments
23106 need_version
=unknown
23111 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
23112 shlibpath_var
=LIBPATH
23114 # AIX 3 has no versioning support, so we append a major version to the name.
23115 soname_spec
='${libname}${release}${shared_ext}$major'
23122 hardcode_into_libs
=yes
23123 if test "$host_cpu" = ia64
; then
23124 # AIX 5 supports IA64
23125 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23126 shlibpath_var
=LD_LIBRARY_PATH
23128 # With GCC up to 2.95.x, collect2 would create an import file
23129 # for dependence libraries. The import file would start with
23130 # the line `#! .'. This would cause the generated library to
23131 # depend on `.', always an invalid library. This was fixed in
23132 # development snapshots of GCC prior to 3.0.
23134 aix4 | aix4.
[01] | aix4.
[01].
*)
23135 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23137 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
23140 can_build_shared
=no
23144 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23145 # soname into executable. Probably we can add versioning support to
23146 # collect2, so additional links can be useful in future.
23147 if test "$aix_use_runtimelinking" = yes; then
23148 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23149 # instead of lib<name>.a to let people know that these are not
23150 # typical AIX shared libraries.
23151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23153 # We preserve .a as extension for shared libraries through AIX4.2
23154 # and later when we are not doing run time linking.
23155 library_names_spec
='${libname}${release}.a $libname.a'
23156 soname_spec
='${libname}${release}${shared_ext}$major'
23158 shlibpath_var
=LIBPATH
23163 library_names_spec
='$libname.ixlibrary $libname.a'
23164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23165 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'
23169 library_names_spec
='${libname}${shared_ext}'
23170 dynamic_linker
="$host_os ld.so"
23171 shlibpath_var
=LIBRARY_PATH
23177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23178 soname_spec
='${libname}${release}${shared_ext}$major'
23179 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
23180 shlibpath_var
=LD_LIBRARY_PATH
23181 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23182 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
23183 # the default ld.so.conf also contains /usr/contrib/lib and
23184 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23185 # libtool to hard-code these into programs
23188 cygwin
* | mingw
* | pw32
*)
23189 version_type
=windows
23194 case $GCC,$host_os in
23195 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
23196 library_names_spec
='$libname.dll.a'
23197 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23198 postinstall_cmds
='base_file=`basename \${file}`~
23199 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23200 dldir=$destdir/`dirname \$dlpath`~
23201 test -d \$dldir || mkdir -p \$dldir~
23202 $install_prog $dir/$dlname \$dldir/$dlname~
23203 chmod a+x \$dldir/$dlname'
23204 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23205 dlpath=$dir/\$dldll~
23207 shlibpath_overrides_runpath
=yes
23211 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23212 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23213 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
23216 # MinGW DLLs use traditional 'lib' prefix
23217 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23218 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23219 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
23220 # It is most probably a Windows format PATH printed by
23221 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23222 # path with ; separators, and with drive letters. We can handle the
23223 # drive letters (cygwin fileutils understands them), so leave them,
23224 # especially as we might pass files found there to a mingw objdump,
23225 # which wouldn't understand a cygwinified path. Ahh.
23226 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23228 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23232 # pw32 DLLs use 'pw' prefix rather than 'lib'
23233 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23239 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23242 dynamic_linker
='Win32 ld.exe'
23243 # FIXME: first we should search . and the directory the executable is in
23247 darwin
* | rhapsody
*)
23248 dynamic_linker
="$host_os dyld"
23249 version_type
=darwin
23252 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23253 soname_spec
='${libname}${release}${major}$shared_ext'
23254 shlibpath_overrides_runpath
=yes
23255 shlibpath_var
=DYLD_LIBRARY_PATH
23256 shrext_cmds
='.dylib'
23257 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
23258 if test "$GCC" = yes; then
23259 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"`
23261 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
23263 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
23270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23271 soname_spec
='${libname}${release}${shared_ext}$major'
23272 shlibpath_var
=LD_LIBRARY_PATH
23283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23284 soname_spec
='${libname}${release}${shared_ext}$major'
23285 shlibpath_var
=LD_LIBRARY_PATH
23286 shlibpath_overrides_runpath
=no
23287 hardcode_into_libs
=yes
23288 dynamic_linker
='GNU ld.so'
23291 freebsd
* | dragonfly
*)
23292 # DragonFly does not have aout. When/if they implement a new
23293 # versioning mechanism, adjust this.
23294 if test -x /usr
/bin
/objformat
; then
23295 objformat
=`/usr/bin/objformat`
23298 freebsd
[123]*) objformat
=aout
;;
23299 *) objformat
=elf
;;
23302 version_type
=freebsd-
$objformat
23303 case $version_type in
23305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23310 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23314 shlibpath_var
=LD_LIBRARY_PATH
23317 shlibpath_overrides_runpath
=yes
23319 freebsd3.
[01]* | freebsdelf3.
[01]*)
23320 shlibpath_overrides_runpath
=yes
23321 hardcode_into_libs
=yes
23323 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
23324 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
23325 shlibpath_overrides_runpath
=no
23326 hardcode_into_libs
=yes
23328 freebsd
*) # from 4.6 on
23329 shlibpath_overrides_runpath
=yes
23330 hardcode_into_libs
=yes
23339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23340 soname_spec
='${libname}${release}${shared_ext}$major'
23341 shlibpath_var
=LD_LIBRARY_PATH
23342 hardcode_into_libs
=yes
23345 hpux9
* | hpux10
* | hpux11
*)
23346 # Give a soname corresponding to the major version so that dld.sl refuses to
23347 # link against other versions.
23354 hardcode_into_libs
=yes
23355 dynamic_linker
="$host_os dld.so"
23356 shlibpath_var
=LD_LIBRARY_PATH
23357 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
23358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23359 soname_spec
='${libname}${release}${shared_ext}$major'
23360 if test "X$HPUX_IA64_MODE" = X32
; then
23361 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23363 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
23365 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
23369 hardcode_into_libs
=yes
23370 dynamic_linker
="$host_os dld.sl"
23371 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
23372 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
23373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23374 soname_spec
='${libname}${release}${shared_ext}$major'
23375 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23376 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
23380 dynamic_linker
="$host_os dld.sl"
23381 shlibpath_var
=SHLIB_PATH
23382 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
23383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23384 soname_spec
='${libname}${release}${shared_ext}$major'
23387 # HP-UX runs *really* slowly unless shared libraries are mode 555.
23388 postinstall_cmds
='chmod 555 $lib'
23395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23396 soname_spec
='${libname}${release}${shared_ext}$major'
23397 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
23398 shlibpath_var
=LD_LIBRARY_PATH
23399 shlibpath_overrides_runpath
=no
23400 hardcode_into_libs
=yes
23403 irix5
* | irix6
* | nonstopux
*)
23405 nonstopux
*) version_type
=nonstopux
;;
23407 if test "$lt_cv_prog_gnu_ld" = yes; then
23415 soname_spec
='${libname}${release}${shared_ext}$major'
23416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23418 irix5
* | nonstopux
*)
23419 libsuff
= shlibsuff
=
23422 case $LD in # libtool.m4 will add one of these switches to LD
23423 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
23424 libsuff
= shlibsuff
= libmagic
=32-bit;;
23425 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
23426 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
23427 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
23428 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
23429 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
23433 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
23434 shlibpath_overrides_runpath
=no
23435 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23436 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
23437 hardcode_into_libs
=yes
23440 # No shared lib support for Linux oldld, aout, or coff.
23441 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
23445 # This must be Linux ELF.
23450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23451 soname_spec
='${libname}${release}${shared_ext}$major'
23452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23453 shlibpath_var
=LD_LIBRARY_PATH
23454 shlibpath_overrides_runpath
=no
23455 # This implies no fast_install, which is unacceptable.
23456 # Some rework will be needed to allow for fast_install
23457 # before this can be enabled.
23458 hardcode_into_libs
=yes
23460 # Append ld.so.conf contents to the search path
23461 if test -f /etc
/ld.so.conf
; then
23462 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' ' '`
23463 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
23466 # We used to test for /lib/ld.so.1 and disable shared libraries on
23467 # powerpc, because MkLinux only supported shared libraries with the
23468 # GNU dynamic linker. Since this was broken with cross compilers,
23469 # most powerpc-linux boxes support dynamic linking these days and
23470 # people can always --disable-shared, the test was removed, and we
23471 # assume the GNU/Linux dynamic linker is in use.
23472 dynamic_linker
='GNU/Linux ld.so'
23479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23480 soname_spec
='${libname}${release}${shared_ext}$major'
23481 shlibpath_var
=LD_LIBRARY_PATH
23482 shlibpath_overrides_runpath
=no
23483 hardcode_into_libs
=yes
23484 dynamic_linker
='GNU ld.so'
23491 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
23492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23493 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23494 dynamic_linker
='NetBSD (a.out) ld.so'
23496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23497 soname_spec
='${libname}${release}${shared_ext}$major'
23498 dynamic_linker
='NetBSD ld.elf_so'
23500 shlibpath_var
=LD_LIBRARY_PATH
23501 shlibpath_overrides_runpath
=yes
23502 hardcode_into_libs
=yes
23507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23508 shlibpath_var
=LD_LIBRARY_PATH
23509 shlibpath_overrides_runpath
=yes
23516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23517 soname_spec
='${libname}${release}${shared_ext}$major'
23518 shlibpath_var
=LD_LIBRARY_PATH
23519 shlibpath_overrides_runpath
=yes
23524 sys_lib_dlsearch_path_spec
="/usr/lib"
23526 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23528 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
23529 *) need_version
=no
;;
23531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23532 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23533 shlibpath_var
=LD_LIBRARY_PATH
23534 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23536 openbsd2.
[89] | openbsd2.
[89].
*)
23537 shlibpath_overrides_runpath
=no
23540 shlibpath_overrides_runpath
=yes
23544 shlibpath_overrides_runpath
=yes
23549 libname_spec
='$name'
23552 library_names_spec
='$libname${shared_ext} $libname.a'
23553 dynamic_linker
='OS/2 ld.exe'
23554 shlibpath_var
=LIBPATH
23557 osf3
* | osf4
* | osf5
*)
23561 soname_spec
='${libname}${release}${shared_ext}$major'
23562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23563 shlibpath_var
=LD_LIBRARY_PATH
23564 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23565 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
23572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23573 soname_spec
='${libname}${release}${shared_ext}$major'
23574 shlibpath_var
=LD_LIBRARY_PATH
23575 shlibpath_overrides_runpath
=yes
23576 hardcode_into_libs
=yes
23577 # ldd complains unless libraries are executable
23578 postinstall_cmds
='chmod +x $lib'
23583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23584 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23585 shlibpath_var
=LD_LIBRARY_PATH
23586 shlibpath_overrides_runpath
=yes
23587 if test "$with_gnu_ld" = yes; then
23595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23596 soname_spec
='${libname}${release}${shared_ext}$major'
23597 shlibpath_var
=LD_LIBRARY_PATH
23598 case $host_vendor in
23600 shlibpath_overrides_runpath
=no
23602 export_dynamic_flag_spec
='${wl}-Blargedynsym'
23603 runpath_var
=LD_RUN_PATH
23611 shlibpath_overrides_runpath
=no
23612 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
23618 if test -d /usr
/nec
;then
23620 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23621 soname_spec
='$libname${shared_ext}.$major'
23622 shlibpath_var
=LD_LIBRARY_PATH
23626 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
23627 version_type
=freebsd-elf
23630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23631 soname_spec
='${libname}${release}${shared_ext}$major'
23632 shlibpath_var
=LD_LIBRARY_PATH
23633 hardcode_into_libs
=yes
23634 if test "$with_gnu_ld" = yes; then
23635 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23636 shlibpath_overrides_runpath
=no
23638 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
23639 shlibpath_overrides_runpath
=yes
23642 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
23646 sys_lib_dlsearch_path_spec
='/usr/lib'
23651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23652 soname_spec
='${libname}${release}${shared_ext}$major'
23653 shlibpath_var
=LD_LIBRARY_PATH
23660 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23661 echo "${ECHO_T}$dynamic_linker" >&6; }
23662 test "$dynamic_linker" = no
&& can_build_shared
=no
23664 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
23665 if test "$GCC" = yes; then
23666 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23669 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23670 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23671 hardcode_action_F77
=
23672 if test -n "$hardcode_libdir_flag_spec_F77" || \
23673 test -n "$runpath_var_F77" || \
23674 test "X$hardcode_automatic_F77" = "Xyes" ; then
23676 # We can hardcode non-existant directories.
23677 if test "$hardcode_direct_F77" != no
&&
23678 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23679 # have to relink, otherwise we might link with an installed library
23680 # when we should be linking with a yet-to-be-installed one
23681 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23682 test "$hardcode_minus_L_F77" != no
; then
23683 # Linking always hardcodes the temporary library directory.
23684 hardcode_action_F77
=relink
23686 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23687 hardcode_action_F77
=immediate
23690 # We cannot hardcode anything, or else we can only hardcode existing
23692 hardcode_action_F77
=unsupported
23694 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23695 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23697 if test "$hardcode_action_F77" = relink
; then
23698 # Fast installation is not supported
23699 enable_fast_install
=no
23700 elif test "$shlibpath_overrides_runpath" = yes ||
23701 test "$enable_shared" = no
; then
23702 # Fast installation is not necessary
23703 enable_fast_install
=needless
23707 # The else clause should only fire when bootstrapping the
23708 # libtool distribution, otherwise you forgot to ship ltmain.sh
23709 # with your package, and you will get complaints that there are
23710 # no rules to generate ltmain.sh.
23711 if test -f "$ltmain"; then
23712 # See if we are running on zsh, and set the options which allow our commands through
23713 # without removal of \ escapes.
23714 if test -n "${ZSH_VERSION+set}" ; then
23715 setopt NO_GLOB_SUBST
23717 # Now quote all the things that may contain metacharacters while being
23718 # careful not to overquote the AC_SUBSTed values. We take copies of the
23719 # variables and quote the copies for generation of the libtool script.
23720 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23722 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23723 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23724 deplibs_check_method reload_flag reload_cmds need_locks \
23725 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23726 lt_cv_sys_global_symbol_to_c_name_address \
23727 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23728 old_postinstall_cmds old_postuninstall_cmds \
23732 lt_prog_compiler_wl_F77 \
23733 lt_prog_compiler_pic_F77 \
23734 lt_prog_compiler_static_F77 \
23735 lt_prog_compiler_no_builtin_flag_F77 \
23736 export_dynamic_flag_spec_F77 \
23737 thread_safe_flag_spec_F77 \
23738 whole_archive_flag_spec_F77 \
23739 enable_shared_with_static_runtimes_F77 \
23740 old_archive_cmds_F77 \
23741 old_archive_from_new_cmds_F77 \
23742 predep_objects_F77 \
23743 postdep_objects_F77 \
23746 compiler_lib_search_path_F77 \
23748 archive_expsym_cmds_F77 \
23749 postinstall_cmds_F77 \
23750 postuninstall_cmds_F77 \
23751 old_archive_from_expsyms_cmds_F77 \
23752 allow_undefined_flag_F77 \
23753 no_undefined_flag_F77 \
23754 export_symbols_cmds_F77 \
23755 hardcode_libdir_flag_spec_F77 \
23756 hardcode_libdir_flag_spec_ld_F77 \
23757 hardcode_libdir_separator_F77 \
23758 hardcode_automatic_F77 \
23760 module_expsym_cmds_F77 \
23761 lt_cv_prog_compiler_c_o_F77 \
23762 exclude_expsyms_F77 \
23763 include_expsyms_F77
; do
23766 old_archive_cmds_F77 | \
23767 old_archive_from_new_cmds_F77 | \
23768 archive_cmds_F77 | \
23769 archive_expsym_cmds_F77 | \
23770 module_cmds_F77 | \
23771 module_expsym_cmds_F77 | \
23772 old_archive_from_expsyms_cmds_F77 | \
23773 export_symbols_cmds_F77 | \
23774 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23775 postinstall_cmds | postuninstall_cmds | \
23776 old_postinstall_cmds | old_postuninstall_cmds | \
23777 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23778 # Double-quote double-evaled strings.
23779 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23782 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23788 *'\$0 --fallback-echo"')
23789 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23795 cat <<__EOF__ >> "$cfgfile"
23796 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23798 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23800 # Shell to use when invoking shell scripts.
23803 # Whether or not to build shared libraries.
23804 build_libtool_libs=$enable_shared
23806 # Whether or not to build static libraries.
23807 build_old_libs=$enable_static
23809 # Whether or not to add -lc for building shared libraries.
23810 build_libtool_need_lc=$archive_cmds_need_lc_F77
23812 # Whether or not to disallow shared libs when runtime libs are static
23813 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23815 # Whether or not to optimize for fast installation.
23816 fast_install=$enable_fast_install
23819 host_alias=$host_alias
23823 # The build system.
23824 build_alias=$build_alias
23828 # An echo program that does not interpret backslashes.
23833 AR_FLAGS=$lt_AR_FLAGS
23838 # LTCC compiler flags.
23839 LTCFLAGS=$lt_LTCFLAGS
23841 # A language-specific compiler.
23842 CC=$lt_compiler_F77
23844 # Is the compiler the GNU C compiler?
23850 # The linker used to build libraries.
23853 # Whether we need hard or soft links.
23856 # A BSD-compatible nm program.
23859 # A symbol stripping program
23862 # Used to examine libraries when file_magic_cmd begins "file"
23863 MAGIC_CMD=$MAGIC_CMD
23865 # Used on cygwin: DLL creation program.
23868 # Used on cygwin: object dumper.
23871 # Used on cygwin: assembler.
23874 # The name of the directory that contains temporary libtool files.
23877 # How to create reloadable object files.
23878 reload_flag=$lt_reload_flag
23879 reload_cmds=$lt_reload_cmds
23881 # How to pass a linker flag through the compiler.
23882 wl=$lt_lt_prog_compiler_wl_F77
23884 # Object file suffix (normally "o").
23885 objext="$ac_objext"
23887 # Old archive suffix (normally "a").
23890 # Shared library suffix (normally ".so").
23891 shrext_cmds='$shrext_cmds'
23893 # Executable file suffix (normally "").
23896 # Additional compiler flags for building library objects.
23897 pic_flag=$lt_lt_prog_compiler_pic_F77
23900 # What is the maximum length of a command?
23901 max_cmd_len=$lt_cv_sys_max_cmd_len
23903 # Does compiler simultaneously support -c and -o options?
23904 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23906 # Must we lock files when doing compilation?
23907 need_locks=$lt_need_locks
23909 # Do we need the lib prefix for modules?
23910 need_lib_prefix=$need_lib_prefix
23912 # Do we need a version for libraries?
23913 need_version=$need_version
23915 # Whether dlopen is supported.
23916 dlopen_support=$enable_dlopen
23918 # Whether dlopen of programs is supported.
23919 dlopen_self=$enable_dlopen_self
23921 # Whether dlopen of statically linked programs is supported.
23922 dlopen_self_static=$enable_dlopen_self_static
23924 # Compiler flag to prevent dynamic linking.
23925 link_static_flag=$lt_lt_prog_compiler_static_F77
23927 # Compiler flag to turn off builtin functions.
23928 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23930 # Compiler flag to allow reflexive dlopens.
23931 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23933 # Compiler flag to generate shared objects directly from archives.
23934 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23936 # Compiler flag to generate thread-safe objects.
23937 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23939 # Library versioning type.
23940 version_type=$version_type
23942 # Format of library name prefix.
23943 libname_spec=$lt_libname_spec
23945 # List of archive names. First name is the real one, the rest are links.
23946 # The last name is the one that the linker finds with -lNAME.
23947 library_names_spec=$lt_library_names_spec
23949 # The coded name of the library, if different from the real name.
23950 soname_spec=$lt_soname_spec
23952 # Commands used to build and install an old-style archive.
23954 old_archive_cmds=$lt_old_archive_cmds_F77
23955 old_postinstall_cmds=$lt_old_postinstall_cmds
23956 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23958 # Create an old-style archive from a shared archive.
23959 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23961 # Create a temporary old-style archive to link instead of a shared archive.
23962 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23964 # Commands used to build and install a shared archive.
23965 archive_cmds=$lt_archive_cmds_F77
23966 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23967 postinstall_cmds=$lt_postinstall_cmds
23968 postuninstall_cmds=$lt_postuninstall_cmds
23970 # Commands used to build a loadable module (assumed same as above if empty)
23971 module_cmds=$lt_module_cmds_F77
23972 module_expsym_cmds=$lt_module_expsym_cmds_F77
23974 # Commands to strip libraries.
23975 old_striplib=$lt_old_striplib
23976 striplib=$lt_striplib
23978 # Dependencies to place before the objects being linked to create a
23980 predep_objects=$lt_predep_objects_F77
23982 # Dependencies to place after the objects being linked to create a
23984 postdep_objects=$lt_postdep_objects_F77
23986 # Dependencies to place before the objects being linked to create a
23988 predeps=$lt_predeps_F77
23990 # Dependencies to place after the objects being linked to create a
23992 postdeps=$lt_postdeps_F77
23994 # The library search path used internally by the compiler when linking
23995 # a shared library.
23996 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23998 # Method to check whether dependent libraries are shared objects.
23999 deplibs_check_method=$lt_deplibs_check_method
24001 # Command to use when deplibs_check_method == file_magic.
24002 file_magic_cmd=$lt_file_magic_cmd
24004 # Flag that allows shared libraries with undefined symbols to be built.
24005 allow_undefined_flag=$lt_allow_undefined_flag_F77
24007 # Flag that forces no undefined symbols.
24008 no_undefined_flag=$lt_no_undefined_flag_F77
24010 # Commands used to finish a libtool library installation in a directory.
24011 finish_cmds=$lt_finish_cmds
24013 # Same as above, but a single script fragment to be evaled but not shown.
24014 finish_eval=$lt_finish_eval
24016 # Take the output of nm and produce a listing of raw symbols and C names.
24017 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24019 # Transform the output of nm in a proper C declaration
24020 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24022 # Transform the output of nm in a C name address pair
24023 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24025 # This is the shared library runtime path variable.
24026 runpath_var=$runpath_var
24028 # This is the shared library path variable.
24029 shlibpath_var=$shlibpath_var
24031 # Is shlibpath searched before the hard-coded library search path?
24032 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24034 # How to hardcode a shared library path into an executable.
24035 hardcode_action=$hardcode_action_F77
24037 # Whether we should hardcode library paths into libraries.
24038 hardcode_into_libs=$hardcode_into_libs
24040 # Flag to hardcode \$libdir into a binary during linking.
24041 # This must work even if \$libdir does not exist.
24042 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
24044 # If ld is used when linking, flag to hardcode \$libdir into
24045 # a binary during linking. This must work even if \$libdir does
24047 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
24049 # Whether we need a single -rpath flag with a separated argument.
24050 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
24052 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24053 # resulting binary.
24054 hardcode_direct=$hardcode_direct_F77
24056 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24057 # resulting binary.
24058 hardcode_minus_L=$hardcode_minus_L_F77
24060 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24061 # the resulting binary.
24062 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
24064 # Set to yes if building a shared library automatically hardcodes DIR into the library
24065 # and all subsequent libraries and executables linked against it.
24066 hardcode_automatic=$hardcode_automatic_F77
24068 # Variables whose values should be saved in libtool wrapper scripts and
24069 # restored at relink time.
24070 variables_saved_for_relink="$variables_saved_for_relink"
24072 # Whether libtool must link a program against all its dependency libraries.
24073 link_all_deplibs=$link_all_deplibs_F77
24075 # Compile-time system search path for libraries
24076 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24078 # Run-time system search path for libraries
24079 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24081 # Fix the shell variable \$srcfile for the compiler.
24082 fix_srcfile_path="$fix_srcfile_path_F77"
24084 # Set to yes if exported symbols are required.
24085 always_export_symbols=$always_export_symbols_F77
24087 # The commands to list exported symbols.
24088 export_symbols_cmds=$lt_export_symbols_cmds_F77
24090 # The commands to extract the exported symbol list from a shared archive.
24091 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24093 # Symbols that should not be listed in the preloaded symbols.
24094 exclude_expsyms=$lt_exclude_expsyms_F77
24096 # Symbols that must always be exported.
24097 include_expsyms=$lt_include_expsyms_F77
24099 # ### END LIBTOOL TAG CONFIG: $tagname
24105 # If there is no Makefile yet, we rely on a make rule to execute
24106 # `config.status --recheck' to rerun these tests and create the
24107 # libtool script then.
24108 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24109 if test -f "$ltmain_in"; then
24110 test -f Makefile
&& make "$ltmain"
24116 ac_cpp
='$CPP $CPPFLAGS'
24117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24129 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
24131 ac_cpp
='$CPP $CPPFLAGS'
24132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24137 # Source file extension for Java test sources.
24140 # Object file extension for compiled Java test sources.
24144 # Code to be used in simple compile tests
24145 lt_simple_compile_test_code
="class foo {}\n"
24147 # Code to be used in simple link tests
24148 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
24150 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24152 # If no C compiler was specified, use CC.
24155 # If no C compiler flags were specified, use CFLAGS.
24156 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
24158 # Allow CC to be a program name with arguments.
24162 # save warnings/boilerplate of simple test code
24163 ac_outfile
=conftest.
$ac_objext
24164 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
24165 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
24166 _lt_compiler_boilerplate
=`cat conftest.err`
24169 ac_outfile
=conftest.
$ac_objext
24170 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
24171 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
24172 _lt_linker_boilerplate
=`cat conftest.err`
24176 # Allow CC to be a program name with arguments.
24181 for cc_temp
in $compiler""; do
24183 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24184 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24189 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24192 # GCJ did not exist at the time GCC didn't implicitly link libc in.
24193 archive_cmds_need_lc_GCJ
=no
24195 old_archive_cmds_GCJ
=$old_archive_cmds
24198 lt_prog_compiler_no_builtin_flag_GCJ
=
24200 if test "$GCC" = yes; then
24201 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
24204 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24205 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
24206 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
24207 echo $ECHO_N "(cached) $ECHO_C" >&6
24209 lt_cv_prog_compiler_rtti_exceptions
=no
24210 ac_outfile
=conftest.
$ac_objext
24211 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24212 lt_compiler_flag
="-fno-rtti -fno-exceptions"
24213 # Insert the option either (1) after the last *FLAGS variable, or
24214 # (2) before a word containing "conftest.", or (3) at the end.
24215 # Note that $ac_compile itself does not contain backslashes and begins
24216 # with a dollar sign (not a hyphen), so the echo should work correctly.
24217 # The option is referenced via a variable to avoid confusing sed.
24218 lt_compile
=`echo "$ac_compile" | $SED \
24219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24221 -e 's:$: $lt_compiler_flag:'`
24222 (eval echo "\"\$as_me:24222: $lt_compile\"" >&5)
24223 (eval "$lt_compile" 2>conftest.err
)
24225 cat conftest.err
>&5
24226 echo "$as_me:24226: \$? = $ac_status" >&5
24227 if (exit $ac_status) && test -s "$ac_outfile"; then
24228 # The compiler can only warn and ignore the option if not recognized
24229 # So say no if there are warnings other than the usual output.
24230 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
24231 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24232 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
24233 lt_cv_prog_compiler_rtti_exceptions
=yes
24239 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24240 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
24242 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
24243 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
24250 lt_prog_compiler_wl_GCJ
=
24251 lt_prog_compiler_pic_GCJ
=
24252 lt_prog_compiler_static_GCJ
=
24254 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
24255 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
24257 if test "$GCC" = yes; then
24258 lt_prog_compiler_wl_GCJ
='-Wl,'
24259 lt_prog_compiler_static_GCJ
='-static'
24263 # All AIX code is PIC.
24264 if test "$host_cpu" = ia64
; then
24265 # AIX 5 now supports IA64 processor
24266 lt_prog_compiler_static_GCJ
='-Bstatic'
24271 # FIXME: we need at least 68020 code to build shared libraries, but
24272 # adding the `-m68020' flag to GCC prevents building anything better,
24274 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
24277 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
24278 # PIC is the default for these OSes.
24281 mingw
* | pw32
* | os2
*)
24282 # This hack is so that the source file can tell whether it is being
24283 # built for inclusion in a dll (and should export symbols for example).
24284 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
24287 darwin
* | rhapsody
*)
24288 # PIC is the default on this platform
24289 # Common symbols not allowed in MH_DYLIB files
24290 lt_prog_compiler_pic_GCJ
='-fno-common'
24294 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24295 # Instead, we relocate shared libraries at runtime.
24299 # Just because we use GCC doesn't mean we suddenly get shared libraries
24300 # on systems that don't support them.
24301 lt_prog_compiler_can_build_shared_GCJ
=no
24306 if test -d /usr
/nec
; then
24307 lt_prog_compiler_pic_GCJ
=-Kconform_pic
24312 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24313 # not for PA HP-UX.
24319 lt_prog_compiler_pic_GCJ
='-fPIC'
24325 lt_prog_compiler_pic_GCJ
='-fPIC'
24329 # PORTME Check for flag to pass linker flags through the system compiler.
24332 lt_prog_compiler_wl_GCJ
='-Wl,'
24333 if test "$host_cpu" = ia64
; then
24334 # AIX 5 now supports IA64 processor
24335 lt_prog_compiler_static_GCJ
='-Bstatic'
24337 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
24341 # PIC is the default on this platform
24342 # Common symbols not allowed in MH_DYLIB files
24343 case $cc_basename in
24345 lt_prog_compiler_pic_GCJ
='-qnocommon'
24346 lt_prog_compiler_wl_GCJ
='-Wl,'
24351 mingw
* | pw32
* | os2
*)
24352 # This hack is so that the source file can tell whether it is being
24353 # built for inclusion in a dll (and should export symbols for example).
24354 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
24357 hpux9
* | hpux10
* | hpux11
*)
24358 lt_prog_compiler_wl_GCJ
='-Wl,'
24359 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24360 # not for PA HP-UX.
24366 lt_prog_compiler_pic_GCJ
='+Z'
24369 # Is there a better lt_prog_compiler_static that works with the bundled CC?
24370 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
24373 irix5
* | irix6
* | nonstopux
*)
24374 lt_prog_compiler_wl_GCJ
='-Wl,'
24375 # PIC (with -KPIC) is the default.
24376 lt_prog_compiler_static_GCJ
='-non_shared'
24380 lt_prog_compiler_pic_GCJ
='-KPIC'
24381 lt_prog_compiler_static_GCJ
='-Bstatic'
24385 case $cc_basename in
24387 lt_prog_compiler_wl_GCJ
='-Wl,'
24388 lt_prog_compiler_pic_GCJ
='-KPIC'
24389 lt_prog_compiler_static_GCJ
='-static'
24391 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
24392 # Portland Group compilers (*not* the Pentium gcc compiler,
24393 # which looks to be a dead project)
24394 lt_prog_compiler_wl_GCJ
='-Wl,'
24395 lt_prog_compiler_pic_GCJ
='-fpic'
24396 lt_prog_compiler_static_GCJ
='-Bstatic'
24399 lt_prog_compiler_wl_GCJ
='-Wl,'
24400 # All Alpha code is PIC.
24401 lt_prog_compiler_static_GCJ
='-non_shared'
24406 osf3
* | osf4
* | osf5
*)
24407 lt_prog_compiler_wl_GCJ
='-Wl,'
24408 # All OSF/1 code is PIC.
24409 lt_prog_compiler_static_GCJ
='-non_shared'
24413 lt_prog_compiler_pic_GCJ
='-KPIC'
24414 lt_prog_compiler_static_GCJ
='-Bstatic'
24415 case $cc_basename in
24416 f77
* | f90
* | f95
*)
24417 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
24419 lt_prog_compiler_wl_GCJ
='-Wl,';;
24424 lt_prog_compiler_wl_GCJ
='-Qoption ld '
24425 lt_prog_compiler_pic_GCJ
='-PIC'
24426 lt_prog_compiler_static_GCJ
='-Bstatic'
24429 sysv4 | sysv4.2uw2
* | sysv4.3
*)
24430 lt_prog_compiler_wl_GCJ
='-Wl,'
24431 lt_prog_compiler_pic_GCJ
='-KPIC'
24432 lt_prog_compiler_static_GCJ
='-Bstatic'
24436 if test -d /usr
/nec
;then
24437 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
24438 lt_prog_compiler_static_GCJ
='-Bstatic'
24442 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
24443 lt_prog_compiler_wl_GCJ
='-Wl,'
24444 lt_prog_compiler_pic_GCJ
='-KPIC'
24445 lt_prog_compiler_static_GCJ
='-Bstatic'
24449 lt_prog_compiler_wl_GCJ
='-Wl,'
24450 lt_prog_compiler_can_build_shared_GCJ
=no
24454 lt_prog_compiler_pic_GCJ
='-pic'
24455 lt_prog_compiler_static_GCJ
='-Bstatic'
24459 lt_prog_compiler_can_build_shared_GCJ
=no
24464 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24465 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
24468 # Check to make sure the PIC flag actually works.
24470 if test -n "$lt_prog_compiler_pic_GCJ"; then
24472 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24473 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
24474 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
24475 echo $ECHO_N "(cached) $ECHO_C" >&6
24477 lt_prog_compiler_pic_works_GCJ
=no
24478 ac_outfile
=conftest.
$ac_objext
24479 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24480 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
24481 # Insert the option either (1) after the last *FLAGS variable, or
24482 # (2) before a word containing "conftest.", or (3) at the end.
24483 # Note that $ac_compile itself does not contain backslashes and begins
24484 # with a dollar sign (not a hyphen), so the echo should work correctly.
24485 # The option is referenced via a variable to avoid confusing sed.
24486 lt_compile
=`echo "$ac_compile" | $SED \
24487 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24488 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24489 -e 's:$: $lt_compiler_flag:'`
24490 (eval echo "\"\$as_me:24490: $lt_compile\"" >&5)
24491 (eval "$lt_compile" 2>conftest.err
)
24493 cat conftest.err
>&5
24494 echo "$as_me:24494: \$? = $ac_status" >&5
24495 if (exit $ac_status) && test -s "$ac_outfile"; then
24496 # The compiler can only warn and ignore the option if not recognized
24497 # So say no if there are warnings other than the usual output.
24498 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
24499 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24500 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
24501 lt_prog_compiler_pic_works_GCJ
=yes
24507 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24508 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24510 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
24511 case $lt_prog_compiler_pic_GCJ in
24513 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
24516 lt_prog_compiler_pic_GCJ
=
24517 lt_prog_compiler_can_build_shared_GCJ
=no
24522 # For platforms which do not support PIC, -DPIC is meaningless:
24524 lt_prog_compiler_pic_GCJ
=
24527 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
24532 # Check to make sure the static flag actually works.
24534 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
24535 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24536 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24537 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6
24540 lt_prog_compiler_static_works_GCJ
=no
24541 save_LDFLAGS
="$LDFLAGS"
24542 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
24543 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
24544 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
24545 # The linker can only warn and ignore the option if not recognized
24546 # So say no if there are warnings
24547 if test -s conftest.err
; then
24548 # Append any errors to the config.log.
24549 cat conftest.err
1>&5
24550 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
24551 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24552 if diff conftest.exp conftest.er2
>/dev
/null
; then
24553 lt_prog_compiler_static_works_GCJ
=yes
24556 lt_prog_compiler_static_works_GCJ
=yes
24560 LDFLAGS
="$save_LDFLAGS"
24563 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24564 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24566 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
24569 lt_prog_compiler_static_GCJ
=
24573 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24574 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24575 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24576 echo $ECHO_N "(cached) $ECHO_C" >&6
24578 lt_cv_prog_compiler_c_o_GCJ
=no
24579 $rm -r conftest
2>/dev
/null
24583 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24585 lt_compiler_flag
="-o out/conftest2.$ac_objext"
24586 # Insert the option either (1) after the last *FLAGS variable, or
24587 # (2) before a word containing "conftest.", or (3) at the end.
24588 # Note that $ac_compile itself does not contain backslashes and begins
24589 # with a dollar sign (not a hyphen), so the echo should work correctly.
24590 lt_compile
=`echo "$ac_compile" | $SED \
24591 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24592 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24593 -e 's:$: $lt_compiler_flag:'`
24594 (eval echo "\"\$as_me:24594: $lt_compile\"" >&5)
24595 (eval "$lt_compile" 2>out
/conftest.err
)
24597 cat out
/conftest.err
>&5
24598 echo "$as_me:24598: \$? = $ac_status" >&5
24599 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
24601 # The compiler can only warn and ignore the option if not recognized
24602 # So say no if there are warnings
24603 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
24604 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
24605 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
24606 lt_cv_prog_compiler_c_o_GCJ
=yes
24611 # SGI C++ compiler will create directory out/ii_files/ for
24612 # template instantiation
24613 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
24614 $rm out
/* && rmdir out
24620 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24621 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24624 hard_links
="nottested"
24625 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
24626 # do not overwrite the value of need_locks provided by the user
24627 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24628 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24631 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24633 ln conftest.a conftest.b
2>&5 || hard_links
=no
24634 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24635 { echo "$as_me:$LINENO: result: $hard_links" >&5
24636 echo "${ECHO_T}$hard_links" >&6; }
24637 if test "$hard_links" = no
; then
24638 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24639 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24646 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24647 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24650 allow_undefined_flag_GCJ
=
24651 enable_shared_with_static_runtimes_GCJ
=no
24653 archive_expsym_cmds_GCJ
=
24654 old_archive_From_new_cmds_GCJ
=
24655 old_archive_from_expsyms_cmds_GCJ
=
24656 export_dynamic_flag_spec_GCJ
=
24657 whole_archive_flag_spec_GCJ
=
24658 thread_safe_flag_spec_GCJ
=
24659 hardcode_libdir_flag_spec_GCJ
=
24660 hardcode_libdir_flag_spec_ld_GCJ
=
24661 hardcode_libdir_separator_GCJ
=
24662 hardcode_direct_GCJ
=no
24663 hardcode_minus_L_GCJ
=no
24664 hardcode_shlibpath_var_GCJ
=unsupported
24665 link_all_deplibs_GCJ
=unknown
24666 hardcode_automatic_GCJ
=no
24668 module_expsym_cmds_GCJ
=
24669 always_export_symbols_GCJ
=no
24670 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24671 # include_expsyms should be a list of space-separated symbols to be *always*
24672 # included in the symbol list
24673 include_expsyms_GCJ
=
24674 # exclude_expsyms can be an extended regexp of symbols to exclude
24675 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24676 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24677 # as well as any symbol that contains `d'.
24678 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
24679 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24680 # platforms (ab)use it in PIC code, but their linkers get confused if
24681 # the symbol is explicitly referenced. Since portable code cannot
24682 # rely on this symbol name, it's probably fine to never include it in
24683 # preloaded symbol tables.
24684 extract_expsyms_cmds
=
24685 # Just being paranoid about ensuring that cc_basename is set.
24686 for cc_temp
in $compiler""; do
24688 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24689 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24694 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24697 cygwin
* | mingw
* | pw32
*)
24698 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24699 # When not using gcc, we currently assume that we are using
24700 # Microsoft Visual C++.
24701 if test "$GCC" != yes; then
24706 # we just hope/assume this is gcc and not c89 (= MSVC++)
24715 if test "$with_gnu_ld" = yes; then
24716 # If archive_cmds runs LD, not CC, wlarc should be empty
24719 # Set some defaults for GNU ld with shared library support. These
24720 # are reset later if shared libraries are not supported. Putting them
24721 # here allows them to be overridden if necessary.
24722 runpath_var
=LD_RUN_PATH
24723 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24724 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24725 # ancient GNU ld didn't support --whole-archive et. al.
24726 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24727 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24729 whole_archive_flag_spec_GCJ
=
24731 supports_anon_versioning
=no
24732 case `$LD -v 2>/dev/null` in
24733 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24734 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24735 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24736 *\
2.11.
*) ;; # other 2.11 versions
24737 *) supports_anon_versioning
=yes ;;
24740 # See if GNU ld supports shared libraries.
24742 aix3
* | aix4
* | aix5
*)
24743 # On AIX/PPC, the GNU linker is very broken
24744 if test "$host_cpu" != ia64
; then
24748 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24749 *** to be unable to reliably create shared libraries on AIX.
24750 *** Therefore, libtool is disabling shared libraries support. If you
24751 *** really care for shared libraries, you may want to modify your PATH
24752 *** so that a non-GNU linker is found, and then restart.
24759 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)'
24760 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24761 hardcode_minus_L_GCJ
=yes
24763 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24764 # that the semantics of dynamic libraries on AmigaOS, at least up
24765 # to version 4, is to share data among multiple programs linked
24766 # with the same dynamic library. Since this doesn't match the
24767 # behavior of shared libraries on other platforms, we can't use
24773 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24774 allow_undefined_flag_GCJ
=unsupported
24775 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24776 # support --undefined. This deserves some investigation. FIXME
24777 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24783 cygwin
* | mingw
* | pw32
*)
24784 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24785 # as there is no search path for DLLs.
24786 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24787 allow_undefined_flag_GCJ
=unsupported
24788 always_export_symbols_GCJ
=no
24789 enable_shared_with_static_runtimes_GCJ
=yes
24790 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24792 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24793 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24794 # If the export-symbols file already is a .def file (1st line
24795 # is EXPORTS), use it as is; otherwise, prepend...
24796 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24797 cp $export_symbols $output_objdir/$soname.def;
24799 echo EXPORTS > $output_objdir/$soname.def;
24800 cat $export_symbols >> $output_objdir/$soname.def;
24802 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24809 hardcode_direct_GCJ
=no
24810 hardcode_shlibpath_var_GCJ
=no
24811 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24812 export_dynamic_flag_spec_GCJ
='${wl}-E'
24813 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24814 # Instead, shared libraries are loaded at an image base (0x10000000 by
24815 # default) and relocated if they conflict, which is a slow very memory
24816 # consuming and fragmenting process. To avoid this, we pick a random,
24817 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24818 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24819 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'
24820 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'
24824 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24826 case $cc_basename,$host_cpu in
24827 pgcc
*) # Portland Group C compiler
24828 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'
24829 tmp_addflag
=' $pic_flag'
24831 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24832 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'
24833 tmp_addflag
=' $pic_flag -Mnomain' ;;
24834 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24835 tmp_addflag
=' -i_dynamic' ;;
24836 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24837 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24838 ifc
* | ifort
*) # Intel Fortran compiler
24839 tmp_addflag
=' -nofor_main' ;;
24841 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24843 if test $supports_anon_versioning = yes; then
24844 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24845 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24846 $echo "local: *; };" >> $output_objdir/$libname.ver~
24847 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24855 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24856 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24859 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24860 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24865 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24869 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24870 *** create shared libraries on Solaris systems. Therefore, libtool
24871 *** is disabling shared libraries support. We urge you to upgrade GNU
24872 *** binutils to release 2.9.1 or newer. Another option is to modify
24873 *** your PATH or compiler configuration so that the native linker is
24874 *** used, and then restart.
24877 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24878 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24879 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24885 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24886 case `$LD -v 2>&1` in
24887 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24891 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24892 *** reliably create shared libraries on SCO systems. Therefore, libtool
24893 *** is disabling shared libraries support. We urge you to upgrade GNU
24894 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24895 *** your PATH or compiler configuration so that the native linker is
24896 *** used, and then restart.
24901 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24902 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24903 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24904 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24913 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24915 hardcode_direct_GCJ
=yes
24916 hardcode_shlibpath_var_GCJ
=no
24920 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24921 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24922 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24929 if test "$ld_shlibs_GCJ" = no
; then
24931 hardcode_libdir_flag_spec_GCJ
=
24932 export_dynamic_flag_spec_GCJ
=
24933 whole_archive_flag_spec_GCJ
=
24936 # PORTME fill in a description of your system's linker (not GNU ld)
24939 allow_undefined_flag_GCJ
=unsupported
24940 always_export_symbols_GCJ
=yes
24941 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'
24942 # Note: this linker hardcodes the directories in LIBPATH if there
24943 # are no directories specified by -L.
24944 hardcode_minus_L_GCJ
=yes
24945 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24946 # Neither direct hardcoding nor static linking is supported with a
24948 hardcode_direct_GCJ
=unsupported
24953 if test "$host_cpu" = ia64
; then
24954 # On IA64, the linker does run time linking by default, so we don't
24955 # have to do anything special.
24956 aix_use_runtimelinking
=no
24957 exp_sym_flag
='-Bexport'
24960 # If we're using GNU nm, then we don't want the "-C" option.
24961 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24962 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24963 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'
24965 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'
24967 aix_use_runtimelinking
=no
24969 # Test if we are trying to use run time linking or normal
24970 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24971 # need to do runtime linking.
24972 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24973 for ld_flag
in $LDFLAGS; do
24974 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24975 aix_use_runtimelinking
=yes
24982 exp_sym_flag
='-bexport'
24983 no_entry_flag
='-bnoentry'
24986 # When large executables or shared objects are built, AIX ld can
24987 # have problems creating the table of contents. If linking a library
24988 # or program results in "error TOC overflow" add -mminimal-toc to
24989 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24990 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24992 archive_cmds_GCJ
=''
24993 hardcode_direct_GCJ
=yes
24994 hardcode_libdir_separator_GCJ
=':'
24995 link_all_deplibs_GCJ
=yes
24997 if test "$GCC" = yes; then
24998 case $host_os in aix4.
[012]|aix4.
[012].
*)
24999 # We only want to do this on AIX 4.2 and lower, the check
25000 # below for broken collect2 doesn't work under 4.3+
25001 collect2name
=`${CC} -print-prog-name=collect2`
25002 if test -f "$collect2name" && \
25003 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
25005 # We have reworked collect2
25006 hardcode_direct_GCJ
=yes
25008 # We have old collect2
25009 hardcode_direct_GCJ
=unsupported
25010 # It fails to find uninstalled libraries when the uninstalled
25011 # path is not listed in the libpath. Setting hardcode_minus_L
25012 # to unsupported forces relinking
25013 hardcode_minus_L_GCJ
=yes
25014 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25015 hardcode_libdir_separator_GCJ
=
25019 shared_flag
='-shared'
25020 if test "$aix_use_runtimelinking" = yes; then
25021 shared_flag
="$shared_flag "'${wl}-G'
25025 if test "$host_cpu" = ia64
; then
25026 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
25027 # chokes on -Wl,-G. The following line is correct:
25030 if test "$aix_use_runtimelinking" = yes; then
25031 shared_flag
='${wl}-G'
25033 shared_flag
='${wl}-bM:SRE'
25038 # It seems that -bexpall does not export symbols beginning with
25039 # underscore (_), so it is better to generate a list of symbols to export.
25040 always_export_symbols_GCJ
=yes
25041 if test "$aix_use_runtimelinking" = yes; then
25042 # Warning - without using the other runtime loading flags (-brtl),
25043 # -berok will link without error, but may produce a broken library.
25044 allow_undefined_flag_GCJ
='-berok'
25045 # Determine the default libpath from the value encoded in an empty executable.
25046 cat >conftest.
$ac_ext <<_ACEOF
25049 cat confdefs.h
>>conftest.
$ac_ext
25050 cat >>conftest.
$ac_ext <<_ACEOF
25051 /* end confdefs.h. */
25061 rm -f conftest.
$ac_objext conftest
$ac_exeext
25062 if { (ac_try
="$ac_link"
25063 case "(($ac_try" in
25064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25065 *) ac_try_echo=$ac_try;;
25067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25068 (eval "$ac_link") 2>conftest.er1
25070 grep -v '^ *+' conftest.er1 >conftest.err
25072 cat conftest.err >&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } &&
25075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25076 { (case "(($ac_try" in
25077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25078 *) ac_try_echo
=$ac_try;;
25080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25081 (eval "$ac_try") 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; } &&
25085 { ac_try
='test -s conftest$ac_exeext'
25086 { (case "(($ac_try" in
25087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25088 *) ac_try_echo=$ac_try;;
25090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25091 (eval "$ac_try") 2>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; }; then
25096 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25098 # Check for a 64-bit object if we didn't find anything.
25099 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; }
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.$ac_ext >&5
25108 rm -f core conftest.err conftest.$ac_objext \
25109 conftest$ac_exeext conftest.$ac_ext
25110 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25112 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
25113 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"
25115 if test "$host_cpu" = ia64; then
25116 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
25117 allow_undefined_flag_GCJ="-z nodefs"
25118 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"
25120 # Determine the default libpath from the value encoded in an empty executable.
25121 cat >conftest.$ac_ext <<_ACEOF
25124 cat confdefs.h >>conftest.$ac_ext
25125 cat >>conftest.$ac_ext <<_ACEOF
25126 /* end confdefs.h. */
25136 rm -f conftest.$ac_objext conftest$ac_exeext
25137 if { (ac_try="$ac_link"
25138 case "(($ac_try" in
25139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25140 *) ac_try_echo
=$ac_try;;
25142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25143 (eval "$ac_link") 2>conftest.er1
25145 grep -v '^ *+' conftest.er1
>conftest.err
25147 cat conftest.err
>&5
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); } &&
25150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25151 { (case "(($ac_try" in
25152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25153 *) ac_try_echo=$ac_try;;
25155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25156 (eval "$ac_try") 2>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); }; } &&
25160 { ac_try='test -s conftest$ac_exeext'
25161 { (case "(($ac_try" in
25162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25163 *) ac_try_echo
=$ac_try;;
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_try") 2>&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); }; }; then
25171 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25173 # Check for a 64-bit object if we didn't find anything.
25174 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; }
25177 echo "$as_me: failed program was:" >&5
25178 sed 's/^/| /' conftest.
$ac_ext >&5
25183 rm -f core conftest.err conftest.
$ac_objext \
25184 conftest
$ac_exeext conftest.
$ac_ext
25185 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
25187 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
25188 # Warning - without using the other run time loading flags,
25189 # -berok will link without error, but may produce a broken library.
25190 no_undefined_flag_GCJ
=' ${wl}-bernotok'
25191 allow_undefined_flag_GCJ
=' ${wl}-berok'
25192 # Exported symbols can be pulled into shared objects from archives
25193 whole_archive_flag_spec_GCJ
='$convenience'
25194 archive_cmds_need_lc_GCJ
=yes
25195 # This is similar to how AIX traditionally builds its shared libraries.
25196 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'
25202 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)'
25203 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25204 hardcode_minus_L_GCJ
=yes
25205 # see comment about different semantics on the GNU ld section
25210 export_dynamic_flag_spec_GCJ
=-rdynamic
25213 cygwin
* | mingw
* | pw32
*)
25214 # When not using gcc, we currently assume that we are using
25215 # Microsoft Visual C++.
25216 # hardcode_libdir_flag_spec is actually meaningless, as there is
25217 # no search path for DLLs.
25218 hardcode_libdir_flag_spec_GCJ
=' '
25219 allow_undefined_flag_GCJ
=unsupported
25220 # Tell ltmain to make .lib files, not .a files.
25222 # Tell ltmain to make .dll files, not .so files.
25224 # FIXME: Setting linknames here is a bad hack.
25225 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
25226 # The linker will automatically build a .lib file if we build a DLL.
25227 old_archive_From_new_cmds_GCJ
='true'
25228 # FIXME: Should let the user specify the lib program.
25229 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
25230 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
25231 enable_shared_with_static_runtimes_GCJ
=yes
25234 darwin
* | rhapsody
*)
25236 rhapsody
* | darwin1.
[012])
25237 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
25240 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
25241 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25243 case ${MACOSX_DEPLOYMENT_TARGET} in
25245 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25248 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
25254 archive_cmds_need_lc_GCJ
=no
25255 hardcode_direct_GCJ
=no
25256 hardcode_automatic_GCJ
=yes
25257 hardcode_shlibpath_var_GCJ
=unsupported
25258 whole_archive_flag_spec_GCJ
=''
25259 link_all_deplibs_GCJ
=yes
25260 if test "$GCC" = yes ; then
25261 output_verbose_link_cmd
='echo'
25262 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
25263 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25264 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25265 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}'
25266 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}'
25268 case $cc_basename in
25270 output_verbose_link_cmd
='echo'
25271 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
25272 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25273 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25274 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}'
25275 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}'
25285 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25286 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25287 hardcode_shlibpath_var_GCJ
=no
25294 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25295 # support. Future versions do this automatically, but an explicit c++rt0.o
25296 # does not break anything, and helps significantly (at the cost of a little
25299 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25300 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25301 hardcode_direct_GCJ
=yes
25302 hardcode_shlibpath_var_GCJ
=no
25305 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25307 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25308 hardcode_direct_GCJ
=yes
25309 hardcode_minus_L_GCJ
=yes
25310 hardcode_shlibpath_var_GCJ
=no
25313 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25314 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
25315 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25316 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25317 hardcode_direct_GCJ
=yes
25318 hardcode_shlibpath_var_GCJ
=no
25322 if test "$GCC" = yes; then
25323 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'
25325 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'
25327 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
25328 hardcode_libdir_separator_GCJ
=:
25329 hardcode_direct_GCJ
=yes
25331 # hardcode_minus_L: Not really in the search PATH,
25332 # but as the default location of the library.
25333 hardcode_minus_L_GCJ
=yes
25334 export_dynamic_flag_spec_GCJ
='${wl}-E'
25338 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
25339 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25341 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25343 if test "$with_gnu_ld" = no
; then
25344 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
25345 hardcode_libdir_separator_GCJ
=:
25347 hardcode_direct_GCJ
=yes
25348 export_dynamic_flag_spec_GCJ
='${wl}-E'
25350 # hardcode_minus_L: Not really in the search PATH,
25351 # but as the default location of the library.
25352 hardcode_minus_L_GCJ
=yes
25357 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
25360 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25363 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25366 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25372 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25375 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25378 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25382 if test "$with_gnu_ld" = no
; then
25383 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
25384 hardcode_libdir_separator_GCJ
=:
25388 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
25389 hardcode_direct_GCJ
=no
25390 hardcode_shlibpath_var_GCJ
=no
25393 hardcode_direct_GCJ
=yes
25394 export_dynamic_flag_spec_GCJ
='${wl}-E'
25396 # hardcode_minus_L: Not really in the search PATH,
25397 # but as the default location of the library.
25398 hardcode_minus_L_GCJ
=yes
25404 irix5
* | irix6
* | nonstopux
*)
25405 if test "$GCC" = yes; then
25406 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'
25408 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'
25409 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
25411 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25412 hardcode_libdir_separator_GCJ
=:
25413 link_all_deplibs_GCJ
=yes
25417 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25418 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25420 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25422 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25423 hardcode_direct_GCJ
=yes
25424 hardcode_shlibpath_var_GCJ
=no
25428 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25429 hardcode_direct_GCJ
=yes
25430 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25431 hardcode_libdir_separator_GCJ
=:
25432 hardcode_shlibpath_var_GCJ
=no
25436 hardcode_direct_GCJ
=yes
25437 hardcode_shlibpath_var_GCJ
=no
25438 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25439 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25440 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25441 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
25442 export_dynamic_flag_spec_GCJ
='${wl}-E'
25445 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
25446 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25447 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25450 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25451 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
25458 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25459 hardcode_minus_L_GCJ
=yes
25460 allow_undefined_flag_GCJ
=unsupported
25461 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'
25462 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25466 if test "$GCC" = yes; then
25467 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
25468 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'
25470 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
25471 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'
25473 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25474 hardcode_libdir_separator_GCJ
=:
25477 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
25478 if test "$GCC" = yes; then
25479 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
25480 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'
25481 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25483 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
25484 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'
25485 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~
25486 $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'
25488 # Both c and cxx compiler support -rpath directly
25489 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
25491 hardcode_libdir_separator_GCJ
=:
25495 no_undefined_flag_GCJ
=' -z text'
25496 if test "$GCC" = yes; then
25498 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25499 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25500 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25503 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25504 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25505 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25507 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25508 hardcode_shlibpath_var_GCJ
=no
25510 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
25512 # The compiler driver will combine linker options so we
25513 # cannot just pass the convience library names through
25514 # without $wl, iff we do not link with $LD.
25515 # Luckily, gcc supports the same syntax we need for Sun Studio.
25516 # Supported since Solaris 2.6 (maybe 2.5.1?)
25519 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
25521 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' ;;
25524 link_all_deplibs_GCJ
=yes
25528 if test "x$host_vendor" = xsequent
; then
25529 # Use $CC to link under sequent, because it throws in some extra .o
25530 # files that make .init and .fini sections work.
25531 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25533 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25535 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25536 hardcode_direct_GCJ
=yes
25537 hardcode_minus_L_GCJ
=yes
25538 hardcode_shlibpath_var_GCJ
=no
25542 case $host_vendor in
25544 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25545 hardcode_direct_GCJ
=yes # is this really true???
25548 ## LD is ld it makes a PLAMLIB
25549 ## CC just makes a GrossModule.
25550 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25551 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
25552 hardcode_direct_GCJ
=no
25555 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25556 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
25559 runpath_var
='LD_RUN_PATH'
25560 hardcode_shlibpath_var_GCJ
=no
25564 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25565 hardcode_shlibpath_var_GCJ
=no
25566 export_dynamic_flag_spec_GCJ
='-Bexport'
25570 if test -d /usr
/nec
; then
25571 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25572 hardcode_shlibpath_var_GCJ
=no
25573 runpath_var
=LD_RUN_PATH
25574 hardcode_runpath_var
=yes
25579 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
25580 no_undefined_flag_GCJ
='${wl}-z,text'
25581 archive_cmds_need_lc_GCJ
=no
25582 hardcode_shlibpath_var_GCJ
=no
25583 runpath_var
='LD_RUN_PATH'
25585 if test "$GCC" = yes; then
25586 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25587 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25589 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25590 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25594 sysv5
* | sco3.2v5
* | sco5v6
*)
25595 # Note: We can NOT use -z defs as we might desire, because we do not
25596 # link with -lc, and that would cause any symbols used from libc to
25597 # always be unresolved, which means just about no library would
25598 # ever link correctly. If we're not using GNU ld we use -z text
25599 # though, which does catch some bad symbols but isn't as heavy-handed
25601 no_undefined_flag_GCJ
='${wl}-z,text'
25602 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
25603 archive_cmds_need_lc_GCJ
=no
25604 hardcode_shlibpath_var_GCJ
=no
25605 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25606 hardcode_libdir_separator_GCJ
=':'
25607 link_all_deplibs_GCJ
=yes
25608 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
25609 runpath_var
='LD_RUN_PATH'
25611 if test "$GCC" = yes; then
25612 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25613 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25615 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25616 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25621 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25622 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25623 hardcode_shlibpath_var_GCJ
=no
25632 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25633 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25634 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
25637 # Do we need to explicitly link libc?
25639 case "x$archive_cmds_need_lc_GCJ" in
25641 # Assume -lc should be added
25642 archive_cmds_need_lc_GCJ
=yes
25644 if test "$enable_shared" = yes && test "$GCC" = yes; then
25645 case $archive_cmds_GCJ in
25647 # FIXME: we may have to deal with multi-command sequences.
25650 # Test whether the compiler implicitly links with -lc since on some
25651 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25652 # to ld, don't add -lc before -lgcc.
25653 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25654 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25656 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
25658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25659 (eval $ac_compile) 2>&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } 2>conftest.err
; then
25665 libobjs
=conftest.
$ac_objext
25667 wl
=$lt_prog_compiler_wl_GCJ
25668 pic_flag
=$lt_prog_compiler_pic_GCJ
25674 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
25675 allow_undefined_flag_GCJ
=
25676 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25677 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); }
25682 archive_cmds_need_lc_GCJ
=no
25684 archive_cmds_need_lc_GCJ
=yes
25686 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25688 cat conftest.err
1>&5
25691 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25692 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25699 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25700 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25701 library_names_spec
=
25702 libname_spec
='lib$name'
25706 postuninstall_cmds
=
25710 shlibpath_overrides_runpath
=unknown
25712 dynamic_linker
="$host_os ld.so"
25713 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25714 if test "$GCC" = yes; then
25715 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25716 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25717 # if the path contains ";" then we assume it to be the separator
25718 # otherwise default to the standard path separator (i.e. ":") - it is
25719 # assumed that no part of a normal pathname contains ";" but that should
25720 # okay in the real world where ";" in dirpaths is itself problematic.
25721 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25723 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25726 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25728 need_lib_prefix
=unknown
25729 hardcode_into_libs
=no
25731 # when you set need_version to no, make sure it does not cause -set_version
25732 # flags to be left without arguments
25733 need_version
=unknown
25738 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25739 shlibpath_var
=LIBPATH
25741 # AIX 3 has no versioning support, so we append a major version to the name.
25742 soname_spec
='${libname}${release}${shared_ext}$major'
25749 hardcode_into_libs
=yes
25750 if test "$host_cpu" = ia64
; then
25751 # AIX 5 supports IA64
25752 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25753 shlibpath_var
=LD_LIBRARY_PATH
25755 # With GCC up to 2.95.x, collect2 would create an import file
25756 # for dependence libraries. The import file would start with
25757 # the line `#! .'. This would cause the generated library to
25758 # depend on `.', always an invalid library. This was fixed in
25759 # development snapshots of GCC prior to 3.0.
25761 aix4 | aix4.
[01] | aix4.
[01].
*)
25762 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25764 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25767 can_build_shared
=no
25771 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25772 # soname into executable. Probably we can add versioning support to
25773 # collect2, so additional links can be useful in future.
25774 if test "$aix_use_runtimelinking" = yes; then
25775 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25776 # instead of lib<name>.a to let people know that these are not
25777 # typical AIX shared libraries.
25778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25780 # We preserve .a as extension for shared libraries through AIX4.2
25781 # and later when we are not doing run time linking.
25782 library_names_spec
='${libname}${release}.a $libname.a'
25783 soname_spec
='${libname}${release}${shared_ext}$major'
25785 shlibpath_var
=LIBPATH
25790 library_names_spec
='$libname.ixlibrary $libname.a'
25791 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25792 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'
25796 library_names_spec
='${libname}${shared_ext}'
25797 dynamic_linker
="$host_os ld.so"
25798 shlibpath_var
=LIBRARY_PATH
25804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25805 soname_spec
='${libname}${release}${shared_ext}$major'
25806 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25807 shlibpath_var
=LD_LIBRARY_PATH
25808 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25809 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25810 # the default ld.so.conf also contains /usr/contrib/lib and
25811 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25812 # libtool to hard-code these into programs
25815 cygwin
* | mingw
* | pw32
*)
25816 version_type
=windows
25821 case $GCC,$host_os in
25822 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25823 library_names_spec
='$libname.dll.a'
25824 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25825 postinstall_cmds
='base_file=`basename \${file}`~
25826 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25827 dldir=$destdir/`dirname \$dlpath`~
25828 test -d \$dldir || mkdir -p \$dldir~
25829 $install_prog $dir/$dlname \$dldir/$dlname~
25830 chmod a+x \$dldir/$dlname'
25831 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25832 dlpath=$dir/\$dldll~
25834 shlibpath_overrides_runpath
=yes
25838 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25839 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25840 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25843 # MinGW DLLs use traditional 'lib' prefix
25844 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25845 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25846 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25847 # It is most probably a Windows format PATH printed by
25848 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25849 # path with ; separators, and with drive letters. We can handle the
25850 # drive letters (cygwin fileutils understands them), so leave them,
25851 # especially as we might pass files found there to a mingw objdump,
25852 # which wouldn't understand a cygwinified path. Ahh.
25853 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25855 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25859 # pw32 DLLs use 'pw' prefix rather than 'lib'
25860 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25866 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25869 dynamic_linker
='Win32 ld.exe'
25870 # FIXME: first we should search . and the directory the executable is in
25874 darwin
* | rhapsody
*)
25875 dynamic_linker
="$host_os dyld"
25876 version_type
=darwin
25879 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25880 soname_spec
='${libname}${release}${major}$shared_ext'
25881 shlibpath_overrides_runpath
=yes
25882 shlibpath_var
=DYLD_LIBRARY_PATH
25883 shrext_cmds
='.dylib'
25884 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25885 if test "$GCC" = yes; then
25886 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"`
25888 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25890 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25898 soname_spec
='${libname}${release}${shared_ext}$major'
25899 shlibpath_var
=LD_LIBRARY_PATH
25910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25911 soname_spec
='${libname}${release}${shared_ext}$major'
25912 shlibpath_var
=LD_LIBRARY_PATH
25913 shlibpath_overrides_runpath
=no
25914 hardcode_into_libs
=yes
25915 dynamic_linker
='GNU ld.so'
25918 freebsd
* | dragonfly
*)
25919 # DragonFly does not have aout. When/if they implement a new
25920 # versioning mechanism, adjust this.
25921 if test -x /usr
/bin
/objformat
; then
25922 objformat
=`/usr/bin/objformat`
25925 freebsd
[123]*) objformat
=aout
;;
25926 *) objformat
=elf
;;
25929 version_type
=freebsd-
$objformat
25930 case $version_type in
25932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25937 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25941 shlibpath_var
=LD_LIBRARY_PATH
25944 shlibpath_overrides_runpath
=yes
25946 freebsd3.
[01]* | freebsdelf3.
[01]*)
25947 shlibpath_overrides_runpath
=yes
25948 hardcode_into_libs
=yes
25950 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25951 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25952 shlibpath_overrides_runpath
=no
25953 hardcode_into_libs
=yes
25955 freebsd
*) # from 4.6 on
25956 shlibpath_overrides_runpath
=yes
25957 hardcode_into_libs
=yes
25966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25967 soname_spec
='${libname}${release}${shared_ext}$major'
25968 shlibpath_var
=LD_LIBRARY_PATH
25969 hardcode_into_libs
=yes
25972 hpux9
* | hpux10
* | hpux11
*)
25973 # Give a soname corresponding to the major version so that dld.sl refuses to
25974 # link against other versions.
25981 hardcode_into_libs
=yes
25982 dynamic_linker
="$host_os dld.so"
25983 shlibpath_var
=LD_LIBRARY_PATH
25984 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25986 soname_spec
='${libname}${release}${shared_ext}$major'
25987 if test "X$HPUX_IA64_MODE" = X32
; then
25988 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25990 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25992 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25996 hardcode_into_libs
=yes
25997 dynamic_linker
="$host_os dld.sl"
25998 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25999 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
26000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26001 soname_spec
='${libname}${release}${shared_ext}$major'
26002 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
26003 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
26007 dynamic_linker
="$host_os dld.sl"
26008 shlibpath_var
=SHLIB_PATH
26009 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
26010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26011 soname_spec
='${libname}${release}${shared_ext}$major'
26014 # HP-UX runs *really* slowly unless shared libraries are mode 555.
26015 postinstall_cmds
='chmod 555 $lib'
26022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26023 soname_spec
='${libname}${release}${shared_ext}$major'
26024 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
26025 shlibpath_var
=LD_LIBRARY_PATH
26026 shlibpath_overrides_runpath
=no
26027 hardcode_into_libs
=yes
26030 irix5
* | irix6
* | nonstopux
*)
26032 nonstopux
*) version_type
=nonstopux
;;
26034 if test "$lt_cv_prog_gnu_ld" = yes; then
26042 soname_spec
='${libname}${release}${shared_ext}$major'
26043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
26045 irix5
* | nonstopux
*)
26046 libsuff
= shlibsuff
=
26049 case $LD in # libtool.m4 will add one of these switches to LD
26050 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
26051 libsuff
= shlibsuff
= libmagic
=32-bit;;
26052 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
26053 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
26054 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
26055 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
26056 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
26060 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
26061 shlibpath_overrides_runpath
=no
26062 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
26063 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
26064 hardcode_into_libs
=yes
26067 # No shared lib support for Linux oldld, aout, or coff.
26068 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
26072 # This must be Linux ELF.
26077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26078 soname_spec
='${libname}${release}${shared_ext}$major'
26079 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
26080 shlibpath_var
=LD_LIBRARY_PATH
26081 shlibpath_overrides_runpath
=no
26082 # This implies no fast_install, which is unacceptable.
26083 # Some rework will be needed to allow for fast_install
26084 # before this can be enabled.
26085 hardcode_into_libs
=yes
26087 # Append ld.so.conf contents to the search path
26088 if test -f /etc
/ld.so.conf
; then
26089 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' ' '`
26090 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
26093 # We used to test for /lib/ld.so.1 and disable shared libraries on
26094 # powerpc, because MkLinux only supported shared libraries with the
26095 # GNU dynamic linker. Since this was broken with cross compilers,
26096 # most powerpc-linux boxes support dynamic linking these days and
26097 # people can always --disable-shared, the test was removed, and we
26098 # assume the GNU/Linux dynamic linker is in use.
26099 dynamic_linker
='GNU/Linux ld.so'
26106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26107 soname_spec
='${libname}${release}${shared_ext}$major'
26108 shlibpath_var
=LD_LIBRARY_PATH
26109 shlibpath_overrides_runpath
=no
26110 hardcode_into_libs
=yes
26111 dynamic_linker
='GNU ld.so'
26118 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
26119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26120 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26121 dynamic_linker
='NetBSD (a.out) ld.so'
26123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26124 soname_spec
='${libname}${release}${shared_ext}$major'
26125 dynamic_linker
='NetBSD ld.elf_so'
26127 shlibpath_var
=LD_LIBRARY_PATH
26128 shlibpath_overrides_runpath
=yes
26129 hardcode_into_libs
=yes
26134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26135 shlibpath_var
=LD_LIBRARY_PATH
26136 shlibpath_overrides_runpath
=yes
26143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26144 soname_spec
='${libname}${release}${shared_ext}$major'
26145 shlibpath_var
=LD_LIBRARY_PATH
26146 shlibpath_overrides_runpath
=yes
26151 sys_lib_dlsearch_path_spec
="/usr/lib"
26153 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26155 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
26156 *) need_version
=no
;;
26158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26159 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26160 shlibpath_var
=LD_LIBRARY_PATH
26161 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26163 openbsd2.
[89] | openbsd2.
[89].
*)
26164 shlibpath_overrides_runpath
=no
26167 shlibpath_overrides_runpath
=yes
26171 shlibpath_overrides_runpath
=yes
26176 libname_spec
='$name'
26179 library_names_spec
='$libname${shared_ext} $libname.a'
26180 dynamic_linker
='OS/2 ld.exe'
26181 shlibpath_var
=LIBPATH
26184 osf3
* | osf4
* | osf5
*)
26188 soname_spec
='${libname}${release}${shared_ext}$major'
26189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26190 shlibpath_var
=LD_LIBRARY_PATH
26191 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
26192 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
26199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26200 soname_spec
='${libname}${release}${shared_ext}$major'
26201 shlibpath_var
=LD_LIBRARY_PATH
26202 shlibpath_overrides_runpath
=yes
26203 hardcode_into_libs
=yes
26204 # ldd complains unless libraries are executable
26205 postinstall_cmds
='chmod +x $lib'
26210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26211 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26212 shlibpath_var
=LD_LIBRARY_PATH
26213 shlibpath_overrides_runpath
=yes
26214 if test "$with_gnu_ld" = yes; then
26222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26223 soname_spec
='${libname}${release}${shared_ext}$major'
26224 shlibpath_var
=LD_LIBRARY_PATH
26225 case $host_vendor in
26227 shlibpath_overrides_runpath
=no
26229 export_dynamic_flag_spec
='${wl}-Blargedynsym'
26230 runpath_var
=LD_RUN_PATH
26238 shlibpath_overrides_runpath
=no
26239 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
26245 if test -d /usr
/nec
;then
26247 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26248 soname_spec
='$libname${shared_ext}.$major'
26249 shlibpath_var
=LD_LIBRARY_PATH
26253 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
26254 version_type
=freebsd-elf
26257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26258 soname_spec
='${libname}${release}${shared_ext}$major'
26259 shlibpath_var
=LD_LIBRARY_PATH
26260 hardcode_into_libs
=yes
26261 if test "$with_gnu_ld" = yes; then
26262 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26263 shlibpath_overrides_runpath
=no
26265 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
26266 shlibpath_overrides_runpath
=yes
26269 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
26273 sys_lib_dlsearch_path_spec
='/usr/lib'
26278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26279 soname_spec
='${libname}${release}${shared_ext}$major'
26280 shlibpath_var
=LD_LIBRARY_PATH
26287 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26288 echo "${ECHO_T}$dynamic_linker" >&6; }
26289 test "$dynamic_linker" = no
&& can_build_shared
=no
26291 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
26292 if test "$GCC" = yes; then
26293 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26296 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26297 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
26298 hardcode_action_GCJ
=
26299 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26300 test -n "$runpath_var_GCJ" || \
26301 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26303 # We can hardcode non-existant directories.
26304 if test "$hardcode_direct_GCJ" != no
&&
26305 # If the only mechanism to avoid hardcoding is shlibpath_var, we
26306 # have to relink, otherwise we might link with an installed library
26307 # when we should be linking with a yet-to-be-installed one
26308 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26309 test "$hardcode_minus_L_GCJ" != no
; then
26310 # Linking always hardcodes the temporary library directory.
26311 hardcode_action_GCJ
=relink
26313 # We can link without hardcoding, and we can hardcode nonexisting dirs.
26314 hardcode_action_GCJ
=immediate
26317 # We cannot hardcode anything, or else we can only hardcode existing
26319 hardcode_action_GCJ
=unsupported
26321 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26322 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
26324 if test "$hardcode_action_GCJ" = relink
; then
26325 # Fast installation is not supported
26326 enable_fast_install
=no
26327 elif test "$shlibpath_overrides_runpath" = yes ||
26328 test "$enable_shared" = no
; then
26329 # Fast installation is not necessary
26330 enable_fast_install
=needless
26334 # The else clause should only fire when bootstrapping the
26335 # libtool distribution, otherwise you forgot to ship ltmain.sh
26336 # with your package, and you will get complaints that there are
26337 # no rules to generate ltmain.sh.
26338 if test -f "$ltmain"; then
26339 # See if we are running on zsh, and set the options which allow our commands through
26340 # without removal of \ escapes.
26341 if test -n "${ZSH_VERSION+set}" ; then
26342 setopt NO_GLOB_SUBST
26344 # Now quote all the things that may contain metacharacters while being
26345 # careful not to overquote the AC_SUBSTed values. We take copies of the
26346 # variables and quote the copies for generation of the libtool script.
26347 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26349 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26350 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26351 deplibs_check_method reload_flag reload_cmds need_locks \
26352 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26353 lt_cv_sys_global_symbol_to_c_name_address \
26354 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26355 old_postinstall_cmds old_postuninstall_cmds \
26359 lt_prog_compiler_wl_GCJ \
26360 lt_prog_compiler_pic_GCJ \
26361 lt_prog_compiler_static_GCJ \
26362 lt_prog_compiler_no_builtin_flag_GCJ \
26363 export_dynamic_flag_spec_GCJ \
26364 thread_safe_flag_spec_GCJ \
26365 whole_archive_flag_spec_GCJ \
26366 enable_shared_with_static_runtimes_GCJ \
26367 old_archive_cmds_GCJ \
26368 old_archive_from_new_cmds_GCJ \
26369 predep_objects_GCJ \
26370 postdep_objects_GCJ \
26373 compiler_lib_search_path_GCJ \
26375 archive_expsym_cmds_GCJ \
26376 postinstall_cmds_GCJ \
26377 postuninstall_cmds_GCJ \
26378 old_archive_from_expsyms_cmds_GCJ \
26379 allow_undefined_flag_GCJ \
26380 no_undefined_flag_GCJ \
26381 export_symbols_cmds_GCJ \
26382 hardcode_libdir_flag_spec_GCJ \
26383 hardcode_libdir_flag_spec_ld_GCJ \
26384 hardcode_libdir_separator_GCJ \
26385 hardcode_automatic_GCJ \
26387 module_expsym_cmds_GCJ \
26388 lt_cv_prog_compiler_c_o_GCJ \
26389 exclude_expsyms_GCJ \
26390 include_expsyms_GCJ
; do
26393 old_archive_cmds_GCJ | \
26394 old_archive_from_new_cmds_GCJ | \
26395 archive_cmds_GCJ | \
26396 archive_expsym_cmds_GCJ | \
26397 module_cmds_GCJ | \
26398 module_expsym_cmds_GCJ | \
26399 old_archive_from_expsyms_cmds_GCJ | \
26400 export_symbols_cmds_GCJ | \
26401 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26402 postinstall_cmds | postuninstall_cmds | \
26403 old_postinstall_cmds | old_postuninstall_cmds | \
26404 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26405 # Double-quote double-evaled strings.
26406 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26409 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26415 *'\$0 --fallback-echo"')
26416 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26422 cat <<__EOF__ >> "$cfgfile"
26423 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26425 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26427 # Shell to use when invoking shell scripts.
26430 # Whether or not to build shared libraries.
26431 build_libtool_libs=$enable_shared
26433 # Whether or not to build static libraries.
26434 build_old_libs=$enable_static
26436 # Whether or not to add -lc for building shared libraries.
26437 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26439 # Whether or not to disallow shared libs when runtime libs are static
26440 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26442 # Whether or not to optimize for fast installation.
26443 fast_install=$enable_fast_install
26446 host_alias=$host_alias
26450 # The build system.
26451 build_alias=$build_alias
26455 # An echo program that does not interpret backslashes.
26460 AR_FLAGS=$lt_AR_FLAGS
26465 # LTCC compiler flags.
26466 LTCFLAGS=$lt_LTCFLAGS
26468 # A language-specific compiler.
26469 CC=$lt_compiler_GCJ
26471 # Is the compiler the GNU C compiler?
26477 # The linker used to build libraries.
26480 # Whether we need hard or soft links.
26483 # A BSD-compatible nm program.
26486 # A symbol stripping program
26489 # Used to examine libraries when file_magic_cmd begins "file"
26490 MAGIC_CMD=$MAGIC_CMD
26492 # Used on cygwin: DLL creation program.
26495 # Used on cygwin: object dumper.
26498 # Used on cygwin: assembler.
26501 # The name of the directory that contains temporary libtool files.
26504 # How to create reloadable object files.
26505 reload_flag=$lt_reload_flag
26506 reload_cmds=$lt_reload_cmds
26508 # How to pass a linker flag through the compiler.
26509 wl=$lt_lt_prog_compiler_wl_GCJ
26511 # Object file suffix (normally "o").
26512 objext="$ac_objext"
26514 # Old archive suffix (normally "a").
26517 # Shared library suffix (normally ".so").
26518 shrext_cmds='$shrext_cmds'
26520 # Executable file suffix (normally "").
26523 # Additional compiler flags for building library objects.
26524 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26527 # What is the maximum length of a command?
26528 max_cmd_len=$lt_cv_sys_max_cmd_len
26530 # Does compiler simultaneously support -c and -o options?
26531 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26533 # Must we lock files when doing compilation?
26534 need_locks=$lt_need_locks
26536 # Do we need the lib prefix for modules?
26537 need_lib_prefix=$need_lib_prefix
26539 # Do we need a version for libraries?
26540 need_version=$need_version
26542 # Whether dlopen is supported.
26543 dlopen_support=$enable_dlopen
26545 # Whether dlopen of programs is supported.
26546 dlopen_self=$enable_dlopen_self
26548 # Whether dlopen of statically linked programs is supported.
26549 dlopen_self_static=$enable_dlopen_self_static
26551 # Compiler flag to prevent dynamic linking.
26552 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26554 # Compiler flag to turn off builtin functions.
26555 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26557 # Compiler flag to allow reflexive dlopens.
26558 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26560 # Compiler flag to generate shared objects directly from archives.
26561 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26563 # Compiler flag to generate thread-safe objects.
26564 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26566 # Library versioning type.
26567 version_type=$version_type
26569 # Format of library name prefix.
26570 libname_spec=$lt_libname_spec
26572 # List of archive names. First name is the real one, the rest are links.
26573 # The last name is the one that the linker finds with -lNAME.
26574 library_names_spec=$lt_library_names_spec
26576 # The coded name of the library, if different from the real name.
26577 soname_spec=$lt_soname_spec
26579 # Commands used to build and install an old-style archive.
26581 old_archive_cmds=$lt_old_archive_cmds_GCJ
26582 old_postinstall_cmds=$lt_old_postinstall_cmds
26583 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26585 # Create an old-style archive from a shared archive.
26586 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26588 # Create a temporary old-style archive to link instead of a shared archive.
26589 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26591 # Commands used to build and install a shared archive.
26592 archive_cmds=$lt_archive_cmds_GCJ
26593 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26594 postinstall_cmds=$lt_postinstall_cmds
26595 postuninstall_cmds=$lt_postuninstall_cmds
26597 # Commands used to build a loadable module (assumed same as above if empty)
26598 module_cmds=$lt_module_cmds_GCJ
26599 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26601 # Commands to strip libraries.
26602 old_striplib=$lt_old_striplib
26603 striplib=$lt_striplib
26605 # Dependencies to place before the objects being linked to create a
26607 predep_objects=$lt_predep_objects_GCJ
26609 # Dependencies to place after the objects being linked to create a
26611 postdep_objects=$lt_postdep_objects_GCJ
26613 # Dependencies to place before the objects being linked to create a
26615 predeps=$lt_predeps_GCJ
26617 # Dependencies to place after the objects being linked to create a
26619 postdeps=$lt_postdeps_GCJ
26621 # The library search path used internally by the compiler when linking
26622 # a shared library.
26623 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26625 # Method to check whether dependent libraries are shared objects.
26626 deplibs_check_method=$lt_deplibs_check_method
26628 # Command to use when deplibs_check_method == file_magic.
26629 file_magic_cmd=$lt_file_magic_cmd
26631 # Flag that allows shared libraries with undefined symbols to be built.
26632 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26634 # Flag that forces no undefined symbols.
26635 no_undefined_flag=$lt_no_undefined_flag_GCJ
26637 # Commands used to finish a libtool library installation in a directory.
26638 finish_cmds=$lt_finish_cmds
26640 # Same as above, but a single script fragment to be evaled but not shown.
26641 finish_eval=$lt_finish_eval
26643 # Take the output of nm and produce a listing of raw symbols and C names.
26644 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26646 # Transform the output of nm in a proper C declaration
26647 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26649 # Transform the output of nm in a C name address pair
26650 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26652 # This is the shared library runtime path variable.
26653 runpath_var=$runpath_var
26655 # This is the shared library path variable.
26656 shlibpath_var=$shlibpath_var
26658 # Is shlibpath searched before the hard-coded library search path?
26659 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26661 # How to hardcode a shared library path into an executable.
26662 hardcode_action=$hardcode_action_GCJ
26664 # Whether we should hardcode library paths into libraries.
26665 hardcode_into_libs=$hardcode_into_libs
26667 # Flag to hardcode \$libdir into a binary during linking.
26668 # This must work even if \$libdir does not exist.
26669 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26671 # If ld is used when linking, flag to hardcode \$libdir into
26672 # a binary during linking. This must work even if \$libdir does
26674 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26676 # Whether we need a single -rpath flag with a separated argument.
26677 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26679 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26680 # resulting binary.
26681 hardcode_direct=$hardcode_direct_GCJ
26683 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26684 # resulting binary.
26685 hardcode_minus_L=$hardcode_minus_L_GCJ
26687 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26688 # the resulting binary.
26689 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26691 # Set to yes if building a shared library automatically hardcodes DIR into the library
26692 # and all subsequent libraries and executables linked against it.
26693 hardcode_automatic=$hardcode_automatic_GCJ
26695 # Variables whose values should be saved in libtool wrapper scripts and
26696 # restored at relink time.
26697 variables_saved_for_relink="$variables_saved_for_relink"
26699 # Whether libtool must link a program against all its dependency libraries.
26700 link_all_deplibs=$link_all_deplibs_GCJ
26702 # Compile-time system search path for libraries
26703 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26705 # Run-time system search path for libraries
26706 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26708 # Fix the shell variable \$srcfile for the compiler.
26709 fix_srcfile_path="$fix_srcfile_path_GCJ"
26711 # Set to yes if exported symbols are required.
26712 always_export_symbols=$always_export_symbols_GCJ
26714 # The commands to list exported symbols.
26715 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26717 # The commands to extract the exported symbol list from a shared archive.
26718 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26720 # Symbols that should not be listed in the preloaded symbols.
26721 exclude_expsyms=$lt_exclude_expsyms_GCJ
26723 # Symbols that must always be exported.
26724 include_expsyms=$lt_include_expsyms_GCJ
26726 # ### END LIBTOOL TAG CONFIG: $tagname
26732 # If there is no Makefile yet, we rely on a make rule to execute
26733 # `config.status --recheck' to rerun these tests and create the
26734 # libtool script then.
26735 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26736 if test -f "$ltmain_in"; then
26737 test -f Makefile
&& make "$ltmain"
26743 ac_cpp
='$CPP $CPPFLAGS'
26744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26757 ac_cpp
='$CPP $CPPFLAGS'
26758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26763 # Source file extension for RC test sources.
26766 # Object file extension for compiled RC test sources.
26770 # Code to be used in simple compile tests
26771 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26773 # Code to be used in simple link tests
26774 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26776 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26778 # If no C compiler was specified, use CC.
26781 # If no C compiler flags were specified, use CFLAGS.
26782 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26784 # Allow CC to be a program name with arguments.
26788 # save warnings/boilerplate of simple test code
26789 ac_outfile
=conftest.
$ac_objext
26790 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26791 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26792 _lt_compiler_boilerplate
=`cat conftest.err`
26795 ac_outfile
=conftest.
$ac_objext
26796 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26797 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26798 _lt_linker_boilerplate
=`cat conftest.err`
26802 # Allow CC to be a program name with arguments.
26807 for cc_temp
in $compiler""; do
26809 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26810 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26815 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26817 lt_cv_prog_compiler_c_o_RC
=yes
26819 # The else clause should only fire when bootstrapping the
26820 # libtool distribution, otherwise you forgot to ship ltmain.sh
26821 # with your package, and you will get complaints that there are
26822 # no rules to generate ltmain.sh.
26823 if test -f "$ltmain"; then
26824 # See if we are running on zsh, and set the options which allow our commands through
26825 # without removal of \ escapes.
26826 if test -n "${ZSH_VERSION+set}" ; then
26827 setopt NO_GLOB_SUBST
26829 # Now quote all the things that may contain metacharacters while being
26830 # careful not to overquote the AC_SUBSTed values. We take copies of the
26831 # variables and quote the copies for generation of the libtool script.
26832 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26834 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26835 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26836 deplibs_check_method reload_flag reload_cmds need_locks \
26837 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26838 lt_cv_sys_global_symbol_to_c_name_address \
26839 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26840 old_postinstall_cmds old_postuninstall_cmds \
26844 lt_prog_compiler_wl_RC \
26845 lt_prog_compiler_pic_RC \
26846 lt_prog_compiler_static_RC \
26847 lt_prog_compiler_no_builtin_flag_RC \
26848 export_dynamic_flag_spec_RC \
26849 thread_safe_flag_spec_RC \
26850 whole_archive_flag_spec_RC \
26851 enable_shared_with_static_runtimes_RC \
26852 old_archive_cmds_RC \
26853 old_archive_from_new_cmds_RC \
26854 predep_objects_RC \
26855 postdep_objects_RC \
26858 compiler_lib_search_path_RC \
26860 archive_expsym_cmds_RC \
26861 postinstall_cmds_RC \
26862 postuninstall_cmds_RC \
26863 old_archive_from_expsyms_cmds_RC \
26864 allow_undefined_flag_RC \
26865 no_undefined_flag_RC \
26866 export_symbols_cmds_RC \
26867 hardcode_libdir_flag_spec_RC \
26868 hardcode_libdir_flag_spec_ld_RC \
26869 hardcode_libdir_separator_RC \
26870 hardcode_automatic_RC \
26872 module_expsym_cmds_RC \
26873 lt_cv_prog_compiler_c_o_RC \
26874 exclude_expsyms_RC \
26875 include_expsyms_RC
; do
26878 old_archive_cmds_RC | \
26879 old_archive_from_new_cmds_RC | \
26880 archive_cmds_RC | \
26881 archive_expsym_cmds_RC | \
26883 module_expsym_cmds_RC | \
26884 old_archive_from_expsyms_cmds_RC | \
26885 export_symbols_cmds_RC | \
26886 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26887 postinstall_cmds | postuninstall_cmds | \
26888 old_postinstall_cmds | old_postuninstall_cmds | \
26889 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26890 # Double-quote double-evaled strings.
26891 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26894 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26900 *'\$0 --fallback-echo"')
26901 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26907 cat <<__EOF__ >> "$cfgfile"
26908 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26910 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26912 # Shell to use when invoking shell scripts.
26915 # Whether or not to build shared libraries.
26916 build_libtool_libs=$enable_shared
26918 # Whether or not to build static libraries.
26919 build_old_libs=$enable_static
26921 # Whether or not to add -lc for building shared libraries.
26922 build_libtool_need_lc=$archive_cmds_need_lc_RC
26924 # Whether or not to disallow shared libs when runtime libs are static
26925 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26927 # Whether or not to optimize for fast installation.
26928 fast_install=$enable_fast_install
26931 host_alias=$host_alias
26935 # The build system.
26936 build_alias=$build_alias
26940 # An echo program that does not interpret backslashes.
26945 AR_FLAGS=$lt_AR_FLAGS
26950 # LTCC compiler flags.
26951 LTCFLAGS=$lt_LTCFLAGS
26953 # A language-specific compiler.
26956 # Is the compiler the GNU C compiler?
26962 # The linker used to build libraries.
26965 # Whether we need hard or soft links.
26968 # A BSD-compatible nm program.
26971 # A symbol stripping program
26974 # Used to examine libraries when file_magic_cmd begins "file"
26975 MAGIC_CMD=$MAGIC_CMD
26977 # Used on cygwin: DLL creation program.
26980 # Used on cygwin: object dumper.
26983 # Used on cygwin: assembler.
26986 # The name of the directory that contains temporary libtool files.
26989 # How to create reloadable object files.
26990 reload_flag=$lt_reload_flag
26991 reload_cmds=$lt_reload_cmds
26993 # How to pass a linker flag through the compiler.
26994 wl=$lt_lt_prog_compiler_wl_RC
26996 # Object file suffix (normally "o").
26997 objext="$ac_objext"
26999 # Old archive suffix (normally "a").
27002 # Shared library suffix (normally ".so").
27003 shrext_cmds='$shrext_cmds'
27005 # Executable file suffix (normally "").
27008 # Additional compiler flags for building library objects.
27009 pic_flag=$lt_lt_prog_compiler_pic_RC
27012 # What is the maximum length of a command?
27013 max_cmd_len=$lt_cv_sys_max_cmd_len
27015 # Does compiler simultaneously support -c and -o options?
27016 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
27018 # Must we lock files when doing compilation?
27019 need_locks=$lt_need_locks
27021 # Do we need the lib prefix for modules?
27022 need_lib_prefix=$need_lib_prefix
27024 # Do we need a version for libraries?
27025 need_version=$need_version
27027 # Whether dlopen is supported.
27028 dlopen_support=$enable_dlopen
27030 # Whether dlopen of programs is supported.
27031 dlopen_self=$enable_dlopen_self
27033 # Whether dlopen of statically linked programs is supported.
27034 dlopen_self_static=$enable_dlopen_self_static
27036 # Compiler flag to prevent dynamic linking.
27037 link_static_flag=$lt_lt_prog_compiler_static_RC
27039 # Compiler flag to turn off builtin functions.
27040 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
27042 # Compiler flag to allow reflexive dlopens.
27043 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
27045 # Compiler flag to generate shared objects directly from archives.
27046 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
27048 # Compiler flag to generate thread-safe objects.
27049 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
27051 # Library versioning type.
27052 version_type=$version_type
27054 # Format of library name prefix.
27055 libname_spec=$lt_libname_spec
27057 # List of archive names. First name is the real one, the rest are links.
27058 # The last name is the one that the linker finds with -lNAME.
27059 library_names_spec=$lt_library_names_spec
27061 # The coded name of the library, if different from the real name.
27062 soname_spec=$lt_soname_spec
27064 # Commands used to build and install an old-style archive.
27066 old_archive_cmds=$lt_old_archive_cmds_RC
27067 old_postinstall_cmds=$lt_old_postinstall_cmds
27068 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27070 # Create an old-style archive from a shared archive.
27071 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
27073 # Create a temporary old-style archive to link instead of a shared archive.
27074 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
27076 # Commands used to build and install a shared archive.
27077 archive_cmds=$lt_archive_cmds_RC
27078 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
27079 postinstall_cmds=$lt_postinstall_cmds
27080 postuninstall_cmds=$lt_postuninstall_cmds
27082 # Commands used to build a loadable module (assumed same as above if empty)
27083 module_cmds=$lt_module_cmds_RC
27084 module_expsym_cmds=$lt_module_expsym_cmds_RC
27086 # Commands to strip libraries.
27087 old_striplib=$lt_old_striplib
27088 striplib=$lt_striplib
27090 # Dependencies to place before the objects being linked to create a
27092 predep_objects=$lt_predep_objects_RC
27094 # Dependencies to place after the objects being linked to create a
27096 postdep_objects=$lt_postdep_objects_RC
27098 # Dependencies to place before the objects being linked to create a
27100 predeps=$lt_predeps_RC
27102 # Dependencies to place after the objects being linked to create a
27104 postdeps=$lt_postdeps_RC
27106 # The library search path used internally by the compiler when linking
27107 # a shared library.
27108 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
27110 # Method to check whether dependent libraries are shared objects.
27111 deplibs_check_method=$lt_deplibs_check_method
27113 # Command to use when deplibs_check_method == file_magic.
27114 file_magic_cmd=$lt_file_magic_cmd
27116 # Flag that allows shared libraries with undefined symbols to be built.
27117 allow_undefined_flag=$lt_allow_undefined_flag_RC
27119 # Flag that forces no undefined symbols.
27120 no_undefined_flag=$lt_no_undefined_flag_RC
27122 # Commands used to finish a libtool library installation in a directory.
27123 finish_cmds=$lt_finish_cmds
27125 # Same as above, but a single script fragment to be evaled but not shown.
27126 finish_eval=$lt_finish_eval
27128 # Take the output of nm and produce a listing of raw symbols and C names.
27129 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27131 # Transform the output of nm in a proper C declaration
27132 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27134 # Transform the output of nm in a C name address pair
27135 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27137 # This is the shared library runtime path variable.
27138 runpath_var=$runpath_var
27140 # This is the shared library path variable.
27141 shlibpath_var=$shlibpath_var
27143 # Is shlibpath searched before the hard-coded library search path?
27144 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27146 # How to hardcode a shared library path into an executable.
27147 hardcode_action=$hardcode_action_RC
27149 # Whether we should hardcode library paths into libraries.
27150 hardcode_into_libs=$hardcode_into_libs
27152 # Flag to hardcode \$libdir into a binary during linking.
27153 # This must work even if \$libdir does not exist.
27154 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
27156 # If ld is used when linking, flag to hardcode \$libdir into
27157 # a binary during linking. This must work even if \$libdir does
27159 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
27161 # Whether we need a single -rpath flag with a separated argument.
27162 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
27164 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27165 # resulting binary.
27166 hardcode_direct=$hardcode_direct_RC
27168 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27169 # resulting binary.
27170 hardcode_minus_L=$hardcode_minus_L_RC
27172 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27173 # the resulting binary.
27174 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27176 # Set to yes if building a shared library automatically hardcodes DIR into the library
27177 # and all subsequent libraries and executables linked against it.
27178 hardcode_automatic=$hardcode_automatic_RC
27180 # Variables whose values should be saved in libtool wrapper scripts and
27181 # restored at relink time.
27182 variables_saved_for_relink="$variables_saved_for_relink"
27184 # Whether libtool must link a program against all its dependency libraries.
27185 link_all_deplibs=$link_all_deplibs_RC
27187 # Compile-time system search path for libraries
27188 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27190 # Run-time system search path for libraries
27191 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27193 # Fix the shell variable \$srcfile for the compiler.
27194 fix_srcfile_path="$fix_srcfile_path_RC"
27196 # Set to yes if exported symbols are required.
27197 always_export_symbols=$always_export_symbols_RC
27199 # The commands to list exported symbols.
27200 export_symbols_cmds=$lt_export_symbols_cmds_RC
27202 # The commands to extract the exported symbol list from a shared archive.
27203 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27205 # Symbols that should not be listed in the preloaded symbols.
27206 exclude_expsyms=$lt_exclude_expsyms_RC
27208 # Symbols that must always be exported.
27209 include_expsyms=$lt_include_expsyms_RC
27211 # ### END LIBTOOL TAG CONFIG: $tagname
27217 # If there is no Makefile yet, we rely on a make rule to execute
27218 # `config.status --recheck' to rerun these tests and create the
27219 # libtool script then.
27220 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27221 if test -f "$ltmain_in"; then
27222 test -f Makefile
&& make "$ltmain"
27228 ac_cpp
='$CPP $CPPFLAGS'
27229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27238 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27239 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27240 { (exit 1); exit 1; }; }
27244 # Append the new tag name to the list of available tags.
27245 if test -n "$tagname" ; then
27246 available_tags
="$available_tags $tagname"
27252 # Now substitute the updated list of available tags.
27253 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27254 mv "${ofile}T" "$ofile"
27258 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27259 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27260 { (exit 1); exit 1; }; }
27266 # This can be used to rebuild libtool when needed
27267 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
27269 # Always use our own libtool.
27270 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
27272 # Prevent multiple expansion
27294 if test "$lt_cv_dlopen_self" = "yes" ; then
27296 cat >>confdefs.h
<<\_ACEOF
27297 #define CAN_DLOPEN_SELF 1
27303 if test "$WITH_LLVMGCCDIR" = "default" ; then
27304 LLVMGCC
="llvm-gcc${EXEEXT}"
27305 LLVMGXX
="llvm-g++${EXEEXT}"
27306 LLVMGCCCOMMAND
="$LLVMGCC"
27307 LLVMGXXCOMMAND
="$LLVMGXX"
27308 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
27310 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
27312 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
27313 set dummy
$LLVMGCC; ac_word
=$2
27314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27316 if test "${ac_cv_path_LLVMGCC+set}" = set; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27321 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
27324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27325 for as_dir
in $PATH
27328 test -z "$as_dir" && as_dir
=.
27329 for ac_exec_ext
in '' $ac_executable_extensions; do
27330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27331 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
27332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27342 LLVMGCC
=$ac_cv_path_LLVMGCC
27343 if test -n "$LLVMGCC"; then
27344 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
27345 echo "${ECHO_T}$LLVMGCC" >&6; }
27347 { echo "$as_me:$LINENO: result: no" >&5
27348 echo "${ECHO_T}no" >&6; }
27352 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
27353 set dummy
$LLVMGXX; ac_word
=$2
27354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27356 if test "${ac_cv_path_LLVMGXX+set}" = set; then
27357 echo $ECHO_N "(cached) $ECHO_C" >&6
27361 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
27364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27365 for as_dir
in $PATH
27368 test -z "$as_dir" && as_dir
=.
27369 for ac_exec_ext
in '' $ac_executable_extensions; do
27370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27371 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
27372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27382 LLVMGXX
=$ac_cv_path_LLVMGXX
27383 if test -n "$LLVMGXX"; then
27384 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
27385 echo "${ECHO_T}$LLVMGXX" >&6; }
27387 { echo "$as_me:$LINENO: result: no" >&5
27388 echo "${ECHO_T}no" >&6; }
27393 if test -z "$LLVMGCC"; then
27394 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
27395 LLVMGCCCOMMAND
="$LLVMGCC"
27397 if test -z "$LLVMGXX"; then
27398 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
27399 LLVMGXXCOMMAND
="$LLVMGXX"
27406 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
27408 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
27413 { echo "$as_me:$LINENO: checking tool compatibility" >&5
27414 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
27427 if test "$GCC" != "yes" && test "$ICC" != "yes"
27429 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
27430 echo "$as_me: error: gcc|icc required but not found" >&2;}
27431 { (exit 1); exit 1; }; }
27434 if test "$GXX" != "yes" && test "$IXX" != "yes"
27436 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
27437 echo "$as_me: error: g++|icc required but not found" >&2;}
27438 { (exit 1); exit 1; }; }
27441 if test "$GCC" = "yes"
27443 cat >conftest.
$ac_ext <<_ACEOF
27444 #if !defined(__GNUC__) || __GNUC__ < 3
27445 #error Unsupported GCC version
27449 rm -f conftest.
$ac_objext
27450 if { (ac_try
="$ac_compile"
27451 case "(($ac_try" in
27452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27453 *) ac_try_echo=$ac_try;;
27455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27456 (eval "$ac_compile") 2>conftest.er1
27458 grep -v '^ *+' conftest.er1 >conftest.err
27460 cat conftest.err >&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); } &&
27463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27464 { (case "(($ac_try" in
27465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27466 *) ac_try_echo
=$ac_try;;
27468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27469 (eval "$ac_try") 2>&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; } &&
27473 { ac_try
='test -s conftest.$ac_objext'
27474 { (case "(($ac_try" in
27475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27476 *) ac_try_echo=$ac_try;;
27478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27479 (eval "$ac_try") 2>&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); }; }; then
27485 echo "$as_me: failed program was:" >&5
27486 sed 's/^/| /' conftest.$ac_ext >&5
27488 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
27489 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
27490 { (exit 1); exit 1; }; }
27493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27496 if test -z "$llvm_cv_gnu_make_command"
27498 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
27499 echo "$as_me: error: GNU Make required but not found" >&2;}
27500 { (exit 1); exit 1; }; }
27503 { echo "$as_me:$LINENO: result: ok" >&5
27504 echo "${ECHO_T}ok" >&6; }
27506 { echo "$as_me:$LINENO: checking optional compiler flags" >&5
27507 echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
27508 NO_VARIADIC_MACROS=`$CXX -Wno-variadic-macros -fsyntax-only -xc /dev
/null
2>/dev
/null
&& echo -Wno-variadic-macros`
27510 NO_MISSING_FIELD_INITIALIZERS=`$CXX -Wno-missing-field-initializers -fsyntax-only -xc /dev
/null
2>/dev
/null
&& echo -Wno-missing-field-initializers`
27512 { echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&5
27513 echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&6; }
27517 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27518 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27519 if test "${ac_cv_lib_m_sin+set}" = set; then
27520 echo $ECHO_N "(cached) $ECHO_C" >&6
27522 ac_check_lib_save_LIBS=$LIBS
27524 cat >conftest.$ac_ext <<_ACEOF
27527 cat confdefs.h >>conftest.$ac_ext
27528 cat >>conftest.$ac_ext <<_ACEOF
27529 /* end confdefs.h. */
27531 /* Override any GCC internal prototype to avoid an error.
27532 Use char because int might match the return type of a GCC
27533 builtin and then its argument prototype would still apply. */
27546 rm -f conftest.$ac_objext conftest$ac_exeext
27547 if { (ac_try="$ac_link"
27548 case "(($ac_try" in
27549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27550 *) ac_try_echo
=$ac_try;;
27552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27553 (eval "$ac_link") 2>conftest.er1
27555 grep -v '^ *+' conftest.er1
>conftest.err
27557 cat conftest.err
>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } &&
27560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27561 { (case "(($ac_try" in
27562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27563 *) ac_try_echo=$ac_try;;
27565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27566 (eval "$ac_try") 2>&5
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); }; } &&
27570 { ac_try='test -s conftest$ac_exeext'
27571 { (case "(($ac_try" in
27572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27573 *) ac_try_echo
=$ac_try;;
27575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27576 (eval "$ac_try") 2>&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); }; }; then
27580 ac_cv_lib_m_sin
=yes
27582 echo "$as_me: failed program was:" >&5
27583 sed 's/^/| /' conftest.
$ac_ext >&5
27588 rm -f core conftest.err conftest.
$ac_objext \
27589 conftest
$ac_exeext conftest.
$ac_ext
27590 LIBS
=$ac_check_lib_save_LIBS
27592 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27593 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27594 if test $ac_cv_lib_m_sin = yes; then
27595 cat >>confdefs.h
<<_ACEOF
27596 #define HAVE_LIBM 1
27603 if test "$llvm_cv_os_type" = "MingW" ; then
27605 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
27606 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
27607 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
27608 echo $ECHO_N "(cached) $ECHO_C" >&6
27610 ac_check_lib_save_LIBS
=$LIBS
27611 LIBS
="-limagehlp $LIBS"
27612 cat >conftest.
$ac_ext <<_ACEOF
27615 cat confdefs.h
>>conftest.
$ac_ext
27616 cat >>conftest.
$ac_ext <<_ACEOF
27617 /* end confdefs.h. */
27628 rm -f conftest.
$ac_objext conftest
$ac_exeext
27629 if { (ac_try
="$ac_link"
27630 case "(($ac_try" in
27631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27632 *) ac_try_echo=$ac_try;;
27634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27635 (eval "$ac_link") 2>conftest.er1
27637 grep -v '^ *+' conftest.er1 >conftest.err
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } &&
27642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27643 { (case "(($ac_try" in
27644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27645 *) ac_try_echo
=$ac_try;;
27647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27648 (eval "$ac_try") 2>&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); }; } &&
27652 { ac_try
='test -s conftest$ac_exeext'
27653 { (case "(($ac_try" in
27654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27655 *) ac_try_echo=$ac_try;;
27657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27658 (eval "$ac_try") 2>&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); }; }; then
27662 ac_cv_lib_imagehlp_main=yes
27664 echo "$as_me: failed program was:" >&5
27665 sed 's/^/| /' conftest.$ac_ext >&5
27667 ac_cv_lib_imagehlp_main=no
27670 rm -f core conftest.err conftest.$ac_objext \
27671 conftest$ac_exeext conftest.$ac_ext
27672 LIBS=$ac_check_lib_save_LIBS
27674 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27675 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27676 if test $ac_cv_lib_imagehlp_main = yes; then
27677 cat >>confdefs.h <<_ACEOF
27678 #define HAVE_LIBIMAGEHLP 1
27681 LIBS="-limagehlp $LIBS"
27686 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27687 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27688 if test "${ac_cv_lib_psapi_main+set}" = set; then
27689 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 ac_check_lib_save_LIBS=$LIBS
27692 LIBS="-lpsapi $LIBS"
27693 cat >conftest.$ac_ext <<_ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27709 rm -f conftest.$ac_objext conftest$ac_exeext
27710 if { (ac_try="$ac_link"
27711 case "(($ac_try" in
27712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27713 *) ac_try_echo
=$ac_try;;
27715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27716 (eval "$ac_link") 2>conftest.er1
27718 grep -v '^ *+' conftest.er1
>conftest.err
27720 cat conftest.err
>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } &&
27723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27724 { (case "(($ac_try" in
27725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27726 *) ac_try_echo=$ac_try;;
27728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27729 (eval "$ac_try") 2>&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; } &&
27733 { ac_try='test -s conftest$ac_exeext'
27734 { (case "(($ac_try" in
27735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27736 *) ac_try_echo
=$ac_try;;
27738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27739 (eval "$ac_try") 2>&5
27741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27742 (exit $ac_status); }; }; then
27743 ac_cv_lib_psapi_main
=yes
27745 echo "$as_me: failed program was:" >&5
27746 sed 's/^/| /' conftest.
$ac_ext >&5
27748 ac_cv_lib_psapi_main
=no
27751 rm -f core conftest.err conftest.
$ac_objext \
27752 conftest
$ac_exeext conftest.
$ac_ext
27753 LIBS
=$ac_check_lib_save_LIBS
27755 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27756 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27757 if test $ac_cv_lib_psapi_main = yes; then
27758 cat >>confdefs.h
<<_ACEOF
27759 #define HAVE_LIBPSAPI 1
27762 LIBS
="-lpsapi $LIBS"
27768 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27769 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27770 if test "${ac_cv_search_dlopen+set}" = set; then
27771 echo $ECHO_N "(cached) $ECHO_C" >&6
27773 ac_func_search_save_LIBS
=$LIBS
27774 cat >conftest.
$ac_ext <<_ACEOF
27777 cat confdefs.h
>>conftest.
$ac_ext
27778 cat >>conftest.
$ac_ext <<_ACEOF
27779 /* end confdefs.h. */
27781 /* Override any GCC internal prototype to avoid an error.
27782 Use char because int might match the return type of a GCC
27783 builtin and then its argument prototype would still apply. */
27796 for ac_lib
in '' dl
; do
27797 if test -z "$ac_lib"; then
27798 ac_res
="none required"
27801 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27803 rm -f conftest.
$ac_objext conftest
$ac_exeext
27804 if { (ac_try
="$ac_link"
27805 case "(($ac_try" in
27806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27807 *) ac_try_echo=$ac_try;;
27809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27810 (eval "$ac_link") 2>conftest.er1
27812 grep -v '^ *+' conftest.er1 >conftest.err
27814 cat conftest.err >&5
27815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27816 (exit $ac_status); } &&
27817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27818 { (case "(($ac_try" in
27819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27820 *) ac_try_echo
=$ac_try;;
27822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27823 (eval "$ac_try") 2>&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; } &&
27827 { ac_try
='test -s conftest$ac_exeext'
27828 { (case "(($ac_try" in
27829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27830 *) ac_try_echo=$ac_try;;
27832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27833 (eval "$ac_try") 2>&5
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); }; }; then
27837 ac_cv_search_dlopen=$ac_res
27839 echo "$as_me: failed program was:" >&5
27840 sed 's/^/| /' conftest.$ac_ext >&5
27845 rm -f core conftest.err conftest.$ac_objext \
27847 if test "${ac_cv_search_dlopen+set}" = set; then
27851 if test "${ac_cv_search_dlopen+set}" = set; then
27854 ac_cv_search_dlopen=no
27856 rm conftest.$ac_ext
27857 LIBS=$ac_func_search_save_LIBS
27859 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27860 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27861 ac_res=$ac_cv_search_dlopen
27862 if test "$ac_res" != no; then
27863 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27865 cat >>confdefs.h <<\_ACEOF
27866 #define HAVE_DLOPEN 1
27870 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27871 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27875 if test "$llvm_cv_enable_libffi" = "yes" ; then
27876 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
27877 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
27878 if test "${ac_cv_search_ffi_call+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27881 ac_func_search_save_LIBS=$LIBS
27882 cat >conftest.$ac_ext <<_ACEOF
27885 cat confdefs.h >>conftest.$ac_ext
27886 cat >>conftest.$ac_ext <<_ACEOF
27887 /* end confdefs.h. */
27889 /* Override any GCC internal prototype to avoid an error.
27890 Use char because int might match the return type of a GCC
27891 builtin and then its argument prototype would still apply. */
27899 return ffi_call ();
27904 for ac_lib in '' ffi; do
27905 if test -z "$ac_lib"; then
27906 ac_res="none required"
27909 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27911 rm -f conftest.$ac_objext conftest$ac_exeext
27912 if { (ac_try="$ac_link"
27913 case "(($ac_try" in
27914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27915 *) ac_try_echo
=$ac_try;;
27917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27918 (eval "$ac_link") 2>conftest.er1
27920 grep -v '^ *+' conftest.er1
>conftest.err
27922 cat conftest.err
>&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); } &&
27925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27926 { (case "(($ac_try" in
27927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27928 *) ac_try_echo=$ac_try;;
27930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27931 (eval "$ac_try") 2>&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); }; } &&
27935 { ac_try='test -s conftest$ac_exeext'
27936 { (case "(($ac_try" in
27937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27938 *) ac_try_echo
=$ac_try;;
27940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27941 (eval "$ac_try") 2>&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); }; }; then
27945 ac_cv_search_ffi_call
=$ac_res
27947 echo "$as_me: failed program was:" >&5
27948 sed 's/^/| /' conftest.
$ac_ext >&5
27953 rm -f core conftest.err conftest.
$ac_objext \
27955 if test "${ac_cv_search_ffi_call+set}" = set; then
27959 if test "${ac_cv_search_ffi_call+set}" = set; then
27962 ac_cv_search_ffi_call
=no
27964 rm conftest.
$ac_ext
27965 LIBS
=$ac_func_search_save_LIBS
27967 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
27968 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
27969 ac_res
=$ac_cv_search_ffi_call
27970 if test "$ac_res" != no
; then
27971 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27973 cat >>confdefs.h
<<\_ACEOF
27974 #define HAVE_FFI_CALL 1
27978 { echo "$as_me:$LINENO: WARNING: libffi not found - disabling external calls from interpreter" >&5
27979 echo "$as_me: WARNING: libffi not found - disabling external calls from interpreter" >&2;}
27984 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27985 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27986 if test "${ac_cv_search_mallinfo+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27989 ac_func_search_save_LIBS
=$LIBS
27990 cat >conftest.
$ac_ext <<_ACEOF
27993 cat confdefs.h
>>conftest.
$ac_ext
27994 cat >>conftest.
$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
27997 /* Override any GCC internal prototype to avoid an error.
27998 Use char because int might match the return type of a GCC
27999 builtin and then its argument prototype would still apply. */
28007 return mallinfo ();
28012 for ac_lib
in '' malloc
; do
28013 if test -z "$ac_lib"; then
28014 ac_res
="none required"
28017 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28019 rm -f conftest.
$ac_objext conftest
$ac_exeext
28020 if { (ac_try
="$ac_link"
28021 case "(($ac_try" in
28022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28023 *) ac_try_echo=$ac_try;;
28025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28026 (eval "$ac_link") 2>conftest.er1
28028 grep -v '^ *+' conftest.er1 >conftest.err
28030 cat conftest.err >&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28034 { (case "(($ac_try" in
28035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28036 *) ac_try_echo
=$ac_try;;
28038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28039 (eval "$ac_try") 2>&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); }; } &&
28043 { ac_try
='test -s conftest$ac_exeext'
28044 { (case "(($ac_try" in
28045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28046 *) ac_try_echo=$ac_try;;
28048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28049 (eval "$ac_try") 2>&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); }; }; then
28053 ac_cv_search_mallinfo=$ac_res
28055 echo "$as_me: failed program was:" >&5
28056 sed 's/^/| /' conftest.$ac_ext >&5
28061 rm -f core conftest.err conftest.$ac_objext \
28063 if test "${ac_cv_search_mallinfo+set}" = set; then
28067 if test "${ac_cv_search_mallinfo+set}" = set; then
28070 ac_cv_search_mallinfo=no
28072 rm conftest.$ac_ext
28073 LIBS=$ac_func_search_save_LIBS
28075 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
28076 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
28077 ac_res=$ac_cv_search_mallinfo
28078 if test "$ac_res" != no; then
28079 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28081 cat >>confdefs.h <<\_ACEOF
28082 #define HAVE_MALLINFO 1
28088 if test "$ENABLE_THREADS" -eq 1 ; then
28090 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
28091 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
28092 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 ac_check_lib_save_LIBS=$LIBS
28096 LIBS="-lpthread $LIBS"
28097 cat >conftest.$ac_ext <<_ACEOF
28100 cat confdefs.h >>conftest.$ac_ext
28101 cat >>conftest.$ac_ext <<_ACEOF
28102 /* end confdefs.h. */
28104 /* Override any GCC internal prototype to avoid an error.
28105 Use char because int might match the return type of a GCC
28106 builtin and then its argument prototype would still apply. */
28110 char pthread_mutex_init ();
28114 return pthread_mutex_init ();
28119 rm -f conftest.$ac_objext conftest$ac_exeext
28120 if { (ac_try="$ac_link"
28121 case "(($ac_try" in
28122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28123 *) ac_try_echo
=$ac_try;;
28125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28126 (eval "$ac_link") 2>conftest.er1
28128 grep -v '^ *+' conftest.er1
>conftest.err
28130 cat conftest.err
>&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } &&
28133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28134 { (case "(($ac_try" in
28135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28136 *) ac_try_echo=$ac_try;;
28138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28139 (eval "$ac_try") 2>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; } &&
28143 { ac_try='test -s conftest$ac_exeext'
28144 { (case "(($ac_try" in
28145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28146 *) ac_try_echo
=$ac_try;;
28148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28149 (eval "$ac_try") 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; }; then
28153 ac_cv_lib_pthread_pthread_mutex_init
=yes
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.
$ac_ext >&5
28158 ac_cv_lib_pthread_pthread_mutex_init
=no
28161 rm -f core conftest.err conftest.
$ac_objext \
28162 conftest
$ac_exeext conftest.
$ac_ext
28163 LIBS
=$ac_check_lib_save_LIBS
28165 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
28166 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
28167 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
28168 cat >>confdefs.h
<<_ACEOF
28169 #define HAVE_LIBPTHREAD 1
28172 LIBS
="-lpthread $LIBS"
28176 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
28177 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
28178 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
28179 echo $ECHO_N "(cached) $ECHO_C" >&6
28181 ac_func_search_save_LIBS
=$LIBS
28182 cat >conftest.
$ac_ext <<_ACEOF
28185 cat confdefs.h
>>conftest.
$ac_ext
28186 cat >>conftest.
$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28189 /* Override any GCC internal prototype to avoid an error.
28190 Use char because int might match the return type of a GCC
28191 builtin and then its argument prototype would still apply. */
28195 char pthread_mutex_lock ();
28199 return pthread_mutex_lock ();
28204 for ac_lib
in '' pthread
; do
28205 if test -z "$ac_lib"; then
28206 ac_res
="none required"
28209 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28211 rm -f conftest.
$ac_objext conftest
$ac_exeext
28212 if { (ac_try
="$ac_link"
28213 case "(($ac_try" in
28214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28215 *) ac_try_echo=$ac_try;;
28217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28218 (eval "$ac_link") 2>conftest.er1
28220 grep -v '^ *+' conftest.er1 >conftest.err
28222 cat conftest.err >&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); } &&
28225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28226 { (case "(($ac_try" in
28227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28228 *) ac_try_echo
=$ac_try;;
28230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28231 (eval "$ac_try") 2>&5
28233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); }; } &&
28235 { ac_try
='test -s conftest$ac_exeext'
28236 { (case "(($ac_try" in
28237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28238 *) ac_try_echo=$ac_try;;
28240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28241 (eval "$ac_try") 2>&5
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); }; }; then
28245 ac_cv_search_pthread_mutex_lock=$ac_res
28247 echo "$as_me: failed program was:" >&5
28248 sed 's/^/| /' conftest.$ac_ext >&5
28253 rm -f core conftest.err conftest.$ac_objext \
28255 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
28259 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
28262 ac_cv_search_pthread_mutex_lock=no
28264 rm conftest.$ac_ext
28265 LIBS=$ac_func_search_save_LIBS
28267 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
28268 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
28269 ac_res=$ac_cv_search_pthread_mutex_lock
28270 if test "$ac_res" != no; then
28271 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28273 cat >>confdefs.h <<\_ACEOF
28274 #define HAVE_PTHREAD_MUTEX_LOCK 1
28279 { echo "$as_me:$LINENO: checking for library containing pthread_rwlock_init" >&5
28280 echo $ECHO_N "checking for library containing pthread_rwlock_init... $ECHO_C" >&6; }
28281 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
28282 echo $ECHO_N "(cached) $ECHO_C" >&6
28284 ac_func_search_save_LIBS=$LIBS
28285 cat >conftest.$ac_ext <<_ACEOF
28288 cat confdefs.h >>conftest.$ac_ext
28289 cat >>conftest.$ac_ext <<_ACEOF
28290 /* end confdefs.h. */
28292 /* Override any GCC internal prototype to avoid an error.
28293 Use char because int might match the return type of a GCC
28294 builtin and then its argument prototype would still apply. */
28298 char pthread_rwlock_init ();
28302 return pthread_rwlock_init ();
28307 for ac_lib in '' pthread; do
28308 if test -z "$ac_lib"; then
28309 ac_res="none required"
28312 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28314 rm -f conftest.$ac_objext conftest$ac_exeext
28315 if { (ac_try="$ac_link"
28316 case "(($ac_try" in
28317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28318 *) ac_try_echo
=$ac_try;;
28320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28321 (eval "$ac_link") 2>conftest.er1
28323 grep -v '^ *+' conftest.er1
>conftest.err
28325 cat conftest.err
>&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } &&
28328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28329 { (case "(($ac_try" in
28330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28331 *) ac_try_echo=$ac_try;;
28333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28334 (eval "$ac_try") 2>&5
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); }; } &&
28338 { ac_try='test -s conftest$ac_exeext'
28339 { (case "(($ac_try" in
28340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28341 *) ac_try_echo
=$ac_try;;
28343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28344 (eval "$ac_try") 2>&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; }; then
28348 ac_cv_search_pthread_rwlock_init
=$ac_res
28350 echo "$as_me: failed program was:" >&5
28351 sed 's/^/| /' conftest.
$ac_ext >&5
28356 rm -f core conftest.err conftest.
$ac_objext \
28358 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
28362 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
28365 ac_cv_search_pthread_rwlock_init
=no
28367 rm conftest.
$ac_ext
28368 LIBS
=$ac_func_search_save_LIBS
28370 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_rwlock_init" >&5
28371 echo "${ECHO_T}$ac_cv_search_pthread_rwlock_init" >&6; }
28372 ac_res
=$ac_cv_search_pthread_rwlock_init
28373 if test "$ac_res" != no
; then
28374 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28376 cat >>confdefs.h
<<\_ACEOF
28377 #define HAVE_PTHREAD_RWLOCK_INIT 1
28382 { echo "$as_me:$LINENO: checking for library containing pthread_getspecific" >&5
28383 echo $ECHO_N "checking for library containing pthread_getspecific... $ECHO_C" >&6; }
28384 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
28385 echo $ECHO_N "(cached) $ECHO_C" >&6
28387 ac_func_search_save_LIBS
=$LIBS
28388 cat >conftest.
$ac_ext <<_ACEOF
28391 cat confdefs.h
>>conftest.
$ac_ext
28392 cat >>conftest.
$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28395 /* Override any GCC internal prototype to avoid an error.
28396 Use char because int might match the return type of a GCC
28397 builtin and then its argument prototype would still apply. */
28401 char pthread_getspecific ();
28405 return pthread_getspecific ();
28410 for ac_lib
in '' pthread
; do
28411 if test -z "$ac_lib"; then
28412 ac_res
="none required"
28415 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28417 rm -f conftest.
$ac_objext conftest
$ac_exeext
28418 if { (ac_try
="$ac_link"
28419 case "(($ac_try" in
28420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28421 *) ac_try_echo=$ac_try;;
28423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28424 (eval "$ac_link") 2>conftest.er1
28426 grep -v '^ *+' conftest.er1 >conftest.err
28428 cat conftest.err >&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } &&
28431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28432 { (case "(($ac_try" in
28433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28434 *) ac_try_echo
=$ac_try;;
28436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28437 (eval "$ac_try") 2>&5
28439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440 (exit $ac_status); }; } &&
28441 { ac_try
='test -s conftest$ac_exeext'
28442 { (case "(($ac_try" in
28443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28444 *) ac_try_echo=$ac_try;;
28446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28447 (eval "$ac_try") 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; }; then
28451 ac_cv_search_pthread_getspecific=$ac_res
28453 echo "$as_me: failed program was:" >&5
28454 sed 's/^/| /' conftest.$ac_ext >&5
28459 rm -f core conftest.err conftest.$ac_objext \
28461 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
28465 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
28468 ac_cv_search_pthread_getspecific=no
28470 rm conftest.$ac_ext
28471 LIBS=$ac_func_search_save_LIBS
28473 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_getspecific" >&5
28474 echo "${ECHO_T}$ac_cv_search_pthread_getspecific" >&6; }
28475 ac_res=$ac_cv_search_pthread_getspecific
28476 if test "$ac_res" != no; then
28477 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28479 cat >>confdefs.h <<\_ACEOF
28480 #define HAVE_PTHREAD_GETSPECIFIC 1
28488 # Check whether --with-udis86 was given.
28489 if test "${with_udis86+set}" = set; then
28490 withval=$with_udis86;
28495 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
28498 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
28499 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
28500 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
28501 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 ac_check_lib_save_LIBS=$LIBS
28504 LIBS="-ludis86 $LIBS"
28505 cat >conftest.$ac_ext <<_ACEOF
28508 cat confdefs.h >>conftest.$ac_ext
28509 cat >>conftest.$ac_ext <<_ACEOF
28510 /* end confdefs.h. */
28512 /* Override any GCC internal prototype to avoid an error.
28513 Use char because int might match the return type of a GCC
28514 builtin and then its argument prototype would still apply. */
28527 rm -f conftest.$ac_objext conftest$ac_exeext
28528 if { (ac_try="$ac_link"
28529 case "(($ac_try" in
28530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28531 *) ac_try_echo
=$ac_try;;
28533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28534 (eval "$ac_link") 2>conftest.er1
28536 grep -v '^ *+' conftest.er1
>conftest.err
28538 cat conftest.err
>&5
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); } &&
28541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28542 { (case "(($ac_try" in
28543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28544 *) ac_try_echo=$ac_try;;
28546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28547 (eval "$ac_try") 2>&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); }; } &&
28551 { ac_try='test -s conftest$ac_exeext'
28552 { (case "(($ac_try" in
28553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28554 *) ac_try_echo
=$ac_try;;
28556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28557 (eval "$ac_try") 2>&5
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); }; }; then
28561 ac_cv_lib_udis86_ud_init
=yes
28563 echo "$as_me: failed program was:" >&5
28564 sed 's/^/| /' conftest.
$ac_ext >&5
28566 ac_cv_lib_udis86_ud_init
=no
28569 rm -f core conftest.err conftest.
$ac_objext \
28570 conftest
$ac_exeext conftest.
$ac_ext
28571 LIBS
=$ac_check_lib_save_LIBS
28573 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
28574 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
28575 if test $ac_cv_lib_udis86_ud_init = yes; then
28576 cat >>confdefs.h
<<_ACEOF
28577 #define HAVE_LIBUDIS86 1
28580 LIBS
="-ludis86 $LIBS"
28584 echo "Error! You need to have libudis86 around."
28596 cat >>confdefs.h
<<_ACEOF
28597 #define USE_UDIS86 $USE_UDIS86
28602 # Check whether --with-oprofile was given.
28603 if test "${with_oprofile+set}" = set; then
28604 withval
=$with_oprofile;
28608 /usr|
yes) llvm_cv_oppath
=/usr
/lib
/oprofile
;;
28609 no
) llvm_cv_oppath
=
28612 *) llvm_cv_oppath
="${withval}/lib/oprofile"
28613 CPPFLAGS
="-I${withval}/include";;
28615 if test -n "$llvm_cv_oppath" ; then
28616 LIBS
="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
28617 { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
28618 echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
28619 if test "${ac_cv_search_bfd_init+set}" = set; then
28620 echo $ECHO_N "(cached) $ECHO_C" >&6
28622 ac_func_search_save_LIBS
=$LIBS
28623 cat >conftest.
$ac_ext <<_ACEOF
28626 cat confdefs.h
>>conftest.
$ac_ext
28627 cat >>conftest.
$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28630 /* Override any GCC internal prototype to avoid an error.
28631 Use char because int might match the return type of a GCC
28632 builtin and then its argument prototype would still apply. */
28640 return bfd_init ();
28645 for ac_lib
in '' bfd
; do
28646 if test -z "$ac_lib"; then
28647 ac_res
="none required"
28650 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28652 rm -f conftest.
$ac_objext conftest
$ac_exeext
28653 if { (ac_try
="$ac_link"
28654 case "(($ac_try" in
28655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28656 *) ac_try_echo=$ac_try;;
28658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28659 (eval "$ac_link") 2>conftest.er1
28661 grep -v '^ *+' conftest.er1 >conftest.err
28663 cat conftest.err >&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); } &&
28666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28667 { (case "(($ac_try" in
28668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28669 *) ac_try_echo
=$ac_try;;
28671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28672 (eval "$ac_try") 2>&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; } &&
28676 { ac_try
='test -s conftest$ac_exeext'
28677 { (case "(($ac_try" in
28678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28679 *) ac_try_echo=$ac_try;;
28681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28682 (eval "$ac_try") 2>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 ac_cv_search_bfd_init=$ac_res
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28694 rm -f core conftest.err conftest.$ac_objext \
28696 if test "${ac_cv_search_bfd_init+set}" = set; then
28700 if test "${ac_cv_search_bfd_init+set}" = set; then
28703 ac_cv_search_bfd_init=no
28705 rm conftest.$ac_ext
28706 LIBS=$ac_func_search_save_LIBS
28708 { echo "$as_me:$LINENO: result: $ac_cv_search_bfd_init" >&5
28709 echo "${ECHO_T}$ac_cv_search_bfd_init" >&6; }
28710 ac_res=$ac_cv_search_bfd_init
28711 if test "$ac_res" != no; then
28712 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28716 { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
28717 echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
28718 if test "${ac_cv_search_op_open_agent+set}" = set; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28721 ac_func_search_save_LIBS=$LIBS
28722 cat >conftest.$ac_ext <<_ACEOF
28725 cat confdefs.h >>conftest.$ac_ext
28726 cat >>conftest.$ac_ext <<_ACEOF
28727 /* end confdefs.h. */
28729 /* Override any GCC internal prototype to avoid an error.
28730 Use char because int might match the return type of a GCC
28731 builtin and then its argument prototype would still apply. */
28735 char op_open_agent ();
28739 return op_open_agent ();
28744 for ac_lib in '' opagent; do
28745 if test -z "$ac_lib"; then
28746 ac_res="none required"
28749 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28751 rm -f conftest.$ac_objext conftest$ac_exeext
28752 if { (ac_try="$ac_link"
28753 case "(($ac_try" in
28754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28755 *) ac_try_echo
=$ac_try;;
28757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28758 (eval "$ac_link") 2>conftest.er1
28760 grep -v '^ *+' conftest.er1
>conftest.err
28762 cat conftest.err
>&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); } &&
28765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28766 { (case "(($ac_try" in
28767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28768 *) ac_try_echo=$ac_try;;
28770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28771 (eval "$ac_try") 2>&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); }; } &&
28775 { ac_try='test -s conftest$ac_exeext'
28776 { (case "(($ac_try" in
28777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28778 *) ac_try_echo
=$ac_try;;
28780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_try") 2>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 ac_cv_search_op_open_agent
=$ac_res
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.
$ac_ext >&5
28793 rm -f core conftest.err conftest.
$ac_objext \
28795 if test "${ac_cv_search_op_open_agent+set}" = set; then
28799 if test "${ac_cv_search_op_open_agent+set}" = set; then
28802 ac_cv_search_op_open_agent
=no
28804 rm conftest.
$ac_ext
28805 LIBS
=$ac_func_search_save_LIBS
28807 { echo "$as_me:$LINENO: result: $ac_cv_search_op_open_agent" >&5
28808 echo "${ECHO_T}$ac_cv_search_op_open_agent" >&6; }
28809 ac_res
=$ac_cv_search_op_open_agent
28810 if test "$ac_res" != no
; then
28811 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28815 echo "Error! You need to have libopagent around."
28820 if test "${ac_cv_header_opagent_h+set}" = set; then
28821 { echo "$as_me:$LINENO: checking for opagent.h" >&5
28822 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
28823 if test "${ac_cv_header_opagent_h+set}" = set; then
28824 echo $ECHO_N "(cached) $ECHO_C" >&6
28826 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
28827 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
28829 # Is the header compilable?
28830 { echo "$as_me:$LINENO: checking opagent.h usability" >&5
28831 echo $ECHO_N "checking opagent.h usability... $ECHO_C" >&6; }
28832 cat >conftest.
$ac_ext <<_ACEOF
28835 cat confdefs.h
>>conftest.
$ac_ext
28836 cat >>conftest.
$ac_ext <<_ACEOF
28837 /* end confdefs.h. */
28838 $ac_includes_default
28839 #include <opagent.h>
28841 rm -f conftest.
$ac_objext
28842 if { (ac_try
="$ac_compile"
28843 case "(($ac_try" in
28844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28845 *) ac_try_echo=$ac_try;;
28847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28848 (eval "$ac_compile") 2>conftest.er1
28850 grep -v '^ *+' conftest.er1 >conftest.err
28852 cat conftest.err >&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (case "(($ac_try" in
28857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28858 *) ac_try_echo
=$ac_try;;
28860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28861 (eval "$ac_try") 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; } &&
28865 { ac_try
='test -s conftest.$ac_objext'
28866 { (case "(($ac_try" in
28867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28868 *) ac_try_echo=$ac_try;;
28870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28871 (eval "$ac_try") 2>&5
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); }; }; then
28875 ac_header_compiler=yes
28877 echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28880 ac_header_compiler=no
28883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28884 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28885 echo "${ECHO_T}$ac_header_compiler" >&6; }
28887 # Is the header present?
28888 { echo "$as_me:$LINENO: checking opagent.h presence" >&5
28889 echo $ECHO_N "checking opagent.h presence... $ECHO_C" >&6; }
28890 cat >conftest.$ac_ext <<_ACEOF
28893 cat confdefs.h >>conftest.$ac_ext
28894 cat >>conftest.$ac_ext <<_ACEOF
28895 /* end confdefs.h. */
28896 #include <opagent.h>
28898 if { (ac_try="$ac_cpp conftest.$ac_ext"
28899 case "(($ac_try" in
28900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28901 *) ac_try_echo
=$ac_try;;
28903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28906 grep -v '^ *+' conftest.er1
>conftest.err
28908 cat conftest.err
>&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); } >/dev
/null
; then
28911 if test -s conftest.err
; then
28912 ac_cpp_err
=$ac_c_preproc_warn_flag
28913 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28920 if test -z "$ac_cpp_err"; then
28921 ac_header_preproc
=yes
28923 echo "$as_me: failed program was:" >&5
28924 sed 's/^/| /' conftest.
$ac_ext >&5
28926 ac_header_preproc
=no
28929 rm -f conftest.err conftest.
$ac_ext
28930 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28931 echo "${ECHO_T}$ac_header_preproc" >&6; }
28933 # So? What about this header?
28934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28936 { echo "$as_me:$LINENO: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&5
28937 echo "$as_me: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the compiler's result" >&5
28939 echo "$as_me: WARNING: opagent.h: proceeding with the compiler's result" >&2;}
28940 ac_header_preproc
=yes
28943 { echo "$as_me:$LINENO: WARNING: opagent.h: present but cannot be compiled" >&5
28944 echo "$as_me: WARNING: opagent.h: present but cannot be compiled" >&2;}
28945 { echo "$as_me:$LINENO: WARNING: opagent.h: check for missing prerequisite headers?" >&5
28946 echo "$as_me: WARNING: opagent.h: check for missing prerequisite headers?" >&2;}
28947 { echo "$as_me:$LINENO: WARNING: opagent.h: see the Autoconf documentation" >&5
28948 echo "$as_me: WARNING: opagent.h: see the Autoconf documentation" >&2;}
28949 { echo "$as_me:$LINENO: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&5
28950 echo "$as_me: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&2;}
28951 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the preprocessor's result" >&5
28952 echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2;}
28953 { echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
28954 echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
28956 ## ----------------------------------- ##
28957 ## Report this to llvmbugs@cs.uiuc.edu ##
28958 ## ----------------------------------- ##
28960 ) |
sed "s/^/$as_me: WARNING: /" >&2
28963 { echo "$as_me:$LINENO: checking for opagent.h" >&5
28964 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
28965 if test "${ac_cv_header_opagent_h+set}" = set; then
28966 echo $ECHO_N "(cached) $ECHO_C" >&6
28968 ac_cv_header_opagent_h
=$ac_header_preproc
28970 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
28971 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
28974 if test $ac_cv_header_opagent_h = yes; then
28978 echo "Error! You need to have opagent.h around."
28994 cat >>confdefs.h
<<_ACEOF
28995 #define USE_OPROFILE $USE_OPROFILE
29005 ac_header_dirent
=no
29006 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
29007 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
29008 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
29009 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
29010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29011 echo $ECHO_N "(cached) $ECHO_C" >&6
29013 cat >conftest.
$ac_ext <<_ACEOF
29016 cat confdefs.h
>>conftest.
$ac_ext
29017 cat >>conftest.
$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29019 #include <sys/types.h>
29031 rm -f conftest.
$ac_objext
29032 if { (ac_try
="$ac_compile"
29033 case "(($ac_try" in
29034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29035 *) ac_try_echo=$ac_try;;
29037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29038 (eval "$ac_compile") 2>conftest.er1
29040 grep -v '^ *+' conftest.er1 >conftest.err
29042 cat conftest.err >&5
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); } &&
29045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29046 { (case "(($ac_try" in
29047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29048 *) ac_try_echo
=$ac_try;;
29050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29051 (eval "$ac_try") 2>&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); }; } &&
29055 { ac_try
='test -s conftest.$ac_objext'
29056 { (case "(($ac_try" in
29057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29058 *) ac_try_echo=$ac_try;;
29060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29061 (eval "$ac_try") 2>&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); }; }; then
29065 eval "$as_ac_Header=yes"
29067 echo "$as_me: failed program was:" >&5
29068 sed 's/^/| /' conftest.$ac_ext >&5
29070 eval "$as_ac_Header=no"
29073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29075 ac_res=`eval echo '${'$as_ac_Header'}'`
29076 { echo "$as_me:$LINENO: result: $ac_res" >&5
29077 echo "${ECHO_T}$ac_res" >&6; }
29078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29079 cat >>confdefs.h <<_ACEOF
29080 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
29083 ac_header_dirent=$ac_hdr; break
29087 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
29088 if test $ac_header_dirent = dirent.h; then
29089 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
29090 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
29091 if test "${ac_cv_search_opendir+set}" = set; then
29092 echo $ECHO_N "(cached) $ECHO_C" >&6
29094 ac_func_search_save_LIBS=$LIBS
29095 cat >conftest.$ac_ext <<_ACEOF
29098 cat confdefs.h >>conftest.$ac_ext
29099 cat >>conftest.$ac_ext <<_ACEOF
29100 /* end confdefs.h. */
29102 /* Override any GCC internal prototype to avoid an error.
29103 Use char because int might match the return type of a GCC
29104 builtin and then its argument prototype would still apply. */
29117 for ac_lib in '' dir; do
29118 if test -z "$ac_lib"; then
29119 ac_res="none required"
29122 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
29124 rm -f conftest.$ac_objext conftest$ac_exeext
29125 if { (ac_try="$ac_link"
29126 case "(($ac_try" in
29127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29128 *) ac_try_echo
=$ac_try;;
29130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29131 (eval "$ac_link") 2>conftest.er1
29133 grep -v '^ *+' conftest.er1
>conftest.err
29135 cat conftest.err
>&5
29136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29137 (exit $ac_status); } &&
29138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29139 { (case "(($ac_try" in
29140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29141 *) ac_try_echo=$ac_try;;
29143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29144 (eval "$ac_try") 2>&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); }; } &&
29148 { ac_try='test -s conftest$ac_exeext'
29149 { (case "(($ac_try" in
29150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29151 *) ac_try_echo
=$ac_try;;
29153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_try") 2>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; }; then
29158 ac_cv_search_opendir
=$ac_res
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.
$ac_ext >&5
29166 rm -f core conftest.err conftest.
$ac_objext \
29168 if test "${ac_cv_search_opendir+set}" = set; then
29172 if test "${ac_cv_search_opendir+set}" = set; then
29175 ac_cv_search_opendir
=no
29177 rm conftest.
$ac_ext
29178 LIBS
=$ac_func_search_save_LIBS
29180 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
29181 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
29182 ac_res
=$ac_cv_search_opendir
29183 if test "$ac_res" != no
; then
29184 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
29189 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
29190 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
29191 if test "${ac_cv_search_opendir+set}" = set; then
29192 echo $ECHO_N "(cached) $ECHO_C" >&6
29194 ac_func_search_save_LIBS
=$LIBS
29195 cat >conftest.
$ac_ext <<_ACEOF
29198 cat confdefs.h
>>conftest.
$ac_ext
29199 cat >>conftest.
$ac_ext <<_ACEOF
29200 /* end confdefs.h. */
29202 /* Override any GCC internal prototype to avoid an error.
29203 Use char because int might match the return type of a GCC
29204 builtin and then its argument prototype would still apply. */
29217 for ac_lib
in '' x
; do
29218 if test -z "$ac_lib"; then
29219 ac_res
="none required"
29222 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
29224 rm -f conftest.
$ac_objext conftest
$ac_exeext
29225 if { (ac_try
="$ac_link"
29226 case "(($ac_try" in
29227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29228 *) ac_try_echo=$ac_try;;
29230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29231 (eval "$ac_link") 2>conftest.er1
29233 grep -v '^ *+' conftest.er1 >conftest.err
29235 cat conftest.err >&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); } &&
29238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29239 { (case "(($ac_try" in
29240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29241 *) ac_try_echo
=$ac_try;;
29243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29244 (eval "$ac_try") 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; } &&
29248 { ac_try
='test -s conftest$ac_exeext'
29249 { (case "(($ac_try" in
29250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29251 *) ac_try_echo=$ac_try;;
29253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29254 (eval "$ac_try") 2>&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); }; }; then
29258 ac_cv_search_opendir=$ac_res
29260 echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.$ac_ext >&5
29266 rm -f core conftest.err conftest.$ac_objext \
29268 if test "${ac_cv_search_opendir+set}" = set; then
29272 if test "${ac_cv_search_opendir+set}" = set; then
29275 ac_cv_search_opendir=no
29277 rm conftest.$ac_ext
29278 LIBS=$ac_func_search_save_LIBS
29280 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
29281 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
29282 ac_res=$ac_cv_search_opendir
29283 if test "$ac_res" != no; then
29284 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
29290 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
29291 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
29292 if test "${ac_cv_header_mmap_anon+set}" = set; then
29293 echo $ECHO_N "(cached) $ECHO_C" >&6
29296 ac_cpp='$CPP $CPPFLAGS'
29297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29301 cat >conftest.$ac_ext <<_ACEOF
29304 cat confdefs.h >>conftest.$ac_ext
29305 cat >>conftest.$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29307 #include <sys/mman.h>
29308 #include <unistd.h>
29313 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
29318 rm -f conftest.$ac_objext
29319 if { (ac_try="$ac_compile"
29320 case "(($ac_try" in
29321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29322 *) ac_try_echo
=$ac_try;;
29324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29325 (eval "$ac_compile") 2>conftest.er1
29327 grep -v '^ *+' conftest.er1
>conftest.err
29329 cat conftest.err
>&5
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); } &&
29332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29333 { (case "(($ac_try" in
29334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29335 *) ac_try_echo=$ac_try;;
29337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29338 (eval "$ac_try") 2>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); }; } &&
29342 { ac_try='test -s conftest.$ac_objext'
29343 { (case "(($ac_try" in
29344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29345 *) ac_try_echo
=$ac_try;;
29347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29348 (eval "$ac_try") 2>&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; }; then
29352 ac_cv_header_mmap_anon
=yes
29354 echo "$as_me: failed program was:" >&5
29355 sed 's/^/| /' conftest.
$ac_ext >&5
29357 ac_cv_header_mmap_anon
=no
29360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29362 ac_cpp
='$CPP $CPPFLAGS'
29363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29369 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
29370 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
29371 if test "$ac_cv_header_mmap_anon" = yes; then
29373 cat >>confdefs.h
<<\_ACEOF
29374 #define HAVE_MMAP_ANONYMOUS 1
29379 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
29380 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
29381 if test "${ac_cv_header_stat_broken+set}" = set; then
29382 echo $ECHO_N "(cached) $ECHO_C" >&6
29384 cat >conftest.
$ac_ext <<_ACEOF
29387 cat confdefs.h
>>conftest.
$ac_ext
29388 cat >>conftest.
$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390 #include <sys/types.h>
29391 #include <sys/stat.h>
29393 #if defined S_ISBLK && defined S_IFDIR
29394 # if S_ISBLK (S_IFDIR)
29399 #if defined S_ISBLK && defined S_IFCHR
29400 # if S_ISBLK (S_IFCHR)
29405 #if defined S_ISLNK && defined S_IFREG
29406 # if S_ISLNK (S_IFREG)
29411 #if defined S_ISSOCK && defined S_IFREG
29412 # if S_ISSOCK (S_IFREG)
29418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29419 $EGREP "You lose" >/dev
/null
2>&1; then
29420 ac_cv_header_stat_broken
=yes
29422 ac_cv_header_stat_broken
=no
29427 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
29428 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
29429 if test $ac_cv_header_stat_broken = yes; then
29431 cat >>confdefs.h
<<\_ACEOF
29432 #define STAT_MACROS_BROKEN 1
29437 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
29438 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
29439 if test "${ac_cv_header_stdc+set}" = set; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 cat >conftest.
$ac_ext <<_ACEOF
29445 cat confdefs.h
>>conftest.
$ac_ext
29446 cat >>conftest.
$ac_ext <<_ACEOF
29447 /* end confdefs.h. */
29448 #include <stdlib.h>
29449 #include <stdarg.h>
29450 #include <string.h>
29461 rm -f conftest.
$ac_objext
29462 if { (ac_try
="$ac_compile"
29463 case "(($ac_try" in
29464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29465 *) ac_try_echo=$ac_try;;
29467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29468 (eval "$ac_compile") 2>conftest.er1
29470 grep -v '^ *+' conftest.er1 >conftest.err
29472 cat conftest.err >&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } &&
29475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29476 { (case "(($ac_try" in
29477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29478 *) ac_try_echo
=$ac_try;;
29480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29481 (eval "$ac_try") 2>&5
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; } &&
29485 { ac_try
='test -s conftest.$ac_objext'
29486 { (case "(($ac_try" in
29487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29488 *) ac_try_echo=$ac_try;;
29490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29491 (eval "$ac_try") 2>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; }; then
29495 ac_cv_header_stdc=yes
29497 echo "$as_me: failed program was:" >&5
29498 sed 's/^/| /' conftest.$ac_ext >&5
29500 ac_cv_header_stdc=no
29503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29505 if test $ac_cv_header_stdc = yes; then
29506 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
29507 cat >conftest.$ac_ext <<_ACEOF
29510 cat confdefs.h >>conftest.$ac_ext
29511 cat >>conftest.$ac_ext <<_ACEOF
29512 /* end confdefs.h. */
29513 #include <string.h>
29516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29517 $EGREP "memchr" >/dev/null 2>&1; then
29520 ac_cv_header_stdc=no
29526 if test $ac_cv_header_stdc = yes; then
29527 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
29528 cat >conftest.$ac_ext <<_ACEOF
29531 cat confdefs.h >>conftest.$ac_ext
29532 cat >>conftest.$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29534 #include <stdlib.h>
29537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29538 $EGREP "free" >/dev/null 2>&1; then
29541 ac_cv_header_stdc=no
29547 if test $ac_cv_header_stdc = yes; then
29548 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
29549 if test "$cross_compiling" = yes; then
29552 cat >conftest.$ac_ext <<_ACEOF
29555 cat confdefs.h >>conftest.$ac_ext
29556 cat >>conftest.$ac_ext <<_ACEOF
29557 /* end confdefs.h. */
29559 #include <stdlib.h>
29560 #if ((' ' & 0x0FF) == 0x020)
29561 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
29562 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
29564 # define ISLOWER(c) \
29565 (('a' <= (c) && (c) <= 'i') \
29566 || ('j' <= (c) && (c) <= 'r') \
29567 || ('s' <= (c) && (c) <= 'z'))
29568 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
29571 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
29576 for (i = 0; i < 256; i++)
29577 if (XOR (islower (i), ISLOWER (i))
29578 || toupper (i) != TOUPPER (i))
29583 rm -f conftest$ac_exeext
29584 if { (ac_try="$ac_link"
29585 case "(($ac_try" in
29586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29587 *) ac_try_echo
=$ac_try;;
29589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590 (eval "$ac_link") 2>&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29594 { (case "(($ac_try" in
29595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29596 *) ac_try_echo=$ac_try;;
29598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29599 (eval "$ac_try") 2>&5
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); }; }; then
29605 echo "$as_me: program exited with status $ac_status" >&5
29606 echo "$as_me: failed program was:" >&5
29607 sed 's/^/| /' conftest.$ac_ext >&5
29609 ( exit $ac_status )
29610 ac_cv_header_stdc=no
29612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29618 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
29619 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
29620 if test $ac_cv_header_stdc = yes; then
29622 cat >>confdefs.h <<\_ACEOF
29623 #define STDC_HEADERS 1
29628 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
29629 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
29630 if test "${ac_cv_header_sys_wait_h+set}" = set; then
29631 echo $ECHO_N "(cached) $ECHO_C" >&6
29633 cat >conftest.$ac_ext <<_ACEOF
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29639 #include <sys/types.h>
29640 #include <sys/wait.h>
29641 #ifndef WEXITSTATUS
29642 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
29645 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
29653 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
29658 rm -f conftest.$ac_objext
29659 if { (ac_try="$ac_compile"
29660 case "(($ac_try" in
29661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29662 *) ac_try_echo
=$ac_try;;
29664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29665 (eval "$ac_compile") 2>conftest.er1
29667 grep -v '^ *+' conftest.er1
>conftest.err
29669 cat conftest.err
>&5
29670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29671 (exit $ac_status); } &&
29672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29673 { (case "(($ac_try" in
29674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29675 *) ac_try_echo=$ac_try;;
29677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29678 (eval "$ac_try") 2>&5
29680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29681 (exit $ac_status); }; } &&
29682 { ac_try='test -s conftest.$ac_objext'
29683 { (case "(($ac_try" in
29684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29685 *) ac_try_echo
=$ac_try;;
29687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29688 (eval "$ac_try") 2>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); }; }; then
29692 ac_cv_header_sys_wait_h
=yes
29694 echo "$as_me: failed program was:" >&5
29695 sed 's/^/| /' conftest.
$ac_ext >&5
29697 ac_cv_header_sys_wait_h
=no
29700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29702 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
29703 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
29704 if test $ac_cv_header_sys_wait_h = yes; then
29706 cat >>confdefs.h
<<\_ACEOF
29707 #define HAVE_SYS_WAIT_H 1
29712 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
29713 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
29714 if test "${ac_cv_header_time+set}" = set; then
29715 echo $ECHO_N "(cached) $ECHO_C" >&6
29717 cat >conftest.
$ac_ext <<_ACEOF
29720 cat confdefs.h
>>conftest.
$ac_ext
29721 cat >>conftest.
$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723 #include <sys/types.h>
29724 #include <sys/time.h>
29730 if ((struct tm *) 0)
29736 rm -f conftest.
$ac_objext
29737 if { (ac_try
="$ac_compile"
29738 case "(($ac_try" in
29739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29740 *) ac_try_echo=$ac_try;;
29742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29743 (eval "$ac_compile") 2>conftest.er1
29745 grep -v '^ *+' conftest.er1 >conftest.err
29747 cat conftest.err >&5
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); } &&
29750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29751 { (case "(($ac_try" in
29752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29753 *) ac_try_echo
=$ac_try;;
29755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_try") 2>&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); }; } &&
29760 { ac_try
='test -s conftest.$ac_objext'
29761 { (case "(($ac_try" in
29762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29763 *) ac_try_echo=$ac_try;;
29765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29766 (eval "$ac_try") 2>&5
29768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769 (exit $ac_status); }; }; then
29770 ac_cv_header_time=yes
29772 echo "$as_me: failed program was:" >&5
29773 sed 's/^/| /' conftest.$ac_ext >&5
29775 ac_cv_header_time=no
29778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29780 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
29781 echo "${ECHO_T}$ac_cv_header_time" >&6; }
29782 if test $ac_cv_header_time = yes; then
29784 cat >>confdefs.h <<\_ACEOF
29785 #define TIME_WITH_SYS_TIME 1
29797 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
29799 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29800 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29801 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29804 echo $ECHO_N "(cached) $ECHO_C" >&6
29806 ac_res=`eval echo '${'$as_ac_Header'}'`
29807 { echo "$as_me:$LINENO: result: $ac_res" >&5
29808 echo "${ECHO_T}$ac_res" >&6; }
29810 # Is the header compilable?
29811 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29813 cat >conftest.$ac_ext <<_ACEOF
29816 cat confdefs.h >>conftest.$ac_ext
29817 cat >>conftest.$ac_ext <<_ACEOF
29818 /* end confdefs.h. */
29819 $ac_includes_default
29820 #include <$ac_header>
29822 rm -f conftest.$ac_objext
29823 if { (ac_try="$ac_compile"
29824 case "(($ac_try" in
29825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29826 *) ac_try_echo
=$ac_try;;
29828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29829 (eval "$ac_compile") 2>conftest.er1
29831 grep -v '^ *+' conftest.er1
>conftest.err
29833 cat conftest.err
>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } &&
29836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29837 { (case "(($ac_try" in
29838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29839 *) ac_try_echo=$ac_try;;
29841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29842 (eval "$ac_try") 2>&5
29844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 (exit $ac_status); }; } &&
29846 { ac_try='test -s conftest.$ac_objext'
29847 { (case "(($ac_try" in
29848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29849 *) ac_try_echo
=$ac_try;;
29851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29852 (eval "$ac_try") 2>&5
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; }; then
29856 ac_header_compiler
=yes
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.
$ac_ext >&5
29861 ac_header_compiler
=no
29864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29865 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29866 echo "${ECHO_T}$ac_header_compiler" >&6; }
29868 # Is the header present?
29869 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29871 cat >conftest.
$ac_ext <<_ACEOF
29874 cat confdefs.h
>>conftest.
$ac_ext
29875 cat >>conftest.
$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29877 #include <$ac_header>
29879 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29880 case "(($ac_try" in
29881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29882 *) ac_try_echo=$ac_try;;
29884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29887 grep -v '^ *+' conftest.er1 >conftest.err
29889 cat conftest.err >&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); } >/dev/null; then
29892 if test -s conftest.err; then
29893 ac_cpp_err=$ac_c_preproc_warn_flag
29894 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29901 if test -z "$ac_cpp_err"; then
29902 ac_header_preproc=yes
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29907 ac_header_preproc=no
29910 rm -f conftest.err conftest.$ac_ext
29911 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29912 echo "${ECHO_T}$ac_header_preproc" >&6; }
29914 # So? What about this header?
29915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29921 ac_header_preproc=yes
29924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29937 ## ----------------------------------- ##
29938 ## Report this to llvmbugs@cs.uiuc.edu ##
29939 ## ----------------------------------- ##
29941 ) | sed "s/^/$as_me: WARNING: /" >&2
29944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29947 echo $ECHO_N "(cached) $ECHO_C" >&6
29949 eval "$as_ac_Header=\$ac_header_preproc"
29951 ac_res=`eval echo '${'$as_ac_Header'}'`
29952 { echo "$as_me:$LINENO: result: $ac_res" >&5
29953 echo "${ECHO_T}$ac_res" >&6; }
29956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29957 cat >>confdefs.h <<_ACEOF
29958 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29971 for ac_header in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h
29973 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29978 echo $ECHO_N "(cached) $ECHO_C" >&6
29980 ac_res=`eval echo '${'$as_ac_Header'}'`
29981 { echo "$as_me:$LINENO: result: $ac_res" >&5
29982 echo "${ECHO_T}$ac_res" >&6; }
29984 # Is the header compilable?
29985 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29987 cat >conftest.$ac_ext <<_ACEOF
29990 cat confdefs.h >>conftest.$ac_ext
29991 cat >>conftest.$ac_ext <<_ACEOF
29992 /* end confdefs.h. */
29993 $ac_includes_default
29994 #include <$ac_header>
29996 rm -f conftest.$ac_objext
29997 if { (ac_try="$ac_compile"
29998 case "(($ac_try" in
29999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30000 *) ac_try_echo
=$ac_try;;
30002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30003 (eval "$ac_compile") 2>conftest.er1
30005 grep -v '^ *+' conftest.er1
>conftest.err
30007 cat conftest.err
>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30011 { (case "(($ac_try" in
30012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30013 *) ac_try_echo=$ac_try;;
30015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30016 (eval "$ac_try") 2>&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); }; } &&
30020 { ac_try='test -s conftest.$ac_objext'
30021 { (case "(($ac_try" in
30022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30023 *) ac_try_echo
=$ac_try;;
30025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30026 (eval "$ac_try") 2>&5
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); }; }; then
30030 ac_header_compiler
=yes
30032 echo "$as_me: failed program was:" >&5
30033 sed 's/^/| /' conftest.
$ac_ext >&5
30035 ac_header_compiler
=no
30038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30039 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30040 echo "${ECHO_T}$ac_header_compiler" >&6; }
30042 # Is the header present?
30043 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30045 cat >conftest.
$ac_ext <<_ACEOF
30048 cat confdefs.h
>>conftest.
$ac_ext
30049 cat >>conftest.
$ac_ext <<_ACEOF
30050 /* end confdefs.h. */
30051 #include <$ac_header>
30053 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30054 case "(($ac_try" in
30055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30056 *) ac_try_echo=$ac_try;;
30058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30061 grep -v '^ *+' conftest.er1 >conftest.err
30063 cat conftest.err >&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } >/dev/null; then
30066 if test -s conftest.err; then
30067 ac_cpp_err=$ac_c_preproc_warn_flag
30068 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30075 if test -z "$ac_cpp_err"; then
30076 ac_header_preproc=yes
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.$ac_ext >&5
30081 ac_header_preproc=no
30084 rm -f conftest.err conftest.$ac_ext
30085 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30086 echo "${ECHO_T}$ac_header_preproc" >&6; }
30088 # So? What about this header?
30089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30095 ac_header_preproc=yes
30098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30111 ## ----------------------------------- ##
30112 ## Report this to llvmbugs@cs.uiuc.edu ##
30113 ## ----------------------------------- ##
30115 ) | sed "s/^/$as_me: WARNING: /" >&2
30118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30121 echo $ECHO_N "(cached) $ECHO_C" >&6
30123 eval "$as_ac_Header=\$ac_header_preproc"
30125 ac_res=`eval echo '${'$as_ac_Header'}'`
30126 { echo "$as_me:$LINENO: result: $ac_res" >&5
30127 echo "${ECHO_T}$ac_res" >&6; }
30130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30131 cat >>confdefs.h <<_ACEOF
30132 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30141 for ac_header in utime.h windows.h
30143 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30145 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30148 echo $ECHO_N "(cached) $ECHO_C" >&6
30150 ac_res=`eval echo '${'$as_ac_Header'}'`
30151 { echo "$as_me:$LINENO: result: $ac_res" >&5
30152 echo "${ECHO_T}$ac_res" >&6; }
30154 # Is the header compilable?
30155 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30157 cat >conftest.$ac_ext <<_ACEOF
30160 cat confdefs.h >>conftest.$ac_ext
30161 cat >>conftest.$ac_ext <<_ACEOF
30162 /* end confdefs.h. */
30163 $ac_includes_default
30164 #include <$ac_header>
30166 rm -f conftest.$ac_objext
30167 if { (ac_try="$ac_compile"
30168 case "(($ac_try" in
30169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30170 *) ac_try_echo
=$ac_try;;
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_compile") 2>conftest.er1
30175 grep -v '^ *+' conftest.er1
>conftest.err
30177 cat conftest.err
>&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); } &&
30180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30181 { (case "(($ac_try" in
30182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30183 *) ac_try_echo=$ac_try;;
30185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30186 (eval "$ac_try") 2>&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; } &&
30190 { ac_try='test -s conftest.$ac_objext'
30191 { (case "(($ac_try" in
30192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30193 *) ac_try_echo
=$ac_try;;
30195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30196 (eval "$ac_try") 2>&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); }; }; then
30200 ac_header_compiler
=yes
30202 echo "$as_me: failed program was:" >&5
30203 sed 's/^/| /' conftest.
$ac_ext >&5
30205 ac_header_compiler
=no
30208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30209 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30210 echo "${ECHO_T}$ac_header_compiler" >&6; }
30212 # Is the header present?
30213 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30215 cat >conftest.
$ac_ext <<_ACEOF
30218 cat confdefs.h
>>conftest.
$ac_ext
30219 cat >>conftest.
$ac_ext <<_ACEOF
30220 /* end confdefs.h. */
30221 #include <$ac_header>
30223 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30224 case "(($ac_try" in
30225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30226 *) ac_try_echo=$ac_try;;
30228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30231 grep -v '^ *+' conftest.er1 >conftest.err
30233 cat conftest.err >&5
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); } >/dev/null; then
30236 if test -s conftest.err; then
30237 ac_cpp_err=$ac_c_preproc_warn_flag
30238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30245 if test -z "$ac_cpp_err"; then
30246 ac_header_preproc=yes
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.$ac_ext >&5
30251 ac_header_preproc=no
30254 rm -f conftest.err conftest.$ac_ext
30255 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30256 echo "${ECHO_T}$ac_header_preproc" >&6; }
30258 # So? What about this header?
30259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30265 ac_header_preproc=yes
30268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30281 ## ----------------------------------- ##
30282 ## Report this to llvmbugs@cs.uiuc.edu ##
30283 ## ----------------------------------- ##
30285 ) | sed "s/^/$as_me: WARNING: /" >&2
30288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30291 echo $ECHO_N "(cached) $ECHO_C" >&6
30293 eval "$as_ac_Header=\$ac_header_preproc"
30295 ac_res=`eval echo '${'$as_ac_Header'}'`
30296 { echo "$as_me:$LINENO: result: $ac_res" >&5
30297 echo "${ECHO_T}$ac_res" >&6; }
30300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30301 cat >>confdefs.h <<_ACEOF
30302 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30313 for ac_header in sys/mman.h sys/param.h sys/resource.h sys/time.h
30315 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30317 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30319 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30320 echo $ECHO_N "(cached) $ECHO_C" >&6
30322 ac_res=`eval echo '${'$as_ac_Header'}'`
30323 { echo "$as_me:$LINENO: result: $ac_res" >&5
30324 echo "${ECHO_T}$ac_res" >&6; }
30326 # Is the header compilable?
30327 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30329 cat >conftest.$ac_ext <<_ACEOF
30332 cat confdefs.h >>conftest.$ac_ext
30333 cat >>conftest.$ac_ext <<_ACEOF
30334 /* end confdefs.h. */
30335 $ac_includes_default
30336 #include <$ac_header>
30338 rm -f conftest.$ac_objext
30339 if { (ac_try="$ac_compile"
30340 case "(($ac_try" in
30341 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30342 *) ac_try_echo
=$ac_try;;
30344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30345 (eval "$ac_compile") 2>conftest.er1
30347 grep -v '^ *+' conftest.er1
>conftest.err
30349 cat conftest.err
>&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } &&
30352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30353 { (case "(($ac_try" in
30354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30355 *) ac_try_echo=$ac_try;;
30357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30358 (eval "$ac_try") 2>&5
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; } &&
30362 { ac_try='test -s conftest.$ac_objext'
30363 { (case "(($ac_try" in
30364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30365 *) ac_try_echo
=$ac_try;;
30367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30368 (eval "$ac_try") 2>&5
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; }; then
30372 ac_header_compiler
=yes
30374 echo "$as_me: failed program was:" >&5
30375 sed 's/^/| /' conftest.
$ac_ext >&5
30377 ac_header_compiler
=no
30380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30381 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30382 echo "${ECHO_T}$ac_header_compiler" >&6; }
30384 # Is the header present?
30385 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30387 cat >conftest.
$ac_ext <<_ACEOF
30390 cat confdefs.h
>>conftest.
$ac_ext
30391 cat >>conftest.
$ac_ext <<_ACEOF
30392 /* end confdefs.h. */
30393 #include <$ac_header>
30395 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30396 case "(($ac_try" in
30397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30398 *) ac_try_echo=$ac_try;;
30400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30403 grep -v '^ *+' conftest.er1 >conftest.err
30405 cat conftest.err >&5
30406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407 (exit $ac_status); } >/dev/null; then
30408 if test -s conftest.err; then
30409 ac_cpp_err=$ac_c_preproc_warn_flag
30410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30417 if test -z "$ac_cpp_err"; then
30418 ac_header_preproc=yes
30420 echo "$as_me: failed program was:" >&5
30421 sed 's/^/| /' conftest.$ac_ext >&5
30423 ac_header_preproc=no
30426 rm -f conftest.err conftest.$ac_ext
30427 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30428 echo "${ECHO_T}$ac_header_preproc" >&6; }
30430 # So? What about this header?
30431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30437 ac_header_preproc=yes
30440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30447 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30453 ## ----------------------------------- ##
30454 ## Report this to llvmbugs@cs.uiuc.edu ##
30455 ## ----------------------------------- ##
30457 ) | sed "s/^/$as_me: WARNING: /" >&2
30460 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30462 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30463 echo $ECHO_N "(cached) $ECHO_C" >&6
30465 eval "$as_ac_Header=\$ac_header_preproc"
30467 ac_res=`eval echo '${'$as_ac_Header'}'`
30468 { echo "$as_me:$LINENO: result: $ac_res" >&5
30469 echo "${ECHO_T}$ac_res" >&6; }
30472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30473 cat >>confdefs.h <<_ACEOF
30474 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30485 for ac_header in sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h
30487 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30494 ac_res=`eval echo '${'$as_ac_Header'}'`
30495 { echo "$as_me:$LINENO: result: $ac_res" >&5
30496 echo "${ECHO_T}$ac_res" >&6; }
30498 # Is the header compilable?
30499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30501 cat >conftest.$ac_ext <<_ACEOF
30504 cat confdefs.h >>conftest.$ac_ext
30505 cat >>conftest.$ac_ext <<_ACEOF
30506 /* end confdefs.h. */
30507 $ac_includes_default
30508 #include <$ac_header>
30510 rm -f conftest.$ac_objext
30511 if { (ac_try="$ac_compile"
30512 case "(($ac_try" in
30513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30514 *) ac_try_echo
=$ac_try;;
30516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30517 (eval "$ac_compile") 2>conftest.er1
30519 grep -v '^ *+' conftest.er1
>conftest.err
30521 cat conftest.err
>&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); } &&
30524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30525 { (case "(($ac_try" in
30526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30527 *) ac_try_echo=$ac_try;;
30529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30530 (eval "$ac_try") 2>&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; } &&
30534 { ac_try='test -s conftest.$ac_objext'
30535 { (case "(($ac_try" in
30536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30537 *) ac_try_echo
=$ac_try;;
30539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30540 (eval "$ac_try") 2>&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; }; then
30544 ac_header_compiler
=yes
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.
$ac_ext >&5
30549 ac_header_compiler
=no
30552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30553 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30554 echo "${ECHO_T}$ac_header_compiler" >&6; }
30556 # Is the header present?
30557 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30559 cat >conftest.
$ac_ext <<_ACEOF
30562 cat confdefs.h
>>conftest.
$ac_ext
30563 cat >>conftest.
$ac_ext <<_ACEOF
30564 /* end confdefs.h. */
30565 #include <$ac_header>
30567 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30568 case "(($ac_try" in
30569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30570 *) ac_try_echo=$ac_try;;
30572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30575 grep -v '^ *+' conftest.er1 >conftest.err
30577 cat conftest.err >&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); } >/dev/null; then
30580 if test -s conftest.err; then
30581 ac_cpp_err=$ac_c_preproc_warn_flag
30582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30589 if test -z "$ac_cpp_err"; then
30590 ac_header_preproc=yes
30592 echo "$as_me: failed program was:" >&5
30593 sed 's/^/| /' conftest.$ac_ext >&5
30595 ac_header_preproc=no
30598 rm -f conftest.err conftest.$ac_ext
30599 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30600 echo "${ECHO_T}$ac_header_preproc" >&6; }
30602 # So? What about this header?
30603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30609 ac_header_preproc=yes
30612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30625 ## ----------------------------------- ##
30626 ## Report this to llvmbugs@cs.uiuc.edu ##
30627 ## ----------------------------------- ##
30629 ) | sed "s/^/$as_me: WARNING: /" >&2
30632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30635 echo $ECHO_N "(cached) $ECHO_C" >&6
30637 eval "$as_ac_Header=\$ac_header_preproc"
30639 ac_res=`eval echo '${'$as_ac_Header'}'`
30640 { echo "$as_me:$LINENO: result: $ac_res" >&5
30641 echo "${ECHO_T}$ac_res" >&6; }
30644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30645 cat >>confdefs.h <<_ACEOF
30646 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30653 if test "$ENABLE_THREADS" -eq 1 ; then
30655 for ac_header in pthread.h
30657 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30662 echo $ECHO_N "(cached) $ECHO_C" >&6
30664 ac_res=`eval echo '${'$as_ac_Header'}'`
30665 { echo "$as_me:$LINENO: result: $ac_res" >&5
30666 echo "${ECHO_T}$ac_res" >&6; }
30668 # Is the header compilable?
30669 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30670 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30671 cat >conftest.$ac_ext <<_ACEOF
30674 cat confdefs.h >>conftest.$ac_ext
30675 cat >>conftest.$ac_ext <<_ACEOF
30676 /* end confdefs.h. */
30677 $ac_includes_default
30678 #include <$ac_header>
30680 rm -f conftest.$ac_objext
30681 if { (ac_try="$ac_compile"
30682 case "(($ac_try" in
30683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30684 *) ac_try_echo
=$ac_try;;
30686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30687 (eval "$ac_compile") 2>conftest.er1
30689 grep -v '^ *+' conftest.er1
>conftest.err
30691 cat conftest.err
>&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } &&
30694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30695 { (case "(($ac_try" in
30696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30697 *) ac_try_echo=$ac_try;;
30699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30700 (eval "$ac_try") 2>&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); }; } &&
30704 { ac_try='test -s conftest.$ac_objext'
30705 { (case "(($ac_try" in
30706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30707 *) ac_try_echo
=$ac_try;;
30709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30710 (eval "$ac_try") 2>&5
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30714 ac_header_compiler
=yes
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.
$ac_ext >&5
30719 ac_header_compiler
=no
30722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30723 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30724 echo "${ECHO_T}$ac_header_compiler" >&6; }
30726 # Is the header present?
30727 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30729 cat >conftest.
$ac_ext <<_ACEOF
30732 cat confdefs.h
>>conftest.
$ac_ext
30733 cat >>conftest.
$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735 #include <$ac_header>
30737 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30738 case "(($ac_try" in
30739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30740 *) ac_try_echo=$ac_try;;
30742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30745 grep -v '^ *+' conftest.er1 >conftest.err
30747 cat conftest.err >&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); } >/dev/null; then
30750 if test -s conftest.err; then
30751 ac_cpp_err=$ac_c_preproc_warn_flag
30752 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30759 if test -z "$ac_cpp_err"; then
30760 ac_header_preproc=yes
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.$ac_ext >&5
30765 ac_header_preproc=no
30768 rm -f conftest.err conftest.$ac_ext
30769 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30770 echo "${ECHO_T}$ac_header_preproc" >&6; }
30772 # So? What about this header?
30773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30779 ac_header_preproc=yes
30782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30795 ## ----------------------------------- ##
30796 ## Report this to llvmbugs@cs.uiuc.edu ##
30797 ## ----------------------------------- ##
30799 ) | sed "s/^/$as_me: WARNING: /" >&2
30802 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30805 echo $ECHO_N "(cached) $ECHO_C" >&6
30807 eval "$as_ac_Header=\$ac_header_preproc"
30809 ac_res=`eval echo '${'$as_ac_Header'}'`
30810 { echo "$as_me:$LINENO: result: $ac_res" >&5
30811 echo "${ECHO_T}$ac_res" >&6; }
30814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30815 cat >>confdefs.h <<_ACEOF
30816 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30832 if test "$llvm_cv_enable_libffi" = "yes" ; then
30835 for ac_header in ffi.h ffi/ffi.h
30837 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30839 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30841 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30842 echo $ECHO_N "(cached) $ECHO_C" >&6
30844 ac_res=`eval echo '${'$as_ac_Header'}'`
30845 { echo "$as_me:$LINENO: result: $ac_res" >&5
30846 echo "${ECHO_T}$ac_res" >&6; }
30848 # Is the header compilable?
30849 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30851 cat >conftest.$ac_ext <<_ACEOF
30854 cat confdefs.h >>conftest.$ac_ext
30855 cat >>conftest.$ac_ext <<_ACEOF
30856 /* end confdefs.h. */
30857 $ac_includes_default
30858 #include <$ac_header>
30860 rm -f conftest.$ac_objext
30861 if { (ac_try="$ac_compile"
30862 case "(($ac_try" in
30863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30864 *) ac_try_echo
=$ac_try;;
30866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30867 (eval "$ac_compile") 2>conftest.er1
30869 grep -v '^ *+' conftest.er1
>conftest.err
30871 cat conftest.err
>&5
30872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30873 (exit $ac_status); } &&
30874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30875 { (case "(($ac_try" in
30876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30877 *) ac_try_echo=$ac_try;;
30879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30880 (eval "$ac_try") 2>&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); }; } &&
30884 { ac_try='test -s conftest.$ac_objext'
30885 { (case "(($ac_try" in
30886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30887 *) ac_try_echo
=$ac_try;;
30889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30890 (eval "$ac_try") 2>&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); }; }; then
30894 ac_header_compiler
=yes
30896 echo "$as_me: failed program was:" >&5
30897 sed 's/^/| /' conftest.
$ac_ext >&5
30899 ac_header_compiler
=no
30902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30903 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30904 echo "${ECHO_T}$ac_header_compiler" >&6; }
30906 # Is the header present?
30907 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30909 cat >conftest.
$ac_ext <<_ACEOF
30912 cat confdefs.h
>>conftest.
$ac_ext
30913 cat >>conftest.
$ac_ext <<_ACEOF
30914 /* end confdefs.h. */
30915 #include <$ac_header>
30917 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30918 case "(($ac_try" in
30919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30920 *) ac_try_echo=$ac_try;;
30922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30925 grep -v '^ *+' conftest.er1 >conftest.err
30927 cat conftest.err >&5
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); } >/dev/null; then
30930 if test -s conftest.err; then
30931 ac_cpp_err=$ac_c_preproc_warn_flag
30932 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30939 if test -z "$ac_cpp_err"; then
30940 ac_header_preproc=yes
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.$ac_ext >&5
30945 ac_header_preproc=no
30948 rm -f conftest.err conftest.$ac_ext
30949 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30950 echo "${ECHO_T}$ac_header_preproc" >&6; }
30952 # So? What about this header?
30953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30959 ac_header_preproc=yes
30962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30975 ## ----------------------------------- ##
30976 ## Report this to llvmbugs@cs.uiuc.edu ##
30977 ## ----------------------------------- ##
30979 ) | sed "s/^/$as_me: WARNING: /" >&2
30982 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30985 echo $ECHO_N "(cached) $ECHO_C" >&6
30987 eval "$as_ac_Header=\$ac_header_preproc"
30989 ac_res=`eval echo '${'$as_ac_Header'}'`
30990 { echo "$as_me:$LINENO: result: $ac_res" >&5
30991 echo "${ECHO_T}$ac_res" >&6; }
30994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30995 cat >>confdefs.h <<_ACEOF
30996 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
31007 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
31008 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
31009 if test "${ac_cv_huge_val_sanity+set}" = set; then
31010 echo $ECHO_N "(cached) $ECHO_C" >&6
31014 ac_cpp='$CXXCPP $CPPFLAGS'
31015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31020 if test "$cross_compiling" = yes; then
31021 ac_cv_huge_val_sanity=yes
31023 cat >conftest.$ac_ext <<_ACEOF
31026 cat confdefs.h >>conftest.$ac_ext
31027 cat >>conftest.$ac_ext <<_ACEOF
31028 /* end confdefs.h. */
31033 double x = HUGE_VAL; return x != x;
31038 rm -f conftest$ac_exeext
31039 if { (ac_try="$ac_link"
31040 case "(($ac_try" in
31041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31042 *) ac_try_echo
=$ac_try;;
31044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31045 (eval "$ac_link") 2>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31049 { (case "(($ac_try" in
31050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31051 *) ac_try_echo=$ac_try;;
31053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31054 (eval "$ac_try") 2>&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); }; }; then
31058 ac_cv_huge_val_sanity=yes
31060 echo "$as_me: program exited with status $ac_status" >&5
31061 echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.$ac_ext >&5
31064 ( exit $ac_status )
31065 ac_cv_huge_val_sanity=no
31067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31072 ac_cpp='$CPP $CPPFLAGS'
31073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31079 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
31080 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
31081 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
31084 { echo "$as_me:$LINENO: checking for pid_t" >&5
31085 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
31086 if test "${ac_cv_type_pid_t+set}" = set; then
31087 echo $ECHO_N "(cached) $ECHO_C" >&6
31089 cat >conftest.$ac_ext <<_ACEOF
31092 cat confdefs.h >>conftest.$ac_ext
31093 cat >>conftest.$ac_ext <<_ACEOF
31094 /* end confdefs.h. */
31095 $ac_includes_default
31096 typedef pid_t ac__type_new_;
31100 if ((ac__type_new_ *) 0)
31102 if (sizeof (ac__type_new_))
31108 rm -f conftest.$ac_objext
31109 if { (ac_try="$ac_compile"
31110 case "(($ac_try" in
31111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31112 *) ac_try_echo
=$ac_try;;
31114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31115 (eval "$ac_compile") 2>conftest.er1
31117 grep -v '^ *+' conftest.er1
>conftest.err
31119 cat conftest.err
>&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); } &&
31122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31123 { (case "(($ac_try" in
31124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31125 *) ac_try_echo=$ac_try;;
31127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31128 (eval "$ac_try") 2>&5
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); }; } &&
31132 { ac_try='test -s conftest.$ac_objext'
31133 { (case "(($ac_try" in
31134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31135 *) ac_try_echo
=$ac_try;;
31137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31138 (eval "$ac_try") 2>&5
31140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31141 (exit $ac_status); }; }; then
31142 ac_cv_type_pid_t
=yes
31144 echo "$as_me: failed program was:" >&5
31145 sed 's/^/| /' conftest.
$ac_ext >&5
31147 ac_cv_type_pid_t
=no
31150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31152 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31153 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
31154 if test $ac_cv_type_pid_t = yes; then
31158 cat >>confdefs.h
<<_ACEOF
31164 { echo "$as_me:$LINENO: checking for size_t" >&5
31165 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
31166 if test "${ac_cv_type_size_t+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31169 cat >conftest.
$ac_ext <<_ACEOF
31172 cat confdefs.h
>>conftest.
$ac_ext
31173 cat >>conftest.
$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31175 $ac_includes_default
31176 typedef size_t ac__type_new_;
31180 if ((ac__type_new_ *) 0)
31182 if (sizeof (ac__type_new_))
31188 rm -f conftest.
$ac_objext
31189 if { (ac_try
="$ac_compile"
31190 case "(($ac_try" in
31191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31192 *) ac_try_echo=$ac_try;;
31194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31195 (eval "$ac_compile") 2>conftest.er1
31197 grep -v '^ *+' conftest.er1 >conftest.err
31199 cat conftest.err >&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); } &&
31202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31203 { (case "(($ac_try" in
31204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31205 *) ac_try_echo
=$ac_try;;
31207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31208 (eval "$ac_try") 2>&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; } &&
31212 { ac_try
='test -s conftest.$ac_objext'
31213 { (case "(($ac_try" in
31214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31215 *) ac_try_echo=$ac_try;;
31217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31218 (eval "$ac_try") 2>&5
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); }; }; then
31222 ac_cv_type_size_t=yes
31224 echo "$as_me: failed program was:" >&5
31225 sed 's/^/| /' conftest.$ac_ext >&5
31227 ac_cv_type_size_t=no
31230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31232 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31233 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
31234 if test $ac_cv_type_size_t = yes; then
31238 cat >>confdefs.h <<_ACEOF
31239 #define size_t unsigned int
31244 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
31245 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
31246 if test "${ac_cv_type_signal+set}" = set; then
31247 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 cat >conftest.$ac_ext <<_ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31255 #include <sys/types.h>
31256 #include <signal.h>
31261 return *(signal (0, 0)) (0) == 1;
31266 rm -f conftest.$ac_objext
31267 if { (ac_try="$ac_compile"
31268 case "(($ac_try" in
31269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31270 *) ac_try_echo
=$ac_try;;
31272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31273 (eval "$ac_compile") 2>conftest.er1
31275 grep -v '^ *+' conftest.er1
>conftest.err
31277 cat conftest.err
>&5
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); } &&
31280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31281 { (case "(($ac_try" in
31282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31283 *) ac_try_echo=$ac_try;;
31285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31286 (eval "$ac_try") 2>&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); }; } &&
31290 { ac_try='test -s conftest.$ac_objext'
31291 { (case "(($ac_try" in
31292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31293 *) ac_try_echo
=$ac_try;;
31295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31296 (eval "$ac_try") 2>&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; }; then
31300 ac_cv_type_signal
=int
31302 echo "$as_me: failed program was:" >&5
31303 sed 's/^/| /' conftest.
$ac_ext >&5
31305 ac_cv_type_signal
=void
31308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31310 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
31311 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
31313 cat >>confdefs.h
<<_ACEOF
31314 #define RETSIGTYPE $ac_cv_type_signal
31318 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
31319 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
31320 if test "${ac_cv_struct_tm+set}" = set; then
31321 echo $ECHO_N "(cached) $ECHO_C" >&6
31323 cat >conftest.
$ac_ext <<_ACEOF
31326 cat confdefs.h
>>conftest.
$ac_ext
31327 cat >>conftest.
$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31329 #include <sys/types.h>
31335 struct tm *tp; tp->tm_sec;
31340 rm -f conftest.
$ac_objext
31341 if { (ac_try
="$ac_compile"
31342 case "(($ac_try" in
31343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31344 *) ac_try_echo=$ac_try;;
31346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31347 (eval "$ac_compile") 2>conftest.er1
31349 grep -v '^ *+' conftest.er1 >conftest.err
31351 cat conftest.err >&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31355 { (case "(($ac_try" in
31356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31357 *) ac_try_echo
=$ac_try;;
31359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31360 (eval "$ac_try") 2>&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); }; } &&
31364 { ac_try
='test -s conftest.$ac_objext'
31365 { (case "(($ac_try" in
31366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31367 *) ac_try_echo=$ac_try;;
31369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31370 (eval "$ac_try") 2>&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); }; }; then
31374 ac_cv_struct_tm=time.h
31376 echo "$as_me: failed program was:" >&5
31377 sed 's/^/| /' conftest.$ac_ext >&5
31379 ac_cv_struct_tm=sys/time.h
31382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31384 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
31385 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
31386 if test $ac_cv_struct_tm = sys/time.h; then
31388 cat >>confdefs.h <<\_ACEOF
31389 #define TM_IN_SYS_TIME 1
31394 { echo "$as_me:$LINENO: checking for int64_t" >&5
31395 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
31396 if test "${ac_cv_type_int64_t+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 cat >conftest.$ac_ext <<_ACEOF
31402 cat confdefs.h >>conftest.$ac_ext
31403 cat >>conftest.$ac_ext <<_ACEOF
31404 /* end confdefs.h. */
31405 $ac_includes_default
31406 typedef int64_t ac__type_new_;
31410 if ((ac__type_new_ *) 0)
31412 if (sizeof (ac__type_new_))
31418 rm -f conftest.$ac_objext
31419 if { (ac_try="$ac_compile"
31420 case "(($ac_try" in
31421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31422 *) ac_try_echo
=$ac_try;;
31424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31425 (eval "$ac_compile") 2>conftest.er1
31427 grep -v '^ *+' conftest.er1
>conftest.err
31429 cat conftest.err
>&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } &&
31432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31433 { (case "(($ac_try" in
31434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31435 *) ac_try_echo=$ac_try;;
31437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31438 (eval "$ac_try") 2>&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); }; } &&
31442 { ac_try='test -s conftest.$ac_objext'
31443 { (case "(($ac_try" in
31444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31445 *) ac_try_echo
=$ac_try;;
31447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31448 (eval "$ac_try") 2>&5
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); }; }; then
31452 ac_cv_type_int64_t
=yes
31454 echo "$as_me: failed program was:" >&5
31455 sed 's/^/| /' conftest.
$ac_ext >&5
31457 ac_cv_type_int64_t
=no
31460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31462 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
31463 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
31464 if test $ac_cv_type_int64_t = yes; then
31466 cat >>confdefs.h
<<_ACEOF
31467 #define HAVE_INT64_T 1
31472 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
31473 echo "$as_me: error: Type int64_t required but not found" >&2;}
31474 { (exit 1); exit 1; }; }
31477 { echo "$as_me:$LINENO: checking for uint64_t" >&5
31478 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
31479 if test "${ac_cv_type_uint64_t+set}" = set; then
31480 echo $ECHO_N "(cached) $ECHO_C" >&6
31482 cat >conftest.
$ac_ext <<_ACEOF
31485 cat confdefs.h
>>conftest.
$ac_ext
31486 cat >>conftest.
$ac_ext <<_ACEOF
31487 /* end confdefs.h. */
31488 $ac_includes_default
31489 typedef uint64_t ac__type_new_;
31493 if ((ac__type_new_ *) 0)
31495 if (sizeof (ac__type_new_))
31501 rm -f conftest.
$ac_objext
31502 if { (ac_try
="$ac_compile"
31503 case "(($ac_try" in
31504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31505 *) ac_try_echo=$ac_try;;
31507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31508 (eval "$ac_compile") 2>conftest.er1
31510 grep -v '^ *+' conftest.er1 >conftest.err
31512 cat conftest.err >&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } &&
31515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31516 { (case "(($ac_try" in
31517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31518 *) ac_try_echo
=$ac_try;;
31520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31521 (eval "$ac_try") 2>&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); }; } &&
31525 { ac_try
='test -s conftest.$ac_objext'
31526 { (case "(($ac_try" in
31527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31528 *) ac_try_echo=$ac_try;;
31530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31531 (eval "$ac_try") 2>&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; }; then
31535 ac_cv_type_uint64_t=yes
31537 echo "$as_me: failed program was:" >&5
31538 sed 's/^/| /' conftest.$ac_ext >&5
31540 ac_cv_type_uint64_t=no
31543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31545 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
31546 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
31547 if test $ac_cv_type_uint64_t = yes; then
31549 cat >>confdefs.h <<_ACEOF
31550 #define HAVE_UINT64_T 1
31555 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
31556 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
31557 if test "${ac_cv_type_u_int64_t+set}" = set; then
31558 echo $ECHO_N "(cached) $ECHO_C" >&6
31560 cat >conftest.$ac_ext <<_ACEOF
31563 cat confdefs.h >>conftest.$ac_ext
31564 cat >>conftest.$ac_ext <<_ACEOF
31565 /* end confdefs.h. */
31566 $ac_includes_default
31567 typedef u_int64_t ac__type_new_;
31571 if ((ac__type_new_ *) 0)
31573 if (sizeof (ac__type_new_))
31579 rm -f conftest.$ac_objext
31580 if { (ac_try="$ac_compile"
31581 case "(($ac_try" in
31582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31583 *) ac_try_echo
=$ac_try;;
31585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31586 (eval "$ac_compile") 2>conftest.er1
31588 grep -v '^ *+' conftest.er1
>conftest.err
31590 cat conftest.err
>&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); } &&
31593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31594 { (case "(($ac_try" in
31595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31596 *) ac_try_echo=$ac_try;;
31598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31599 (eval "$ac_try") 2>&5
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); }; } &&
31603 { ac_try='test -s conftest.$ac_objext'
31604 { (case "(($ac_try" in
31605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31606 *) ac_try_echo
=$ac_try;;
31608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31609 (eval "$ac_try") 2>&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); }; }; then
31613 ac_cv_type_u_int64_t
=yes
31615 echo "$as_me: failed program was:" >&5
31616 sed 's/^/| /' conftest.
$ac_ext >&5
31618 ac_cv_type_u_int64_t
=no
31621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31623 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
31624 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
31625 if test $ac_cv_type_u_int64_t = yes; then
31627 cat >>confdefs.h
<<_ACEOF
31628 #define HAVE_U_INT64_T 1
31633 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
31634 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
31635 { (exit 1); exit 1; }; }
31649 for ac_func
in backtrace ceilf floorf roundf rintf nearbyintf getcwd
31651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31654 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31655 echo $ECHO_N "(cached) $ECHO_C" >&6
31657 cat >conftest.
$ac_ext <<_ACEOF
31660 cat confdefs.h
>>conftest.
$ac_ext
31661 cat >>conftest.
$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31665 #define $ac_func innocuous_$ac_func
31667 /* System header to define __stub macros and hopefully few prototypes,
31668 which can conflict with char $ac_func (); below.
31669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31670 <limits.h> exists even on freestanding compilers. */
31673 # include <limits.h>
31675 # include <assert.h>
31680 /* Override any GCC internal prototype to avoid an error.
31681 Use char because int might match the return type of a GCC
31682 builtin and then its argument prototype would still apply. */
31687 /* The GNU C library defines this for functions which it implements
31688 to always fail with ENOSYS. Some functions are actually named
31689 something starting with __ and the normal name is an alias. */
31690 #if defined __stub_$ac_func || defined __stub___$ac_func
31697 return $ac_func ();
31702 rm -f conftest.
$ac_objext conftest
$ac_exeext
31703 if { (ac_try
="$ac_link"
31704 case "(($ac_try" in
31705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31706 *) ac_try_echo=$ac_try;;
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_link") 2>conftest.er1
31711 grep -v '^ *+' conftest.er1 >conftest.err
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } &&
31716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31717 { (case "(($ac_try" in
31718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31719 *) ac_try_echo
=$ac_try;;
31721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31722 (eval "$ac_try") 2>&5
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); }; } &&
31726 { ac_try
='test -s conftest$ac_exeext'
31727 { (case "(($ac_try" in
31728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31729 *) ac_try_echo=$ac_try;;
31731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31732 (eval "$ac_try") 2>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; }; then
31736 eval "$as_ac_var=yes"
31738 echo "$as_me: failed program was:" >&5
31739 sed 's/^/| /' conftest.$ac_ext >&5
31741 eval "$as_ac_var=no"
31744 rm -f core conftest.err conftest.$ac_objext \
31745 conftest$ac_exeext conftest.$ac_ext
31747 ac_res=`eval echo '${'$as_ac_var'}'`
31748 { echo "$as_me:$LINENO: result: $ac_res" >&5
31749 echo "${ECHO_T}$ac_res" >&6; }
31750 if test `eval echo '${'$as_ac_var'}'` = yes; then
31751 cat >>confdefs.h <<_ACEOF
31752 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31762 for ac_func in powf fmodf strtof round
31764 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31765 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31768 echo $ECHO_N "(cached) $ECHO_C" >&6
31770 cat >conftest.$ac_ext <<_ACEOF
31773 cat confdefs.h >>conftest.$ac_ext
31774 cat >>conftest.$ac_ext <<_ACEOF
31775 /* end confdefs.h. */
31776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31778 #define $ac_func innocuous_$ac_func
31780 /* System header to define __stub macros and hopefully few prototypes,
31781 which can conflict with char $ac_func (); below.
31782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31783 <limits.h> exists even on freestanding compilers. */
31786 # include <limits.h>
31788 # include <assert.h>
31793 /* Override any GCC internal prototype to avoid an error.
31794 Use char because int might match the return type of a GCC
31795 builtin and then its argument prototype would still apply. */
31800 /* The GNU C library defines this for functions which it implements
31801 to always fail with ENOSYS. Some functions are actually named
31802 something starting with __ and the normal name is an alias. */
31803 #if defined __stub_$ac_func || defined __stub___$ac_func
31810 return $ac_func ();
31815 rm -f conftest.$ac_objext conftest$ac_exeext
31816 if { (ac_try="$ac_link"
31817 case "(($ac_try" in
31818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31819 *) ac_try_echo
=$ac_try;;
31821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31822 (eval "$ac_link") 2>conftest.er1
31824 grep -v '^ *+' conftest.er1
>conftest.err
31826 cat conftest.err
>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); } &&
31829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31830 { (case "(($ac_try" in
31831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31832 *) ac_try_echo=$ac_try;;
31834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31835 (eval "$ac_try") 2>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; } &&
31839 { ac_try='test -s conftest$ac_exeext'
31840 { (case "(($ac_try" in
31841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31842 *) ac_try_echo
=$ac_try;;
31844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31845 (eval "$ac_try") 2>&5
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); }; }; then
31849 eval "$as_ac_var=yes"
31851 echo "$as_me: failed program was:" >&5
31852 sed 's/^/| /' conftest.
$ac_ext >&5
31854 eval "$as_ac_var=no"
31857 rm -f core conftest.err conftest.
$ac_objext \
31858 conftest
$ac_exeext conftest.
$ac_ext
31860 ac_res
=`eval echo '${'$as_ac_var'}'`
31861 { echo "$as_me:$LINENO: result: $ac_res" >&5
31862 echo "${ECHO_T}$ac_res" >&6; }
31863 if test `eval echo '${'$as_ac_var'}'` = yes; then
31864 cat >>confdefs.h
<<_ACEOF
31865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31876 for ac_func
in getpagesize getrusage getrlimit setrlimit gettimeofday
31878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31879 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31881 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31882 echo $ECHO_N "(cached) $ECHO_C" >&6
31884 cat >conftest.
$ac_ext <<_ACEOF
31887 cat confdefs.h
>>conftest.
$ac_ext
31888 cat >>conftest.
$ac_ext <<_ACEOF
31889 /* end confdefs.h. */
31890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31892 #define $ac_func innocuous_$ac_func
31894 /* System header to define __stub macros and hopefully few prototypes,
31895 which can conflict with char $ac_func (); below.
31896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31897 <limits.h> exists even on freestanding compilers. */
31900 # include <limits.h>
31902 # include <assert.h>
31907 /* Override any GCC internal prototype to avoid an error.
31908 Use char because int might match the return type of a GCC
31909 builtin and then its argument prototype would still apply. */
31914 /* The GNU C library defines this for functions which it implements
31915 to always fail with ENOSYS. Some functions are actually named
31916 something starting with __ and the normal name is an alias. */
31917 #if defined __stub_$ac_func || defined __stub___$ac_func
31924 return $ac_func ();
31929 rm -f conftest.
$ac_objext conftest
$ac_exeext
31930 if { (ac_try
="$ac_link"
31931 case "(($ac_try" in
31932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31933 *) ac_try_echo=$ac_try;;
31935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31936 (eval "$ac_link") 2>conftest.er1
31938 grep -v '^ *+' conftest.er1 >conftest.err
31940 cat conftest.err >&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } &&
31943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31944 { (case "(($ac_try" in
31945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31946 *) ac_try_echo
=$ac_try;;
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_try") 2>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; } &&
31953 { ac_try
='test -s conftest$ac_exeext'
31954 { (case "(($ac_try" in
31955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31956 *) ac_try_echo=$ac_try;;
31958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31959 (eval "$ac_try") 2>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 eval "$as_ac_var=yes"
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31968 eval "$as_ac_var=no"
31971 rm -f core conftest.err conftest.$ac_objext \
31972 conftest$ac_exeext conftest.$ac_ext
31974 ac_res=`eval echo '${'$as_ac_var'}'`
31975 { echo "$as_me:$LINENO: result: $ac_res" >&5
31976 echo "${ECHO_T}$ac_res" >&6; }
31977 if test `eval echo '${'$as_ac_var'}'` = yes; then
31978 cat >>confdefs.h <<_ACEOF
31979 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31988 for ac_func in isatty mkdtemp mkstemp
31990 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31996 cat >conftest.$ac_ext <<_ACEOF
31999 cat confdefs.h >>conftest.$ac_ext
32000 cat >>conftest.$ac_ext <<_ACEOF
32001 /* end confdefs.h. */
32002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32004 #define $ac_func innocuous_$ac_func
32006 /* System header to define __stub macros and hopefully few prototypes,
32007 which can conflict with char $ac_func (); below.
32008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32009 <limits.h> exists even on freestanding compilers. */
32012 # include <limits.h>
32014 # include <assert.h>
32019 /* Override any GCC internal prototype to avoid an error.
32020 Use char because int might match the return type of a GCC
32021 builtin and then its argument prototype would still apply. */
32026 /* The GNU C library defines this for functions which it implements
32027 to always fail with ENOSYS. Some functions are actually named
32028 something starting with __ and the normal name is an alias. */
32029 #if defined __stub_$ac_func || defined __stub___$ac_func
32036 return $ac_func ();
32041 rm -f conftest.$ac_objext conftest$ac_exeext
32042 if { (ac_try="$ac_link"
32043 case "(($ac_try" in
32044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32045 *) ac_try_echo
=$ac_try;;
32047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32048 (eval "$ac_link") 2>conftest.er1
32050 grep -v '^ *+' conftest.er1
>conftest.err
32052 cat conftest.err
>&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } &&
32055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32056 { (case "(($ac_try" in
32057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32058 *) ac_try_echo=$ac_try;;
32060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32061 (eval "$ac_try") 2>&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); }; } &&
32065 { ac_try='test -s conftest$ac_exeext'
32066 { (case "(($ac_try" in
32067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32068 *) ac_try_echo
=$ac_try;;
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071 (eval "$ac_try") 2>&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; }; then
32075 eval "$as_ac_var=yes"
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.
$ac_ext >&5
32080 eval "$as_ac_var=no"
32083 rm -f core conftest.err conftest.
$ac_objext \
32084 conftest
$ac_exeext conftest.
$ac_ext
32086 ac_res
=`eval echo '${'$as_ac_var'}'`
32087 { echo "$as_me:$LINENO: result: $ac_res" >&5
32088 echo "${ECHO_T}$ac_res" >&6; }
32089 if test `eval echo '${'$as_ac_var'}'` = yes; then
32090 cat >>confdefs.h
<<_ACEOF
32091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32102 for ac_func
in mktemp realpath sbrk setrlimit strdup
32104 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32105 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32107 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32108 echo $ECHO_N "(cached) $ECHO_C" >&6
32110 cat >conftest.
$ac_ext <<_ACEOF
32113 cat confdefs.h
>>conftest.
$ac_ext
32114 cat >>conftest.
$ac_ext <<_ACEOF
32115 /* end confdefs.h. */
32116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32118 #define $ac_func innocuous_$ac_func
32120 /* System header to define __stub macros and hopefully few prototypes,
32121 which can conflict with char $ac_func (); below.
32122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32123 <limits.h> exists even on freestanding compilers. */
32126 # include <limits.h>
32128 # include <assert.h>
32133 /* Override any GCC internal prototype to avoid an error.
32134 Use char because int might match the return type of a GCC
32135 builtin and then its argument prototype would still apply. */
32140 /* The GNU C library defines this for functions which it implements
32141 to always fail with ENOSYS. Some functions are actually named
32142 something starting with __ and the normal name is an alias. */
32143 #if defined __stub_$ac_func || defined __stub___$ac_func
32150 return $ac_func ();
32155 rm -f conftest.
$ac_objext conftest
$ac_exeext
32156 if { (ac_try
="$ac_link"
32157 case "(($ac_try" in
32158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32159 *) ac_try_echo=$ac_try;;
32161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32162 (eval "$ac_link") 2>conftest.er1
32164 grep -v '^ *+' conftest.er1 >conftest.err
32166 cat conftest.err >&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } &&
32169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32170 { (case "(($ac_try" in
32171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32172 *) ac_try_echo
=$ac_try;;
32174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32175 (eval "$ac_try") 2>&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; } &&
32179 { ac_try
='test -s conftest$ac_exeext'
32180 { (case "(($ac_try" in
32181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32182 *) ac_try_echo=$ac_try;;
32184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32185 (eval "$ac_try") 2>&5
32187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32188 (exit $ac_status); }; }; then
32189 eval "$as_ac_var=yes"
32191 echo "$as_me: failed program was:" >&5
32192 sed 's/^/| /' conftest.$ac_ext >&5
32194 eval "$as_ac_var=no"
32197 rm -f core conftest.err conftest.$ac_objext \
32198 conftest$ac_exeext conftest.$ac_ext
32200 ac_res=`eval echo '${'$as_ac_var'}'`
32201 { echo "$as_me:$LINENO: result: $ac_res" >&5
32202 echo "${ECHO_T}$ac_res" >&6; }
32203 if test `eval echo '${'$as_ac_var'}'` = yes; then
32204 cat >>confdefs.h <<_ACEOF
32205 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
32215 for ac_func in strerror strerror_r strerror_s setenv
32217 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
32218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32221 echo $ECHO_N "(cached) $ECHO_C" >&6
32223 cat >conftest.$ac_ext <<_ACEOF
32226 cat confdefs.h >>conftest.$ac_ext
32227 cat >>conftest.$ac_ext <<_ACEOF
32228 /* end confdefs.h. */
32229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32231 #define $ac_func innocuous_$ac_func
32233 /* System header to define __stub macros and hopefully few prototypes,
32234 which can conflict with char $ac_func (); below.
32235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32236 <limits.h> exists even on freestanding compilers. */
32239 # include <limits.h>
32241 # include <assert.h>
32246 /* Override any GCC internal prototype to avoid an error.
32247 Use char because int might match the return type of a GCC
32248 builtin and then its argument prototype would still apply. */
32253 /* The GNU C library defines this for functions which it implements
32254 to always fail with ENOSYS. Some functions are actually named
32255 something starting with __ and the normal name is an alias. */
32256 #if defined __stub_$ac_func || defined __stub___$ac_func
32263 return $ac_func ();
32268 rm -f conftest.$ac_objext conftest$ac_exeext
32269 if { (ac_try="$ac_link"
32270 case "(($ac_try" in
32271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32272 *) ac_try_echo
=$ac_try;;
32274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32275 (eval "$ac_link") 2>conftest.er1
32277 grep -v '^ *+' conftest.er1
>conftest.err
32279 cat conftest.err
>&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32283 { (case "(($ac_try" in
32284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_try") 2>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; } &&
32292 { ac_try='test -s conftest$ac_exeext'
32293 { (case "(($ac_try" in
32294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32295 *) ac_try_echo
=$ac_try;;
32297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32298 (eval "$ac_try") 2>&5
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); }; }; then
32302 eval "$as_ac_var=yes"
32304 echo "$as_me: failed program was:" >&5
32305 sed 's/^/| /' conftest.
$ac_ext >&5
32307 eval "$as_ac_var=no"
32310 rm -f core conftest.err conftest.
$ac_objext \
32311 conftest
$ac_exeext conftest.
$ac_ext
32313 ac_res
=`eval echo '${'$as_ac_var'}'`
32314 { echo "$as_me:$LINENO: result: $ac_res" >&5
32315 echo "${ECHO_T}$ac_res" >&6; }
32316 if test `eval echo '${'$as_ac_var'}'` = yes; then
32317 cat >>confdefs.h
<<_ACEOF
32318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32328 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
32330 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32331 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32333 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32334 echo $ECHO_N "(cached) $ECHO_C" >&6
32336 cat >conftest.
$ac_ext <<_ACEOF
32339 cat confdefs.h
>>conftest.
$ac_ext
32340 cat >>conftest.
$ac_ext <<_ACEOF
32341 /* end confdefs.h. */
32342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32344 #define $ac_func innocuous_$ac_func
32346 /* System header to define __stub macros and hopefully few prototypes,
32347 which can conflict with char $ac_func (); below.
32348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32349 <limits.h> exists even on freestanding compilers. */
32352 # include <limits.h>
32354 # include <assert.h>
32359 /* Override any GCC internal prototype to avoid an error.
32360 Use char because int might match the return type of a GCC
32361 builtin and then its argument prototype would still apply. */
32366 /* The GNU C library defines this for functions which it implements
32367 to always fail with ENOSYS. Some functions are actually named
32368 something starting with __ and the normal name is an alias. */
32369 #if defined __stub_$ac_func || defined __stub___$ac_func
32376 return $ac_func ();
32381 rm -f conftest.
$ac_objext conftest
$ac_exeext
32382 if { (ac_try
="$ac_link"
32383 case "(($ac_try" in
32384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32385 *) ac_try_echo=$ac_try;;
32387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32388 (eval "$ac_link") 2>conftest.er1
32390 grep -v '^ *+' conftest.er1 >conftest.err
32392 cat conftest.err >&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } &&
32395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32396 { (case "(($ac_try" in
32397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32398 *) ac_try_echo
=$ac_try;;
32400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32401 (eval "$ac_try") 2>&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); }; } &&
32405 { ac_try
='test -s conftest$ac_exeext'
32406 { (case "(($ac_try" in
32407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32408 *) ac_try_echo=$ac_try;;
32410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32411 (eval "$ac_try") 2>&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; }; then
32415 eval "$as_ac_var=yes"
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32420 eval "$as_ac_var=no"
32423 rm -f core conftest.err conftest.$ac_objext \
32424 conftest$ac_exeext conftest.$ac_ext
32426 ac_res=`eval echo '${'$as_ac_var'}'`
32427 { echo "$as_me:$LINENO: result: $ac_res" >&5
32428 echo "${ECHO_T}$ac_res" >&6; }
32429 if test `eval echo '${'$as_ac_var'}'` = yes; then
32430 cat >>confdefs.h <<_ACEOF
32431 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
32441 for ac_func in setjmp longjmp sigsetjmp siglongjmp
32443 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
32444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32447 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 cat >conftest.$ac_ext <<_ACEOF
32452 cat confdefs.h >>conftest.$ac_ext
32453 cat >>conftest.$ac_ext <<_ACEOF
32454 /* end confdefs.h. */
32455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32457 #define $ac_func innocuous_$ac_func
32459 /* System header to define __stub macros and hopefully few prototypes,
32460 which can conflict with char $ac_func (); below.
32461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32462 <limits.h> exists even on freestanding compilers. */
32465 # include <limits.h>
32467 # include <assert.h>
32472 /* Override any GCC internal prototype to avoid an error.
32473 Use char because int might match the return type of a GCC
32474 builtin and then its argument prototype would still apply. */
32479 /* The GNU C library defines this for functions which it implements
32480 to always fail with ENOSYS. Some functions are actually named
32481 something starting with __ and the normal name is an alias. */
32482 #if defined __stub_$ac_func || defined __stub___$ac_func
32489 return $ac_func ();
32494 rm -f conftest.$ac_objext conftest$ac_exeext
32495 if { (ac_try="$ac_link"
32496 case "(($ac_try" in
32497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32498 *) ac_try_echo
=$ac_try;;
32500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32501 (eval "$ac_link") 2>conftest.er1
32503 grep -v '^ *+' conftest.er1
>conftest.err
32505 cat conftest.err
>&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } &&
32508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32509 { (case "(($ac_try" in
32510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32511 *) ac_try_echo=$ac_try;;
32513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32514 (eval "$ac_try") 2>&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); }; } &&
32518 { ac_try='test -s conftest$ac_exeext'
32519 { (case "(($ac_try" in
32520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32521 *) ac_try_echo
=$ac_try;;
32523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32524 (eval "$ac_try") 2>&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); }; }; then
32528 eval "$as_ac_var=yes"
32530 echo "$as_me: failed program was:" >&5
32531 sed 's/^/| /' conftest.
$ac_ext >&5
32533 eval "$as_ac_var=no"
32536 rm -f core conftest.err conftest.
$ac_objext \
32537 conftest
$ac_exeext conftest.
$ac_ext
32539 ac_res
=`eval echo '${'$as_ac_var'}'`
32540 { echo "$as_me:$LINENO: result: $ac_res" >&5
32541 echo "${ECHO_T}$ac_res" >&6; }
32542 if test `eval echo '${'$as_ac_var'}'` = yes; then
32543 cat >>confdefs.h
<<_ACEOF
32544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32550 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
32551 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
32552 if test "${llvm_cv_c_printf_a+set}" = set; then
32553 echo $ECHO_N "(cached) $ECHO_C" >&6
32556 ac_cpp
='$CPP $CPPFLAGS'
32557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32561 if test "$cross_compiling" = yes; then
32562 llvmac_cv_c_printf_a
=no
32564 cat >conftest.
$ac_ext <<_ACEOF
32568 cat confdefs.h
>>conftest.
$ac_ext
32569 cat >>conftest.
$ac_ext <<_ACEOF
32570 /* end confdefs.h. */
32573 #include <stdlib.h>
32579 volatile double A, B;
32583 sprintf(Buffer, "%a", A);
32587 if (A != 0x1.999999999999ap-4)
32594 rm -f conftest
$ac_exeext
32595 if { (ac_try
="$ac_link"
32596 case "(($ac_try" in
32597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32598 *) ac_try_echo=$ac_try;;
32600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32601 (eval "$ac_link") 2>&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32605 { (case "(($ac_try" in
32606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32607 *) ac_try_echo
=$ac_try;;
32609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32610 (eval "$ac_try") 2>&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; }; then
32614 llvm_cv_c_printf_a
=yes
32616 echo "$as_me: program exited with status $ac_status" >&5
32617 echo "$as_me: failed program was:" >&5
32618 sed 's/^/| /' conftest.
$ac_ext >&5
32620 ( exit $ac_status )
32621 llvmac_cv_c_printf_a
=no
32623 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32628 ac_cpp
='$CPP $CPPFLAGS'
32629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32634 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
32635 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
32636 if test "$llvm_cv_c_printf_a" = "yes"; then
32638 cat >>confdefs.h
<<\_ACEOF
32639 #define HAVE_PRINTF_A 1
32644 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
32645 # for constant arguments. Useless!
32646 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
32647 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
32648 if test "${ac_cv_working_alloca_h+set}" = set; then
32649 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 cat >conftest.
$ac_ext <<_ACEOF
32654 cat confdefs.h
>>conftest.
$ac_ext
32655 cat >>conftest.
$ac_ext <<_ACEOF
32656 /* end confdefs.h. */
32657 #include <alloca.h>
32661 char *p = (char *) alloca (2 * sizeof (int));
32667 rm -f conftest.
$ac_objext conftest
$ac_exeext
32668 if { (ac_try
="$ac_link"
32669 case "(($ac_try" in
32670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32671 *) ac_try_echo=$ac_try;;
32673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32674 (eval "$ac_link") 2>conftest.er1
32676 grep -v '^ *+' conftest.er1 >conftest.err
32678 cat conftest.err >&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } &&
32681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32682 { (case "(($ac_try" in
32683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32684 *) ac_try_echo
=$ac_try;;
32686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32687 (eval "$ac_try") 2>&5
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); }; } &&
32691 { ac_try
='test -s conftest$ac_exeext'
32692 { (case "(($ac_try" in
32693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32694 *) ac_try_echo=$ac_try;;
32696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32697 (eval "$ac_try") 2>&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); }; }; then
32701 ac_cv_working_alloca_h=yes
32703 echo "$as_me: failed program was:" >&5
32704 sed 's/^/| /' conftest.$ac_ext >&5
32706 ac_cv_working_alloca_h=no
32709 rm -f core conftest.err conftest.$ac_objext \
32710 conftest$ac_exeext conftest.$ac_ext
32712 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
32713 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
32714 if test $ac_cv_working_alloca_h = yes; then
32716 cat >>confdefs.h <<\_ACEOF
32717 #define HAVE_ALLOCA_H 1
32722 { echo "$as_me:$LINENO: checking for alloca" >&5
32723 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
32724 if test "${ac_cv_func_alloca_works+set}" = set; then
32725 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 cat >conftest.$ac_ext <<_ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32734 # define alloca __builtin_alloca
32737 # include <malloc.h>
32738 # define alloca _alloca
32741 # include <alloca.h>
32746 # ifndef alloca /* predefined by HP cc +Olibcalls */
32757 char *p = (char *) alloca (1);
32763 rm -f conftest.$ac_objext conftest$ac_exeext
32764 if { (ac_try="$ac_link"
32765 case "(($ac_try" in
32766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32767 *) ac_try_echo
=$ac_try;;
32769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32770 (eval "$ac_link") 2>conftest.er1
32772 grep -v '^ *+' conftest.er1
>conftest.err
32774 cat conftest.err
>&5
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); } &&
32777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32778 { (case "(($ac_try" in
32779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32780 *) ac_try_echo=$ac_try;;
32782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32783 (eval "$ac_try") 2>&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); }; } &&
32787 { ac_try='test -s conftest$ac_exeext'
32788 { (case "(($ac_try" in
32789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32790 *) ac_try_echo
=$ac_try;;
32792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32793 (eval "$ac_try") 2>&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); }; }; then
32797 ac_cv_func_alloca_works
=yes
32799 echo "$as_me: failed program was:" >&5
32800 sed 's/^/| /' conftest.
$ac_ext >&5
32802 ac_cv_func_alloca_works
=no
32805 rm -f core conftest.err conftest.
$ac_objext \
32806 conftest
$ac_exeext conftest.
$ac_ext
32808 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
32809 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
32811 if test $ac_cv_func_alloca_works = yes; then
32813 cat >>confdefs.h
<<\_ACEOF
32814 #define HAVE_ALLOCA 1
32818 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
32819 # that cause trouble. Some versions do not even contain alloca or
32820 # contain a buggy version. If you still want to use their alloca,
32821 # use ar to extract alloca.o from them instead of compiling alloca.c.
32823 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
32825 cat >>confdefs.h
<<\_ACEOF
32830 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
32831 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
32832 if test "${ac_cv_os_cray+set}" = set; then
32833 echo $ECHO_N "(cached) $ECHO_C" >&6
32835 cat >conftest.
$ac_ext <<_ACEOF
32838 cat confdefs.h
>>conftest.
$ac_ext
32839 cat >>conftest.
$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32841 #if defined CRAY && ! defined CRAY2
32848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32849 $EGREP "webecray" >/dev
/null
2>&1; then
32857 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
32858 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
32859 if test $ac_cv_os_cray = yes; then
32860 for ac_func
in _getb67 GETB67 getb67
; do
32861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32862 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32864 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32865 echo $ECHO_N "(cached) $ECHO_C" >&6
32867 cat >conftest.
$ac_ext <<_ACEOF
32870 cat confdefs.h
>>conftest.
$ac_ext
32871 cat >>conftest.
$ac_ext <<_ACEOF
32872 /* end confdefs.h. */
32873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32875 #define $ac_func innocuous_$ac_func
32877 /* System header to define __stub macros and hopefully few prototypes,
32878 which can conflict with char $ac_func (); below.
32879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32880 <limits.h> exists even on freestanding compilers. */
32883 # include <limits.h>
32885 # include <assert.h>
32890 /* Override any GCC internal prototype to avoid an error.
32891 Use char because int might match the return type of a GCC
32892 builtin and then its argument prototype would still apply. */
32897 /* The GNU C library defines this for functions which it implements
32898 to always fail with ENOSYS. Some functions are actually named
32899 something starting with __ and the normal name is an alias. */
32900 #if defined __stub_$ac_func || defined __stub___$ac_func
32907 return $ac_func ();
32912 rm -f conftest.
$ac_objext conftest
$ac_exeext
32913 if { (ac_try
="$ac_link"
32914 case "(($ac_try" in
32915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32916 *) ac_try_echo=$ac_try;;
32918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32919 (eval "$ac_link") 2>conftest.er1
32921 grep -v '^ *+' conftest.er1 >conftest.err
32923 cat conftest.err >&5
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); } &&
32926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32927 { (case "(($ac_try" in
32928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32929 *) ac_try_echo
=$ac_try;;
32931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32932 (eval "$ac_try") 2>&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; } &&
32936 { ac_try
='test -s conftest$ac_exeext'
32937 { (case "(($ac_try" in
32938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32939 *) ac_try_echo=$ac_try;;
32941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32942 (eval "$ac_try") 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; }; then
32946 eval "$as_ac_var=yes"
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.$ac_ext >&5
32951 eval "$as_ac_var=no"
32954 rm -f core conftest.err conftest.$ac_objext \
32955 conftest$ac_exeext conftest.$ac_ext
32957 ac_res=`eval echo '${'$as_ac_var'}'`
32958 { echo "$as_me:$LINENO: result: $ac_res" >&5
32959 echo "${ECHO_T}$ac_res" >&6; }
32960 if test `eval echo '${'$as_ac_var'}'` = yes; then
32962 cat >>confdefs.h <<_ACEOF
32963 #define CRAY_STACKSEG_END $ac_func
32972 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
32973 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
32974 if test "${ac_cv_c_stack_direction+set}" = set; then
32975 echo $ECHO_N "(cached) $ECHO_C" >&6
32977 if test "$cross_compiling" = yes; then
32978 ac_cv_c_stack_direction=0
32980 cat >conftest.$ac_ext <<_ACEOF
32983 cat confdefs.h >>conftest.$ac_ext
32984 cat >>conftest.$ac_ext <<_ACEOF
32985 /* end confdefs.h. */
32986 $ac_includes_default
32988 find_stack_direction ()
32990 static char *addr = 0;
32995 return find_stack_direction ();
32998 return (&dummy > addr) ? 1 : -1;
33004 return find_stack_direction () < 0;
33007 rm -f conftest$ac_exeext
33008 if { (ac_try="$ac_link"
33009 case "(($ac_try" in
33010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33011 *) ac_try_echo
=$ac_try;;
33013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33014 (eval "$ac_link") 2>&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
33018 { (case "(($ac_try" in
33019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33020 *) ac_try_echo=$ac_try;;
33022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33023 (eval "$ac_try") 2>&5
33025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026 (exit $ac_status); }; }; then
33027 ac_cv_c_stack_direction=1
33029 echo "$as_me: program exited with status $ac_status" >&5
33030 echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.$ac_ext >&5
33033 ( exit $ac_status )
33034 ac_cv_c_stack_direction=-1
33036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33041 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
33042 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
33044 cat >>confdefs.h <<_ACEOF
33045 #define STACK_DIRECTION $ac_cv_c_stack_direction
33052 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
33053 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
33054 if test "${ac_cv_func_rand48+set}" = set; then
33055 echo $ECHO_N "(cached) $ECHO_C" >&6
33058 ac_cpp='$CXXCPP $CPPFLAGS'
33059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33063 cat >conftest.$ac_ext <<_ACEOF
33066 cat confdefs.h >>conftest.$ac_ext
33067 cat >>conftest.$ac_ext <<_ACEOF
33068 /* end confdefs.h. */
33069 #include <stdlib.h>
33073 srand48(0);lrand48();drand48();
33078 rm -f conftest.$ac_objext
33079 if { (ac_try="$ac_compile"
33080 case "(($ac_try" in
33081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33082 *) ac_try_echo
=$ac_try;;
33084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33085 (eval "$ac_compile") 2>conftest.er1
33087 grep -v '^ *+' conftest.er1
>conftest.err
33089 cat conftest.err
>&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); } &&
33092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33093 { (case "(($ac_try" in
33094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33095 *) ac_try_echo=$ac_try;;
33097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33098 (eval "$ac_try") 2>&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; } &&
33102 { ac_try='test -s conftest.$ac_objext'
33103 { (case "(($ac_try" in
33104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33105 *) ac_try_echo
=$ac_try;;
33107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33108 (eval "$ac_try") 2>&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; }; then
33112 ac_cv_func_rand48
=yes
33114 echo "$as_me: failed program was:" >&5
33115 sed 's/^/| /' conftest.
$ac_ext >&5
33117 ac_cv_func_rand48
=no
33120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33122 ac_cpp
='$CPP $CPPFLAGS'
33123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33128 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
33129 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
33131 if test "$ac_cv_func_rand48" = "yes" ; then
33133 cat >>confdefs.h
<<\_ACEOF
33134 #define HAVE_RAND48 1
33140 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
33141 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
33142 if test "${ac_cv_cxx_namespaces+set}" = set; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33146 ac_cpp
='$CXXCPP $CPPFLAGS'
33147 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33148 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33149 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33151 cat >conftest.
$ac_ext <<_ACEOF
33154 cat confdefs.h
>>conftest.
$ac_ext
33155 cat >>conftest.
$ac_ext <<_ACEOF
33156 /* end confdefs.h. */
33157 namespace Outer { namespace Inner { int i = 0; }}
33161 using namespace Outer::Inner; return i;
33166 rm -f conftest.
$ac_objext
33167 if { (ac_try
="$ac_compile"
33168 case "(($ac_try" in
33169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33170 *) ac_try_echo=$ac_try;;
33172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33173 (eval "$ac_compile") 2>conftest.er1
33175 grep -v '^ *+' conftest.er1 >conftest.err
33177 cat conftest.err >&5
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); } &&
33180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33181 { (case "(($ac_try" in
33182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33183 *) ac_try_echo
=$ac_try;;
33185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33186 (eval "$ac_try") 2>&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; } &&
33190 { ac_try
='test -s conftest.$ac_objext'
33191 { (case "(($ac_try" in
33192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33193 *) ac_try_echo=$ac_try;;
33195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33196 (eval "$ac_try") 2>&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; }; then
33200 ac_cv_cxx_namespaces=yes
33202 echo "$as_me: failed program was:" >&5
33203 sed 's/^/| /' conftest.$ac_ext >&5
33205 ac_cv_cxx_namespaces=no
33208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33210 ac_cpp='$CPP $CPPFLAGS'
33211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33217 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
33218 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
33219 if test "$ac_cv_cxx_namespaces" = yes; then
33221 cat >>confdefs.h <<\_ACEOF
33222 #define HAVE_NAMESPACES
33227 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
33228 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
33229 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
33230 echo $ECHO_N "(cached) $ECHO_C" >&6
33234 ac_cpp='$CXXCPP $CPPFLAGS'
33235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33239 cat >conftest.$ac_ext <<_ACEOF
33242 cat confdefs.h >>conftest.$ac_ext
33243 cat >>conftest.$ac_ext <<_ACEOF
33244 /* end confdefs.h. */
33245 #include <iterator>
33246 #ifdef HAVE_NAMESPACES
33247 using namespace std;
33252 iterator<int,int,int> t; return 0;
33257 rm -f conftest.$ac_objext
33258 if { (ac_try="$ac_compile"
33259 case "(($ac_try" in
33260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33261 *) ac_try_echo
=$ac_try;;
33263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33264 (eval "$ac_compile") 2>conftest.er1
33266 grep -v '^ *+' conftest.er1
>conftest.err
33268 cat conftest.err
>&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); } &&
33271 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33272 { (case "(($ac_try" in
33273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33274 *) ac_try_echo=$ac_try;;
33276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33277 (eval "$ac_try") 2>&5
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; } &&
33281 { ac_try='test -s conftest.$ac_objext'
33282 { (case "(($ac_try" in
33283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33284 *) ac_try_echo
=$ac_try;;
33286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33287 (eval "$ac_try") 2>&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); }; }; then
33291 ac_cv_cxx_have_std_iterator
=yes
33293 echo "$as_me: failed program was:" >&5
33294 sed 's/^/| /' conftest.
$ac_ext >&5
33296 ac_cv_cxx_have_std_iterator
=no
33299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33301 ac_cpp
='$CPP $CPPFLAGS'
33302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33308 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
33309 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
33310 if test "$ac_cv_cxx_have_std_iterator" = yes
33313 cat >>confdefs.h
<<\_ACEOF
33314 #define HAVE_STD_ITERATOR 1
33319 cat >>confdefs.h
<<\_ACEOF
33320 #define HAVE_STD_ITERATOR 0
33325 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
33326 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
33327 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
33328 echo $ECHO_N "(cached) $ECHO_C" >&6
33332 ac_cpp
='$CXXCPP $CPPFLAGS'
33333 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33334 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33335 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33337 cat >conftest.
$ac_ext <<_ACEOF
33340 cat confdefs.h
>>conftest.
$ac_ext
33341 cat >>conftest.
$ac_ext <<_ACEOF
33342 /* end confdefs.h. */
33343 #include <iterator>
33344 #ifdef HAVE_NAMESPACES
33345 using namespace std;
33350 bidirectional_iterator<int,int> t; return 0;
33355 rm -f conftest.
$ac_objext
33356 if { (ac_try
="$ac_compile"
33357 case "(($ac_try" in
33358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33359 *) ac_try_echo=$ac_try;;
33361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33362 (eval "$ac_compile") 2>conftest.er1
33364 grep -v '^ *+' conftest.er1 >conftest.err
33366 cat conftest.err >&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); } &&
33369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33370 { (case "(($ac_try" in
33371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33372 *) ac_try_echo
=$ac_try;;
33374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33375 (eval "$ac_try") 2>&5
33377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378 (exit $ac_status); }; } &&
33379 { ac_try
='test -s conftest.$ac_objext'
33380 { (case "(($ac_try" in
33381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33382 *) ac_try_echo=$ac_try;;
33384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33385 (eval "$ac_try") 2>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; }; then
33389 ac_cv_cxx_have_bi_iterator=yes
33391 echo "$as_me: failed program was:" >&5
33392 sed 's/^/| /' conftest.$ac_ext >&5
33394 ac_cv_cxx_have_bi_iterator=no
33397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33399 ac_cpp='$CPP $CPPFLAGS'
33400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33406 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
33407 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
33408 if test "$ac_cv_cxx_have_bi_iterator" = yes
33411 cat >>confdefs.h <<\_ACEOF
33412 #define HAVE_BI_ITERATOR 1
33417 cat >>confdefs.h <<\_ACEOF
33418 #define HAVE_BI_ITERATOR 0
33423 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
33424 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
33425 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
33426 echo $ECHO_N "(cached) $ECHO_C" >&6
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33435 cat >conftest.$ac_ext <<_ACEOF
33438 cat confdefs.h >>conftest.$ac_ext
33439 cat >>conftest.$ac_ext <<_ACEOF
33440 /* end confdefs.h. */
33441 #include <iterator>
33442 #ifdef HAVE_NAMESPACES
33443 using namespace std;
33448 forward_iterator<int,int> t; return 0;
33453 rm -f conftest.$ac_objext
33454 if { (ac_try="$ac_compile"
33455 case "(($ac_try" in
33456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33457 *) ac_try_echo
=$ac_try;;
33459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33460 (eval "$ac_compile") 2>conftest.er1
33462 grep -v '^ *+' conftest.er1
>conftest.err
33464 cat conftest.err
>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); } &&
33467 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33468 { (case "(($ac_try" in
33469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33470 *) ac_try_echo=$ac_try;;
33472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33473 (eval "$ac_try") 2>&5
33475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476 (exit $ac_status); }; } &&
33477 { ac_try='test -s conftest.$ac_objext'
33478 { (case "(($ac_try" in
33479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33480 *) ac_try_echo
=$ac_try;;
33482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33483 (eval "$ac_try") 2>&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); }; }; then
33487 ac_cv_cxx_have_fwd_iterator
=yes
33489 echo "$as_me: failed program was:" >&5
33490 sed 's/^/| /' conftest.
$ac_ext >&5
33492 ac_cv_cxx_have_fwd_iterator
=no
33495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33497 ac_cpp
='$CPP $CPPFLAGS'
33498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33504 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
33505 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
33506 if test "$ac_cv_cxx_have_fwd_iterator" = yes
33509 cat >>confdefs.h
<<\_ACEOF
33510 #define HAVE_FWD_ITERATOR 1
33515 cat >>confdefs.h
<<\_ACEOF
33516 #define HAVE_FWD_ITERATOR 0
33522 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
33523 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
33524 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
33525 echo $ECHO_N "(cached) $ECHO_C" >&6
33528 ac_cpp
='$CXXCPP $CPPFLAGS'
33529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33533 cat >conftest.
$ac_ext <<_ACEOF
33536 cat confdefs.h
>>conftest.
$ac_ext
33537 cat >>conftest.
$ac_ext <<_ACEOF
33538 /* end confdefs.h. */
33548 rm -f conftest.
$ac_objext
33549 if { (ac_try
="$ac_compile"
33550 case "(($ac_try" in
33551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33552 *) ac_try_echo=$ac_try;;
33554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33555 (eval "$ac_compile") 2>conftest.er1
33557 grep -v '^ *+' conftest.er1 >conftest.err
33559 cat conftest.err >&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); } &&
33562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33563 { (case "(($ac_try" in
33564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33565 *) ac_try_echo
=$ac_try;;
33567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33568 (eval "$ac_try") 2>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; } &&
33572 { ac_try
='test -s conftest.$ac_objext'
33573 { (case "(($ac_try" in
33574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33575 *) ac_try_echo=$ac_try;;
33577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33578 (eval "$ac_try") 2>&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; }; then
33582 ac_cv_func_isnan_in_math_h=yes
33584 echo "$as_me: failed program was:" >&5
33585 sed 's/^/| /' conftest.$ac_ext >&5
33587 ac_cv_func_isnan_in_math_h=no
33590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33592 ac_cpp='$CPP $CPPFLAGS'
33593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33598 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
33599 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
33602 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
33604 cat >>confdefs.h <<\_ACEOF
33605 #define HAVE_ISNAN_IN_MATH_H 1
33610 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
33611 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
33612 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
33613 echo $ECHO_N "(cached) $ECHO_C" >&6
33616 ac_cpp='$CXXCPP $CPPFLAGS'
33617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33621 cat >conftest.$ac_ext <<_ACEOF
33624 cat confdefs.h >>conftest.$ac_ext
33625 cat >>conftest.$ac_ext <<_ACEOF
33626 /* end confdefs.h. */
33636 rm -f conftest.$ac_objext
33637 if { (ac_try="$ac_compile"
33638 case "(($ac_try" in
33639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33640 *) ac_try_echo
=$ac_try;;
33642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33643 (eval "$ac_compile") 2>conftest.er1
33645 grep -v '^ *+' conftest.er1
>conftest.err
33647 cat conftest.err
>&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); } &&
33650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33651 { (case "(($ac_try" in
33652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33653 *) ac_try_echo=$ac_try;;
33655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33656 (eval "$ac_try") 2>&5
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); }; } &&
33660 { ac_try='test -s conftest.$ac_objext'
33661 { (case "(($ac_try" in
33662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33663 *) ac_try_echo
=$ac_try;;
33665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33666 (eval "$ac_try") 2>&5
33668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33669 (exit $ac_status); }; }; then
33670 ac_cv_func_isnan_in_cmath
=yes
33672 echo "$as_me: failed program was:" >&5
33673 sed 's/^/| /' conftest.
$ac_ext >&5
33675 ac_cv_func_isnan_in_cmath
=no
33678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33680 ac_cpp
='$CPP $CPPFLAGS'
33681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33686 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
33687 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
33689 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
33691 cat >>confdefs.h
<<\_ACEOF
33692 #define HAVE_ISNAN_IN_CMATH 1
33697 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
33698 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
33699 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33703 ac_cpp
='$CXXCPP $CPPFLAGS'
33704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33708 cat >conftest.
$ac_ext <<_ACEOF
33711 cat confdefs.h
>>conftest.
$ac_ext
33712 cat >>conftest.
$ac_ext <<_ACEOF
33713 /* end confdefs.h. */
33718 float f; std::isnan(f);
33723 rm -f conftest.
$ac_objext
33724 if { (ac_try
="$ac_compile"
33725 case "(($ac_try" in
33726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33727 *) ac_try_echo=$ac_try;;
33729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33730 (eval "$ac_compile") 2>conftest.er1
33732 grep -v '^ *+' conftest.er1 >conftest.err
33734 cat conftest.err >&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } &&
33737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33738 { (case "(($ac_try" in
33739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33740 *) ac_try_echo
=$ac_try;;
33742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33743 (eval "$ac_try") 2>&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); }; } &&
33747 { ac_try
='test -s conftest.$ac_objext'
33748 { (case "(($ac_try" in
33749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33750 *) ac_try_echo=$ac_try;;
33752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33753 (eval "$ac_try") 2>&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); }; }; then
33757 ac_cv_func_std_isnan_in_cmath=yes
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.$ac_ext >&5
33762 ac_cv_func_std_isnan_in_cmath=no
33765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33767 ac_cpp='$CPP $CPPFLAGS'
33768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33773 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
33774 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
33776 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
33778 cat >>confdefs.h <<\_ACEOF
33779 #define HAVE_STD_ISNAN_IN_CMATH 1
33785 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
33786 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
33787 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
33788 echo $ECHO_N "(cached) $ECHO_C" >&6
33791 ac_cpp='$CXXCPP $CPPFLAGS'
33792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33796 cat >conftest.$ac_ext <<_ACEOF
33799 cat confdefs.h >>conftest.$ac_ext
33800 cat >>conftest.$ac_ext <<_ACEOF
33801 /* end confdefs.h. */
33811 rm -f conftest.$ac_objext
33812 if { (ac_try="$ac_compile"
33813 case "(($ac_try" in
33814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33815 *) ac_try_echo
=$ac_try;;
33817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33818 (eval "$ac_compile") 2>conftest.er1
33820 grep -v '^ *+' conftest.er1
>conftest.err
33822 cat conftest.err
>&5
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); } &&
33825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33826 { (case "(($ac_try" in
33827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33828 *) ac_try_echo=$ac_try;;
33830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33831 (eval "$ac_try") 2>&5
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); }; } &&
33835 { ac_try='test -s conftest.$ac_objext'
33836 { (case "(($ac_try" in
33837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33838 *) ac_try_echo
=$ac_try;;
33840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33841 (eval "$ac_try") 2>&5
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); }; }; then
33845 ac_cv_func_isinf_in_math_h
=yes
33847 echo "$as_me: failed program was:" >&5
33848 sed 's/^/| /' conftest.
$ac_ext >&5
33850 ac_cv_func_isinf_in_math_h
=no
33853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33855 ac_cpp
='$CPP $CPPFLAGS'
33856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33861 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
33862 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
33864 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
33866 cat >>confdefs.h
<<\_ACEOF
33867 #define HAVE_ISINF_IN_MATH_H 1
33872 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
33873 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
33874 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
33875 echo $ECHO_N "(cached) $ECHO_C" >&6
33878 ac_cpp
='$CXXCPP $CPPFLAGS'
33879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33883 cat >conftest.
$ac_ext <<_ACEOF
33886 cat confdefs.h
>>conftest.
$ac_ext
33887 cat >>conftest.
$ac_ext <<_ACEOF
33888 /* end confdefs.h. */
33898 rm -f conftest.
$ac_objext
33899 if { (ac_try
="$ac_compile"
33900 case "(($ac_try" in
33901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33902 *) ac_try_echo=$ac_try;;
33904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33905 (eval "$ac_compile") 2>conftest.er1
33907 grep -v '^ *+' conftest.er1 >conftest.err
33909 cat conftest.err >&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); } &&
33912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33913 { (case "(($ac_try" in
33914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33915 *) ac_try_echo
=$ac_try;;
33917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33918 (eval "$ac_try") 2>&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); }; } &&
33922 { ac_try
='test -s conftest.$ac_objext'
33923 { (case "(($ac_try" in
33924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33925 *) ac_try_echo=$ac_try;;
33927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33928 (eval "$ac_try") 2>&5
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); }; }; then
33932 ac_cv_func_isinf_in_cmath=yes
33934 echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33937 ac_cv_func_isinf_in_cmath=no
33940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33942 ac_cpp='$CPP $CPPFLAGS'
33943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33948 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
33949 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
33951 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
33953 cat >>confdefs.h <<\_ACEOF
33954 #define HAVE_ISINF_IN_CMATH 1
33959 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
33960 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
33961 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
33962 echo $ECHO_N "(cached) $ECHO_C" >&6
33965 ac_cpp='$CXXCPP $CPPFLAGS'
33966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33970 cat >conftest.$ac_ext <<_ACEOF
33973 cat confdefs.h >>conftest.$ac_ext
33974 cat >>conftest.$ac_ext <<_ACEOF
33975 /* end confdefs.h. */
33980 float f; std::isinf(f)}
33985 rm -f conftest.$ac_objext
33986 if { (ac_try="$ac_compile"
33987 case "(($ac_try" in
33988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33989 *) ac_try_echo
=$ac_try;;
33991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33992 (eval "$ac_compile") 2>conftest.er1
33994 grep -v '^ *+' conftest.er1
>conftest.err
33996 cat conftest.err
>&5
33997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33998 (exit $ac_status); } &&
33999 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34000 { (case "(($ac_try" in
34001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34002 *) ac_try_echo=$ac_try;;
34004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34005 (eval "$ac_try") 2>&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); }; } &&
34009 { ac_try='test -s conftest.$ac_objext'
34010 { (case "(($ac_try" in
34011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34012 *) ac_try_echo
=$ac_try;;
34014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34015 (eval "$ac_try") 2>&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; }; then
34019 ac_cv_func_std_isinf_in_cmath
=yes
34021 echo "$as_me: failed program was:" >&5
34022 sed 's/^/| /' conftest.
$ac_ext >&5
34024 ac_cv_func_std_isinf_in_cmath
=no
34027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34029 ac_cpp
='$CPP $CPPFLAGS'
34030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34035 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
34036 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
34038 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
34040 cat >>confdefs.h
<<\_ACEOF
34041 #define HAVE_STD_ISINF_IN_CMATH 1
34046 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
34047 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
34048 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
34049 echo $ECHO_N "(cached) $ECHO_C" >&6
34052 ac_cpp
='$CXXCPP $CPPFLAGS'
34053 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34057 cat >conftest.
$ac_ext <<_ACEOF
34060 cat confdefs.h
>>conftest.
$ac_ext
34061 cat >>conftest.
$ac_ext <<_ACEOF
34062 /* end confdefs.h. */
34063 #include <ieeefp.h>
34067 float f; finite(f);
34072 rm -f conftest.
$ac_objext
34073 if { (ac_try
="$ac_compile"
34074 case "(($ac_try" in
34075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34076 *) ac_try_echo=$ac_try;;
34078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34079 (eval "$ac_compile") 2>conftest.er1
34081 grep -v '^ *+' conftest.er1 >conftest.err
34083 cat conftest.err >&5
34084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34085 (exit $ac_status); } &&
34086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34087 { (case "(($ac_try" in
34088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34089 *) ac_try_echo
=$ac_try;;
34091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34092 (eval "$ac_try") 2>&5
34094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34095 (exit $ac_status); }; } &&
34096 { ac_try
='test -s conftest.$ac_objext'
34097 { (case "(($ac_try" in
34098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34099 *) ac_try_echo=$ac_try;;
34101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34102 (eval "$ac_try") 2>&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); }; }; then
34106 ac_cv_func_finite_in_ieeefp_h=yes
34108 echo "$as_me: failed program was:" >&5
34109 sed 's/^/| /' conftest.$ac_ext >&5
34111 ac_cv_func_finite_in_ieeefp_h=no
34114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34116 ac_cpp='$CPP $CPPFLAGS'
34117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34122 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
34123 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
34125 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
34127 cat >>confdefs.h <<\_ACEOF
34128 #define HAVE_FINITE_IN_IEEEFP_H 1
34135 if test "$llvm_cv_platform_type" = "Unix" ; then
34138 for ac_header in stdlib.h unistd.h
34140 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
34141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34142 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34147 ac_res=`eval echo '${'$as_ac_Header'}'`
34148 { echo "$as_me:$LINENO: result: $ac_res" >&5
34149 echo "${ECHO_T}$ac_res" >&6; }
34151 # Is the header compilable?
34152 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
34153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
34154 cat >conftest.$ac_ext <<_ACEOF
34157 cat confdefs.h >>conftest.$ac_ext
34158 cat >>conftest.$ac_ext <<_ACEOF
34159 /* end confdefs.h. */
34160 $ac_includes_default
34161 #include <$ac_header>
34163 rm -f conftest.$ac_objext
34164 if { (ac_try="$ac_compile"
34165 case "(($ac_try" in
34166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34167 *) ac_try_echo
=$ac_try;;
34169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34170 (eval "$ac_compile") 2>conftest.er1
34172 grep -v '^ *+' conftest.er1
>conftest.err
34174 cat conftest.err
>&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); } &&
34177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34178 { (case "(($ac_try" in
34179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34180 *) ac_try_echo=$ac_try;;
34182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34183 (eval "$ac_try") 2>&5
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); }; } &&
34187 { ac_try='test -s conftest.$ac_objext'
34188 { (case "(($ac_try" in
34189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34190 *) ac_try_echo
=$ac_try;;
34192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34193 (eval "$ac_try") 2>&5
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); }; }; then
34197 ac_header_compiler
=yes
34199 echo "$as_me: failed program was:" >&5
34200 sed 's/^/| /' conftest.
$ac_ext >&5
34202 ac_header_compiler
=no
34205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34206 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34207 echo "${ECHO_T}$ac_header_compiler" >&6; }
34209 # Is the header present?
34210 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
34211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
34212 cat >conftest.
$ac_ext <<_ACEOF
34215 cat confdefs.h
>>conftest.
$ac_ext
34216 cat >>conftest.
$ac_ext <<_ACEOF
34217 /* end confdefs.h. */
34218 #include <$ac_header>
34220 if { (ac_try
="$ac_cpp conftest.$ac_ext"
34221 case "(($ac_try" in
34222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34223 *) ac_try_echo=$ac_try;;
34225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34228 grep -v '^ *+' conftest.er1 >conftest.err
34230 cat conftest.err >&5
34231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232 (exit $ac_status); } >/dev/null; then
34233 if test -s conftest.err; then
34234 ac_cpp_err=$ac_c_preproc_warn_flag
34235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34242 if test -z "$ac_cpp_err"; then
34243 ac_header_preproc=yes
34245 echo "$as_me: failed program was:" >&5
34246 sed 's/^/| /' conftest.$ac_ext >&5
34248 ac_header_preproc=no
34251 rm -f conftest.err conftest.$ac_ext
34252 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34253 echo "${ECHO_T}$ac_header_preproc" >&6; }
34255 # So? What about this header?
34256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34261 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34262 ac_header_preproc=yes
34265 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34266 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34267 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34268 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34269 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34270 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34271 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34272 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34275 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34276 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34278 ## ----------------------------------- ##
34279 ## Report this to llvmbugs@cs.uiuc.edu ##
34280 ## ----------------------------------- ##
34282 ) | sed "s/^/$as_me: WARNING: /" >&2
34285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34288 echo $ECHO_N "(cached) $ECHO_C" >&6
34290 eval "$as_ac_Header=\$ac_header_preproc"
34292 ac_res=`eval echo '${'$as_ac_Header'}'`
34293 { echo "$as_me:$LINENO: result: $ac_res" >&5
34294 echo "${ECHO_T}$ac_res" >&6; }
34297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34298 cat >>confdefs.h <<_ACEOF
34299 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
34307 for ac_func in getpagesize
34309 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
34310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34313 echo $ECHO_N "(cached) $ECHO_C" >&6
34315 cat >conftest.$ac_ext <<_ACEOF
34318 cat confdefs.h >>conftest.$ac_ext
34319 cat >>conftest.$ac_ext <<_ACEOF
34320 /* end confdefs.h. */
34321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34323 #define $ac_func innocuous_$ac_func
34325 /* System header to define __stub macros and hopefully few prototypes,
34326 which can conflict with char $ac_func (); below.
34327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34328 <limits.h> exists even on freestanding compilers. */
34331 # include <limits.h>
34333 # include <assert.h>
34338 /* Override any GCC internal prototype to avoid an error.
34339 Use char because int might match the return type of a GCC
34340 builtin and then its argument prototype would still apply. */
34345 /* The GNU C library defines this for functions which it implements
34346 to always fail with ENOSYS. Some functions are actually named
34347 something starting with __ and the normal name is an alias. */
34348 #if defined __stub_$ac_func || defined __stub___$ac_func
34355 return $ac_func ();
34360 rm -f conftest.$ac_objext conftest$ac_exeext
34361 if { (ac_try="$ac_link"
34362 case "(($ac_try" in
34363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34364 *) ac_try_echo
=$ac_try;;
34366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34367 (eval "$ac_link") 2>conftest.er1
34369 grep -v '^ *+' conftest.er1
>conftest.err
34371 cat conftest.err
>&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); } &&
34374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34375 { (case "(($ac_try" in
34376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34377 *) ac_try_echo=$ac_try;;
34379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34380 (eval "$ac_try") 2>&5
34382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34383 (exit $ac_status); }; } &&
34384 { ac_try='test -s conftest$ac_exeext'
34385 { (case "(($ac_try" in
34386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34387 *) ac_try_echo
=$ac_try;;
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_try") 2>&5
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); }; }; then
34394 eval "$as_ac_var=yes"
34396 echo "$as_me: failed program was:" >&5
34397 sed 's/^/| /' conftest.
$ac_ext >&5
34399 eval "$as_ac_var=no"
34402 rm -f core conftest.err conftest.
$ac_objext \
34403 conftest
$ac_exeext conftest.
$ac_ext
34405 ac_res
=`eval echo '${'$as_ac_var'}'`
34406 { echo "$as_me:$LINENO: result: $ac_res" >&5
34407 echo "${ECHO_T}$ac_res" >&6; }
34408 if test `eval echo '${'$as_ac_var'}'` = yes; then
34409 cat >>confdefs.h
<<_ACEOF
34410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34416 { echo "$as_me:$LINENO: checking for working mmap" >&5
34417 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
34418 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
34419 echo $ECHO_N "(cached) $ECHO_C" >&6
34421 if test "$cross_compiling" = yes; then
34422 ac_cv_func_mmap_fixed_mapped
=no
34424 cat >conftest.
$ac_ext <<_ACEOF
34427 cat confdefs.h
>>conftest.
$ac_ext
34428 cat >>conftest.
$ac_ext <<_ACEOF
34429 /* end confdefs.h. */
34430 $ac_includes_default
34431 /* malloc might have been renamed as rpl_malloc. */
34434 /* Thanks to Mike Haertel and Jim Avera for this test.
34435 Here is a matrix of mmap possibilities:
34436 mmap private not fixed
34437 mmap private fixed at somewhere currently unmapped
34438 mmap private fixed at somewhere already mapped
34439 mmap shared not fixed
34440 mmap shared fixed at somewhere currently unmapped
34441 mmap shared fixed at somewhere already mapped
34442 For private mappings, we should verify that changes cannot be read()
34443 back from the file, nor mmap's back from the file at a different
34444 address. (There have been systems where private was not correctly
34445 implemented like the infamous i386 svr4.0, and systems where the
34446 VM page cache was not coherent with the file system buffer cache
34447 like early versions of FreeBSD and possibly contemporary NetBSD.)
34448 For shared mappings, we should conversely verify that changes get
34449 propagated back to all the places they're supposed to be.
34451 Grep wants private fixed already mapped.
34452 The main things grep needs to know about mmap are:
34453 * does it exist and is it safe to write into the mmap'd area
34454 * how to use it (BSD variants) */
34457 #include <sys/mman.h>
34459 #if !STDC_HEADERS && !HAVE_STDLIB_H
34463 /* This mess was copied from the GNU getpagesize.h. */
34464 #if !HAVE_GETPAGESIZE
34465 /* Assume that all systems that can run configure have sys/param.h. */
34466 # if !HAVE_SYS_PARAM_H
34467 # define HAVE_SYS_PARAM_H 1
34470 # ifdef _SC_PAGESIZE
34471 # define getpagesize() sysconf(_SC_PAGESIZE)
34472 # else /* no _SC_PAGESIZE */
34473 # if HAVE_SYS_PARAM_H
34474 # include <sys/param.h>
34475 # ifdef EXEC_PAGESIZE
34476 # define getpagesize() EXEC_PAGESIZE
34477 # else /* no EXEC_PAGESIZE */
34479 # define getpagesize() NBPG * CLSIZE
34482 # endif /* no CLSIZE */
34483 # else /* no NBPG */
34485 # define getpagesize() NBPC
34486 # else /* no NBPC */
34488 # define getpagesize() PAGESIZE
34489 # endif /* PAGESIZE */
34490 # endif /* no NBPC */
34491 # endif /* no NBPG */
34492 # endif /* no EXEC_PAGESIZE */
34493 # else /* no HAVE_SYS_PARAM_H */
34494 # define getpagesize() 8192 /* punt totally */
34495 # endif /* no HAVE_SYS_PARAM_H */
34496 # endif /* no _SC_PAGESIZE */
34498 #endif /* no HAVE_GETPAGESIZE */
34503 char *data, *data2, *data3;
34507 pagesize = getpagesize ();
34509 /* First, make a file with some known garbage in it. */
34510 data = (char *) malloc (pagesize);
34513 for (i = 0; i < pagesize; ++i)
34514 *(data + i) = rand ();
34516 fd = creat ("conftest.mmap", 0600);
34519 if (write (fd, data, pagesize) != pagesize)
34523 /* Next, try to mmap the file at a fixed address which already has
34524 something else allocated at it. If we can, also make sure that
34525 we see the same garbage. */
34526 fd = open ("conftest.mmap", O_RDWR);
34529 data2 = (char *) malloc (2 * pagesize);
34532 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
34533 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
34534 MAP_PRIVATE | MAP_FIXED, fd, 0L))
34536 for (i = 0; i < pagesize; ++i)
34537 if (*(data + i) != *(data2 + i))
34540 /* Finally, make sure that changes to the mapped area do not
34541 percolate back to the file as seen by read(). (This is a bug on
34542 some variants of i386 svr4.0.) */
34543 for (i = 0; i < pagesize; ++i)
34544 *(data2 + i) = *(data2 + i) + 1;
34545 data3 = (char *) malloc (pagesize);
34548 if (read (fd, data3, pagesize) != pagesize)
34550 for (i = 0; i < pagesize; ++i)
34551 if (*(data + i) != *(data3 + i))
34557 rm -f conftest
$ac_exeext
34558 if { (ac_try
="$ac_link"
34559 case "(($ac_try" in
34560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34561 *) ac_try_echo=$ac_try;;
34563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34564 (eval "$ac_link") 2>&5
34566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34568 { (case "(($ac_try" in
34569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34570 *) ac_try_echo
=$ac_try;;
34572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34573 (eval "$ac_try") 2>&5
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); }; }; then
34577 ac_cv_func_mmap_fixed_mapped
=yes
34579 echo "$as_me: program exited with status $ac_status" >&5
34580 echo "$as_me: failed program was:" >&5
34581 sed 's/^/| /' conftest.
$ac_ext >&5
34583 ( exit $ac_status )
34584 ac_cv_func_mmap_fixed_mapped
=no
34586 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34591 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
34592 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
34593 if test $ac_cv_func_mmap_fixed_mapped = yes; then
34595 cat >>confdefs.h
<<\_ACEOF
34596 #define HAVE_MMAP 1
34600 rm -f conftest.mmap
34602 { echo "$as_me:$LINENO: checking for mmap of files" >&5
34603 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
34604 if test "${ac_cv_func_mmap_file+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34608 ac_cpp
='$CPP $CPPFLAGS'
34609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34613 if test "$cross_compiling" = yes; then
34614 ac_cv_func_mmap_file
=no
34616 cat >conftest.
$ac_ext <<_ACEOF
34620 cat confdefs.h
>>conftest.
$ac_ext
34621 cat >>conftest.
$ac_ext <<_ACEOF
34622 /* end confdefs.h. */
34624 #include <sys/types.h>
34625 #include <sys/mman.h>
34633 fd = creat ("foo",0777);
34634 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
34636 return (fd != (int) MAP_FAILED);
34641 rm -f conftest
$ac_exeext
34642 if { (ac_try
="$ac_link"
34643 case "(($ac_try" in
34644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34645 *) ac_try_echo=$ac_try;;
34647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34648 (eval "$ac_link") 2>&5
34650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34652 { (case "(($ac_try" in
34653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34654 *) ac_try_echo
=$ac_try;;
34656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34657 (eval "$ac_try") 2>&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; }; then
34661 ac_cv_func_mmap_file
=yes
34663 echo "$as_me: program exited with status $ac_status" >&5
34664 echo "$as_me: failed program was:" >&5
34665 sed 's/^/| /' conftest.
$ac_ext >&5
34667 ( exit $ac_status )
34668 ac_cv_func_mmap_file
=no
34670 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34675 ac_cpp
='$CPP $CPPFLAGS'
34676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34682 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
34683 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
34684 if test "$ac_cv_func_mmap_file" = yes; then
34686 cat >>confdefs.h
<<\_ACEOF
34687 #define HAVE_MMAP_FILE
34694 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
34695 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
34696 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
34697 echo $ECHO_N "(cached) $ECHO_C" >&6
34699 if test "$llvm_cv_os_type" = "Interix" ; then
34700 ac_cv_need_dev_zero_for_mmap
=yes
34702 ac_cv_need_dev_zero_for_mmap
=no
34706 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
34707 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
34708 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
34710 cat >>confdefs.h
<<\_ACEOF
34711 #define NEED_DEV_ZERO_FOR_MMAP 1
34716 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
34718 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
34719 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
34721 if test "$ac_cv_func_mmap_file" = "no"
34723 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
34724 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
34728 { echo "$as_me:$LINENO: checking for GCC atomic builtins" >&5
34729 echo $ECHO_N "checking for GCC atomic builtins... $ECHO_C" >&6; }
34730 cat >conftest.
$ac_ext <<_ACEOF
34733 cat confdefs.h
>>conftest.
$ac_ext
34734 cat >>conftest.
$ac_ext <<_ACEOF
34735 /* end confdefs.h. */
34737 volatile unsigned long val = 1;
34738 __sync_synchronize();
34739 __sync_val_compare_and_swap(&val, 1, 0);
34740 __sync_add_and_fetch(&val, 1);
34741 __sync_sub_and_fetch(&val, 1);
34746 rm -f conftest.
$ac_objext conftest
$ac_exeext
34747 if { (ac_try
="$ac_link"
34748 case "(($ac_try" in
34749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34750 *) ac_try_echo=$ac_try;;
34752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34753 (eval "$ac_link") 2>conftest.er1
34755 grep -v '^ *+' conftest.er1 >conftest.err
34757 cat conftest.err >&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); } &&
34760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34761 { (case "(($ac_try" in
34762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34763 *) ac_try_echo
=$ac_try;;
34765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34766 (eval "$ac_try") 2>&5
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); }; } &&
34770 { ac_try
='test -s conftest$ac_exeext'
34771 { (case "(($ac_try" in
34772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34773 *) ac_try_echo=$ac_try;;
34775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34776 (eval "$ac_try") 2>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; }; then
34780 { echo "$as_me:$LINENO: result: yes" >&5
34781 echo "${ECHO_T}yes" >&6; }
34783 cat >>confdefs.h <<\_ACEOF
34784 #define LLVM_MULTITHREADED 1
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.$ac_ext >&5
34791 { echo "$as_me:$LINENO: result: no" >&5
34792 echo "${ECHO_T}no" >&6; }
34794 cat >>confdefs.h <<\_ACEOF
34795 #define LLVM_MULTITHREADED 0
34798 { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5
34799 echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
34802 rm -f core conftest.err conftest.$ac_objext \
34803 conftest$ac_exeext conftest.$ac_ext
34807 if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
34808 { echo "$as_me:$LINENO: checking for 32-bit userspace on 64-bit system" >&5
34809 echo $ECHO_N "checking for 32-bit userspace on 64-bit system... $ECHO_C" >&6; }
34810 if test "${llvm_cv_linux_mixed+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 ac_cpp='$CPP $CPPFLAGS'
34815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34819 cat >conftest.$ac_ext <<_ACEOF
34822 cat confdefs.h >>conftest.$ac_ext
34823 cat >>conftest.$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34826 error: Not x86-64 even if uname says so!
34837 rm -f conftest.$ac_objext
34838 if { (ac_try="$ac_compile"
34839 case "(($ac_try" in
34840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34841 *) ac_try_echo
=$ac_try;;
34843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34844 (eval "$ac_compile") 2>conftest.er1
34846 grep -v '^ *+' conftest.er1
>conftest.err
34848 cat conftest.err
>&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } &&
34851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34852 { (case "(($ac_try" in
34853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34854 *) ac_try_echo=$ac_try;;
34856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34857 (eval "$ac_try") 2>&5
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); }; } &&
34861 { ac_try='test -s conftest.$ac_objext'
34862 { (case "(($ac_try" in
34863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34864 *) ac_try_echo
=$ac_try;;
34866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34867 (eval "$ac_try") 2>&5
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); }; }; then
34871 llvm_cv_linux_mixed
=no
34873 echo "$as_me: failed program was:" >&5
34874 sed 's/^/| /' conftest.
$ac_ext >&5
34876 llvm_cv_linux_mixed
=yes
34879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34881 ac_cpp
='$CPP $CPPFLAGS'
34882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34888 { echo "$as_me:$LINENO: result: $llvm_cv_linux_mixed" >&5
34889 echo "${ECHO_T}$llvm_cv_linux_mixed" >&6; }
34891 if test "$llvm_cv_linux_mixed" = "yes"; then
34892 llvm_cv_target_arch
="x86"
34898 for ac_func
in __dso_handle
34900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34903 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34906 cat >conftest.
$ac_ext <<_ACEOF
34909 cat confdefs.h
>>conftest.
$ac_ext
34910 cat >>conftest.
$ac_ext <<_ACEOF
34911 /* end confdefs.h. */
34912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34914 #define $ac_func innocuous_$ac_func
34916 /* System header to define __stub macros and hopefully few prototypes,
34917 which can conflict with char $ac_func (); below.
34918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34919 <limits.h> exists even on freestanding compilers. */
34922 # include <limits.h>
34924 # include <assert.h>
34929 /* Override any GCC internal prototype to avoid an error.
34930 Use char because int might match the return type of a GCC
34931 builtin and then its argument prototype would still apply. */
34936 /* The GNU C library defines this for functions which it implements
34937 to always fail with ENOSYS. Some functions are actually named
34938 something starting with __ and the normal name is an alias. */
34939 #if defined __stub_$ac_func || defined __stub___$ac_func
34946 return $ac_func ();
34951 rm -f conftest.
$ac_objext conftest
$ac_exeext
34952 if { (ac_try
="$ac_link"
34953 case "(($ac_try" in
34954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34955 *) ac_try_echo=$ac_try;;
34957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34958 (eval "$ac_link") 2>conftest.er1
34960 grep -v '^ *+' conftest.er1 >conftest.err
34962 cat conftest.err >&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); } &&
34965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34966 { (case "(($ac_try" in
34967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34968 *) ac_try_echo
=$ac_try;;
34970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34971 (eval "$ac_try") 2>&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); }; } &&
34975 { ac_try
='test -s conftest$ac_exeext'
34976 { (case "(($ac_try" in
34977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34978 *) ac_try_echo=$ac_try;;
34980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34981 (eval "$ac_try") 2>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; }; then
34985 eval "$as_ac_var=yes"
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.$ac_ext >&5
34990 eval "$as_ac_var=no"
34993 rm -f core conftest.err conftest.$ac_objext \
34994 conftest$ac_exeext conftest.$ac_ext
34996 ac_res=`eval echo '${'$as_ac_var'}'`
34997 { echo "$as_me:$LINENO: result: $ac_res" >&5
34998 echo "${ECHO_T}$ac_res" >&6; }
34999 if test `eval echo '${'$as_ac_var'}'` = yes; then
35000 cat >>confdefs.h <<_ACEOF
35001 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
35008 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
35009 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
35010 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 llvm_cv_llvmgcc_sanity="no"
35014 if test -x "$LLVMGCC" ; then
35015 cp /dev/null conftest.c
35016 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
35017 grep 'target datalayout =' > /dev/null 2>&1
35018 if test $? -eq 0 ; then
35019 llvm_cv_llvmgcc_sanity="yes"
35024 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
35025 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
35027 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
35028 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
35029 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
35030 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1
`
35031 LLVMCC1=$llvmcc1path
35033 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus
`
35034 LLVMCC1PLUS=$llvmcc1pluspath
35036 llvmgccdir=`echo "$llvmcc1path" |
sed 's,/libexec/.*,,'`
35037 LLVMGCCDIR=$llvmgccdir
35039 llvmgcclibexec=`echo "$llvmcc1path" |
sed 's,/cc1,,'`
35040 LLVMGCCLIBEXEC=$llvmgcclibexec
35042 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 |
sed 's/^\([0-9.]*\).*/\1/'`
35043 llvmgccmajvers=`echo $llvmgccversion |
sed 's/^\([0-9]\).*/\1/'`
35044 LLVMGCC_VERSION=$llvmgccversion
35046 LLVMGCC_MAJVERS=$llvmgccmajvers
35048 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 |
grep '^Configured with:' |
sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
35049 LLVMGCC_LANGS=$llvmgcclangs
35051 { echo "$as_me:$LINENO: result: ok" >&5
35052 echo "${ECHO_T}ok" >&6; }
35055 SHLIBEXT=$libltdl_cv_shlibext
35058 # Translate the various configuration directories and other basic
35059 # information into substitutions that will end up in Makefile.config.in
35060 # that these configured values can be used by the makefiles
35061 if test "${prefix}" = "NONE" ; then
35062 prefix="/usr/local"
35064 eval LLVM_PREFIX="${prefix}";
35065 eval LLVM_BINDIR="${prefix}/bin";
35066 eval LLVM_LIBDIR="${prefix}/lib";
35067 eval LLVM_DATADIR="${prefix}/share/llvm";
35068 eval LLVM_DOCSDIR="${prefix}/docs/llvm";
35069 eval LLVM_ETCDIR="${prefix}/etc/llvm";
35070 eval LLVM_INCLUDEDIR="${prefix}/include";
35071 eval LLVM_INFODIR="${prefix}/info";
35072 eval LLVM_MANDIR="${prefix}/man";
35073 LLVM_CONFIGTIME=`date`
35085 # Place the various directores into the config.h file as #defines so that we
35086 # can know about the installation paths within LLVM.
35088 cat >>confdefs.h <<_ACEOF
35089 #define LLVM_PREFIX "$LLVM_PREFIX"
35093 cat >>confdefs.h <<_ACEOF
35094 #define LLVM_BINDIR "$LLVM_BINDIR"
35098 cat >>confdefs.h <<_ACEOF
35099 #define LLVM_LIBDIR "$LLVM_LIBDIR"
35103 cat >>confdefs.h <<_ACEOF
35104 #define LLVM_DATADIR "$LLVM_DATADIR"
35108 cat >>confdefs.h <<_ACEOF
35109 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
35113 cat >>confdefs.h <<_ACEOF
35114 #define LLVM_ETCDIR "$LLVM_ETCDIR"
35118 cat >>confdefs.h <<_ACEOF
35119 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
35123 cat >>confdefs.h <<_ACEOF
35124 #define LLVM_INFODIR "$LLVM_INFODIR"
35128 cat >>confdefs.h <<_ACEOF
35129 #define LLVM_MANDIR "$LLVM_MANDIR"
35133 cat >>confdefs.h <<_ACEOF
35134 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
35138 cat >>confdefs.h <<_ACEOF
35139 #define LLVM_HOSTTRIPLE "$host"
35143 # Determine which bindings to build.
35144 if test "$BINDINGS_TO_BUILD" = auto ; then
35145 BINDINGS_TO_BUILD=""
35146 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
35147 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
35150 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
35153 # This isn't really configurey, but it avoids having to repeat the list in
35158 # Do any work necessary to ensure that bindings have what they need.
35159 binding_prereqs_failed=0
35160 for a_binding in $BINDINGS_TO_BUILD ; do
35161 case "$a_binding" in
35163 if test "x$OCAMLC" = x ; then
35164 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
35165 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
35166 binding_prereqs_failed=1
35168 if test "x$OCAMLDEP" = x ; then
35169 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
35170 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
35171 binding_prereqs_failed=1
35173 if test "x$OCAMLOPT" = x ; then
35174 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
35175 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
35177 if test "x$with_ocaml_libdir" != xauto ; then
35178 OCAML_LIBDIR=$with_ocaml_libdir
35181 ocaml_stdlib="`"$OCAMLC" -where`"
35182 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
35184 # ocaml stdlib is beneath our prefix; use stdlib
35185 OCAML_LIBDIR=$ocaml_stdlib
35188 # ocaml stdlib is outside our prefix; use libdir/ocaml
35189 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
35196 if test "$binding_prereqs_failed" = 1 ; then
35197 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
35198 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
35199 { (exit 1); exit 1; }; }
35202 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
35203 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
35204 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
35205 echo $ECHO_N "(cached) $ECHO_C" >&6
35208 ac_cpp='$CXXCPP $CPPFLAGS'
35209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35213 oldcxxflags="$CXXFLAGS"
35214 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
35215 cat >conftest.$ac_ext <<_ACEOF
35218 cat confdefs.h >>conftest.$ac_ext
35219 cat >>conftest.$ac_ext <<_ACEOF
35220 /* end confdefs.h. */
35230 rm -f conftest.$ac_objext
35231 if { (ac_try="$ac_compile"
35232 case "(($ac_try" in
35233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
35234 *) ac_try_echo
=$ac_try;;
35236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35237 (eval "$ac_compile") 2>conftest.er1
35239 grep -v '^ *+' conftest.er1
>conftest.err
35241 cat conftest.err
>&5
35242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35243 (exit $ac_status); } &&
35244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35245 { (case "(($ac_try" in
35246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
35247 *) ac_try_echo=$ac_try;;
35249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35250 (eval "$ac_try") 2>&5
35252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35253 (exit $ac_status); }; } &&
35254 { ac_try='test -s conftest.$ac_objext'
35255 { (case "(($ac_try" in
35256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
35257 *) ac_try_echo
=$ac_try;;
35259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35260 (eval "$ac_try") 2>&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); }; }; then
35264 llvm_cv_cxx_visibility_inlines_hidden
=yes
35266 echo "$as_me: failed program was:" >&5
35267 sed 's/^/| /' conftest.
$ac_ext >&5
35269 llvm_cv_cxx_visibility_inlines_hidden
=no
35272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35273 CXXFLAGS
="$oldcxxflags"
35275 ac_cpp
='$CPP $CPPFLAGS'
35276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35282 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
35283 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
35284 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
35285 ENABLE_VISIBILITY_INLINES_HIDDEN
=1
35288 ENABLE_VISIBILITY_INLINES_HIDDEN
=0
35293 if test "$llvm_cv_link_use_r" = "yes" ; then
35300 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
35301 RDYNAMIC
="-Wl,-export-dynamic"
35308 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
35310 ac_config_files
="$ac_config_files include/llvm/Config/Targets.def"
35312 ac_config_files
="$ac_config_files include/llvm/Config/AsmPrinters.def"
35314 ac_config_files
="$ac_config_files include/llvm/Config/AsmParsers.def"
35316 ac_config_headers
="$ac_config_headers include/llvm/System/DataTypes.h"
35319 ac_config_files
="$ac_config_files Makefile.config"
35322 ac_config_files
="$ac_config_files llvm.spec"
35325 ac_config_files
="$ac_config_files docs/doxygen.cfg"
35328 ac_config_files
="$ac_config_files tools/llvmc/plugins/Base/Base.td"
35331 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
35334 ac_config_commands
="$ac_config_commands setup"
35336 ac_config_commands
="$ac_config_commands Makefile"
35339 ac_config_commands
="$ac_config_commands Makefile.common"
35342 ac_config_commands
="$ac_config_commands examples/Makefile"
35345 ac_config_commands
="$ac_config_commands lib/Makefile"
35348 ac_config_commands
="$ac_config_commands runtime/Makefile"
35351 ac_config_commands
="$ac_config_commands test/Makefile"
35354 ac_config_commands
="$ac_config_commands test/Makefile.tests"
35357 ac_config_commands
="$ac_config_commands unittests/Makefile"
35360 ac_config_commands
="$ac_config_commands tools/Makefile"
35363 ac_config_commands
="$ac_config_commands utils/Makefile"
35366 ac_config_commands
="$ac_config_commands projects/Makefile"
35369 ac_config_commands
="$ac_config_commands bindings/Makefile"
35372 ac_config_commands
="$ac_config_commands bindings/ocaml/Makefile.ocaml"
35376 cat >confcache
<<\_ACEOF
35377 # This file is a shell script that caches the results of configure
35378 # tests run on this system so they can be shared between configure
35379 # scripts and configure runs, see configure's option --config-cache.
35380 # It is not useful on other systems. If it contains results you don't
35381 # want to keep, you may remove or edit it.
35383 # config.status only pays attention to the cache file if you give it
35384 # the --recheck option to rerun configure.
35386 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35387 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35388 # following values.
35392 # The following way of writing the cache mishandles newlines in values,
35393 # but we know of no workaround that is simple, portable, and efficient.
35394 # So, we kill variables containing newlines.
35395 # Ultrix sh set writes to stderr and can't be redirected directly,
35396 # and sets the high bit in the cache file unless we assign to the vars.
35398 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
35399 eval ac_val
=\$
$ac_var
35403 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
35404 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
35407 _ | IFS | as_nl
) ;; #(
35408 *) $as_unset $ac_var ;;
35414 case $as_nl`(ac_space=' '; set) 2>&1` in #(
35415 *${as_nl}ac_space
=\
*)
35416 # `set' does not quote correctly, so add quotes (double-quote
35417 # substitution turns \\\\ into \\, and sed turns \\ into \).
35420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35423 # `set' quotes correctly as required by POSIX, so do not add quotes.
35424 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
35433 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35435 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35437 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
35438 if test -w "$cache_file"; then
35439 test "x$cache_file" != "x/dev/null" &&
35440 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
35441 echo "$as_me: updating cache $cache_file" >&6;}
35442 cat confcache
>$cache_file
35444 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
35445 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
35450 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35451 # Let make expand exec_prefix.
35452 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35454 DEFS
=-DHAVE_CONFIG_H
35458 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35459 # 1. Remove the extension, and $U if already installed.
35460 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
35461 ac_i
=`echo "$ac_i" | sed "$ac_script"`
35462 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
35463 # will be set to the directory where LIBOBJS objects are built.
35464 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
35465 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
35467 LIBOBJS
=$ac_libobjs
35469 LTLIBOBJS
=$ac_ltlibobjs
35472 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
35473 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
35474 Usually this means the macro was only invoked conditionally." >&5
35475 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
35476 Usually this means the macro was only invoked conditionally." >&2;}
35477 { (exit 1); exit 1; }; }
35479 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
35480 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
35481 Usually this means the macro was only invoked conditionally." >&5
35482 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
35483 Usually this means the macro was only invoked conditionally." >&2;}
35484 { (exit 1); exit 1; }; }
35487 : ${CONFIG_STATUS=./config.status}
35488 ac_clean_files_save
=$ac_clean_files
35489 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35490 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35491 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35492 cat >$CONFIG_STATUS <<_ACEOF
35494 # Generated by $as_me.
35495 # Run this file to recreate the current configuration.
35496 # Compiler output produced by configure, useful for debugging
35497 # configure, is in config.log if it exists.
35500 ac_cs_recheck=false
35502 SHELL=\${CONFIG_SHELL-$SHELL}
35505 cat >>$CONFIG_STATUS <<\_ACEOF
35506 ## --------------------- ##
35507 ## M4sh Initialization. ##
35508 ## --------------------- ##
35510 # Be Bourne compatible
35511 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35514 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35515 # is contrary to our usage. Disable this feature.
35516 alias -g '${1+"$@"}'='"$@"'
35517 setopt NO_GLOB_SUBST
35519 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
35521 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
35522 DUALCASE
=1; export DUALCASE
# for MKS sh
35526 # Avoid depending upon Character Ranges.
35527 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35528 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35529 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35530 as_cr_digits
='0123456789'
35531 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35533 # The user is always right.
35534 if test "${PATH_SEPARATOR+set}" != set; then
35535 echo "#! /bin/sh" >conf$$.sh
35536 echo "exit 0" >>conf$$.sh
35538 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35546 # Support unset when possible.
35547 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
35555 # We need space, tab and new line, in precisely that order. Quoting is
35556 # there to prevent editors from complaining about space-tab.
35557 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
35558 # splitting by setting IFS to empty value.)
35563 # Find who we are. Look in the path if we contain no directory separator.
35565 *[\\/]* ) as_myself
=$0 ;;
35566 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35567 for as_dir
in $PATH
35570 test -z "$as_dir" && as_dir
=.
35571 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35577 # We did not find ourselves, most probably we were run as `sh COMMAND'
35578 # in which case we are not to be found in the path.
35579 if test "x$as_myself" = x
; then
35582 if test ! -f "$as_myself"; then
35583 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
35584 { (exit 1); exit 1; }
35587 # Work around bugs in pre-3.0 UWIN ksh.
35588 for as_var
in ENV MAIL MAILPATH
35589 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
35597 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35598 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35599 LC_TELEPHONE LC_TIME
35601 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
35602 eval $as_var=C
; export $as_var
35604 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
35608 # Required to use basename.
35609 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
35610 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
35616 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
35617 as_basename
=basename
35623 # Name of the executable.
35624 as_me
=`$as_basename -- "$0" ||
35625 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35626 X"$0" : 'X\(//\)$' \| \
35627 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
35629 sed '/^.*\/\([^/][^/]*\)\/*$/{
35648 as_lineno_1
=$LINENO
35649 as_lineno_2
=$LINENO
35650 test "x$as_lineno_1" != "x$as_lineno_2" &&
35651 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
35653 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35654 # uniformly replaced by the line number. The first 'sed' inserts a
35655 # line-number line after each line using $LINENO; the second 'sed'
35656 # does the real work. The second script uses 'N' to pair each
35657 # line-number line with the line containing $LINENO, and appends
35658 # trailing '-' during substitution so that $LINENO is not a special
35659 # case at line end.
35660 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35661 # scripts with optimization help from Paolo Bonzini. Blame Lee
35662 # E. McMahon (1931-1989) for sed's syntax. :-)
35674 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
35677 ' >$as_me.lineno
&&
35678 chmod +x
"$as_me.lineno" ||
35679 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
35680 { (exit 1); exit 1; }; }
35682 # Don't try to exec as it changes $[0], causing all sort of problems
35683 # (the dirname of $[0] is not the place where we might find the
35684 # original and so on. Autoconf is especially sensitive to this).
35685 .
"./$as_me.lineno"
35686 # Exit status is that of the last command.
35691 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
35697 ECHO_C
= ECHO_N
= ECHO_T
=
35698 case `echo -n x` in
35700 case `echo 'x\c'` in
35701 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
35708 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
35709 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
35715 rm -f conf$$ conf$$.exe conf$$.
file
35716 if test -d conf$$.dir
; then
35717 rm -f conf$$.dir
/conf$$.
file
35723 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35725 # ... but there are two gotchas:
35726 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
35727 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
35728 # In both cases, we have to default to `cp -p'.
35729 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
35731 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35736 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
35737 rmdir conf$$.dir
2>/dev
/null
35739 if mkdir
-p .
2>/dev
/null
; then
35742 test -d .
/-p && rmdir .
/-p
35746 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
35747 # systems may use methods other than mode bits to determine executability.
35748 cat >conf$$.
file <<_ASEOF
35752 chmod +x conf$$.
file
35753 if test -x conf$$.
file >/dev
/null
2>&1; then
35754 as_executable_p
="test -x"
35760 # Sed expression to map a string onto a valid CPP name.
35761 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
35763 # Sed expression to map a string onto a valid variable name.
35764 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
35769 # Save the log message, to keep $[0] and so on meaningful, and to
35770 # report actual input values of CONFIG_FILES etc. instead of their
35771 # values after options handling.
35773 This file was extended by llvm $as_me 2.7svn, which was
35774 generated by GNU Autoconf 2.60. Invocation command line was
35776 CONFIG_FILES = $CONFIG_FILES
35777 CONFIG_HEADERS = $CONFIG_HEADERS
35778 CONFIG_LINKS = $CONFIG_LINKS
35779 CONFIG_COMMANDS = $CONFIG_COMMANDS
35782 on `(hostname || uname -n) 2>/dev/null | sed 1q`
35787 cat >>$CONFIG_STATUS <<_ACEOF
35788 # Files that config.status was made for.
35789 config_files="$ac_config_files"
35790 config_headers="$ac_config_headers"
35791 config_commands="$ac_config_commands"
35795 cat >>$CONFIG_STATUS <<\_ACEOF
35797 \`$as_me' instantiates files from templates according to the
35798 current configuration.
35800 Usage: $0 [OPTIONS] [FILE]...
35802 -h, --help print this help, then exit
35803 -V, --version print version number, then exit
35804 -q, --quiet do not print progress messages
35805 -d, --debug don't remove temporary files
35806 --recheck update $as_me by reconfiguring in the same conditions
35807 --file=FILE[:TEMPLATE]
35808 instantiate the configuration file FILE
35809 --header=FILE[:TEMPLATE]
35810 instantiate the configuration header FILE
35812 Configuration files:
35815 Configuration headers:
35818 Configuration commands:
35821 Report bugs to <bug-autoconf@gnu.org>."
35824 cat >>$CONFIG_STATUS <<_ACEOF
35826 llvm config.status 2.7svn
35827 configured by $0, generated by GNU Autoconf 2.60,
35828 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
35830 Copyright (C) 2006 Free Software Foundation, Inc.
35831 This config.status script is free software; the Free Software Foundation
35832 gives unlimited permission to copy, distribute and modify it."
35839 cat >>$CONFIG_STATUS <<\_ACEOF
35840 # If no file are specified by the user, then we need to provide default
35841 # value. By we need to know if files were specified by the user.
35847 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
35848 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
35859 # Handling of the options.
35860 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
35862 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
35863 echo "$ac_cs_version"; exit ;;
35864 --debug |
--debu |
--deb |
--de |
--d |
-d )
35866 --file |
--fil |
--fi |
--f )
35868 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35869 ac_need_defaults
=false
;;
35870 --header |
--heade |
--head |
--hea )
35872 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35873 ac_need_defaults
=false
;;
35875 # Conflict between --help and --header
35876 { echo "$as_me: error: ambiguous option: $1
35877 Try \`$0 --help' for more information." >&2
35878 { (exit 1); exit 1; }; };;
35879 --help |
--hel |
-h )
35880 echo "$ac_cs_usage"; exit ;;
35881 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
35882 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
35885 # This is an error.
35886 -*) { echo "$as_me: error: unrecognized option: $1
35887 Try \`$0 --help' for more information." >&2
35888 { (exit 1); exit 1; }; } ;;
35890 *) ac_config_targets
="$ac_config_targets $1"
35891 ac_need_defaults
=false
;;
35897 ac_configure_extra_args
=
35899 if $ac_cs_silent; then
35901 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35905 cat >>$CONFIG_STATUS <<_ACEOF
35906 if \$ac_cs_recheck; then
35907 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35908 CONFIG_SHELL=$SHELL
35909 export CONFIG_SHELL
35910 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35914 cat >>$CONFIG_STATUS <<\_ACEOF
35918 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35919 ## Running $as_me. ##
35925 cat >>$CONFIG_STATUS <<_ACEOF
35929 llvm_src="${srcdir}"
35933 cat >>$CONFIG_STATUS <<\_ACEOF
35935 # Handling of arguments.
35936 for ac_config_target
in $ac_config_targets
35938 case $ac_config_target in
35939 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
35940 "include/llvm/Config/Targets.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/Targets.def" ;;
35941 "include/llvm/Config/AsmPrinters.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmPrinters.def" ;;
35942 "include/llvm/Config/AsmParsers.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmParsers.def" ;;
35943 "include/llvm/System/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/System/DataTypes.h" ;;
35944 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
35945 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
35946 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
35947 "tools/llvmc/plugins/Base/Base.td") CONFIG_FILES
="$CONFIG_FILES tools/llvmc/plugins/Base/Base.td" ;;
35948 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
35949 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
35950 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
35951 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
35952 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
35953 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
35954 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
35955 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
35956 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
35957 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
35958 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
35959 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
35960 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
35961 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
35962 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
35964 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35965 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35966 { (exit 1); exit 1; }; };;
35971 # If the user did not use the arguments to specify the items to instantiate,
35972 # then the envvar interface is used. Set only those that are not.
35973 # We use the long form for the default assignment because of an extremely
35974 # bizarre bug on SunOS 4.1.3.
35975 if $ac_need_defaults; then
35976 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35977 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35978 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35981 # Have a temporary directory for convenience. Make it in the build tree
35982 # simply because there is no reason against having it here, and in addition,
35983 # creating and moving files from /tmp can sometimes cause problems.
35984 # Hook for its removal unless debugging.
35985 # Note that there is a small window in which the directory will not be cleaned:
35986 # after its creation but before its name has been assigned to `$tmp'.
35990 trap 'exit_status=$?
35991 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
35993 trap '{ (exit 1); exit 1; }' 1 2 13 15
35995 # Create a (secure) tmp directory for tmp files.
35998 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35999 test -n "$tmp" && test -d "$tmp"
36002 tmp
=.
/conf$$
-$RANDOM
36003 (umask 077 && mkdir
"$tmp")
36006 echo "$me: cannot create a temporary directory in ." >&2
36007 { (exit 1); exit 1; }
36011 # Set up the sed scripts for CONFIG_FILES section.
36014 # No need to generate the scripts if there are no CONFIG_FILES.
36015 # This happens for instance when ./config.status config.h
36016 if test -n "$CONFIG_FILES"; then
36023 for ac_last_try
in false false false false false
:; do
36024 cat >conf$
$subs.
sed <<_ACEOF
36025 SHELL!$SHELL$ac_delim
36026 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
36027 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
36028 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
36029 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
36030 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
36031 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
36032 exec_prefix!$exec_prefix$ac_delim
36033 prefix!$prefix$ac_delim
36034 program_transform_name!$program_transform_name$ac_delim
36035 bindir!$bindir$ac_delim
36036 sbindir!$sbindir$ac_delim
36037 libexecdir!$libexecdir$ac_delim
36038 datarootdir!$datarootdir$ac_delim
36039 datadir!$datadir$ac_delim
36040 sysconfdir!$sysconfdir$ac_delim
36041 sharedstatedir!$sharedstatedir$ac_delim
36042 localstatedir!$localstatedir$ac_delim
36043 includedir!$includedir$ac_delim
36044 oldincludedir!$oldincludedir$ac_delim
36045 docdir!$docdir$ac_delim
36046 infodir!$infodir$ac_delim
36047 htmldir!$htmldir$ac_delim
36048 dvidir!$dvidir$ac_delim
36049 pdfdir!$pdfdir$ac_delim
36050 psdir!$psdir$ac_delim
36051 libdir!$libdir$ac_delim
36052 localedir!$localedir$ac_delim
36053 mandir!$mandir$ac_delim
36054 DEFS!$DEFS$ac_delim
36055 ECHO_C!$ECHO_C$ac_delim
36056 ECHO_N!$ECHO_N$ac_delim
36057 ECHO_T!$ECHO_T$ac_delim
36058 LIBS!$LIBS$ac_delim
36059 build_alias!$build_alias$ac_delim
36060 host_alias!$host_alias$ac_delim
36061 target_alias!$target_alias$ac_delim
36062 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
36063 subdirs!$subdirs$ac_delim
36064 build!$build$ac_delim
36065 build_cpu!$build_cpu$ac_delim
36066 build_vendor!$build_vendor$ac_delim
36067 build_os!$build_os$ac_delim
36068 host!$host$ac_delim
36069 host_cpu!$host_cpu$ac_delim
36070 host_vendor!$host_vendor$ac_delim
36071 host_os!$host_os$ac_delim
36072 target!$target$ac_delim
36073 target_cpu!$target_cpu$ac_delim
36074 target_vendor!$target_vendor$ac_delim
36075 target_os!$target_os$ac_delim
36077 HOST_OS!$HOST_OS$ac_delim
36078 TARGET_OS!$TARGET_OS$ac_delim
36079 LINKALL!$LINKALL$ac_delim
36080 NOLINKALL!$NOLINKALL$ac_delim
36081 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
36082 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
36083 ARCH!$ARCH$ac_delim
36084 ENDIAN!$ENDIAN$ac_delim
36086 CFLAGS!$CFLAGS$ac_delim
36087 LDFLAGS!$LDFLAGS$ac_delim
36088 CPPFLAGS!$CPPFLAGS$ac_delim
36089 ac_ct_CC!$ac_ct_CC$ac_delim
36090 EXEEXT!$EXEEXT$ac_delim
36091 OBJEXT!$OBJEXT$ac_delim
36093 GREP!$GREP$ac_delim
36094 EGREP!$EGREP$ac_delim
36095 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
36096 BUILD_CC!$BUILD_CC$ac_delim
36097 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
36098 BUILD_CXX!$BUILD_CXX$ac_delim
36099 CVSBUILD!$CVSBUILD$ac_delim
36100 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
36101 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
36102 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
36103 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
36104 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
36105 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
36106 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
36108 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
36109 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
36110 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
36111 ENABLE_PIC!$ENABLE_PIC$ac_delim
36112 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
36113 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
36114 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
36115 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
36116 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
36117 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
36118 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
36119 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
36120 ENABLE_LLVMC_DYNAMIC!$ENABLE_LLVMC_DYNAMIC$ac_delim
36121 ENABLE_LLVMC_DYNAMIC_PLUGINS!$ENABLE_LLVMC_DYNAMIC_PLUGINS$ac_delim
36124 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
36126 elif $ac_last_try; then
36127 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
36128 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
36129 { (exit 1); exit 1; }; }
36131 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
36135 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
36136 if test -n "$ac_eof"; then
36137 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
36138 ac_eof
=`expr $ac_eof + 1`
36141 cat >>$CONFIG_STATUS <<_ACEOF
36142 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
36143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36146 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
36147 s/^/s,@/; s/!/@,|#_!!_#|/
36150 s/'"$ac_delim"'$/,g/; t
36152 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
36153 ' >>$CONFIG_STATUS <conf$
$subs.
sed
36154 rm -f conf$
$subs.
sed
36155 cat >>$CONFIG_STATUS <<_ACEOF
36161 for ac_last_try
in false false false false false
:; do
36162 cat >conf$
$subs.
sed <<_ACEOF
36164 CXXFLAGS!$CXXFLAGS$ac_delim
36165 ac_ct_CXX!$ac_ct_CXX$ac_delim
36167 ifGNUmake!$ifGNUmake$ac_delim
36168 LN_S!$LN_S$ac_delim
36171 DATE!$DATE$ac_delim
36172 FIND!$FIND$ac_delim
36173 MKDIR!$MKDIR$ac_delim
36175 RANLIB!$RANLIB$ac_delim
36179 BINPWD!$BINPWD$ac_delim
36180 GRAPHVIZ!$GRAPHVIZ$ac_delim
36183 NEATO!$NEATO$ac_delim
36184 TWOPI!$TWOPI$ac_delim
36185 CIRCO!$CIRCO$ac_delim
36187 DOTTY!$DOTTY$ac_delim
36188 PERL!$PERL$ac_delim
36189 HAVE_PERL!$HAVE_PERL$ac_delim
36190 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
36191 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
36192 INSTALL_DATA!$INSTALL_DATA$ac_delim
36193 BZIP2!$BZIP2$ac_delim
36194 DOXYGEN!$DOXYGEN$ac_delim
36195 GROFF!$GROFF$ac_delim
36196 GZIP!$GZIP$ac_delim
36197 POD2HTML!$POD2HTML$ac_delim
36198 POD2MAN!$POD2MAN$ac_delim
36199 RUNTEST!$RUNTEST$ac_delim
36200 TCLSH!$TCLSH$ac_delim
36202 OCAMLC!$OCAMLC$ac_delim
36203 OCAMLOPT!$OCAMLOPT$ac_delim
36204 OCAMLDEP!$OCAMLDEP$ac_delim
36205 OCAMLDOC!$OCAMLDOC$ac_delim
36207 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
36208 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
36209 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
36210 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
36211 LIBADD_DL!$LIBADD_DL$ac_delim
36212 ECHO!$ECHO$ac_delim
36214 STRIP!$STRIP$ac_delim
36215 CXXCPP!$CXXCPP$ac_delim
36217 FFLAGS!$FFLAGS$ac_delim
36218 ac_ct_F77!$ac_ct_F77$ac_delim
36219 LIBTOOL!$LIBTOOL$ac_delim
36220 LLVMGCCCOMMAND!$LLVMGCCCOMMAND$ac_delim
36221 LLVMGXXCOMMAND!$LLVMGXXCOMMAND$ac_delim
36222 LLVMGCC!$LLVMGCC$ac_delim
36223 LLVMGXX!$LLVMGXX$ac_delim
36224 NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
36225 NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
36226 USE_UDIS86!$USE_UDIS86$ac_delim
36227 USE_OPROFILE!$USE_OPROFILE$ac_delim
36228 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
36229 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
36230 ALLOCA!$ALLOCA$ac_delim
36231 MMAP_FILE!$MMAP_FILE$ac_delim
36232 LLVMCC1!$LLVMCC1$ac_delim
36233 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
36234 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
36235 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
36236 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
36237 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
36238 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
36239 SHLIBEXT!$SHLIBEXT$ac_delim
36240 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
36241 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
36242 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
36243 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
36244 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
36245 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
36246 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
36247 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
36248 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
36249 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
36250 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
36251 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
36252 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
36253 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
36254 RPATH!$RPATH$ac_delim
36255 RDYNAMIC!$RDYNAMIC$ac_delim
36256 LIBOBJS!$LIBOBJS$ac_delim
36257 LTLIBOBJS!$LTLIBOBJS$ac_delim
36260 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 95; then
36262 elif $ac_last_try; then
36263 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
36264 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
36265 { (exit 1); exit 1; }; }
36267 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
36271 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
36272 if test -n "$ac_eof"; then
36273 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
36274 ac_eof
=`expr $ac_eof + 1`
36277 cat >>$CONFIG_STATUS <<_ACEOF
36278 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
36279 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
36282 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
36283 s/^/s,@/; s/!/@,|#_!!_#|/
36286 s/'"$ac_delim"'$/,g/; t
36288 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
36289 ' >>$CONFIG_STATUS <conf$
$subs.
sed
36290 rm -f conf$
$subs.
sed
36291 cat >>$CONFIG_STATUS <<_ACEOF
36298 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36299 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36300 # trailing colons and then remove the whole line if VPATH becomes empty
36301 # (actually we leave an empty line to preserve line numbers).
36302 if test "x$srcdir" = x.
; then
36303 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
36304 s/:*\$(srcdir):*/:/
36305 s/:*\${srcdir}:*/:/
36307 s/^\([^=]*=[ ]*\):*/\1/
36313 cat >>$CONFIG_STATUS <<\_ACEOF
36314 fi # test -n "$CONFIG_FILES"
36317 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
36320 :[FHLC
]) ac_mode
=$ac_tag; continue;;
36322 case $ac_mode$ac_tag in
36324 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
36325 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
36326 { (exit 1); exit 1; }; };;
36327 :[FH
]-) ac_tag
=-:-;;
36328 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
36345 -) ac_f
="$tmp/stdin";;
36346 *) # Look for the file first in the build tree, then in the source tree
36347 # (if the path is not absolute). The absolute path cannot be DOS-style,
36348 # because $ac_f cannot contain `:'.
36352 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
36354 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
36355 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
36356 { (exit 1); exit 1; }; };;
36358 ac_file_inputs
="$ac_file_inputs $ac_f"
36361 # Let's still pretend it is `configure' which instantiates (i.e., don't
36362 # use $as_me), people would be surprised to read:
36363 # /* config.h. Generated by config.status. */
36364 configure_input
="Generated from "`IFS=:
36365 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
36366 if test x
"$ac_file" != x-
; then
36367 configure_input
="$ac_file. $configure_input"
36368 { echo "$as_me:$LINENO: creating $ac_file" >&5
36369 echo "$as_me: creating $ac_file" >&6;}
36373 *:-:* |
*:-) cat >"$tmp/stdin";;
36378 ac_dir
=`$as_dirname -- "$ac_file" ||
36379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36380 X"$ac_file" : 'X\(//\)[^/]' \| \
36381 X"$ac_file" : 'X\(//\)$' \| \
36382 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
36384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36388 /^X\(\/\/\)[^/].*/{
36403 -*) as_dir
=.
/$as_dir;;
36405 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
36409 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
36410 *) as_qdir
=$as_dir;;
36412 as_dirs
="'$as_qdir' $as_dirs"
36413 as_dir
=`$as_dirname -- "$as_dir" ||
36414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36415 X"$as_dir" : 'X\(//\)[^/]' \| \
36416 X"$as_dir" : 'X\(//\)$' \| \
36417 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
36419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36423 /^X\(\/\/\)[^/].*/{
36436 test -d "$as_dir" && break
36438 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
36439 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
36440 echo "$as_me: error: cannot create directory $as_dir" >&2;}
36441 { (exit 1); exit 1; }; }; }
36445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
36447 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36448 # A ".." for each directory in $ac_dir_suffix.
36449 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
36450 case $ac_top_builddir_sub in
36451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
36452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
36455 ac_abs_top_builddir
=$ac_pwd
36456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
36457 # for backward compatibility:
36458 ac_top_builddir
=$ac_top_build_prefix
36461 .
) # We are building in place.
36463 ac_top_srcdir
=$ac_top_builddir_sub
36464 ac_abs_top_srcdir
=$ac_pwd ;;
36465 [\\/]* | ?
:[\\/]* ) # Absolute name.
36466 ac_srcdir
=$srcdir$ac_dir_suffix;
36467 ac_top_srcdir
=$srcdir
36468 ac_abs_top_srcdir
=$srcdir ;;
36469 *) # Relative name.
36470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
36471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
36472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
36474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
36484 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36485 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
36489 cat >>$CONFIG_STATUS <<\_ACEOF
36490 # If the template does not know about datarootdir, expand it.
36491 # FIXME: This hack should be removed a few years after 2.60.
36492 ac_datarootdir_hack
=; ac_datarootdir_seen
=
36494 case `sed -n '/datarootdir/ {
36503 ' $ac_file_inputs` in
36504 *datarootdir
*) ac_datarootdir_seen
=yes;;
36505 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
36506 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
36507 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
36509 cat >>$CONFIG_STATUS <<_ACEOF
36510 ac_datarootdir_hack='
36511 s&@datadir@&$datadir&g
36512 s&@docdir@&$docdir&g
36513 s&@infodir@&$infodir&g
36514 s&@localedir@&$localedir&g
36515 s&@mandir@&$mandir&g
36516 s&\\\${datarootdir}&$datarootdir&g' ;;
36520 # Neutralize VPATH when `$srcdir' = `.'.
36521 # Shell code in configure.ac might set extrasub.
36522 # FIXME: do we really want to maintain this feature?
36523 cat >>$CONFIG_STATUS <<_ACEOF
36527 cat >>$CONFIG_STATUS <<\_ACEOF
36529 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
36530 s
&@configure_input@
&$configure_input&;t t
36531 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
36532 s
&@srcdir@
&$ac_srcdir&;t t
36533 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
36534 s
&@top_srcdir@
&$ac_top_srcdir&;t t
36535 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
36536 s
&@builddir@
&$ac_builddir&;t t
36537 s
&@abs_builddir@
&$ac_abs_builddir&;t t
36538 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
36539 s
&@INSTALL@
&$ac_INSTALL&;t t
36540 $ac_datarootdir_hack
36541 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
36543 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
36544 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
36545 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
36546 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
36547 which seems to be undefined. Please make sure it is defined." >&5
36548 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
36549 which seems to be undefined. Please make sure it is defined." >&2;}
36553 -) cat "$tmp/out"; rm -f "$tmp/out";;
36554 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
36563 # Transform confdefs.h into a sed script `conftest.defines', that
36564 # substitutes the proper values into config.h.in to produce config.h.
36565 rm -f conftest.defines conftest.
tail
36566 # First, append a space to every undef/define line, to ease matching.
36567 echo 's/$/ /' >conftest.defines
36568 # Then, protect against being on the right side of a sed subst, or in
36569 # an unquoted here document, in config.status. If some macros were
36570 # called several times there might be several #defines for the same
36571 # symbol, which is useless. But do not sort them, since the last
36572 # AC_DEFINE must be honored.
36573 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
36574 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
36575 # NAME is the cpp macro being defined, VALUE is the value it is being given.
36576 # PARAMS is the parameter list in the macro definition--in most cases, it's
36577 # just an empty string.
36578 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
36579 ac_dB
='\\)[ (].*,\\1define\\2'
36587 s/^[ ]*#[ ]*define[ ][ ]*//
36592 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
36593 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
36594 ' >>conftest.defines
36596 # Remove the space that was appended to ease matching.
36597 # Then replace #undef with comments. This is necessary, for
36598 # example, in the case of _POSIX_SOURCE, which is predefined and required
36599 # on some systems where configure will not decide to define it.
36600 # (The regexp can be short, since the line contains either #define or #undef.)
36602 s,^[ #]*u.*,/* & */,' >>conftest.defines
36604 # Break up conftest.defines:
36605 ac_max_sed_lines
=50
36607 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
36608 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
36609 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
36611 ac_in
='$ac_file_inputs'
36612 ac_out
='"$tmp/out1"'
36613 ac_nxt
='"$tmp/out2"'
36617 # Write a here document:
36618 cat >>$CONFIG_STATUS <<_ACEOF
36619 # First, check the format of the line:
36620 cat >"\$tmp/defines.sed" <<\\CEOF
36621 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
36622 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
36626 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
36628 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
36629 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
36630 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
36631 grep . conftest.
tail >/dev
/null ||
break
36632 rm -f conftest.defines
36633 mv conftest.
tail conftest.defines
36635 rm -f conftest.defines conftest.
tail
36637 echo "ac_result=$ac_in" >>$CONFIG_STATUS
36638 cat >>$CONFIG_STATUS <<\_ACEOF
36639 if test x
"$ac_file" != x-
; then
36640 echo "/* $configure_input */" >"$tmp/config.h"
36641 cat "$ac_result" >>"$tmp/config.h"
36642 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
36643 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36644 echo "$as_me: $ac_file is unchanged" >&6;}
36647 mv "$tmp/config.h" $ac_file
36650 echo "/* $configure_input */"
36656 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
36657 echo "$as_me: executing $ac_file commands" >&6;}
36662 case $ac_file$ac_mode in
36663 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
36664 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile
;;
36665 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
36666 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.common Makefile.common
;;
36667 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
36668 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
36669 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
36670 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
36671 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
36672 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
36673 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
36674 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile test
/Makefile
;;
36675 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
36676 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
36677 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
36678 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
36679 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
36680 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
36681 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
36682 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
36683 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
36684 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
36685 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
36686 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
36687 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
36688 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
36694 { (exit 0); exit 0; }
36696 chmod +x
$CONFIG_STATUS
36697 ac_clean_files
=$ac_clean_files_save
36700 # configure is writing to config.log, and then calls config.status.
36701 # config.status does its own redirection, appending to config.log.
36702 # Unfortunately, on DOS this fails, as config.log is still kept open
36703 # by configure, so config.status won't be able to write to it; its
36704 # output is simply discarded. So we exec the FD to /dev/null,
36705 # effectively closing config.log, so it can be properly (re)opened and
36706 # appended to by config.status. When coming back to configure, we
36707 # need to make the FD available again.
36708 if test "$no_create" != yes; then
36710 ac_config_status_args
=
36711 test "$silent" = yes &&
36712 ac_config_status_args
="$ac_config_status_args --quiet"
36714 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36716 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36717 # would make configure fail if this is the last instruction.
36718 $ac_cs_success ||
{ (exit 1); exit 1; }
36722 # CONFIG_SUBDIRS section.
36724 if test "$no_recursion" != yes; then
36726 # Remove --cache-file and --srcdir arguments so they do not pile up.
36727 ac_sub_configure_args
=
36729 eval "set x $ac_configure_args"
36733 if test -n "$ac_prev"; then
36738 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
36739 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
36740 ac_prev
=cache_file
;;
36741 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
36742 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
36745 --config-cache |
-C)
36747 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
36749 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
36751 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
36753 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
36757 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
36759 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
36763 # Always prepend --prefix to ensure using the same prefix
36764 # in subdir configurations.
36765 ac_arg
="--prefix=$prefix"
36767 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
36769 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
36772 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36774 # Do not complain, so a configure script can configure whichever
36775 # parts of a large source tree are present.
36776 test -d "$srcdir/$ac_dir" ||
continue
36778 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
36779 echo "$as_me:$LINENO: $ac_msg" >&5
36783 -*) as_dir
=.
/$as_dir;;
36785 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
36789 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
36790 *) as_qdir
=$as_dir;;
36792 as_dirs
="'$as_qdir' $as_dirs"
36793 as_dir
=`$as_dirname -- "$as_dir" ||
36794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36795 X"$as_dir" : 'X\(//\)[^/]' \| \
36796 X"$as_dir" : 'X\(//\)$' \| \
36797 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
36799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36803 /^X\(\/\/\)[^/].*/{
36816 test -d "$as_dir" && break
36818 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
36819 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
36820 echo "$as_me: error: cannot create directory $as_dir" >&2;}
36821 { (exit 1); exit 1; }; }; }
36825 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
36827 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36828 # A ".." for each directory in $ac_dir_suffix.
36829 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
36830 case $ac_top_builddir_sub in
36831 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
36832 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
36835 ac_abs_top_builddir
=$ac_pwd
36836 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
36837 # for backward compatibility:
36838 ac_top_builddir
=$ac_top_build_prefix
36841 .
) # We are building in place.
36843 ac_top_srcdir
=$ac_top_builddir_sub
36844 ac_abs_top_srcdir
=$ac_pwd ;;
36845 [\\/]* | ?
:[\\/]* ) # Absolute name.
36846 ac_srcdir
=$srcdir$ac_dir_suffix;
36847 ac_top_srcdir
=$srcdir
36848 ac_abs_top_srcdir
=$srcdir ;;
36849 *) # Relative name.
36850 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
36851 ac_top_srcdir
=$ac_top_build_prefix$srcdir
36852 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
36854 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
36859 # Check for guested configure; otherwise get Cygnus style configure.
36860 if test -f "$ac_srcdir/configure.gnu"; then
36861 ac_sub_configure
=$ac_srcdir/configure.gnu
36862 elif test -f "$ac_srcdir/configure"; then
36863 ac_sub_configure
=$ac_srcdir/configure
36864 elif test -f "$ac_srcdir/configure.in"; then
36865 # This should be Cygnus configure.
36866 ac_sub_configure
=$ac_aux_dir/configure
36868 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36869 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36873 # The recursion is here.
36874 if test -n "$ac_sub_configure"; then
36875 # Make the cache file name correct relative to the subdirectory.
36876 case $cache_file in
36877 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
36878 *) # Relative name.
36879 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
36882 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36883 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36884 # The eval makes quoting arguments work.
36885 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
36886 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
36887 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36888 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36889 { (exit 1); exit 1; }; }