2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 2.6svn.
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-2008 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.6svn'
719 PACKAGE_STRING
='llvm 2.6svn'
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
835 ENABLE_EXPENSIVE_CHECKS
889 CONVENIENCE_LTDL_TRUE
890 CONVENIENCE_LTDL_FALSE
930 ENABLE_VISIBILITY_INLINES_HIDDEN
936 ac_precious_vars
='build_alias
950 ac_subdirs_all
='projects/sample
952 projects/llvm-stacker
959 projects/llvm-poolalloc
961 projects/llvm-kernel'
963 # Initialize some variables set by options.
965 ac_init_version
=false
966 # The variables have the same names as the options, with
967 # dashes changed to underlines.
975 program_transform_name
=s
,x
,x
,
983 # Installation directory options.
984 # These are left unexpanded so users can "make install exec_prefix=/foo"
985 # and all the variables that are supposed to be based on exec_prefix
986 # by default will actually change.
987 # Use braces instead of parens because sh, perl, etc. also accept them.
988 # (The list follows the same order as the GNU Coding Standards.)
989 bindir
='${exec_prefix}/bin'
990 sbindir
='${exec_prefix}/sbin'
991 libexecdir
='${exec_prefix}/libexec'
992 datarootdir
='${prefix}/share'
993 datadir
='${datarootdir}'
994 sysconfdir
='${prefix}/etc'
995 sharedstatedir
='${prefix}/com'
996 localstatedir
='${prefix}/var'
997 includedir
='${prefix}/include'
998 oldincludedir
='/usr/include'
999 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1000 infodir
='${datarootdir}/info'
1005 libdir
='${exec_prefix}/lib'
1006 localedir
='${datarootdir}/locale'
1007 mandir
='${datarootdir}/man'
1013 # If the previous option needs an argument, assign it.
1014 if test -n "$ac_prev"; then
1015 eval $ac_prev=\
$ac_option
1021 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1025 # Accept the important Cygnus configure options, so we can diagnose typos.
1027 case $ac_dashdash$ac_option in
1031 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1033 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1034 bindir
=$ac_optarg ;;
1036 -build |
--build |
--buil |
--bui |
--bu)
1037 ac_prev
=build_alias
;;
1038 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1039 build_alias
=$ac_optarg ;;
1041 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1042 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1043 ac_prev
=cache_file
;;
1044 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1045 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1046 cache_file
=$ac_optarg ;;
1048 --config-cache |
-C)
1049 cache_file
=config.cache
;;
1051 -datadir |
--datadir |
--datadi |
--datad)
1053 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1054 datadir
=$ac_optarg ;;
1056 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1057 |
--dataroo |
--dataro |
--datar)
1058 ac_prev
=datarootdir
;;
1059 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1060 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1061 datarootdir
=$ac_optarg ;;
1063 -disable-* |
--disable-*)
1064 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1067 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1068 { (exit 1); exit 1; }; }
1069 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1070 eval enable_
$ac_feature=no
;;
1072 -docdir |
--docdir |
--docdi |
--doc |
--do)
1074 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1075 docdir
=$ac_optarg ;;
1077 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1079 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1080 dvidir
=$ac_optarg ;;
1082 -enable-* |
--enable-*)
1083 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1086 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1087 { (exit 1); exit 1; }; }
1088 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1089 eval enable_
$ac_feature=\
$ac_optarg ;;
1091 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1092 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1093 |
--exec |
--exe |
--ex)
1094 ac_prev
=exec_prefix
;;
1095 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1096 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1097 |
--exec=* |
--exe=* |
--ex=*)
1098 exec_prefix
=$ac_optarg ;;
1100 -gas |
--gas |
--ga |
--g)
1101 # Obsolete; use --with-gas.
1104 -help |
--help |
--hel |
--he |
-h)
1105 ac_init_help
=long
;;
1106 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1107 ac_init_help
=recursive
;;
1108 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1109 ac_init_help
=short
;;
1111 -host |
--host |
--hos |
--ho)
1112 ac_prev
=host_alias
;;
1113 -host=* |
--host=* |
--hos=* |
--ho=*)
1114 host_alias
=$ac_optarg ;;
1116 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1118 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1120 htmldir
=$ac_optarg ;;
1122 -includedir |
--includedir |
--includedi |
--included |
--include \
1123 |
--includ |
--inclu |
--incl |
--inc)
1124 ac_prev
=includedir
;;
1125 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1126 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1127 includedir
=$ac_optarg ;;
1129 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1131 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1132 infodir
=$ac_optarg ;;
1134 -libdir |
--libdir |
--libdi |
--libd)
1136 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1137 libdir
=$ac_optarg ;;
1139 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1140 |
--libexe |
--libex |
--libe)
1141 ac_prev
=libexecdir
;;
1142 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1143 |
--libexe=* |
--libex=* |
--libe=*)
1144 libexecdir
=$ac_optarg ;;
1146 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1147 ac_prev
=localedir
;;
1148 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1149 localedir
=$ac_optarg ;;
1151 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1152 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1153 ac_prev
=localstatedir
;;
1154 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1155 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1156 localstatedir
=$ac_optarg ;;
1158 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1160 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1161 mandir
=$ac_optarg ;;
1163 -nfp |
--nfp |
--nf)
1164 # Obsolete; use --without-fp.
1167 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1168 |
--no-cr |
--no-c |
-n)
1171 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1172 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1175 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1176 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1177 |
--oldin |
--oldi |
--old |
--ol |
--o)
1178 ac_prev
=oldincludedir
;;
1179 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1180 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1181 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1182 oldincludedir
=$ac_optarg ;;
1184 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1186 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1187 prefix
=$ac_optarg ;;
1189 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1190 |
--program-pre |
--program-pr |
--program-p)
1191 ac_prev
=program_prefix
;;
1192 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1193 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1194 program_prefix
=$ac_optarg ;;
1196 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1197 |
--program-suf |
--program-su |
--program-s)
1198 ac_prev
=program_suffix
;;
1199 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1200 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1201 program_suffix
=$ac_optarg ;;
1203 -program-transform-name |
--program-transform-name \
1204 |
--program-transform-nam |
--program-transform-na \
1205 |
--program-transform-n |
--program-transform- \
1206 |
--program-transform |
--program-transfor \
1207 |
--program-transfo |
--program-transf \
1208 |
--program-trans |
--program-tran \
1209 |
--progr-tra |
--program-tr |
--program-t)
1210 ac_prev
=program_transform_name
;;
1211 -program-transform-name=* |
--program-transform-name=* \
1212 |
--program-transform-nam=* |
--program-transform-na=* \
1213 |
--program-transform-n=* |
--program-transform-=* \
1214 |
--program-transform=* |
--program-transfor=* \
1215 |
--program-transfo=* |
--program-transf=* \
1216 |
--program-trans=* |
--program-tran=* \
1217 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1218 program_transform_name
=$ac_optarg ;;
1220 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1222 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1223 pdfdir
=$ac_optarg ;;
1225 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1227 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1230 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1231 |
-silent |
--silent |
--silen |
--sile |
--sil)
1234 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1236 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1238 sbindir
=$ac_optarg ;;
1240 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1241 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1242 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1244 ac_prev
=sharedstatedir
;;
1245 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1246 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1247 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1249 sharedstatedir
=$ac_optarg ;;
1251 -site |
--site |
--sit)
1253 -site=* |
--site=* |
--sit=*)
1256 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1258 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1259 srcdir
=$ac_optarg ;;
1261 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1262 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1263 ac_prev
=sysconfdir
;;
1264 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1265 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1266 sysconfdir
=$ac_optarg ;;
1268 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1269 ac_prev
=target_alias
;;
1270 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1271 target_alias
=$ac_optarg ;;
1273 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1276 -version |
--version |
--versio |
--versi |
--vers |
-V)
1277 ac_init_version
=: ;;
1280 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1283 { echo "$as_me: error: invalid package name: $ac_package" >&2
1284 { (exit 1); exit 1; }; }
1285 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1286 eval with_
$ac_package=\
$ac_optarg ;;
1288 -without-* |
--without-*)
1289 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1292 { echo "$as_me: error: invalid package name: $ac_package" >&2
1293 { (exit 1); exit 1; }; }
1294 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1295 eval with_
$ac_package=no
;;
1298 # Obsolete; use --with-x.
1301 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1302 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1303 ac_prev
=x_includes
;;
1304 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1305 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1306 x_includes
=$ac_optarg ;;
1308 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1309 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1310 ac_prev
=x_libraries
;;
1311 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1312 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1313 x_libraries
=$ac_optarg ;;
1315 -*) { echo "$as_me: error: unrecognized option: $ac_option
1316 Try \`$0 --help' for more information." >&2
1317 { (exit 1); exit 1; }; }
1321 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1324 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1325 { (exit 1); exit 1; }; }
1326 eval $ac_envvar=\
$ac_optarg
1327 export $ac_envvar ;;
1330 # FIXME: should be removed in autoconf 3.0.
1331 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1332 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1333 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1334 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1340 if test -n "$ac_prev"; then
1341 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1342 { echo "$as_me: error: missing argument to $ac_option" >&2
1343 { (exit 1); exit 1; }; }
1346 # Be sure to have absolute directory names.
1347 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1348 datadir sysconfdir sharedstatedir localstatedir includedir \
1349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1350 libdir localedir mandir
1352 eval ac_val
=\$
$ac_var
1354 [\\/$
]* | ?
:[\\/]* ) continue;;
1355 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1357 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1358 { (exit 1); exit 1; }; }
1361 # There might be people who depend on the old broken behavior: `$host'
1362 # used to hold the argument of --host etc.
1363 # FIXME: To remove some day.
1366 target
=$target_alias
1368 # FIXME: To remove some day.
1369 if test "x$host_alias" != x
; then
1370 if test "x$build_alias" = x
; then
1371 cross_compiling
=maybe
1372 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1373 If a cross compiler is detected then cross compile mode will be used." >&2
1374 elif test "x$build_alias" != "x$host_alias"; then
1380 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1382 test "$silent" = yes && exec 6>/dev
/null
1385 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1386 ac_ls_di
=`ls -di .` &&
1387 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1388 { echo "$as_me: error: Working directory cannot be determined" >&2
1389 { (exit 1); exit 1; }; }
1390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1391 { echo "$as_me: error: pwd does not report name of working directory" >&2
1392 { (exit 1); exit 1; }; }
1395 # Find the source files, if location was not specified.
1396 if test -z "$srcdir"; then
1397 ac_srcdir_defaulted
=yes
1398 # Try the directory containing this script, then the parent directory.
1399 ac_confdir
=`$as_dirname -- "$0" ||
1400 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1401 X"$0" : 'X\(//\)[^/]' \| \
1402 X"$0" : 'X\(//\)$' \| \
1403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1427 ac_srcdir_defaulted
=no
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1430 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1431 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1432 { (exit 1); exit 1; }; }
1434 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1436 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1437 { (exit 1); exit 1; }; }
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1447 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 for ac_var
in $ac_precious_vars; do
1450 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1452 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1457 # Report the --help message.
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1463 \`configure' configures llvm 2.6svn to adapt to many kinds of systems.
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1470 Defaults for the options are specified in brackets.
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1494 For better control, use the options below.
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1521 --build=BUILD configure
for building on BUILD
[guessed
]
1522 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1523 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1527 if test -n "$ac_init_help"; then
1528 case $ac_init_help in
1529 short | recursive
) echo "Configuration of llvm 2.6svn:";;
1534 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1535 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1539 --enable-expensive-checks
1541 --enable-debug-runtime
1542 --enable-jit Enable Just In Time Compiling
(default is YES
)
1543 --enable-doxygen Build doxygen documentation
(default is NO
)
1544 --enable-threads Use threads
if available
(default is YES
)
1545 --enable-pic Build LLVM with Position Independent Code
(default
1547 --enable-targets Build specific
host targets
:
1548 all
,host-only
,{target-name
} (default
=all
)
1549 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1551 --enable-bindings Build specific language bindings
:
1552 all
,auto
,none
,{binding-name
} (default
=auto
)
1553 --enable-ltdl-install install libltdl
1554 --enable-shared[=PKGS
] build shared libraries
1556 --enable-static[=PKGS
] build static libraries
1558 --enable-fast-install[=PKGS
]
1559 optimize
for fast installation
1561 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1564 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1565 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1566 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1568 --with-llvmgcc Specify location of llvm-gcc driver
(default
1570 --with-llvmgxx Specify location of llvm-g
++ driver
(default
1572 --with-extra-options Specify addtional options to compile LLVM with
1573 --with-ocaml-libdir Specify
install location
for ocaml bindings
(default
1575 --with-binutils-include Specify path to binutils
/include
/ containing
1576 plugin-api.h
file for gold plugin.
1577 --with-tclinclude directory where tcl headers are
1578 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1579 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1581 --with-tags[=TAGS
] include additional configurations
[automatic
]
1582 --with-udis86=<path
> Use udis86 external x86 disassembler library
1584 Some influential environment variables
:
1585 CC C compiler
command
1586 CFLAGS C compiler flags
1587 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1588 nonstandard directory
<lib dir
>
1589 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1590 you have headers
in a nonstandard directory
<include dir
>
1592 CXX C
++ compiler
command
1593 CXXFLAGS C
++ compiler flags
1594 CXXCPP C
++ preprocessor
1595 F77 Fortran
77 compiler
command
1596 FFLAGS Fortran
77 compiler flags
1598 Use these variables to override the choices made by
`configure' or to help
1599 it to find libraries and programs with nonstandard names/locations.
1601 Report bugs to <llvmbugs@cs.uiuc.edu>.
1606 if test "$ac_init_help" = "recursive"; then
1607 # If there are subdirs, report their specific --help.
1608 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1609 test -d "$ac_dir" || continue
1613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1616 # A ".." for each directory in $ac_dir_suffix.
1617 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1618 case $ac_top_builddir_sub in
1619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1623 ac_abs_top_builddir=$ac_pwd
1624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1625 # for backward compatibility:
1626 ac_top_builddir=$ac_top_build_prefix
1629 .) # We are building in place.
1631 ac_top_srcdir=$ac_top_builddir_sub
1632 ac_abs_top_srcdir=$ac_pwd ;;
1633 [\\/]* | ?:[\\/]* ) # Absolute name.
1634 ac_srcdir=$srcdir$ac_dir_suffix;
1635 ac_top_srcdir=$srcdir
1636 ac_abs_top_srcdir=$srcdir ;;
1638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1639 ac_top_srcdir=$ac_top_build_prefix$srcdir
1640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1644 cd "$ac_dir" || { ac_status=$?; continue; }
1645 # Check for guested configure.
1646 if test -f "$ac_srcdir/configure.gnu"; then
1648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1649 elif test -f "$ac_srcdir/configure"; then
1651 $SHELL "$ac_srcdir/configure" --help=recursive
1653 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1655 cd "$ac_pwd" || { ac_status=$?; break; }
1659 test -n "$ac_init_help" && exit $ac_status
1660 if $ac_init_version; then
1662 llvm configure 2.6svn
1663 generated by GNU Autoconf 2.60
1665 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1666 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1670 Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.
1674 cat >config.log <<_ACEOF
1675 This file contains any messages produced by compilers while
1676 running configure, to aid debugging if configure makes a mistake.
1678 It was created by llvm $as_me 2.6svn, which was
1679 generated by GNU Autoconf 2.60. Invocation command line was
1691 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1692 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1693 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1694 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1695 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1697 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1698 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1700 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1701 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1702 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1703 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1704 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1705 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1706 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 echo "PATH: $as_dir"
1731 # Keep a trace of the command line.
1732 # Strip out --no-create and --no-recursion so they do not pile up.
1733 # Strip out --silent because we don't want to record it for future runs.
1734 # Also quote any args containing shell meta-characters.
1735 # Make two passes to allow for proper duplicate-argument suppression.
1739 ac_must_keep_next=false
1745 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1747 | -silent | --silent | --silen | --sile | --sil)
1750 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1753 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1755 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1756 if test $ac_must_keep_next = true; then
1757 ac_must_keep_next=false # Got value, back to normal.
1760 *=* | --config-cache | -C | -disable-* | --disable-* \
1761 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1762 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1763 | -with-* | --with-* | -without-* | --without-* | --x)
1764 case "$ac_configure_args0 " in
1765 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1768 -* ) ac_must_keep_next=true ;;
1771 ac_configure_args="$ac_configure_args '$ac_arg'"
1776 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1777 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1779 # When interrupted or exit'd, cleanup temporary files, and complete
1780 # config.log. We remove comments because anyway the quotes in there
1781 # would cause problems or look ugly.
1782 # WARNING: Use '\'' to represent an apostrophe within the trap.
1783 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1784 trap 'exit_status=$?
1785 # Save into config.log some information that might help in debugging.
1790 ## ---------------- ##
1791 ## Cache variables. ##
1792 ## ---------------- ##
1795 # The following way of writing the cache mishandles newlines in values,
1797 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1798 eval ac_val=\$$ac_var
1802 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1803 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1806 _ | IFS | as_nl) ;; #(
1807 *) $as_unset $ac_var ;;
1812 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1813 *${as_nl}ac_space=\ *)
1815 "s/'\''/'\''\\\\'\'''\''/g;
1816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1827 ## ----------------- ##
1828 ## Output variables. ##
1829 ## ----------------- ##
1832 for ac_var in $ac_subst_vars
1834 eval ac_val=\$$ac_var
1836 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 echo "$ac_var='\''$ac_val'\''"
1842 if test -n "$ac_subst_files"; then
1844 ## ------------------- ##
1845 ## File substitutions. ##
1846 ## ------------------- ##
1849 for ac_var in $ac_subst_files
1851 eval ac_val=\$$ac_var
1853 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 echo "$ac_var='\''$ac_val'\''"
1860 if test -s confdefs.h; then
1870 test "$ac_signal" != 0 &&
1871 echo "$as_me: caught signal $ac_signal"
1872 echo "$as_me: exit $exit_status"
1874 rm -f core *.core core.conftest.* &&
1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878 for ac_signal in 1 2 13 15; do
1879 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1883 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1884 rm -f -r conftest* confdefs.h
1886 # Predefined preprocessor variables.
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_NAME "$PACKAGE_NAME"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_STRING "$PACKAGE_STRING"
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1913 # Let the site file select an alternate cache file if it wants to.
1914 # Prefer explicitly selected file to automatically selected ones.
1915 if test -n "$CONFIG_SITE"; then
1916 set x "$CONFIG_SITE"
1917 elif test "x$prefix" != xNONE; then
1918 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1920 set x "$ac_default_prefix/share/config.site" \
1921 "$ac_default_prefix/etc/config.site"
1926 if test -r "$ac_site_file"; then
1927 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1928 echo "$as_me: loading site script $ac_site_file" >&6;}
1929 sed 's/^/| /' "$ac_site_file" >&5
1934 if test -r "$cache_file"; then
1935 # Some versions of bash will fail to source /dev/null (special
1936 # files actually), so we avoid doing that.
1937 if test -f "$cache_file"; then
1938 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1939 echo "$as_me: loading cache $cache_file" >&6;}
1941 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1942 *) . "./$cache_file";;
1946 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1947 echo "$as_me: creating cache $cache_file" >&6;}
1951 # Check that the precious variables saved in the cache have kept the same
1953 ac_cache_corrupted=false
1954 for ac_var in $ac_precious_vars; do
1955 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1956 eval ac_new_set=\$ac_env_${ac_var}_set
1957 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1958 eval ac_new_val=\$ac_env_${ac_var}_value
1959 case $ac_old_set,$ac_new_set in
1961 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1962 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1963 ac_cache_corrupted=: ;;
1965 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1966 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1967 ac_cache_corrupted=: ;;
1970 if test "x$ac_old_val" != "x$ac_new_val"; then
1971 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1972 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1973 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1974 echo "$as_me: former value
: $ac_old_val" >&2;}
1975 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1976 echo "$as_me: current value
: $ac_new_val" >&2;}
1977 ac_cache_corrupted=:
1980 # Pass precious variables to config.status.
1981 if test "$ac_new_set" = set; then
1983 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1984 *) ac_arg=$ac_var=$ac_new_val ;;
1986 case " $ac_configure_args " in
1987 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1988 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1992 if $ac_cache_corrupted; then
1993 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1994 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1995 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1996 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1997 { (exit 1); exit 1; }; }
2025 ac_cpp='$CPP $CPPFLAGS'
2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2032 LLVM_COPYRIGHT="Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign."
2041 for ac_dir in autoconf "$srcdir"/autoconf; do
2042 if test -f "$ac_dir/install-sh"; then
2044 ac_install_sh="$ac_aux_dir/install-sh -c"
2046 elif test -f "$ac_dir/install.sh"; then
2048 ac_install_sh="$ac_aux_dir/install.sh -c"
2050 elif test -f "$ac_dir/shtool"; then
2052 ac_install_sh="$ac_aux_dir/shtool install -c"
2056 if test -z "$ac_aux_dir"; then
2057 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2058 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2059 { (exit 1); exit 1; }; }
2062 # These three variables are undocumented and unsupported,
2063 # and are intended to be withdrawn in a future Autoconf release.
2064 # They can cause serious problems if a builder's source tree is in a directory
2065 # whose full name contains unusual characters.
2066 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2067 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2068 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2072 if test ${srcdir} != "." ; then
2073 if test -f ${srcdir}/include/llvm/Config/config.h ; then
2074 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2075 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2076 { (exit 1); exit 1; }; }
2080 for i in `ls ${srcdir}/projects
`
2082 if test -d ${srcdir}/projects/${i} ; then
2085 sample) subdirs="$subdirs projects/sample"
2087 privbracket) subdirs="$subdirs projects/privbracket"
2089 llvm-stacker) subdirs="$subdirs projects/llvm-stacker"
2091 # llvm-test is the old name of the test-suite, kept here for backwards
2093 llvm-test) subdirs="$subdirs projects/llvm-test"
2095 test-suite) subdirs="$subdirs projects/test-suite"
2097 llvm-reopt) subdirs="$subdirs projects/llvm-reopt"
2099 llvm-gcc) subdirs="$subdirs projects/llvm-gcc"
2101 llvm-java) subdirs="$subdirs projects/llvm-java"
2103 llvm-tv) subdirs="$subdirs projects/llvm-tv"
2105 llvm-poolalloc) subdirs="$subdirs projects/llvm-poolalloc"
2107 poolalloc) subdirs="$subdirs projects/poolalloc"
2109 llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
2112 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2113 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2120 # Make sure we can run config.sub.
2121 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2122 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2123 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2124 { (exit 1); exit 1; }; }
2126 { echo "$as_me:$LINENO: checking build system type" >&5
2127 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2128 if test "${ac_cv_build+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 ac_build_alias=$build_alias
2132 test "x$ac_build_alias" = x &&
2133 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2134 test "x$ac_build_alias" = x &&
2135 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2136 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2137 { (exit 1); exit 1; }; }
2138 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2139 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2140 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2141 { (exit 1); exit 1; }; }
2144 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2145 echo "${ECHO_T}$ac_cv_build" >&6; }
2146 case $ac_cv_build in
2148 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2149 echo "$as_me: error: invalid value of canonical build" >&2;}
2150 { (exit 1); exit 1; }; };;
2153 ac_save_IFS=$IFS; IFS='-'
2159 # Remember, the first character of IFS is used to create $*,
2160 # except with old shells:
2163 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2166 { echo "$as_me:$LINENO: checking host system type" >&5
2167 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2168 if test "${ac_cv_host+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 if test "x$host_alias" = x; then
2172 ac_cv_host=$ac_cv_build
2174 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2175 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2176 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2177 { (exit 1); exit 1; }; }
2181 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2182 echo "${ECHO_T}$ac_cv_host" >&6; }
2185 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2186 echo "$as_me: error: invalid value of canonical host" >&2;}
2187 { (exit 1); exit 1; }; };;
2190 ac_save_IFS=$IFS; IFS='-'
2196 # Remember, the first character of IFS is used to create $*,
2197 # except with old shells:
2200 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2203 { echo "$as_me:$LINENO: checking target system type" >&5
2204 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2205 if test "${ac_cv_target+set}" = set; then
2206 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 if test "x$target_alias" = x; then
2209 ac_cv_target=$ac_cv_host
2211 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2212 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2213 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2214 { (exit 1); exit 1; }; }
2218 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2219 echo "${ECHO_T}$ac_cv_target" >&6; }
2220 case $ac_cv_target in
2222 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2223 echo "$as_me: error: invalid value of canonical target" >&2;}
2224 { (exit 1); exit 1; }; };;
2226 target=$ac_cv_target
2227 ac_save_IFS=$IFS; IFS='-'
2233 # Remember, the first character of IFS is used to create $*,
2234 # except with old shells:
2237 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2240 # The aliases save the names the user supplied, while $host etc.
2241 # will get canonicalized.
2242 test -n "$target_alias" &&
2243 test "$program_prefix$program_suffix$program_transform_name" = \
2245 program_prefix=${target_alias}-
2247 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2248 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2249 if test "${llvm_cv_os_type+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 llvm_cv_link_all_option="-Wl,--whole-archive"
2255 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2256 llvm_cv_os_type="AIX"
2257 llvm_cv_platform_type="Unix" ;;
2259 llvm_cv_link_all_option="-Wl,--whole-archive"
2260 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2261 llvm_cv_os_type="IRIX"
2262 llvm_cv_platform_type="Unix" ;;
2264 llvm_cv_link_all_option="-Wl,--whole-archive"
2265 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2266 llvm_cv_os_type="Cygwin"
2267 llvm_cv_platform_type="Unix" ;;
2269 llvm_cv_link_all_option="-Wl,-all_load"
2270 llvm_cv_no_link_all_option="-Wl,-noall_load"
2271 llvm_cv_os_type="Darwin"
2272 llvm_cv_platform_type="Unix" ;;
2274 llvm_cv_link_all_option="-Wl,--whole-archive"
2275 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2276 llvm_cv_os_type="FreeBSD"
2277 llvm_cv_platform_type="Unix" ;;
2279 llvm_cv_link_all_option="-Wl,--whole-archive"
2280 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2281 llvm_cv_os_type="OpenBSD"
2282 llvm_cv_platform_type="Unix" ;;
2284 llvm_cv_link_all_option="-Wl,--whole-archive"
2285 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2286 llvm_cv_os_type="NetBSD"
2287 llvm_cv_platform_type="Unix" ;;
2289 llvm_cv_link_all_option="-Wl,--whole-archive"
2290 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2291 llvm_cv_os_type="DragonFly"
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="HP-UX"
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="Interix"
2302 llvm_cv_platform_type="Unix" ;;
2304 llvm_cv_link_all_option="-Wl,--whole-archive"
2305 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2306 llvm_cv_os_type="Linux"
2307 llvm_cv_platform_type="Unix" ;;
2309 llvm_cv_link_all_option="-Wl,-z,allextract"
2310 llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
2311 llvm_cv_os_type="SunOS"
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="Win32"
2317 llvm_cv_platform_type="Win32" ;;
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="MingW"
2322 llvm_cv_platform_type="Win32" ;;
2324 llvm_cv_link_all_option=""
2325 llvm_cv_no_link_all_option=""
2326 llvm_cv_os_type="Unknown"
2327 llvm_cv_platform_type="Unknown" ;;
2330 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2331 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2333 if test "$llvm_cv_os_type" = "Unknown" ; then
2334 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2335 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2336 { (exit 1); exit 1; }; }
2342 LINKALL=$llvm_cv_link_all_option
2344 NOLINKALL=$llvm_cv_no_link_all_option
2347 case $llvm_cv_platform_type in
2350 cat >>confdefs.h <<\_ACEOF
2351 #define LLVM_ON_UNIX 1
2361 cat >>confdefs.h <<\_ACEOF
2362 #define LLVM_ON_WIN32 1
2372 { echo "$as_me:$LINENO: checking target architecture" >&5
2373 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2374 if test "${llvm_cv_target_arch+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 i?86-*) llvm_cv_target_arch="x86" ;;
2379 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
2380 sparc*-*) llvm_cv_target_arch="Sparc" ;;
2381 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
2382 alpha*-*) llvm_cv_target_arch="Alpha" ;;
2383 ia64-*) llvm_cv_target_arch="IA64" ;;
2384 arm*-*) llvm_cv_target_arch="ARM" ;;
2385 mips-*) llvm_cv_target_arch="Mips" ;;
2386 pic16-*) llvm_cv_target_arch="PIC16" ;;
2387 xcore-*) llvm_cv_target_arch="XCore" ;;
2388 msp430-*) llvm_cv_target_arch="MSP430" ;;
2389 *) llvm_cv_target_arch="Unknown" ;;
2392 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2393 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2395 if test "$llvm_cv_target_arch" = "Unknown" ; then
2396 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2397 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2400 ARCH=$llvm_cv_target_arch
2404 ac_cpp='$CPP $CPPFLAGS'
2405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2408 if test -n "$ac_tool_prefix"; then
2409 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2410 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2413 if test "${ac_cv_prog_CC+set}" = set; then
2414 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 if test -n "$CC"; then
2417 ac_cv_prog_CC="$CC" # Let the user override the test.
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 if test -n "$CC"; then
2438 { echo "$as_me:$LINENO: result: $CC" >&5
2439 echo "${ECHO_T}$CC" >&6; }
2441 { echo "$as_me:$LINENO: result: no" >&5
2442 echo "${ECHO_T}no" >&6; }
2447 if test -z "$ac_cv_prog_CC"; then
2449 # Extract the first word of "gcc", so it can be a program name with args.
2450 set dummy gcc; ac_word=$2
2451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2453 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 if test -n "$ac_ct_CC"; then
2457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 ac_cv_prog_ac_ct_CC="gcc"
2467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2477 if test -n "$ac_ct_CC"; then
2478 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2479 echo "${ECHO_T}$ac_ct_CC" >&6; }
2481 { echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6; }
2485 if test "x$ac_ct_CC" = x; then
2488 case $cross_compiling:$ac_tool_warned in
2490 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2491 whose name does not start with the host triplet. If you think this
2492 configuration is useful to you, please write to autoconf@gnu.org." >&5
2493 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2494 whose name does not start with the host triplet. If you think this
2495 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2496 ac_tool_warned=yes ;;
2504 if test -z "$CC"; then
2505 if test -n "$ac_tool_prefix"; then
2506 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2507 set dummy ${ac_tool_prefix}cc; ac_word=$2
2508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2510 if test "${ac_cv_prog_CC+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 if test -n "$CC"; then
2514 ac_cv_prog_CC="$CC" # Let the user override the test.
2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir=.
2521 for ac_exec_ext in '' $ac_executable_extensions; do
2522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2523 ac_cv_prog_CC="${ac_tool_prefix}cc"
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 if test -n "$CC"; then
2535 { echo "$as_me:$LINENO: result: $CC" >&5
2536 echo "${ECHO_T}$CC" >&6; }
2538 { echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6; }
2545 if test -z "$CC"; then
2546 # Extract the first word of "cc", so it can be a program name with args.
2547 set dummy cc; ac_word=$2
2548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2550 if test "${ac_cv_prog_CC+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 if test -n "$CC"; then
2554 ac_cv_prog_CC="$CC" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2565 ac_prog_rejected=yes
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 if test $ac_prog_rejected = yes; then
2577 # We found a bogon in the path, so make sure we never use it.
2578 set dummy $ac_cv_prog_CC
2580 if test $# != 0; then
2581 # We chose a different compiler from the bogus one.
2582 # However, it has the same basename, so the bogon will be chosen
2583 # first if we set CC to just the basename; use the full file name.
2585 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2591 if test -n "$CC"; then
2592 { echo "$as_me:$LINENO: result: $CC" >&5
2593 echo "${ECHO_T}$CC" >&6; }
2595 { echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6; }
2601 if test -z "$CC"; then
2602 if test -n "$ac_tool_prefix"; then
2603 for ac_prog in cl.exe
2605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2609 if test "${ac_cv_prog_CC+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 if test -n "$CC"; then
2613 ac_cv_prog_CC="$CC" # Let the user override the test.
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir=.
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2622 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2633 if test -n "$CC"; then
2634 { echo "$as_me:$LINENO: result: $CC" >&5
2635 echo "${ECHO_T}$CC" >&6; }
2637 { echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6; }
2642 test -n "$CC" && break
2645 if test -z "$CC"; then
2647 for ac_prog in cl.exe
2649 # Extract the first word of "$ac_prog", so it can be a program name with args.
2650 set dummy $ac_prog; ac_word=$2
2651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 if test -n "$ac_ct_CC"; then
2657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_ac_ct_CC="$ac_prog"
2667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2677 if test -n "$ac_ct_CC"; then
2678 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2679 echo "${ECHO_T}$ac_ct_CC" >&6; }
2681 { echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6; }
2686 test -n "$ac_ct_CC" && break
2689 if test "x$ac_ct_CC" = x; then
2692 case $cross_compiling:$ac_tool_warned in
2694 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2695 whose name does not start with the host triplet. If you think this
2696 configuration is useful to you, please write to autoconf@gnu.org." >&5
2697 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2698 whose name does not start with the host triplet. If you think this
2699 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2700 ac_tool_warned=yes ;;
2709 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2710 See \`config.log
' for more details." >&5
2711 echo "$as_me: error: no acceptable C compiler found in \$PATH
2712 See \`config.log' for more details.
" >&2;}
2713 { (exit 1); exit 1; }; }
2715 # Provide some information about the compiler.
2716 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2717 ac_compiler=`set X $ac_compile; echo $2`
2718 { (ac_try="$ac_compiler --version >&5"
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2723 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2724 (eval "$ac_compiler --version >&5") 2>&5
2726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2727 (exit $ac_status); }
2728 { (ac_try="$ac_compiler -v >&5"
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2734 (eval "$ac_compiler -v >&5") 2>&5
2736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2737 (exit $ac_status); }
2738 { (ac_try="$ac_compiler -V >&5"
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2744 (eval "$ac_compiler -V >&5") 2>&5
2746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2747 (exit $ac_status); }
2749 cat >conftest.$ac_ext <<_ACEOF
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2764 ac_clean_files_save=$ac_clean_files
2765 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2766 # Try to create an executable without -o first, disregard a.out.
2767 # It will help us diagnose broken compilers, and finding out an intuition
2769 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2770 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2771 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2773 # List of possible output files, starting from the most likely.
2774 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2775 # only as a last resort. b.out is created by i960 compilers.
2776 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2778 # The IRIX 6 linker writes into existing files which may not be
2779 # executable, retaining their permissions. Remove them first so a
2780 # subsequent execution test works.
2782 for ac_file in $ac_files
2785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2786 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2791 if { (ac_try="$ac_link_default"
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_link_default") 2>&5
2799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2800 (exit $ac_status); }; then
2801 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2802 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2803 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2804 # so that the user can short-circuit this test for compilers unknown to
2806 for ac_file in $ac_files
2808 test -f "$ac_file" || continue
2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2813 # We found the default executable, but exeext='' is most
2817 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2821 # We set ac_cv_exeext here because the later test for it is not
2822 # safe: cross compilers may not add the suffix if given an `-o'
2823 # argument, so we may need to know it at that point already.
2824 # Even if this section looks crufty: it has the advantage of
2831 test "$ac_cv_exeext" = no && ac_cv_exeext=
2834 echo "$as_me: failed program was
:" >&5
2835 sed 's/^/| /' conftest.$ac_ext >&5
2837 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2838 See \
`config.log' for more details." >&5
2839 echo "$as_me: error: C compiler cannot create executables
2840 See \`config.log
' for more details." >&2;}
2841 { (exit 77); exit 77; }; }
2844 ac_exeext=$ac_cv_exeext
2845 { echo "$as_me:$LINENO: result: $ac_file" >&5
2846 echo "${ECHO_T}$ac_file" >&6; }
2848 # Check that the compiler produces executables we can run. If not, either
2849 # the compiler is broken, or we cross compile.
2850 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2851 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2852 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2853 # If not cross compiling, check that we can run a simple program.
2854 if test "$cross_compiling" != yes; then
2855 if { ac_try='.
/$ac_file'
2856 { (case "(($ac_try" in
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2861 (eval "$ac_try") 2>&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; }; then
2867 if test "$cross_compiling" = maybe; then
2870 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2871 If you meant to cross compile, use \`--host'.
2872 See \
`config.log' for more details." >&5
2873 echo "$as_me: error: cannot run C compiled programs.
2874 If you meant to cross compile, use \`--host'.
2875 See \`config.log' for more details.
" >&2;}
2876 { (exit 1); exit 1; }; }
2880 { echo "$as_me:$LINENO: result
: yes" >&5
2881 echo "${ECHO_T}yes" >&6; }
2883 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2884 ac_clean_files=$ac_clean_files_save
2885 # Check that the compiler produces executables we can run. If not, either
2886 # the compiler is broken, or we cross compile.
2887 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2888 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2889 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2890 echo "${ECHO_T}$cross_compiling" >&6; }
2892 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2893 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2894 if { (ac_try="$ac_link"
2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2899 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2900 (eval "$ac_link") 2>&5
2902 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2903 (exit $ac_status); }; then
2904 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2905 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2906 # work properly (i.e., refer to `conftest.exe'), while it won't with
2908 for ac_file in conftest.exe conftest conftest.*; do
2909 test -f "$ac_file" || continue
2911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2912 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2918 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2919 See \
`config.log' for more details." >&5
2920 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2921 See \`config.log
' for more details." >&2;}
2922 { (exit 1); exit 1; }; }
2925 rm -f conftest$ac_cv_exeext
2926 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2927 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2929 rm -f conftest.$ac_ext
2930 EXEEXT=$ac_cv_exeext
2932 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2933 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2934 if test "${ac_cv_objext+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 cat >conftest.$ac_ext <<_ACEOF
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2952 rm -f conftest.o conftest.obj
2953 if { (ac_try="$ac_compile"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compile") 2>&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; then
2963 for ac_file in conftest.o conftest.obj conftest.*; do
2964 test -f "$ac_file" || continue;
2966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2967 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2972 echo "$as_me: failed program was:" >&5
2973 sed 's
/^
/|
/' conftest.$ac_ext >&5
2975 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2976 See \`config.log' for more details.
" >&5
2977 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2978 See \
`config.log' for more details." >&2;}
2979 { (exit 1); exit 1; }; }
2982 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2984 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2985 echo "${ECHO_T}$ac_cv_objext" >&6; }
2986 OBJEXT=$ac_cv_objext
2988 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2989 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2990 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 cat >conftest.$ac_ext <<_ACEOF
2996 cat confdefs.h >>conftest.$ac_ext
2997 cat >>conftest.$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
3011 rm -f conftest.$ac_objext
3012 if { (ac_try="$ac_compile"
3014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3015 *) ac_try_echo
=$ac_try;;
3017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3018 (eval "$ac_compile") 2>conftest.er1
3020 grep -v '^ *+' conftest.er1
>conftest.err
3022 cat conftest.err
>&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } &&
3025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3026 { (case "(($ac_try" in
3027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031 (eval "$ac_try") 2>&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; } &&
3035 { ac_try='test -s conftest.$ac_objext'
3036 { (case "(($ac_try" in
3037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3038 *) ac_try_echo
=$ac_try;;
3040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3041 (eval "$ac_try") 2>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; }; then
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.
$ac_ext >&5
3053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3054 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3057 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3058 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3059 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3060 ac_test_CFLAGS
=${CFLAGS+set}
3061 ac_save_CFLAGS
=$CFLAGS
3062 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3063 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3064 if test "${ac_cv_prog_cc_g+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 ac_save_c_werror_flag
=$ac_c_werror_flag
3068 ac_c_werror_flag
=yes
3071 cat >conftest.
$ac_ext <<_ACEOF
3074 cat confdefs.h
>>conftest.
$ac_ext
3075 cat >>conftest.
$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3086 rm -f conftest.
$ac_objext
3087 if { (ac_try
="$ac_compile"
3089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compile") 2>conftest.er1
3095 grep -v '^ *+' conftest.er1 >conftest.err
3097 cat conftest.err >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); } &&
3100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3101 { (case "(($ac_try" in
3102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3103 *) ac_try_echo
=$ac_try;;
3105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3106 (eval "$ac_try") 2>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }; } &&
3110 { ac_try
='test -s conftest.$ac_objext'
3111 { (case "(($ac_try" in
3112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3116 (eval "$ac_try") 2>&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then
3122 echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3126 cat >conftest.$ac_ext <<_ACEOF
3129 cat confdefs.h >>conftest.$ac_ext
3130 cat >>conftest.$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3141 rm -f conftest.$ac_objext
3142 if { (ac_try="$ac_compile"
3144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3145 *) ac_try_echo
=$ac_try;;
3147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3148 (eval "$ac_compile") 2>conftest.er1
3150 grep -v '^ *+' conftest.er1
>conftest.err
3152 cat conftest.err
>&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); } &&
3155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3156 { (case "(($ac_try" in
3157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3161 (eval "$ac_try") 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; } &&
3165 { ac_try='test -s conftest.$ac_objext'
3166 { (case "(($ac_try" in
3167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3168 *) ac_try_echo
=$ac_try;;
3170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_try") 2>&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3177 echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.
$ac_ext >&5
3180 ac_c_werror_flag
=$ac_save_c_werror_flag
3182 cat >conftest.
$ac_ext <<_ACEOF
3185 cat confdefs.h
>>conftest.
$ac_ext
3186 cat >>conftest.
$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3197 rm -f conftest.
$ac_objext
3198 if { (ac_try
="$ac_compile"
3200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3204 (eval "$ac_compile") 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3212 { (case "(($ac_try" in
3213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3214 *) ac_try_echo
=$ac_try;;
3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3217 (eval "$ac_try") 2>&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); }; } &&
3221 { ac_try
='test -s conftest.$ac_objext'
3222 { (case "(($ac_try" in
3223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3227 (eval "$ac_try") 2>&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; }; then
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 ac_c_werror_flag=$ac_save_c_werror_flag
3248 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3249 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3250 if test "$ac_test_CFLAGS" = set; then
3251 CFLAGS=$ac_save_CFLAGS
3252 elif test $ac_cv_prog_cc_g = yes; then
3253 if test "$GCC" = yes; then
3259 if test "$GCC" = yes; then
3265 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3266 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3267 if test "${ac_cv_prog_cc_c89+set}" = set; then
3268 echo $ECHO_N "(cached) $ECHO_C" >&6
3270 ac_cv_prog_cc_c89=no
3272 cat >conftest.$ac_ext <<_ACEOF
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3280 #include <sys/types.h>
3281 #include <sys/stat.h>
3282 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3283 struct buf { int x; };
3284 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3285 static char *e (p, i)
3291 static char *f (char * (*g) (char **, int), char **p, ...)
3296 s = g (p, va_arg (v,int));
3301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3302 function prototypes and stuff, but not '\xHH' hex character constants.
3303 These don't provoke an error unfortunately, instead are silently treated
3304 as 'x'. The following induces an error, until -std is added to get
3305 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3306 array size at least. It's necessary to write '\x00'==0 to get something
3307 that's true only with -std. */
3308 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3311 inside strings and character constants. */
3313 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3315 int test (int i, double x);
3316 struct s1 {int (*f) (int a);};
3317 struct s2 {int (*f) (double a);};
3318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3324 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3329 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3330 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3332 CC="$ac_save_CC $ac_arg"
3333 rm -f conftest.$ac_objext
3334 if { (ac_try="$ac_compile"
3336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3337 *) ac_try_echo
=$ac_try;;
3339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3340 (eval "$ac_compile") 2>conftest.er1
3342 grep -v '^ *+' conftest.er1
>conftest.err
3344 cat conftest.err
>&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } &&
3347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3348 { (case "(($ac_try" in
3349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3350 *) ac_try_echo=$ac_try;;
3352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3353 (eval "$ac_try") 2>&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; } &&
3357 { ac_try='test -s conftest.$ac_objext'
3358 { (case "(($ac_try" in
3359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3360 *) ac_try_echo
=$ac_try;;
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 (eval "$ac_try") 2>&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }; }; then
3367 ac_cv_prog_cc_c89
=$ac_arg
3369 echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.
$ac_ext >&5
3375 rm -f core conftest.err conftest.
$ac_objext
3376 test "x$ac_cv_prog_cc_c89" != "xno" && break
3378 rm -f conftest.
$ac_ext
3383 case "x$ac_cv_prog_cc_c89" in
3385 { echo "$as_me:$LINENO: result: none needed" >&5
3386 echo "${ECHO_T}none needed" >&6; } ;;
3388 { echo "$as_me:$LINENO: result: unsupported" >&5
3389 echo "${ECHO_T}unsupported" >&6; } ;;
3391 CC
="$CC $ac_cv_prog_cc_c89"
3392 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3393 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3398 ac_cpp
='$CPP $CPPFLAGS'
3399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3405 ac_cpp
='$CPP $CPPFLAGS'
3406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3409 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3410 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3411 # On Suns, sometimes $CPP names a directory.
3412 if test -n "$CPP" && test -d "$CPP"; then
3415 if test -z "$CPP"; then
3416 if test "${ac_cv_prog_CPP+set}" = set; then
3417 echo $ECHO_N "(cached) $ECHO_C" >&6
3419 # Double quotes because CPP needs to be expanded
3420 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3423 for ac_c_preproc_warn_flag
in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3438 # include <limits.h>
3440 # include <assert.h>
3444 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3452 grep -v '^ *+' conftest.er1 >conftest.err
3454 cat conftest.err >&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } >/dev/null; then
3457 if test -s conftest.err; then
3458 ac_cpp_err=$ac_c_preproc_warn_flag
3459 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3466 if test -z "$ac_cpp_err"; then
3469 echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.$ac_ext >&5
3472 # Broken: fails on valid input.
3476 rm -f conftest.err conftest.$ac_ext
3478 # OK, works on sane cases. Now check whether nonexistent headers
3479 # can be detected and how.
3480 cat >conftest.$ac_ext <<_ACEOF
3483 cat confdefs.h >>conftest.$ac_ext
3484 cat >>conftest.$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3486 #include <ac_nonexistent.h>
3488 if { (ac_try="$ac_cpp conftest.$ac_ext"
3490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3491 *) ac_try_echo
=$ac_try;;
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 grep -v '^ *+' conftest.er1
>conftest.err
3498 cat conftest.err
>&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev
/null
; then
3501 if test -s conftest.err
; then
3502 ac_cpp_err
=$ac_c_preproc_warn_flag
3503 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3510 if test -z "$ac_cpp_err"; then
3511 # Broken: success on invalid input.
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.
$ac_ext >&5
3517 # Passes both tests.
3522 rm -f conftest.err conftest.
$ac_ext
3525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3526 rm -f conftest.err conftest.
$ac_ext
3527 if $ac_preproc_ok; then
3539 { echo "$as_me:$LINENO: result: $CPP" >&5
3540 echo "${ECHO_T}$CPP" >&6; }
3542 for ac_c_preproc_warn_flag
in '' yes
3544 # Use a header file that comes with gcc, so configuring glibc
3545 # with a fresh cross-compiler works.
3546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3547 # <limits.h> exists even on freestanding compilers.
3548 # On the NeXT, cc -E runs the code through the compiler's parser,
3549 # not just through cpp. "Syntax error" is here to catch this case.
3550 cat >conftest.
$ac_ext <<_ACEOF
3553 cat confdefs.h
>>conftest.
$ac_ext
3554 cat >>conftest.
$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3557 # include <limits.h>
3559 # include <assert.h>
3563 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3566 *) ac_try_echo=$ac_try;;
3568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3571 grep -v '^ *+' conftest.er1 >conftest.err
3573 cat conftest.err >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } >/dev/null; then
3576 if test -s conftest.err; then
3577 ac_cpp_err=$ac_c_preproc_warn_flag
3578 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3585 if test -z "$ac_cpp_err"; then
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3591 # Broken: fails on valid input.
3595 rm -f conftest.err conftest.$ac_ext
3597 # OK, works on sane cases. Now check whether nonexistent headers
3598 # can be detected and how.
3599 cat >conftest.$ac_ext <<_ACEOF
3602 cat confdefs.h >>conftest.$ac_ext
3603 cat >>conftest.$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3605 #include <ac_nonexistent.h>
3607 if { (ac_try="$ac_cpp conftest.$ac_ext"
3609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3610 *) ac_try_echo
=$ac_try;;
3612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3615 grep -v '^ *+' conftest.er1
>conftest.err
3617 cat conftest.err
>&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } >/dev
/null
; then
3620 if test -s conftest.err
; then
3621 ac_cpp_err
=$ac_c_preproc_warn_flag
3622 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3629 if test -z "$ac_cpp_err"; then
3630 # Broken: success on invalid input.
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.
$ac_ext >&5
3636 # Passes both tests.
3641 rm -f conftest.err conftest.
$ac_ext
3644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3645 rm -f conftest.err conftest.
$ac_ext
3646 if $ac_preproc_ok; then
3649 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3650 See \`config.log' for more details." >&5
3651 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3652 See \`config.log' for more details." >&2;}
3653 { (exit 1); exit 1; }; }
3657 ac_cpp
='$CPP $CPPFLAGS'
3658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3663 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3664 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3665 if test "${ac_cv_path_GREP+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 # Extract the first word of "grep ggrep" to use in msg output
3669 if test -z "$GREP"; then
3670 set dummy
grep ggrep
; ac_prog_name
=$2
3671 if test "${ac_cv_path_GREP+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 ac_path_GREP_found
=false
3675 # Loop through the user's path and test for each of PROGNAME-LIST
3676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3677 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3680 test -z "$as_dir" && as_dir
=.
3681 for ac_prog
in grep ggrep
; do
3682 for ac_exec_ext
in '' $ac_executable_extensions; do
3683 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3684 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3685 # Check for GNU ac_path_GREP and select it if it is found.
3686 # Check for GNU $ac_path_GREP
3687 case `"$ac_path_GREP" --version 2>&1` in
3689 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3692 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3695 cat "conftest.in" "conftest.in" >"conftest.tmp"
3696 mv "conftest.tmp" "conftest.in"
3697 cp "conftest.in" "conftest.nl"
3698 echo 'GREP' >> "conftest.nl"
3699 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3700 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3701 ac_count
=`expr $ac_count + 1`
3702 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3703 # Best one so far, save it but keep looking for a better one
3704 ac_cv_path_GREP
="$ac_path_GREP"
3705 ac_path_GREP_max
=$ac_count
3707 # 10*(2^10) chars as input seems more than enough
3708 test $ac_count -gt 10 && break
3710 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3714 $ac_path_GREP_found && break 3
3724 GREP
="$ac_cv_path_GREP"
3725 if test -z "$GREP"; then
3726 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3727 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3728 { (exit 1); exit 1; }; }
3732 ac_cv_path_GREP
=$GREP
3737 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3738 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3739 GREP
="$ac_cv_path_GREP"
3742 { echo "$as_me:$LINENO: checking for egrep" >&5
3743 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3744 if test "${ac_cv_path_EGREP+set}" = set; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3748 then ac_cv_path_EGREP
="$GREP -E"
3750 # Extract the first word of "egrep" to use in msg output
3751 if test -z "$EGREP"; then
3752 set dummy
egrep; ac_prog_name
=$2
3753 if test "${ac_cv_path_EGREP+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 ac_path_EGREP_found
=false
3757 # Loop through the user's path and test for each of PROGNAME-LIST
3758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3759 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3762 test -z "$as_dir" && as_dir
=.
3763 for ac_prog
in egrep; do
3764 for ac_exec_ext
in '' $ac_executable_extensions; do
3765 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3766 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3767 # Check for GNU ac_path_EGREP and select it if it is found.
3768 # Check for GNU $ac_path_EGREP
3769 case `"$ac_path_EGREP" --version 2>&1` in
3771 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3774 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3777 cat "conftest.in" "conftest.in" >"conftest.tmp"
3778 mv "conftest.tmp" "conftest.in"
3779 cp "conftest.in" "conftest.nl"
3780 echo 'EGREP' >> "conftest.nl"
3781 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3782 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3783 ac_count
=`expr $ac_count + 1`
3784 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3785 # Best one so far, save it but keep looking for a better one
3786 ac_cv_path_EGREP
="$ac_path_EGREP"
3787 ac_path_EGREP_max
=$ac_count
3789 # 10*(2^10) chars as input seems more than enough
3790 test $ac_count -gt 10 && break
3792 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3796 $ac_path_EGREP_found && break 3
3806 EGREP
="$ac_cv_path_EGREP"
3807 if test -z "$EGREP"; then
3808 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3809 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3810 { (exit 1); exit 1; }; }
3814 ac_cv_path_EGREP
=$EGREP
3820 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3821 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3822 EGREP
="$ac_cv_path_EGREP"
3825 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3826 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3827 if test "${ac_cv_header_stdc+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 cat >conftest.
$ac_ext <<_ACEOF
3833 cat confdefs.h
>>conftest.
$ac_ext
3834 cat >>conftest.
$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3849 rm -f conftest.
$ac_objext
3850 if { (ac_try
="$ac_compile"
3852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3853 *) ac_try_echo=$ac_try;;
3855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3856 (eval "$ac_compile") 2>conftest.er1
3858 grep -v '^ *+' conftest.er1 >conftest.err
3860 cat conftest.err >&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); } &&
3863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3864 { (case "(($ac_try" in
3865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3866 *) ac_try_echo
=$ac_try;;
3868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3869 (eval "$ac_try") 2>&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }; } &&
3873 { ac_try
='test -s conftest.$ac_objext'
3874 { (case "(($ac_try" in
3875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3876 *) ac_try_echo=$ac_try;;
3878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3879 (eval "$ac_try") 2>&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_cv_header_stdc=yes
3885 echo "$as_me: failed program was:" >&5
3886 sed 's/^/| /' conftest.$ac_ext >&5
3888 ac_cv_header_stdc=no
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3893 if test $ac_cv_header_stdc = yes; then
3894 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3895 cat >conftest.$ac_ext <<_ACEOF
3898 cat confdefs.h >>conftest.$ac_ext
3899 cat >>conftest.$ac_ext <<_ACEOF
3900 /* end confdefs.h. */
3904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3905 $EGREP "memchr" >/dev/null 2>&1; then
3908 ac_cv_header_stdc=no
3914 if test $ac_cv_header_stdc = yes; then
3915 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3916 cat >conftest.$ac_ext <<_ACEOF
3919 cat confdefs.h >>conftest.$ac_ext
3920 cat >>conftest.$ac_ext <<_ACEOF
3921 /* end confdefs.h. */
3925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3926 $EGREP "free" >/dev/null 2>&1; then
3929 ac_cv_header_stdc=no
3935 if test $ac_cv_header_stdc = yes; then
3936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3937 if test "$cross_compiling" = yes; then
3940 cat >conftest.$ac_ext <<_ACEOF
3943 cat confdefs.h >>conftest.$ac_ext
3944 cat >>conftest.$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3948 #if ((' ' & 0x0FF) == 0x020)
3949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3952 # define ISLOWER(c) \
3953 (('a' <= (c) && (c) <= 'i') \
3954 || ('j' <= (c) && (c) <= 'r') \
3955 || ('s' <= (c) && (c) <= 'z'))
3956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3964 for (i = 0; i < 256; i++)
3965 if (XOR (islower (i), ISLOWER (i))
3966 || toupper (i) != TOUPPER (i))
3971 rm -f conftest$ac_exeext
3972 if { (ac_try="$ac_link"
3974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3975 *) ac_try_echo
=$ac_try;;
3977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3978 (eval "$ac_link") 2>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3982 { (case "(($ac_try" in
3983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3987 (eval "$ac_try") 2>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); }; }; then
3993 echo "$as_me: program exited with status $ac_status" >&5
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3998 ac_cv_header_stdc=no
4000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4006 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4007 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4008 if test $ac_cv_header_stdc = yes; then
4010 cat >>confdefs.h <<\_ACEOF
4011 #define STDC_HEADERS 1
4016 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4026 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4027 inttypes.h stdint.h unistd.h
4029 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 cat >conftest.$ac_ext <<_ACEOF
4038 cat confdefs.h >>conftest.$ac_ext
4039 cat >>conftest.$ac_ext <<_ACEOF
4040 /* end confdefs.h. */
4041 $ac_includes_default
4043 #include <$ac_header>
4045 rm -f conftest.$ac_objext
4046 if { (ac_try="$ac_compile"
4048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4049 *) ac_try_echo
=$ac_try;;
4051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4052 (eval "$ac_compile") 2>conftest.er1
4054 grep -v '^ *+' conftest.er1
>conftest.err
4056 cat conftest.err
>&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); } &&
4059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4060 { (case "(($ac_try" in
4061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065 (eval "$ac_try") 2>&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); }; } &&
4069 { ac_try='test -s conftest.$ac_objext'
4070 { (case "(($ac_try" in
4071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4072 *) ac_try_echo
=$ac_try;;
4074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4075 (eval "$ac_try") 2>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; }; then
4079 eval "$as_ac_Header=yes"
4081 echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.
$ac_ext >&5
4084 eval "$as_ac_Header=no"
4087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4089 ac_res
=`eval echo '${'$as_ac_Header'}'`
4090 { echo "$as_me:$LINENO: result: $ac_res" >&5
4091 echo "${ECHO_T}$ac_res" >&6; }
4092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4093 cat >>confdefs.h
<<_ACEOF
4094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4102 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4103 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4104 if test "${ac_cv_c_bigendian+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 # See if sys/param.h defines the BYTE_ORDER macro.
4108 cat >conftest.
$ac_ext <<_ACEOF
4111 cat confdefs.h
>>conftest.
$ac_ext
4112 cat >>conftest.
$ac_ext <<_ACEOF
4113 /* end confdefs.h. */
4114 #include <sys/types.h>
4115 #include <sys/param.h>
4120 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4128 rm -f conftest.
$ac_objext
4129 if { (ac_try
="$ac_compile"
4131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4132 *) ac_try_echo=$ac_try;;
4134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4135 (eval "$ac_compile") 2>conftest.er1
4137 grep -v '^ *+' conftest.er1 >conftest.err
4139 cat conftest.err >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } &&
4142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4143 { (case "(($ac_try" in
4144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4145 *) ac_try_echo
=$ac_try;;
4147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4148 (eval "$ac_try") 2>&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; } &&
4152 { ac_try
='test -s conftest.$ac_objext'
4153 { (case "(($ac_try" in
4154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4155 *) ac_try_echo=$ac_try;;
4157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4158 (eval "$ac_try") 2>&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); }; }; then
4162 # It does; now see whether it defined to BIG_ENDIAN or not.
4163 cat >conftest.$ac_ext <<_ACEOF
4166 cat confdefs.h >>conftest.$ac_ext
4167 cat >>conftest.$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4169 #include <sys/types.h>
4170 #include <sys/param.h>
4175 #if BYTE_ORDER != BIG_ENDIAN
4183 rm -f conftest.$ac_objext
4184 if { (ac_try="$ac_compile"
4186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4187 *) ac_try_echo
=$ac_try;;
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_compile") 2>conftest.er1
4192 grep -v '^ *+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4198 { (case "(($ac_try" in
4199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4200 *) ac_try_echo=$ac_try;;
4202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4203 (eval "$ac_try") 2>&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); }; } &&
4207 { ac_try='test -s conftest.$ac_objext'
4208 { (case "(($ac_try" in
4209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4210 *) ac_try_echo
=$ac_try;;
4212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4213 (eval "$ac_try") 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; }; then
4217 ac_cv_c_bigendian
=yes
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.
$ac_ext >&5
4222 ac_cv_c_bigendian
=no
4225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4227 echo "$as_me: failed program was:" >&5
4228 sed 's/^/| /' conftest.
$ac_ext >&5
4230 # It does not; compile a test program.
4231 if test "$cross_compiling" = yes; then
4232 # try to guess the endianness by grepping values into an object file
4233 ac_cv_c_bigendian
=unknown
4234 cat >conftest.
$ac_ext <<_ACEOF
4237 cat confdefs.h
>>conftest.
$ac_ext
4238 cat >>conftest.
$ac_ext <<_ACEOF
4239 /* end confdefs.h. */
4240 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4241 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4242 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4243 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4244 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4245 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4249 _ascii (); _ebcdic ();
4254 rm -f conftest.
$ac_objext
4255 if { (ac_try
="$ac_compile"
4257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4258 *) ac_try_echo=$ac_try;;
4260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4261 (eval "$ac_compile") 2>conftest.er1
4263 grep -v '^ *+' conftest.er1 >conftest.err
4265 cat conftest.err >&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); } &&
4268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4269 { (case "(($ac_try" in
4270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4271 *) ac_try_echo
=$ac_try;;
4273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4274 (eval "$ac_try") 2>&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; } &&
4278 { ac_try
='test -s conftest.$ac_objext'
4279 { (case "(($ac_try" in
4280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4281 *) ac_try_echo=$ac_try;;
4283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4284 (eval "$ac_try") 2>&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); }; }; then
4288 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4289 ac_cv_c_bigendian=yes
4291 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4292 if test "$ac_cv_c_bigendian" = unknown; then
4293 ac_cv_c_bigendian=no
4295 # finding both strings is unlikely to happen, but who knows?
4296 ac_cv_c_bigendian=unknown
4300 echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 cat >conftest.$ac_ext <<_ACEOF
4311 cat confdefs.h >>conftest.$ac_ext
4312 cat >>conftest.$ac_ext <<_ACEOF
4313 /* end confdefs.h. */
4314 $ac_includes_default
4319 /* Are we little or big endian? From Harbison&Steele. */
4323 char c[sizeof (long int)];
4326 return u.c[sizeof (long int) - 1] == 1;
4332 rm -f conftest$ac_exeext
4333 if { (ac_try="$ac_link"
4335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4336 *) ac_try_echo
=$ac_try;;
4338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4339 (eval "$ac_link") 2>&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4343 { (case "(($ac_try" in
4344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4345 *) ac_try_echo=$ac_try;;
4347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4348 (eval "$ac_try") 2>&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; }; then
4352 ac_cv_c_bigendian=no
4354 echo "$as_me: program exited with status $ac_status" >&5
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4359 ac_cv_c_bigendian=yes
4361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4369 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4370 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4371 case $ac_cv_c_bigendian in
4379 { { echo "$as_me:$LINENO: error: unknown endianness
4380 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4381 echo "$as_me: error: unknown endianness
4382 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4383 { (exit 1); exit 1; }; } ;;
4387 if test "$cross_compiling" = yes; then
4388 LLVM_CROSS_COMPILING=1
4391 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4392 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4393 if test "${ac_cv_build_exeext+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4397 ac_cv_build_exeext=.exe
4399 ac_build_prefix=${build_alias}-
4401 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4402 set dummy ${ac_build_prefix}gcc; ac_word=$2
4403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4405 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 if test -n "$BUILD_CC"; then
4409 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 BUILD_CC=$ac_cv_prog_BUILD_CC
4429 if test -n "$BUILD_CC"; then
4430 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4431 echo "${ECHO_T}$BUILD_CC" >&6; }
4433 { echo "$as_me:$LINENO: result: no" >&5
4434 echo "${ECHO_T}no" >&6; }
4438 if test -z "$BUILD_CC"; then
4439 # Extract the first word of "gcc", so it can be a program name with args.
4440 set dummy gcc; ac_word=$2
4441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4443 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4444 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 if test -n "$BUILD_CC"; then
4447 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4456 ac_cv_prog_BUILD_CC="gcc"
4457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 BUILD_CC=$ac_cv_prog_BUILD_CC
4467 if test -n "$BUILD_CC"; then
4468 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4469 echo "${ECHO_T}$BUILD_CC" >&6; }
4471 { echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6; }
4476 if test -z "$BUILD_CC"; then
4477 # Extract the first word of "cc", so it can be a program name with args.
4478 set dummy cc; ac_word=$2
4479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4481 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 if test -n "$BUILD_CC"; then
4485 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4496 ac_prog_rejected=yes
4499 ac_cv_prog_BUILD_CC="cc"
4500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 if test $ac_prog_rejected = yes; then
4508 # We found a bogon in the path, so make sure we never use it.
4509 set dummy $ac_cv_prog_BUILD_CC
4511 if test $# != 0; then
4512 # We chose a different compiler from the bogus one.
4513 # However, it has the same basename, so the bogon will be chosen
4514 # first if we set BUILD_CC to just the basename; use the full file name.
4516 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4521 BUILD_CC=$ac_cv_prog_BUILD_CC
4522 if test -n "$BUILD_CC"; then
4523 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4524 echo "${ECHO_T}$BUILD_CC" >&6; }
4526 { echo "$as_me:$LINENO: result: no" >&5
4527 echo "${ECHO_T}no" >&6; }
4533 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4534 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4535 { (exit 1); exit 1; }; }
4536 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4538 echo 'int main () { return 0; }' > conftest.$ac_ext
4540 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4541 (eval $ac_build_link) 2>&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); }; then
4545 for file in conftest.*; do
4547 *.c | *.o | *.obj | *.dSYM) ;;
4548 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4552 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4553 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4554 { (exit 1); exit 1; }; }
4557 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4562 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4563 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4564 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4565 ac_build_exeext=$BUILD_EXEEXT
4567 ac_build_prefix=${build_alias}-
4568 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4569 set dummy ${ac_build_prefix}g++; ac_word=$2
4570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4572 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 if test -n "$BUILD_CXX"; then
4576 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4585 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4596 if test -n "$BUILD_CXX"; then
4597 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4598 echo "${ECHO_T}$BUILD_CXX" >&6; }
4600 { echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6; }
4605 if test -z "$BUILD_CXX"; then
4606 # Extract the first word of "g++", so it can be a program name with args.
4607 set dummy g++; ac_word=$2
4608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4610 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 if test -n "$BUILD_CXX"; then
4614 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4623 ac_cv_prog_BUILD_CXX="g++"
4624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4634 if test -n "$BUILD_CXX"; then
4635 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4636 echo "${ECHO_T}$BUILD_CXX" >&6; }
4638 { echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6; }
4643 if test -z "$BUILD_CXX"; then
4644 # Extract the first word of "c++", so it can be a program name with args.
4645 set dummy c++; ac_word=$2
4646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4648 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4649 echo $ECHO_N "(cached) $ECHO_C" >&6
4651 if test -n "$BUILD_CXX"; then
4652 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir=.
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4662 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4663 ac_prog_rejected=yes
4666 ac_cv_prog_BUILD_CXX="c++"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 if test $ac_prog_rejected = yes; then
4675 # We found a bogon in the path, so make sure we never use it.
4676 set dummy $ac_cv_prog_BUILD_CXX
4678 if test $# != 0; then
4679 # We chose a different compiler from the bogus one.
4680 # However, it has the same basename, so the bogon will be chosen
4681 # first if we set BUILD_CXX to just the basename; use the full file name.
4683 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4688 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4689 if test -n "$BUILD_CXX"; then
4690 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4691 echo "${ECHO_T}$BUILD_CXX" >&6; }
4693 { echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6; }
4701 LLVM_CROSS_COMPILING=0
4705 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4716 # Check whether --enable-optimized was given.
4717 if test "${enable_optimized+set}" = set; then
4718 enableval=$enable_optimized;
4723 if test ${enableval} = "no" ; then
4727 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4731 # Check whether --enable-profiling was given.
4732 if test "${enable_profiling+set}" = set; then
4733 enableval=$enable_profiling;
4738 if test ${enableval} = "no" ; then
4742 ENABLE_PROFILING=ENABLE_PROFILING=1
4746 # Check whether --enable-assertions was given.
4747 if test "${enable_assertions+set}" = set; then
4748 enableval=$enable_assertions;
4753 if test ${enableval} = "yes" ; then
4757 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4761 # Check whether --enable-expensive-checks was given.
4762 if test "${enable_expensive_checks+set}" = set; then
4763 enableval=$enable_expensive_checks;
4768 if test ${enableval} = "yes" ; then
4769 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4771 EXPENSIVE_CHECKS=yes
4774 ENABLE_EXPENSIVE_CHECKS=
4780 # Check whether --enable-debug-runtime was given.
4781 if test "${enable_debug_runtime+set}" = set; then
4782 enableval=$enable_debug_runtime;
4787 if test ${enableval} = "no" ; then
4791 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4795 # Check whether --enable-jit was given.
4796 if test "${enable_jit+set}" = set; then
4797 enableval=$enable_jit;
4802 if test ${enableval} = "no"
4807 case "$llvm_cv_target_arch" in
4808 x86) TARGET_HAS_JIT=1
4810 Sparc) TARGET_HAS_JIT=0
4812 PowerPC) TARGET_HAS_JIT=1
4814 x86_64) TARGET_HAS_JIT=1
4816 Alpha) TARGET_HAS_JIT=1
4818 IA64) TARGET_HAS_JIT=0
4820 ARM) TARGET_HAS_JIT=0
4822 Mips) TARGET_HAS_JIT=0
4824 PIC16) TARGET_HAS_JIT=0
4826 XCore) TARGET_HAS_JIT=0
4828 MSP430) TARGET_HAS_JIT=0
4835 # Check whether --enable-doxygen was given.
4836 if test "${enable_doxygen+set}" = set; then
4837 enableval=$enable_doxygen;
4842 case "$enableval" in
4843 yes) ENABLE_DOXYGEN=1
4845 no) ENABLE_DOXYGEN=0
4847 default) ENABLE_DOXYGEN=0
4849 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4850 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4851 { (exit 1); exit 1; }; } ;;
4854 # Check whether --enable-threads was given.
4855 if test "${enable_threads+set}" = set; then
4856 enableval=$enable_threads;
4861 case "$enableval" in
4862 yes) ENABLE_THREADS=1
4864 no) ENABLE_THREADS=0
4866 default) ENABLE_THREADS=1
4868 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4869 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4870 { (exit 1); exit 1; }; } ;;
4873 cat >>confdefs.h <<_ACEOF
4874 #define ENABLE_THREADS $ENABLE_THREADS
4878 # Check whether --enable-pic was given.
4879 if test "${enable_pic+set}" = set; then
4880 enableval=$enable_pic;
4885 case "$enableval" in
4890 default) ENABLE_PIC=1
4892 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4893 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4894 { (exit 1); exit 1; }; } ;;
4897 cat >>confdefs.h <<_ACEOF
4898 #define ENABLE_PIC $ENABLE_PIC
4903 # Check whether --enable-targets was given.
4904 if test "${enable_targets+set}" = set; then
4905 enableval=$enable_targets;
4910 case "$enableval" in
4911 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM Mips CellSPU PIC16 XCore MSP430 CBackend MSIL CppBackend" ;;
4913 case "$llvm_cv_target_arch" in
4914 x86) TARGETS_TO_BUILD="X86" ;;
4915 x86_64) TARGETS_TO_BUILD="X86" ;;
4916 Sparc) TARGETS_TO_BUILD="Sparc" ;;
4917 PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
4918 Alpha) TARGETS_TO_BUILD="Alpha" ;;
4919 IA64) TARGETS_TO_BUILD="IA64" ;;
4920 ARM) TARGETS_TO_BUILD="ARM" ;;
4921 Mips) TARGETS_TO_BUILD="Mips" ;;
4922 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU" ;;
4923 PIC16) TARGETS_TO_BUILD="PIC16" ;;
4924 XCore) TARGETS_TO_BUILD="XCore" ;;
4925 MSP430) TARGETS_TO_BUILD="MSP430" ;;
4926 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
4927 echo "$as_me: error: Can not set target to build" >&2;}
4928 { (exit 1); exit 1; }; } ;;
4931 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4933 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4934 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4935 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
4936 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
4937 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
4938 ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
4939 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
4940 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
4941 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
4942 pic16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
4943 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
4944 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
4945 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
4946 msil) TARGETS_TO_BUILD="MSIL $TARGETS_TO_BUILD" ;;
4947 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
4948 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
4949 echo "$as_me: error: Unrecognized target $a_target" >&2;}
4950 { (exit 1); exit 1; }; } ;;
4955 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
4958 # Check whether --enable-cbe-printf-a was given.
4959 if test "${enable_cbe_printf_a+set}" = set; then
4960 enableval=$enable_cbe_printf_a;
4965 case "$enableval" in
4966 yes) ENABLE_CBE_PRINTF_A=1
4968 no) ENABLE_CBE_PRINTF_A=0
4970 default) ENABLE_CBE_PRINTF_A=1
4972 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
4973 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
4974 { (exit 1); exit 1; }; } ;;
4977 cat >>confdefs.h <<_ACEOF
4978 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
4983 # Check whether --with-llvmgccdir was given.
4984 if test "${with_llvmgccdir+set}" = set; then
4985 withval=$with_llvmgccdir;
4991 default) WITH_LLVMGCCDIR=default ;;
4992 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
4993 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
4994 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
4995 { (exit 1); exit 1; }; } ;;
4999 # Check whether --with-llvmgcc was given.
5000 if test "${with_llvmgcc+set}" = set; then
5001 withval=$with_llvmgcc; LLVMGCC=$with_llvmgcc
5007 # Check whether --with-llvmgxx was given.
5008 if test "${with_llvmgxx+set}" = set; then
5009 withval=$with_llvmgxx; LLVMGXX=$with_llvmgxx
5013 if test -n "$LLVMGCC"; then
5014 LLVMGCCCOMMAND="$LLVMGCC"
5017 if test -n "$LLVMGXX"; then
5018 LLVMGXXCOMMAND="$LLVMGXX"
5021 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
5022 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
5023 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
5024 { (exit 1); exit 1; }; };
5027 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
5028 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
5029 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
5030 { (exit 1); exit 1; }; };
5034 # Check whether --with-extra-options was given.
5035 if test "${with_extra_options+set}" = set; then
5036 withval=$with_extra_options;
5042 default) EXTRA_OPTIONS= ;;
5043 *) EXTRA_OPTIONS=$withval ;;
5045 EXTRA_OPTIONS=$EXTRA_OPTIONS
5048 # Check whether --enable-bindings was given.
5049 if test "${enable_bindings+set}" = set; then
5050 enableval=$enable_bindings;
5055 BINDINGS_TO_BUILD=""
5056 case "$enableval" in
5057 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5058 all ) BINDINGS_TO_BUILD="ocaml" ;;
5059 none | no) BINDINGS_TO_BUILD="" ;;
5060 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5061 case "$a_binding" in
5062 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5063 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5064 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5065 { (exit 1); exit 1; }; } ;;
5072 # Check whether --with-ocaml-libdir was given.
5073 if test "${with_ocaml_libdir+set}" = set; then
5074 withval=$with_ocaml_libdir;
5080 auto) with_ocaml_libdir="$withval" ;;
5081 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5082 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5083 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5084 { (exit 1); exit 1; }; } ;;
5088 # Check whether --with-binutils-include was given.
5089 if test "${with_binutils_include+set}" = set; then
5090 withval=$with_binutils_include;
5096 default) WITH_BINUTILS_INCDIR=default ;;
5097 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5098 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5099 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5100 { (exit 1); exit 1; }; } ;;
5102 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5103 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5105 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5106 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5107 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5108 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5109 { (exit 1); exit 1; }; };
5115 ac_cpp='$CPP $CPPFLAGS'
5116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5120 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5121 # On Suns, sometimes $CPP names a directory.
5122 if test -n "$CPP" && test -d "$CPP"; then
5125 if test -z "$CPP"; then
5126 if test "${ac_cv_prog_CPP+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 # Double quotes because CPP needs to be expanded
5130 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5133 for ac_c_preproc_warn_flag in '' yes
5135 # Use a header file that comes with gcc, so configuring glibc
5136 # with a fresh cross-compiler works.
5137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5138 # <limits.h> exists even on freestanding compilers.
5139 # On the NeXT, cc -E runs the code through the compiler's parser,
5140 # not just through cpp. "Syntax error" is here to catch this case.
5141 cat >conftest.$ac_ext <<_ACEOF
5144 cat confdefs.h >>conftest.$ac_ext
5145 cat >>conftest.$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5148 # include <limits.h>
5150 # include <assert.h>
5154 if { (ac_try="$ac_cpp conftest.$ac_ext"
5156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5157 *) ac_try_echo
=$ac_try;;
5159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5162 grep -v '^ *+' conftest.er1
>conftest.err
5164 cat conftest.err
>&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } >/dev
/null
; then
5167 if test -s conftest.err
; then
5168 ac_cpp_err
=$ac_c_preproc_warn_flag
5169 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5176 if test -z "$ac_cpp_err"; then
5179 echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.
$ac_ext >&5
5182 # Broken: fails on valid input.
5186 rm -f conftest.err conftest.
$ac_ext
5188 # OK, works on sane cases. Now check whether nonexistent headers
5189 # can be detected and how.
5190 cat >conftest.
$ac_ext <<_ACEOF
5193 cat confdefs.h
>>conftest.
$ac_ext
5194 cat >>conftest.
$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5196 #include <ac_nonexistent.h>
5198 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5206 grep -v '^ *+' conftest.er1 >conftest.err
5208 cat conftest.err >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } >/dev/null; then
5211 if test -s conftest.err; then
5212 ac_cpp_err=$ac_c_preproc_warn_flag
5213 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5220 if test -z "$ac_cpp_err"; then
5221 # Broken: success on invalid input.
5224 echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.$ac_ext >&5
5227 # Passes both tests.
5232 rm -f conftest.err conftest.$ac_ext
5235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5236 rm -f conftest.err conftest.
$ac_ext
5237 if $ac_preproc_ok; then
5249 { echo "$as_me:$LINENO: result: $CPP" >&5
5250 echo "${ECHO_T}$CPP" >&6; }
5252 for ac_c_preproc_warn_flag
in '' yes
5254 # Use a header file that comes with gcc, so configuring glibc
5255 # with a fresh cross-compiler works.
5256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5257 # <limits.h> exists even on freestanding compilers.
5258 # On the NeXT, cc -E runs the code through the compiler's parser,
5259 # not just through cpp. "Syntax error" is here to catch this case.
5260 cat >conftest.
$ac_ext <<_ACEOF
5263 cat confdefs.h
>>conftest.
$ac_ext
5264 cat >>conftest.
$ac_ext <<_ACEOF
5265 /* end confdefs.h. */
5267 # include <limits.h>
5269 # include <assert.h>
5273 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5281 grep -v '^ *+' conftest.er1 >conftest.err
5283 cat conftest.err >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); } >/dev/null; then
5286 if test -s conftest.err; then
5287 ac_cpp_err=$ac_c_preproc_warn_flag
5288 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5295 if test -z "$ac_cpp_err"; then
5298 echo "$as_me: failed program was:" >&5
5299 sed 's/^/| /' conftest.$ac_ext >&5
5301 # Broken: fails on valid input.
5305 rm -f conftest.err conftest.$ac_ext
5307 # OK, works on sane cases. Now check whether nonexistent headers
5308 # can be detected and how.
5309 cat >conftest.$ac_ext <<_ACEOF
5312 cat confdefs.h >>conftest.$ac_ext
5313 cat >>conftest.$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5315 #include <ac_nonexistent.h>
5317 if { (ac_try="$ac_cpp conftest.$ac_ext"
5319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5320 *) ac_try_echo
=$ac_try;;
5322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5323 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5325 grep -v '^ *+' conftest.er1
>conftest.err
5327 cat conftest.err
>&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); } >/dev
/null
; then
5330 if test -s conftest.err
; then
5331 ac_cpp_err
=$ac_c_preproc_warn_flag
5332 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5339 if test -z "$ac_cpp_err"; then
5340 # Broken: success on invalid input.
5343 echo "$as_me: failed program was:" >&5
5344 sed 's/^/| /' conftest.
$ac_ext >&5
5346 # Passes both tests.
5351 rm -f conftest.err conftest.
$ac_ext
5354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5355 rm -f conftest.err conftest.
$ac_ext
5356 if $ac_preproc_ok; then
5359 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5360 See \`config.log' for more details." >&5
5361 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5362 See \`config.log' for more details." >&2;}
5363 { (exit 1); exit 1; }; }
5367 ac_cpp
='$CPP $CPPFLAGS'
5368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5373 ac_cpp
='$CPP $CPPFLAGS'
5374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5377 if test -n "$ac_tool_prefix"; then
5380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5381 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5384 if test "${ac_cv_prog_CC+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 if test -n "$CC"; then
5388 ac_cv_prog_CC
="$CC" # Let the user override the test.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5397 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 if test -n "$CC"; then
5409 { echo "$as_me:$LINENO: result: $CC" >&5
5410 echo "${ECHO_T}$CC" >&6; }
5412 { echo "$as_me:$LINENO: result: no" >&5
5413 echo "${ECHO_T}no" >&6; }
5417 test -n "$CC" && break
5420 if test -z "$CC"; then
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy
$ac_prog; ac_word
=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 if test -n "$ac_ct_CC"; then
5432 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_ac_ct_CC
="$ac_prog"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5452 if test -n "$ac_ct_CC"; then
5453 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5454 echo "${ECHO_T}$ac_ct_CC" >&6; }
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5461 test -n "$ac_ct_CC" && break
5464 if test "x$ac_ct_CC" = x
; then
5467 case $cross_compiling:$ac_tool_warned in
5469 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5470 whose name does not start with the host triplet. If you think this
5471 configuration is useful to you, please write to autoconf@gnu.org." >&5
5472 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5475 ac_tool_warned
=yes ;;
5482 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5483 See \`config.log' for more details." >&5
5484 echo "$as_me: error: no acceptable C compiler found in \$PATH
5485 See \`config.log' for more details." >&2;}
5486 { (exit 1); exit 1; }; }
5488 # Provide some information about the compiler.
5489 echo "$as_me:$LINENO: checking for C compiler version" >&5
5490 ac_compiler
=`set X $ac_compile; echo $2`
5491 { (ac_try
="$ac_compiler --version >&5"
5493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5494 *) ac_try_echo=$ac_try;;
5496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5497 (eval "$ac_compiler --version >&5") 2>&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); }
5501 { (ac_try="$ac_compiler -v >&5"
5503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5504 *) ac_try_echo
=$ac_try;;
5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5507 (eval "$ac_compiler -v >&5") 2>&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }
5511 { (ac_try
="$ac_compiler -V >&5"
5513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5514 *) ac_try_echo=$ac_try;;
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_compiler -V >&5") 2>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }
5522 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5523 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5524 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 cat >conftest.$ac_ext <<_ACEOF
5530 cat confdefs.h >>conftest.$ac_ext
5531 cat >>conftest.$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5545 rm -f conftest.$ac_objext
5546 if { (ac_try="$ac_compile"
5548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5549 *) ac_try_echo
=$ac_try;;
5551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5552 (eval "$ac_compile") 2>conftest.er1
5554 grep -v '^ *+' conftest.er1
>conftest.err
5556 cat conftest.err
>&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); } &&
5559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5560 { (case "(($ac_try" in
5561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5562 *) ac_try_echo=$ac_try;;
5564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5565 (eval "$ac_try") 2>&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); }; } &&
5569 { ac_try='test -s conftest.$ac_objext'
5570 { (case "(($ac_try" in
5571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5572 *) ac_try_echo
=$ac_try;;
5574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5575 (eval "$ac_try") 2>&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5581 echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.
$ac_ext >&5
5587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5588 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5591 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5592 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5593 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5594 ac_test_CFLAGS
=${CFLAGS+set}
5595 ac_save_CFLAGS
=$CFLAGS
5596 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5597 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5598 if test "${ac_cv_prog_cc_g+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 ac_save_c_werror_flag
=$ac_c_werror_flag
5602 ac_c_werror_flag
=yes
5605 cat >conftest.
$ac_ext <<_ACEOF
5608 cat confdefs.h
>>conftest.
$ac_ext
5609 cat >>conftest.
$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5620 rm -f conftest.
$ac_objext
5621 if { (ac_try
="$ac_compile"
5623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5624 *) ac_try_echo=$ac_try;;
5626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5627 (eval "$ac_compile") 2>conftest.er1
5629 grep -v '^ *+' conftest.er1 >conftest.err
5631 cat conftest.err >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } &&
5634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5635 { (case "(($ac_try" in
5636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5637 *) ac_try_echo
=$ac_try;;
5639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5640 (eval "$ac_try") 2>&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); }; } &&
5644 { ac_try
='test -s conftest.$ac_objext'
5645 { (case "(($ac_try" in
5646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5647 *) ac_try_echo=$ac_try;;
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5650 (eval "$ac_try") 2>&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }; }; then
5656 echo "$as_me: failed program was:" >&5
5657 sed 's/^/| /' conftest.$ac_ext >&5
5660 cat >conftest.$ac_ext <<_ACEOF
5663 cat confdefs.h >>conftest.$ac_ext
5664 cat >>conftest.$ac_ext <<_ACEOF
5665 /* end confdefs.h. */
5675 rm -f conftest.$ac_objext
5676 if { (ac_try="$ac_compile"
5678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5679 *) ac_try_echo
=$ac_try;;
5681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5682 (eval "$ac_compile") 2>conftest.er1
5684 grep -v '^ *+' conftest.er1
>conftest.err
5686 cat conftest.err
>&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); } &&
5689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5690 { (case "(($ac_try" in
5691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5692 *) ac_try_echo=$ac_try;;
5694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5695 (eval "$ac_try") 2>&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); }; } &&
5699 { ac_try='test -s conftest.$ac_objext'
5700 { (case "(($ac_try" in
5701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5702 *) ac_try_echo
=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_try") 2>&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; }; then
5711 echo "$as_me: failed program was:" >&5
5712 sed 's/^/| /' conftest.
$ac_ext >&5
5714 ac_c_werror_flag
=$ac_save_c_werror_flag
5716 cat >conftest.
$ac_ext <<_ACEOF
5719 cat confdefs.h
>>conftest.
$ac_ext
5720 cat >>conftest.
$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5731 rm -f conftest.
$ac_objext
5732 if { (ac_try
="$ac_compile"
5734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5735 *) ac_try_echo=$ac_try;;
5737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5738 (eval "$ac_compile") 2>conftest.er1
5740 grep -v '^ *+' conftest.er1 >conftest.err
5742 cat conftest.err >&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } &&
5745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5746 { (case "(($ac_try" in
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_try") 2>&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }; } &&
5755 { ac_try
='test -s conftest.$ac_objext'
5756 { (case "(($ac_try" in
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_try") 2>&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }; }; then
5767 echo "$as_me: failed program was:" >&5
5768 sed 's/^/| /' conftest.$ac_ext >&5
5773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5780 ac_c_werror_flag=$ac_save_c_werror_flag
5782 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5783 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5784 if test "$ac_test_CFLAGS" = set; then
5785 CFLAGS=$ac_save_CFLAGS
5786 elif test $ac_cv_prog_cc_g = yes; then
5787 if test "$GCC" = yes; then
5793 if test "$GCC" = yes; then
5799 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5800 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5801 if test "${ac_cv_prog_cc_c89+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 ac_cv_prog_cc_c89=no
5806 cat >conftest.$ac_ext <<_ACEOF
5809 cat confdefs.h >>conftest.$ac_ext
5810 cat >>conftest.$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5814 #include <sys/types.h>
5815 #include <sys/stat.h>
5816 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5817 struct buf { int x; };
5818 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5819 static char *e (p, i)
5825 static char *f (char * (*g) (char **, int), char **p, ...)
5830 s = g (p, va_arg (v,int));
5835 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5836 function prototypes and stuff, but not '\xHH' hex character constants.
5837 These don't provoke an error unfortunately, instead are silently treated
5838 as 'x'. The following induces an error, until -std is added to get
5839 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5840 array size at least. It's necessary to write '\x00'==0 to get something
5841 that's true only with -std. */
5842 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5844 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5845 inside strings and character constants. */
5847 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5849 int test (int i, double x);
5850 struct s1 {int (*f) (int a);};
5851 struct s2 {int (*f) (double a);};
5852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5863 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5864 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5866 CC="$ac_save_CC $ac_arg"
5867 rm -f conftest.$ac_objext
5868 if { (ac_try="$ac_compile"
5870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5871 *) ac_try_echo
=$ac_try;;
5873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5874 (eval "$ac_compile") 2>conftest.er1
5876 grep -v '^ *+' conftest.er1
>conftest.err
5878 cat conftest.err
>&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); } &&
5881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5882 { (case "(($ac_try" in
5883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5884 *) ac_try_echo=$ac_try;;
5886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5887 (eval "$ac_try") 2>&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; } &&
5891 { ac_try='test -s conftest.$ac_objext'
5892 { (case "(($ac_try" in
5893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5894 *) ac_try_echo
=$ac_try;;
5896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5897 (eval "$ac_try") 2>&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); }; }; then
5901 ac_cv_prog_cc_c89
=$ac_arg
5903 echo "$as_me: failed program was:" >&5
5904 sed 's/^/| /' conftest.
$ac_ext >&5
5909 rm -f core conftest.err conftest.
$ac_objext
5910 test "x$ac_cv_prog_cc_c89" != "xno" && break
5912 rm -f conftest.
$ac_ext
5917 case "x$ac_cv_prog_cc_c89" in
5919 { echo "$as_me:$LINENO: result: none needed" >&5
5920 echo "${ECHO_T}none needed" >&6; } ;;
5922 { echo "$as_me:$LINENO: result: unsupported" >&5
5923 echo "${ECHO_T}unsupported" >&6; } ;;
5925 CC
="$CC $ac_cv_prog_cc_c89"
5926 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5927 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5932 ac_cpp
='$CPP $CPPFLAGS'
5933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5938 ac_cpp
='$CXXCPP $CPPFLAGS'
5939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5942 if test -z "$CXX"; then
5943 if test -n "$CCC"; then
5946 if test -n "$ac_tool_prefix"; then
5949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5950 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953 if test "${ac_cv_prog_CXX+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 if test -n "$CXX"; then
5957 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir
=.
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 if test -n "$CXX"; then
5978 { echo "$as_me:$LINENO: result: $CXX" >&5
5979 echo "${ECHO_T}$CXX" >&6; }
5981 { echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6; }
5986 test -n "$CXX" && break
5989 if test -z "$CXX"; then
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy
$ac_prog; ac_word
=$2
5995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5997 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 if test -n "$ac_ct_CXX"; then
6001 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir
=.
6008 for ac_exec_ext
in '' $ac_executable_extensions; do
6009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6010 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6021 if test -n "$ac_ct_CXX"; then
6022 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6023 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6025 { echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6; }
6030 test -n "$ac_ct_CXX" && break
6033 if test "x$ac_ct_CXX" = x
; then
6036 case $cross_compiling:$ac_tool_warned in
6038 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6039 whose name does not start with the host triplet. If you think this
6040 configuration is useful to you, please write to autoconf@gnu.org." >&5
6041 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6042 whose name does not start with the host triplet. If you think this
6043 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6044 ac_tool_warned
=yes ;;
6052 # Provide some information about the compiler.
6053 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6054 ac_compiler
=`set X $ac_compile; echo $2`
6055 { (ac_try
="$ac_compiler --version >&5"
6057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6058 *) ac_try_echo=$ac_try;;
6060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6061 (eval "$ac_compiler --version >&5") 2>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); }
6065 { (ac_try="$ac_compiler -v >&5"
6067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6068 *) ac_try_echo
=$ac_try;;
6070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6071 (eval "$ac_compiler -v >&5") 2>&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); }
6075 { (ac_try
="$ac_compiler -V >&5"
6077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6078 *) ac_try_echo=$ac_try;;
6080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6081 (eval "$ac_compiler -V >&5") 2>&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); }
6086 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6087 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6088 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 cat >conftest.$ac_ext <<_ACEOF
6094 cat confdefs.h >>conftest.$ac_ext
6095 cat >>conftest.$ac_ext <<_ACEOF
6096 /* end confdefs.h. */
6109 rm -f conftest.$ac_objext
6110 if { (ac_try="$ac_compile"
6112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6113 *) ac_try_echo
=$ac_try;;
6115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6116 (eval "$ac_compile") 2>conftest.er1
6118 grep -v '^ *+' conftest.er1
>conftest.err
6120 cat conftest.err
>&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } &&
6123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6124 { (case "(($ac_try" in
6125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6126 *) ac_try_echo=$ac_try;;
6128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6129 (eval "$ac_try") 2>&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; } &&
6133 { ac_try='test -s conftest.$ac_objext'
6134 { (case "(($ac_try" in
6135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6136 *) ac_try_echo
=$ac_try;;
6138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6139 (eval "$ac_try") 2>&5
6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); }; }; then
6145 echo "$as_me: failed program was:" >&5
6146 sed 's/^/| /' conftest.
$ac_ext >&5
6151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6152 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6155 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6156 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6157 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6158 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6159 ac_save_CXXFLAGS
=$CXXFLAGS
6160 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6161 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6162 if test "${ac_cv_prog_cxx_g+set}" = set; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6166 ac_cxx_werror_flag
=yes
6169 cat >conftest.
$ac_ext <<_ACEOF
6172 cat confdefs.h
>>conftest.
$ac_ext
6173 cat >>conftest.
$ac_ext <<_ACEOF
6174 /* end confdefs.h. */
6184 rm -f conftest.
$ac_objext
6185 if { (ac_try
="$ac_compile"
6187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6188 *) ac_try_echo=$ac_try;;
6190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6191 (eval "$ac_compile") 2>conftest.er1
6193 grep -v '^ *+' conftest.er1 >conftest.err
6195 cat conftest.err >&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); } &&
6198 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6199 { (case "(($ac_try" in
6200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6201 *) ac_try_echo
=$ac_try;;
6203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6204 (eval "$ac_try") 2>&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); }; } &&
6208 { ac_try
='test -s conftest.$ac_objext'
6209 { (case "(($ac_try" in
6210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_try") 2>&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 ac_cv_prog_cxx_g=yes
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6224 cat >conftest.$ac_ext <<_ACEOF
6227 cat confdefs.h >>conftest.$ac_ext
6228 cat >>conftest.$ac_ext <<_ACEOF
6229 /* end confdefs.h. */
6239 rm -f conftest.$ac_objext
6240 if { (ac_try="$ac_compile"
6242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6243 *) ac_try_echo
=$ac_try;;
6245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6246 (eval "$ac_compile") 2>conftest.er1
6248 grep -v '^ *+' conftest.er1
>conftest.err
6250 cat conftest.err
>&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); } &&
6253 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6254 { (case "(($ac_try" in
6255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6256 *) ac_try_echo=$ac_try;;
6258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6259 (eval "$ac_try") 2>&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; } &&
6263 { ac_try='test -s conftest.$ac_objext'
6264 { (case "(($ac_try" in
6265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6266 *) ac_try_echo
=$ac_try;;
6268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6269 (eval "$ac_try") 2>&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; }; then
6275 echo "$as_me: failed program was:" >&5
6276 sed 's/^/| /' conftest.
$ac_ext >&5
6278 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6280 cat >conftest.
$ac_ext <<_ACEOF
6283 cat confdefs.h
>>conftest.
$ac_ext
6284 cat >>conftest.
$ac_ext <<_ACEOF
6285 /* end confdefs.h. */
6295 rm -f conftest.
$ac_objext
6296 if { (ac_try
="$ac_compile"
6298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6299 *) ac_try_echo=$ac_try;;
6301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6302 (eval "$ac_compile") 2>conftest.er1
6304 grep -v '^ *+' conftest.er1 >conftest.err
6306 cat conftest.err >&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); } &&
6309 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6310 { (case "(($ac_try" in
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_try") 2>&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); }; } &&
6319 { ac_try
='test -s conftest.$ac_objext'
6320 { (case "(($ac_try" in
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_try") 2>&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }; }; then
6329 ac_cv_prog_cxx_g=yes
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.$ac_ext >&5
6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6346 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6347 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6348 if test "$ac_test_CXXFLAGS" = set; then
6349 CXXFLAGS=$ac_save_CXXFLAGS
6350 elif test $ac_cv_prog_cxx_g = yes; then
6351 if test "$GXX" = yes; then
6357 if test "$GXX" = yes; then
6364 ac_cpp='$CPP $CPPFLAGS'
6365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6370 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6371 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6372 if test "${lt_cv_path_NM+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 if test -n "$NM"; then
6376 # Let the user override the test.
6379 lt_nm_to_check="${ac_tool_prefix}nm"
6380 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6381 lt_nm_to_check="$lt_nm_to_check nm"
6383 for lt_tmp_nm in $lt_nm_to_check; do
6384 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6385 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6387 test -z "$ac_dir" && ac_dir=.
6388 tmp_nm="$ac_dir/$lt_tmp_nm"
6389 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6390 # Check to see if the nm accepts a BSD-compat flag.
6391 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6392 # nm: unknown option "B" ignored
6393 # Tru64's nm complains that
/dev
/null is an invalid object
file
6394 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6395 */dev
/null
* |
*'Invalid file or object type'*)
6396 lt_cv_path_NM
="$tmp_nm -B"
6400 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6402 lt_cv_path_NM
="$tmp_nm -p"
6406 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6407 continue # so that we can try to find one that supports BSD flags
6416 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6419 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6420 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6425 { echo "$as_me:$LINENO: checking for GNU make" >&5
6426 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6427 if test "${llvm_cv_gnu_make_command+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 llvm_cv_gnu_make_command
=''
6431 for a
in "$MAKE" make gmake gnumake
; do
6432 if test -z "$a" ; then continue ; fi ;
6433 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6435 llvm_cv_gnu_make_command
=$a ;
6440 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6441 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6442 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6446 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6447 echo "${ECHO_T}\"Not found\"" >&6; };
6451 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6452 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6454 if test "$LN_S" = "ln -s"; then
6455 { echo "$as_me:$LINENO: result: yes" >&5
6456 echo "${ECHO_T}yes" >&6; }
6458 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6459 echo "${ECHO_T}no, using $LN_S" >&6; }
6462 # Extract the first word of "cmp", so it can be a program name with args.
6463 set dummy
cmp; ac_word
=$2
6464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6466 if test "${ac_cv_path_CMP+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6471 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6478 test -z "$as_dir" && as_dir
=.
6479 for ac_exec_ext
in '' $ac_executable_extensions; do
6480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6481 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6494 if test -n "$CMP"; then
6495 { echo "$as_me:$LINENO: result: $CMP" >&5
6496 echo "${ECHO_T}$CMP" >&6; }
6498 { echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6; }
6503 # Extract the first word of "cp", so it can be a program name with args.
6504 set dummy
cp; ac_word
=$2
6505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6507 if test "${ac_cv_path_CP+set}" = set; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6512 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6519 test -z "$as_dir" && as_dir
=.
6520 for ac_exec_ext
in '' $ac_executable_extensions; do
6521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6522 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6535 if test -n "$CP"; then
6536 { echo "$as_me:$LINENO: result: $CP" >&5
6537 echo "${ECHO_T}$CP" >&6; }
6539 { echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6; }
6544 # Extract the first word of "date", so it can be a program name with args.
6545 set dummy
date; ac_word
=$2
6546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6548 if test "${ac_cv_path_DATE+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6553 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir
=.
6561 for ac_exec_ext
in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6575 DATE
=$ac_cv_path_DATE
6576 if test -n "$DATE"; then
6577 { echo "$as_me:$LINENO: result: $DATE" >&5
6578 echo "${ECHO_T}$DATE" >&6; }
6580 { echo "$as_me:$LINENO: result: no" >&5
6581 echo "${ECHO_T}no" >&6; }
6585 # Extract the first word of "find", so it can be a program name with args.
6586 set dummy
find; ac_word
=$2
6587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6589 if test "${ac_cv_path_FIND+set}" = set; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6594 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6601 test -z "$as_dir" && as_dir
=.
6602 for ac_exec_ext
in '' $ac_executable_extensions; do
6603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6604 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6612 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6616 FIND
=$ac_cv_path_FIND
6617 if test -n "$FIND"; then
6618 { echo "$as_me:$LINENO: result: $FIND" >&5
6619 echo "${ECHO_T}$FIND" >&6; }
6621 { echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6; }
6626 # Extract the first word of "grep", so it can be a program name with args.
6627 set dummy
grep; ac_word
=$2
6628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6630 if test "${ac_cv_path_GREP+set}" = set; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6635 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6642 test -z "$as_dir" && as_dir
=.
6643 for ac_exec_ext
in '' $ac_executable_extensions; do
6644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6645 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6653 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6657 GREP
=$ac_cv_path_GREP
6658 if test -n "$GREP"; then
6659 { echo "$as_me:$LINENO: result: $GREP" >&5
6660 echo "${ECHO_T}$GREP" >&6; }
6662 { echo "$as_me:$LINENO: result: no" >&5
6663 echo "${ECHO_T}no" >&6; }
6667 # Extract the first word of "mkdir", so it can be a program name with args.
6668 set dummy mkdir
; ac_word
=$2
6669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6671 if test "${ac_cv_path_MKDIR+set}" = set; then
6672 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6683 test -z "$as_dir" && as_dir
=.
6684 for ac_exec_ext
in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6698 MKDIR
=$ac_cv_path_MKDIR
6699 if test -n "$MKDIR"; then
6700 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6701 echo "${ECHO_T}$MKDIR" >&6; }
6703 { echo "$as_me:$LINENO: result: no" >&5
6704 echo "${ECHO_T}no" >&6; }
6708 # Extract the first word of "mv", so it can be a program name with args.
6709 set dummy
mv; ac_word
=$2
6710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6712 if test "${ac_cv_path_MV+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6717 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6724 test -z "$as_dir" && as_dir
=.
6725 for ac_exec_ext
in '' $ac_executable_extensions; do
6726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6727 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6740 if test -n "$MV"; then
6741 { echo "$as_me:$LINENO: result: $MV" >&5
6742 echo "${ECHO_T}$MV" >&6; }
6744 { echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6; }
6749 if test -n "$ac_tool_prefix"; then
6750 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6751 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6754 if test "${ac_cv_prog_RANLIB+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 if test -n "$RANLIB"; then
6758 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir
=.
6765 for ac_exec_ext
in '' $ac_executable_extensions; do
6766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6767 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 RANLIB
=$ac_cv_prog_RANLIB
6778 if test -n "$RANLIB"; then
6779 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6780 echo "${ECHO_T}$RANLIB" >&6; }
6782 { echo "$as_me:$LINENO: result: no" >&5
6783 echo "${ECHO_T}no" >&6; }
6788 if test -z "$ac_cv_prog_RANLIB"; then
6789 ac_ct_RANLIB
=$RANLIB
6790 # Extract the first word of "ranlib", so it can be a program name with args.
6791 set dummy ranlib
; ac_word
=$2
6792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6794 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 if test -n "$ac_ct_RANLIB"; then
6798 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir
=.
6805 for ac_exec_ext
in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6818 if test -n "$ac_ct_RANLIB"; then
6819 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6820 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6822 { echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6; }
6826 if test "x$ac_ct_RANLIB" = x
; then
6829 case $cross_compiling:$ac_tool_warned in
6831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6832 whose name does not start with the host triplet. If you think this
6833 configuration is useful to you, please write to autoconf@gnu.org." >&5
6834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6835 whose name does not start with the host triplet. If you think this
6836 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6837 ac_tool_warned
=yes ;;
6839 RANLIB
=$ac_ct_RANLIB
6842 RANLIB
="$ac_cv_prog_RANLIB"
6845 # Extract the first word of "rm", so it can be a program name with args.
6846 set dummy
rm; ac_word
=$2
6847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6849 if test "${ac_cv_path_RM+set}" = set; then
6850 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir
=.
6862 for ac_exec_ext
in '' $ac_executable_extensions; do
6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6864 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6872 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6877 if test -n "$RM"; then
6878 { echo "$as_me:$LINENO: result: $RM" >&5
6879 echo "${ECHO_T}$RM" >&6; }
6881 { echo "$as_me:$LINENO: result: no" >&5
6882 echo "${ECHO_T}no" >&6; }
6886 # Extract the first word of "sed", so it can be a program name with args.
6887 set dummy
sed; ac_word
=$2
6888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6890 if test "${ac_cv_path_SED+set}" = set; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
6898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir
=.
6903 for ac_exec_ext
in '' $ac_executable_extensions; do
6904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6905 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
6906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6913 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
6918 if test -n "$SED"; then
6919 { echo "$as_me:$LINENO: result: $SED" >&5
6920 echo "${ECHO_T}$SED" >&6; }
6922 { echo "$as_me:$LINENO: result: no" >&5
6923 echo "${ECHO_T}no" >&6; }
6927 # Extract the first word of "tar", so it can be a program name with args.
6928 set dummy
tar; ac_word
=$2
6929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6931 if test "${ac_cv_path_TAR+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6936 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
6939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6943 test -z "$as_dir" && as_dir
=.
6944 for ac_exec_ext
in '' $ac_executable_extensions; do
6945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6946 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
6947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
6959 if test -n "$TAR"; then
6960 { echo "$as_me:$LINENO: result: $TAR" >&5
6961 echo "${ECHO_T}$TAR" >&6; }
6963 { echo "$as_me:$LINENO: result: no" >&5
6964 echo "${ECHO_T}no" >&6; }
6968 # Extract the first word of "pwd", so it can be a program name with args.
6969 set dummy
pwd; ac_word
=$2
6970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6972 if test "${ac_cv_path_BINPWD+set}" = set; then
6973 echo $ECHO_N "(cached) $ECHO_C" >&6
6977 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
6980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6984 test -z "$as_dir" && as_dir
=.
6985 for ac_exec_ext
in '' $ac_executable_extensions; do
6986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6987 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
6988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
6999 BINPWD
=$ac_cv_path_BINPWD
7000 if test -n "$BINPWD"; then
7001 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7002 echo "${ECHO_T}$BINPWD" >&6; }
7004 { echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6; }
7010 # Extract the first word of "Graphviz", so it can be a program name with args.
7011 set dummy Graphviz
; ac_word
=$2
7012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7014 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7015 echo $ECHO_N "(cached) $ECHO_C" >&6
7019 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir
=.
7027 for ac_exec_ext
in '' $ac_executable_extensions; do
7028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7029 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7041 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7042 if test -n "$GRAPHVIZ"; then
7043 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7044 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7046 { echo "$as_me:$LINENO: result: no" >&5
7047 echo "${ECHO_T}no" >&6; }
7051 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7053 cat >>confdefs.h
<<\_ACEOF
7054 #define HAVE_GRAPHVIZ 1
7057 if test "$llvm_cv_os_type" = "MingW" ; then
7058 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7061 cat >>confdefs.h
<<_ACEOF
7062 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7066 # Extract the first word of "dot", so it can be a program name with args.
7067 set dummy dot
; ac_word
=$2
7068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7070 if test "${ac_cv_path_DOT+set}" = set; then
7071 echo $ECHO_N "(cached) $ECHO_C" >&6
7075 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7082 test -z "$as_dir" && as_dir
=.
7083 for ac_exec_ext
in '' $ac_executable_extensions; do
7084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7085 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7098 if test -n "$DOT"; then
7099 { echo "$as_me:$LINENO: result: $DOT" >&5
7100 echo "${ECHO_T}$DOT" >&6; }
7102 { echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6; }
7107 if test "$DOT" != "echo dot" ; then
7109 cat >>confdefs.h
<<\_ACEOF
7113 if test "$llvm_cv_os_type" = "MingW" ; then
7114 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7117 cat >>confdefs.h
<<_ACEOF
7118 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7122 for ac_prog
in gv gsview32
7124 # Extract the first word of "$ac_prog", so it can be a program name with args.
7125 set dummy
$ac_prog; ac_word
=$2
7126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7128 if test "${ac_cv_path_GV+set}" = set; then
7129 echo $ECHO_N "(cached) $ECHO_C" >&6
7133 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir
=.
7141 for ac_exec_ext
in '' $ac_executable_extensions; do
7142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7143 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7155 if test -n "$GV"; then
7156 { echo "$as_me:$LINENO: result: $GV" >&5
7157 echo "${ECHO_T}$GV" >&6; }
7159 { echo "$as_me:$LINENO: result: no" >&5
7160 echo "${ECHO_T}no" >&6; }
7164 test -n "$GV" && break
7166 test -n "$GV" || GV
="echo gv"
7168 if test "$GV" != "echo gv" ; then
7170 cat >>confdefs.h
<<\_ACEOF
7174 if test "$llvm_cv_os_type" = "MingW" ; then
7175 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7178 cat >>confdefs.h
<<_ACEOF
7179 #define LLVM_PATH_GV "$GV${EXEEXT}"
7183 # Extract the first word of "dotty", so it can be a program name with args.
7184 set dummy dotty
; ac_word
=$2
7185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7187 if test "${ac_cv_path_DOTTY+set}" = set; then
7188 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir
=.
7200 for ac_exec_ext
in '' $ac_executable_extensions; do
7201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7202 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7214 DOTTY
=$ac_cv_path_DOTTY
7215 if test -n "$DOTTY"; then
7216 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7217 echo "${ECHO_T}$DOTTY" >&6; }
7219 { echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6; }
7224 if test "$DOTTY" != "echo dotty" ; then
7226 cat >>confdefs.h
<<\_ACEOF
7227 #define HAVE_DOTTY 1
7230 if test "$llvm_cv_os_type" = "MingW" ; then
7231 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7234 cat >>confdefs.h
<<_ACEOF
7235 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7241 # Extract the first word of "perl", so it can be a program name with args.
7242 set dummy perl
; ac_word
=$2
7243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7245 if test "${ac_cv_path_PERL+set}" = set; then
7246 echo $ECHO_N "(cached) $ECHO_C" >&6
7250 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7257 test -z "$as_dir" && as_dir
=.
7258 for ac_exec_ext
in '' $ac_executable_extensions; do
7259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7260 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7268 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7272 PERL
=$ac_cv_path_PERL
7273 if test -n "$PERL"; then
7274 { echo "$as_me:$LINENO: result: $PERL" >&5
7275 echo "${ECHO_T}$PERL" >&6; }
7277 { echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6; }
7282 if test "$PERL" != "none"; then
7283 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7284 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7285 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7286 { echo "$as_me:$LINENO: result: yes" >&5
7287 echo "${ECHO_T}yes" >&6; }
7290 { echo "$as_me:$LINENO: result: not found" >&5
7291 echo "${ECHO_T}not found" >&6; }
7296 if test x
"$PERL" = xnone
; then
7299 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7300 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7301 { (exit 1); exit 1; }; }
7307 # Find a good install program. We prefer a C program (faster),
7308 # so one script is as good as another. But avoid the broken or
7309 # incompatible versions:
7310 # SysV /etc/install, /usr/sbin/install
7311 # SunOS /usr/etc/install
7312 # IRIX /sbin/install
7314 # AmigaOS /C/install, which installs bootblocks on floppy discs
7315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7318 # OS/2's system install, which has a completely different semantic
7319 # ./install, which can be erroneously created by make from ./install.sh.
7320 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7321 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7322 if test -z "$INSTALL"; then
7323 if test "${ac_cv_path_install+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir
=.
7331 # Account for people who put trailing slashes in PATH elements.
7333 .
/ | .
// |
/cC
/* | \
7334 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7335 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7338 # OSF1 and SCO ODT 3.0 have their own names for install.
7339 # Don't use installbsd from OSF since it installs stuff as root
7341 for ac_prog
in ginstall scoinst
install; do
7342 for ac_exec_ext
in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7344 if test $ac_prog = install &&
7345 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7346 # AIX install. It has an incompatible calling convention.
7348 elif test $ac_prog = install &&
7349 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7350 # program-specific install script used by HP pwplus--don't use.
7353 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7366 if test "${ac_cv_path_install+set}" = set; then
7367 INSTALL
=$ac_cv_path_install
7369 # As a last resort, use the slow shell script. Don't cache a
7370 # value for INSTALL within a source directory, because that will
7371 # break other packages using the cache if that directory is
7372 # removed, or if the value is a relative name.
7373 INSTALL
=$ac_install_sh
7376 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7377 echo "${ECHO_T}$INSTALL" >&6; }
7379 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7380 # It thinks the first close brace ends the variable substitution.
7381 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7383 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7385 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7388 # Extract the first word of "bzip2", so it can be a program name with args.
7389 set dummy
bzip2; ac_word
=$2
7390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7392 if test "${ac_cv_path_BZIP2+set}" = set; then
7393 echo $ECHO_N "(cached) $ECHO_C" >&6
7397 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7404 test -z "$as_dir" && as_dir
=.
7405 for ac_exec_ext
in '' $ac_executable_extensions; do
7406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7407 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 BZIP2
=$ac_cv_path_BZIP2
7419 if test -n "$BZIP2"; then
7420 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7421 echo "${ECHO_T}$BZIP2" >&6; }
7423 { echo "$as_me:$LINENO: result: no" >&5
7424 echo "${ECHO_T}no" >&6; }
7428 # Extract the first word of "doxygen", so it can be a program name with args.
7429 set dummy doxygen
; ac_word
=$2
7430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7432 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6
7437 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7444 test -z "$as_dir" && as_dir
=.
7445 for ac_exec_ext
in '' $ac_executable_extensions; do
7446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7447 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 DOXYGEN
=$ac_cv_path_DOXYGEN
7459 if test -n "$DOXYGEN"; then
7460 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7461 echo "${ECHO_T}$DOXYGEN" >&6; }
7463 { echo "$as_me:$LINENO: result: no" >&5
7464 echo "${ECHO_T}no" >&6; }
7468 # Extract the first word of "groff", so it can be a program name with args.
7469 set dummy
groff; ac_word
=$2
7470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7472 if test "${ac_cv_path_GROFF+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7484 test -z "$as_dir" && as_dir
=.
7485 for ac_exec_ext
in '' $ac_executable_extensions; do
7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 GROFF
=$ac_cv_path_GROFF
7499 if test -n "$GROFF"; then
7500 { echo "$as_me:$LINENO: result: $GROFF" >&5
7501 echo "${ECHO_T}$GROFF" >&6; }
7503 { echo "$as_me:$LINENO: result: no" >&5
7504 echo "${ECHO_T}no" >&6; }
7508 # Extract the first word of "gzip", so it can be a program name with args.
7509 set dummy
gzip; ac_word
=$2
7510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7512 if test "${ac_cv_path_GZIP+set}" = set; then
7513 echo $ECHO_N "(cached) $ECHO_C" >&6
7517 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7524 test -z "$as_dir" && as_dir
=.
7525 for ac_exec_ext
in '' $ac_executable_extensions; do
7526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7527 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 GZIP
=$ac_cv_path_GZIP
7539 if test -n "$GZIP"; then
7540 { echo "$as_me:$LINENO: result: $GZIP" >&5
7541 echo "${ECHO_T}$GZIP" >&6; }
7543 { echo "$as_me:$LINENO: result: no" >&5
7544 echo "${ECHO_T}no" >&6; }
7548 # Extract the first word of "pod2html", so it can be a program name with args.
7549 set dummy pod2html
; ac_word
=$2
7550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7552 if test "${ac_cv_path_POD2HTML+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir
=.
7565 for ac_exec_ext
in '' $ac_executable_extensions; do
7566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7567 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 POD2HTML
=$ac_cv_path_POD2HTML
7579 if test -n "$POD2HTML"; then
7580 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7581 echo "${ECHO_T}$POD2HTML" >&6; }
7583 { echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6; }
7588 # Extract the first word of "pod2man", so it can be a program name with args.
7589 set dummy pod2man
; ac_word
=$2
7590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7592 if test "${ac_cv_path_POD2MAN+set}" = set; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7597 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir
=.
7605 for ac_exec_ext
in '' $ac_executable_extensions; do
7606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7607 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 POD2MAN
=$ac_cv_path_POD2MAN
7619 if test -n "$POD2MAN"; then
7620 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7621 echo "${ECHO_T}$POD2MAN" >&6; }
7623 { echo "$as_me:$LINENO: result: no" >&5
7624 echo "${ECHO_T}no" >&6; }
7628 # Extract the first word of "runtest", so it can be a program name with args.
7629 set dummy runtest
; ac_word
=$2
7630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7632 if test "${ac_cv_path_RUNTEST+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7644 test -z "$as_dir" && as_dir
=.
7645 for ac_exec_ext
in '' $ac_executable_extensions; do
7646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7647 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 RUNTEST
=$ac_cv_path_RUNTEST
7659 if test -n "$RUNTEST"; then
7660 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7661 echo "${ECHO_T}$RUNTEST" >&6; }
7663 { echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6; }
7670 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7671 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7673 # Check whether --with-tclinclude was given.
7674 if test "${with_tclinclude+set}" = set; then
7675 withval
=$with_tclinclude; with_tclinclude
=${withval}
7680 if test "${ac_cv_path_tclsh+set}" = set; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6
7684 if test x
"${with_tclinclude}" != x
; then
7685 if test -f ${with_tclinclude}/tclsh
; then
7686 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7687 elif test -f ${with_tclinclude}/src
/tclsh
; then
7688 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7690 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7691 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7692 { (exit 1); exit 1; }; }
7696 if test x
"${ac_cv_path_tclsh}" = x
; then
7697 { echo "$as_me:$LINENO: result: none" >&5
7698 echo "${ECHO_T}none" >&6; }
7699 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
7701 # Extract the first word of "$ac_prog", so it can be a program name with args.
7702 set dummy
$ac_prog; ac_word
=$2
7703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7705 if test "${ac_cv_path_TCLSH+set}" = set; then
7706 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7717 test -z "$as_dir" && as_dir
=.
7718 for ac_exec_ext
in '' $ac_executable_extensions; do
7719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7720 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7731 TCLSH
=$ac_cv_path_TCLSH
7732 if test -n "$TCLSH"; then
7733 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7734 echo "${ECHO_T}$TCLSH" >&6; }
7736 { echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6; }
7741 test -n "$TCLSH" && break
7744 if test x
"${TCLSH}" = x
; then
7745 ac_cv_path_tclsh
='';
7747 ac_cv_path_tclsh
="${TCLSH}";
7750 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7751 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7752 TCLSH="${ac_cv_path_tclsh}"
7758 # Extract the first word of "zip", so it can be a program name with args.
7759 set dummy zip; ac_word=$2
7760 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7761 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7762 if test "${ac_cv_path_ZIP+set}" = set; then
7763 echo $ECHO_N "(cached
) $ECHO_C" >&6
7767 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7777 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7778 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7789 if test -n "$ZIP"; then
7790 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7791 echo "${ECHO_T}$ZIP" >&6; }
7793 { echo "$as_me:$LINENO: result
: no
" >&5
7794 echo "${ECHO_T}no
" >&6; }
7798 for ac_prog in ocamlc
7800 # Extract the first word of "$ac_prog", so it can be a program name with args.
7801 set dummy $ac_prog; ac_word=$2
7802 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7803 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7804 if test "${ac_cv_path_OCAMLC+set}" = set; then
7805 echo $ECHO_N "(cached
) $ECHO_C" >&6
7809 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7819 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7820 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7830 OCAMLC=$ac_cv_path_OCAMLC
7831 if test -n "$OCAMLC"; then
7832 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
7833 echo "${ECHO_T}$OCAMLC" >&6; }
7835 { echo "$as_me:$LINENO: result
: no
" >&5
7836 echo "${ECHO_T}no
" >&6; }
7840 test -n "$OCAMLC" && break
7843 for ac_prog in ocamlopt
7845 # Extract the first word of "$ac_prog", so it can be a program name with args.
7846 set dummy $ac_prog; ac_word=$2
7847 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7848 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7849 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
7850 echo $ECHO_N "(cached
) $ECHO_C" >&6
7854 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7864 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
7865 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7875 OCAMLOPT=$ac_cv_path_OCAMLOPT
7876 if test -n "$OCAMLOPT"; then
7877 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
7878 echo "${ECHO_T}$OCAMLOPT" >&6; }
7880 { echo "$as_me:$LINENO: result
: no
" >&5
7881 echo "${ECHO_T}no
" >&6; }
7885 test -n "$OCAMLOPT" && break
7888 for ac_prog in ocamldep
7890 # Extract the first word of "$ac_prog", so it can be a program name with args.
7891 set dummy $ac_prog; ac_word=$2
7892 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7893 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7894 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
7895 echo $ECHO_N "(cached
) $ECHO_C" >&6
7899 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
7902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 test -z "$as_dir" && as_dir=.
7907 for ac_exec_ext in '' $ac_executable_extensions; do
7908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7909 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
7910 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7920 OCAMLDEP=$ac_cv_path_OCAMLDEP
7921 if test -n "$OCAMLDEP"; then
7922 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
7923 echo "${ECHO_T}$OCAMLDEP" >&6; }
7925 { echo "$as_me:$LINENO: result
: no
" >&5
7926 echo "${ECHO_T}no
" >&6; }
7930 test -n "$OCAMLDEP" && break
7933 for ac_prog in ocamldoc
7935 # Extract the first word of "$ac_prog", so it can be a program name with args.
7936 set dummy $ac_prog; ac_word=$2
7937 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7938 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7939 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
7940 echo $ECHO_N "(cached
) $ECHO_C" >&6
7944 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7954 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
7955 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7965 OCAMLDOC=$ac_cv_path_OCAMLDOC
7966 if test -n "$OCAMLDOC"; then
7967 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
7968 echo "${ECHO_T}$OCAMLDOC" >&6; }
7970 { echo "$as_me:$LINENO: result
: no
" >&5
7971 echo "${ECHO_T}no
" >&6; }
7975 test -n "$OCAMLDOC" && break
7978 for ac_prog in gas as
7980 # Extract the first word of "$ac_prog", so it can be a program name with args.
7981 set dummy $ac_prog; ac_word=$2
7982 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7983 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7984 if test "${ac_cv_path_GAS+set}" = set; then
7985 echo $ECHO_N "(cached
) $ECHO_C" >&6
7989 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7999 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
8000 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8011 if test -n "$GAS"; then
8012 { echo "$as_me:$LINENO: result
: $GAS" >&5
8013 echo "${ECHO_T}$GAS" >&6; }
8015 { echo "$as_me:$LINENO: result
: no
" >&5
8016 echo "${ECHO_T}no
" >&6; }
8020 test -n "$GAS" && break
8024 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
8025 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
8026 if test "${llvm_cv_link_use_r+set}" = set; then
8027 echo $ECHO_N "(cached
) $ECHO_C" >&6
8030 ac_cpp='$CPP $CPPFLAGS'
8031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8036 CFLAGS="$CFLAGS -Wl,-R.
"
8037 cat >conftest.$ac_ext <<_ACEOF
8040 cat confdefs.h >>conftest.$ac_ext
8041 cat >>conftest.$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8047 int main() { return 0; }
8052 rm -f conftest.$ac_objext conftest$ac_exeext
8053 if { (ac_try="$ac_link"
8055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8056 *) ac_try_echo=$ac_try;;
8058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8059 (eval "$ac_link") 2>conftest.er1
8061 grep -v '^ *+' conftest.er1 >conftest.err
8063 cat conftest.err >&5
8064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8065 (exit $ac_status); } &&
8066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8067 { (case "(($ac_try" in
8068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8069 *) ac_try_echo=$ac_try;;
8071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8072 (eval "$ac_try") 2>&5
8074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8075 (exit $ac_status); }; } &&
8076 { ac_try='test -s conftest$ac_exeext'
8077 { (case "(($ac_try" in
8078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8079 *) ac_try_echo=$ac_try;;
8081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8082 (eval "$ac_try") 2>&5
8084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8085 (exit $ac_status); }; }; then
8086 llvm_cv_link_use_r=yes
8088 echo "$as_me: failed program was
:" >&5
8089 sed 's/^/| /' conftest.$ac_ext >&5
8091 llvm_cv_link_use_r=no
8094 rm -f core conftest.err conftest.$ac_objext \
8095 conftest$ac_exeext conftest.$ac_ext
8098 ac_cpp='$CPP $CPPFLAGS'
8099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8105 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
8106 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8107 if test "$llvm_cv_link_use_r" = yes ; then
8109 cat >>confdefs.h <<\_ACEOF
8110 #define HAVE_LINK_R 1
8116 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-export-dynamic option
" >&5
8117 echo $ECHO_N "checking
for compiler
-Wl,-export-dynamic option...
$ECHO_C" >&6; }
8118 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
8119 echo $ECHO_N "(cached
) $ECHO_C" >&6
8122 ac_cpp='$CPP $CPPFLAGS'
8123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8128 CFLAGS="$CFLAGS -Wl,-export-dynamic"
8129 cat >conftest.$ac_ext <<_ACEOF
8132 cat confdefs.h >>conftest.$ac_ext
8133 cat >>conftest.$ac_ext <<_ACEOF
8134 /* end confdefs.h. */
8139 int main() { return 0; }
8144 rm -f conftest.$ac_objext conftest$ac_exeext
8145 if { (ac_try="$ac_link"
8147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8148 *) ac_try_echo=$ac_try;;
8150 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8151 (eval "$ac_link") 2>conftest.er1
8153 grep -v '^ *+' conftest.er1 >conftest.err
8155 cat conftest.err >&5
8156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8157 (exit $ac_status); } &&
8158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8159 { (case "(($ac_try" in
8160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8161 *) ac_try_echo=$ac_try;;
8163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8164 (eval "$ac_try") 2>&5
8166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8167 (exit $ac_status); }; } &&
8168 { ac_try='test -s conftest$ac_exeext'
8169 { (case "(($ac_try" in
8170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8171 *) ac_try_echo=$ac_try;;
8173 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8174 (eval "$ac_try") 2>&5
8176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8177 (exit $ac_status); }; }; then
8178 llvm_cv_link_use_export_dynamic=yes
8180 echo "$as_me: failed program was
:" >&5
8181 sed 's/^/| /' conftest.$ac_ext >&5
8183 llvm_cv_link_use_export_dynamic=no
8186 rm -f core conftest.err conftest.$ac_objext \
8187 conftest$ac_exeext conftest.$ac_ext
8190 ac_cpp='$CPP $CPPFLAGS'
8191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8197 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_export_dynamic" >&5
8198 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
8199 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
8201 cat >>confdefs.h <<\_ACEOF
8202 #define HAVE_LINK_EXPORT_DYNAMIC 1
8210 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8211 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8212 if test "${ac_cv_c_const+set}" = set; then
8213 echo $ECHO_N "(cached
) $ECHO_C" >&6
8215 cat >conftest.$ac_ext <<_ACEOF
8218 cat confdefs.h >>conftest.$ac_ext
8219 cat >>conftest.$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8225 /* FIXME: Include the comments suggested by Paul. */
8227 /* Ultrix mips cc rejects this. */
8228 typedef int charset[2];
8230 /* SunOS 4.1.1 cc rejects this. */
8231 char const *const *ccp;
8233 /* NEC SVR4.0.2 mips cc rejects this. */
8234 struct point {int x, y;};
8235 static struct point const zero = {0,0};
8236 /* AIX XL C 1.02.0.0 rejects this.
8237 It does not let you subtract one const X* pointer from another in
8238 an arm of an if-expression whose if-part is not a constant
8240 const char *g = "string
";
8241 ccp = &g + (g ? g-g : 0);
8242 /* HPUX 7.0 cc rejects these. */
8245 ccp = (char const *const *) p;
8246 { /* SCO 3.2v4 cc rejects this. */
8248 char const *s = 0 ? (char *) 0 : (char const *) 0;
8253 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8255 const int *foo = &x[0];
8258 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8259 typedef const int *iptr;
8263 { /* AIX XL C 1.02.0.0 rejects this saying
8264 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8265 struct s { int j; const int *ap[3]; };
8266 struct s *b; b->j = 5;
8268 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8272 return !x[0] && !zero.x;
8279 rm -f conftest.$ac_objext
8280 if { (ac_try="$ac_compile"
8282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8283 *) ac_try_echo=$ac_try;;
8285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8286 (eval "$ac_compile") 2>conftest.er1
8288 grep -v '^ *+' conftest.er1 >conftest.err
8290 cat conftest.err >&5
8291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8292 (exit $ac_status); } &&
8293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8294 { (case "(($ac_try" in
8295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8296 *) ac_try_echo=$ac_try;;
8298 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8299 (eval "$ac_try") 2>&5
8301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8302 (exit $ac_status); }; } &&
8303 { ac_try='test -s conftest.$ac_objext'
8304 { (case "(($ac_try" in
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_try") 2>&5
8311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8312 (exit $ac_status); }; }; then
8315 echo "$as_me: failed program was
:" >&5
8316 sed 's/^/| /' conftest.$ac_ext >&5
8321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8323 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8324 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8325 if test $ac_cv_c_const = no; then
8327 cat >>confdefs.h <<\_ACEOF
8339 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8340 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8341 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8342 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8343 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8344 echo $ECHO_N "(cached
) $ECHO_C" >&6
8346 cat >conftest.$ac_ext <<_ACEOF
8349 cat confdefs.h >>conftest.$ac_ext
8350 cat >>conftest.$ac_ext <<_ACEOF
8351 /* end confdefs.h. */
8352 #include <sys/types.h>
8364 rm -f conftest.$ac_objext
8365 if { (ac_try="$ac_compile"
8367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8368 *) ac_try_echo=$ac_try;;
8370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8371 (eval "$ac_compile") 2>conftest.er1
8373 grep -v '^ *+' conftest.er1 >conftest.err
8375 cat conftest.err >&5
8376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8377 (exit $ac_status); } &&
8378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8379 { (case "(($ac_try" in
8380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8381 *) ac_try_echo=$ac_try;;
8383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8384 (eval "$ac_try") 2>&5
8386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8387 (exit $ac_status); }; } &&
8388 { ac_try='test -s conftest.$ac_objext'
8389 { (case "(($ac_try" in
8390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8391 *) ac_try_echo=$ac_try;;
8393 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8394 (eval "$ac_try") 2>&5
8396 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8397 (exit $ac_status); }; }; then
8398 eval "$as_ac_Header=yes"
8400 echo "$as_me: failed program was
:" >&5
8401 sed 's/^/| /' conftest.$ac_ext >&5
8403 eval "$as_ac_Header=no
"
8406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408 ac_res=`eval echo '${'$as_ac_Header'}'`
8409 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8410 echo "${ECHO_T}$ac_res" >&6; }
8411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8412 cat >>confdefs.h <<_ACEOF
8413 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8416 ac_header_dirent=$ac_hdr; break
8420 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8421 if test $ac_header_dirent = dirent.h; then
8422 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8423 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8424 if test "${ac_cv_search_opendir+set}" = set; then
8425 echo $ECHO_N "(cached
) $ECHO_C" >&6
8427 ac_func_search_save_LIBS=$LIBS
8428 cat >conftest.$ac_ext <<_ACEOF
8431 cat confdefs.h >>conftest.$ac_ext
8432 cat >>conftest.$ac_ext <<_ACEOF
8433 /* end confdefs.h. */
8435 /* Override any GCC internal prototype to avoid an error.
8436 Use char because int might match the return type of a GCC
8437 builtin and then its argument prototype would still apply. */
8450 for ac_lib in '' dir; do
8451 if test -z "$ac_lib"; then
8452 ac_res="none required
"
8455 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8457 rm -f conftest.$ac_objext conftest$ac_exeext
8458 if { (ac_try="$ac_link"
8460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8461 *) ac_try_echo=$ac_try;;
8463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8464 (eval "$ac_link") 2>conftest.er1
8466 grep -v '^ *+' conftest.er1 >conftest.err
8468 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8470 (exit $ac_status); } &&
8471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8472 { (case "(($ac_try" in
8473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8474 *) ac_try_echo=$ac_try;;
8476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8477 (eval "$ac_try") 2>&5
8479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8480 (exit $ac_status); }; } &&
8481 { ac_try='test -s conftest$ac_exeext'
8482 { (case "(($ac_try" in
8483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8486 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8487 (eval "$ac_try") 2>&5
8489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8490 (exit $ac_status); }; }; then
8491 ac_cv_search_opendir=$ac_res
8493 echo "$as_me: failed program was
:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8499 rm -f core conftest.err conftest.$ac_objext \
8501 if test "${ac_cv_search_opendir+set}" = set; then
8505 if test "${ac_cv_search_opendir+set}" = set; then
8508 ac_cv_search_opendir=no
8511 LIBS=$ac_func_search_save_LIBS
8513 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8514 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8515 ac_res=$ac_cv_search_opendir
8516 if test "$ac_res" != no; then
8517 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8522 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8523 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8524 if test "${ac_cv_search_opendir+set}" = set; then
8525 echo $ECHO_N "(cached
) $ECHO_C" >&6
8527 ac_func_search_save_LIBS=$LIBS
8528 cat >conftest.$ac_ext <<_ACEOF
8531 cat confdefs.h >>conftest.$ac_ext
8532 cat >>conftest.$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8535 /* Override any GCC internal prototype to avoid an error.
8536 Use char because int might match the return type of a GCC
8537 builtin and then its argument prototype would still apply. */
8550 for ac_lib in '' x; do
8551 if test -z "$ac_lib"; then
8552 ac_res="none required
"
8555 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8557 rm -f conftest.$ac_objext conftest$ac_exeext
8558 if { (ac_try="$ac_link"
8560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8561 *) ac_try_echo=$ac_try;;
8563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8564 (eval "$ac_link") 2>conftest.er1
8566 grep -v '^ *+' conftest.er1 >conftest.err
8568 cat conftest.err >&5
8569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8570 (exit $ac_status); } &&
8571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8572 { (case "(($ac_try" in
8573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8574 *) ac_try_echo=$ac_try;;
8576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8577 (eval "$ac_try") 2>&5
8579 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8580 (exit $ac_status); }; } &&
8581 { ac_try='test -s conftest$ac_exeext'
8582 { (case "(($ac_try" in
8583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8584 *) ac_try_echo=$ac_try;;
8586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8587 (eval "$ac_try") 2>&5
8589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8590 (exit $ac_status); }; }; then
8591 ac_cv_search_opendir=$ac_res
8593 echo "$as_me: failed program was
:" >&5
8594 sed 's/^/| /' conftest.$ac_ext >&5
8599 rm -f core conftest.err conftest.$ac_objext \
8601 if test "${ac_cv_search_opendir+set}" = set; then
8605 if test "${ac_cv_search_opendir+set}" = set; then
8608 ac_cv_search_opendir=no
8611 LIBS=$ac_func_search_save_LIBS
8613 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8614 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8615 ac_res=$ac_cv_search_opendir
8616 if test "$ac_res" != no; then
8617 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8624 for ac_header in dlfcn.h
8626 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8627 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8628 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8629 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8630 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8631 echo $ECHO_N "(cached
) $ECHO_C" >&6
8633 ac_res=`eval echo '${'$as_ac_Header'}'`
8634 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8635 echo "${ECHO_T}$ac_res" >&6; }
8637 # Is the header compilable?
8638 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8639 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8640 cat >conftest.$ac_ext <<_ACEOF
8643 cat confdefs.h >>conftest.$ac_ext
8644 cat >>conftest.$ac_ext <<_ACEOF
8645 /* end confdefs.h. */
8646 $ac_includes_default
8647 #include <$ac_header>
8649 rm -f conftest.$ac_objext
8650 if { (ac_try="$ac_compile"
8652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8653 *) ac_try_echo=$ac_try;;
8655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8656 (eval "$ac_compile") 2>conftest.er1
8658 grep -v '^ *+' conftest.er1 >conftest.err
8660 cat conftest.err >&5
8661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8662 (exit $ac_status); } &&
8663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8664 { (case "(($ac_try" in
8665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8666 *) ac_try_echo=$ac_try;;
8668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8669 (eval "$ac_try") 2>&5
8671 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8672 (exit $ac_status); }; } &&
8673 { ac_try='test -s conftest.$ac_objext'
8674 { (case "(($ac_try" in
8675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8676 *) ac_try_echo=$ac_try;;
8678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8679 (eval "$ac_try") 2>&5
8681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8682 (exit $ac_status); }; }; then
8683 ac_header_compiler=yes
8685 echo "$as_me: failed program was
:" >&5
8686 sed 's/^/| /' conftest.$ac_ext >&5
8688 ac_header_compiler=no
8691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8692 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8693 echo "${ECHO_T}$ac_header_compiler" >&6; }
8695 # Is the header present?
8696 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8697 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8698 cat >conftest.$ac_ext <<_ACEOF
8701 cat confdefs.h >>conftest.$ac_ext
8702 cat >>conftest.$ac_ext <<_ACEOF
8703 /* end confdefs.h. */
8704 #include <$ac_header>
8706 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8709 *) ac_try_echo=$ac_try;;
8711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8714 grep -v '^ *+' conftest.er1 >conftest.err
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8718 (exit $ac_status); } >/dev/null; then
8719 if test -s conftest.err; then
8720 ac_cpp_err=$ac_c_preproc_warn_flag
8721 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8728 if test -z "$ac_cpp_err"; then
8729 ac_header_preproc=yes
8731 echo "$as_me: failed program was
:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 ac_header_preproc=no
8737 rm -f conftest.err conftest.$ac_ext
8738 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8739 echo "${ECHO_T}$ac_header_preproc" >&6; }
8741 # So? What about this header?
8742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8744 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8745 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8746 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8748 ac_header_preproc=yes
8751 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8752 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8753 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8754 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8755 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8756 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8757 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8758 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8759 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8761 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8762 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8764 ## ----------------------------------- ##
8765 ## Report this to llvmbugs@cs.uiuc.edu ##
8766 ## ----------------------------------- ##
8768 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8771 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8772 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8773 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8774 echo $ECHO_N "(cached
) $ECHO_C" >&6
8776 eval "$as_ac_Header=\
$ac_header_preproc"
8778 ac_res=`eval echo '${'$as_ac_Header'}'`
8779 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8780 echo "${ECHO_T}$ac_res" >&6; }
8783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8784 cat >>confdefs.h <<_ACEOF
8785 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8792 # Check whether --enable-ltdl-install was given.
8793 if test "${enable_ltdl_install+set}" = set; then
8794 enableval=$enable_ltdl_install;
8800 if test x"${enable_ltdl_install-no}" != xno; then
8802 INSTALL_LTDL_FALSE='#'
8804 INSTALL_LTDL_TRUE='#'
8810 if test x"${enable_ltdl_convenience-no}" != xno; then
8811 CONVENIENCE_LTDL_TRUE=
8812 CONVENIENCE_LTDL_FALSE='#'
8814 CONVENIENCE_LTDL_TRUE='#'
8815 CONVENIENCE_LTDL_FALSE=
8819 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8820 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8822 libname_spec='lib$name'
8830 shlibpath_overrides_runpath=unknown
8832 dynamic_linker="$host_os ld.so
"
8833 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8834 if test "$GCC" = yes; then
8835 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8836 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8837 # if the path contains ";" then we assume it to be the separator
8838 # otherwise default to the standard path separator (i.e. ":") - it is
8839 # assumed that no part of a normal pathname contains ";" but that should
8840 # okay in the real world where ";" in dirpaths is itself problematic.
8841 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8843 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8846 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8848 need_lib_prefix=unknown
8849 hardcode_into_libs=no
8851 # when you set need_version to no, make sure it does not cause -set_version
8852 # flags to be left without arguments
8853 need_version=unknown
8858 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8859 shlibpath_var=LIBPATH
8861 # AIX 3 has no versioning support, so we append a major version to the name.
8862 soname_spec='${libname}${release}${shared_ext}$major'
8869 hardcode_into_libs=yes
8870 if test "$host_cpu" = ia64; then
8871 # AIX 5 supports IA64
8872 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8873 shlibpath_var=LD_LIBRARY_PATH
8875 # With GCC up to 2.95.x, collect2 would create an import file
8876 # for dependence libraries. The import file would start with
8877 # the line `#! .'. This would cause the generated library to
8878 # depend on `.', always an invalid library. This was fixed in
8879 # development snapshots of GCC prior to 3.0.
8881 aix4 | aix4.[01] | aix4.[01].*)
8882 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8884 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8891 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8892 # soname into executable. Probably we can add versioning support to
8893 # collect2, so additional links can be useful in future.
8894 if test "$aix_use_runtimelinking" = yes; then
8895 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8896 # instead of lib<name>.a to let people know that these are not
8897 # typical AIX shared libraries.
8898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8900 # We preserve .a as extension for shared libraries through AIX4.2
8901 # and later when we are not doing run time linking.
8902 library_names_spec='${libname}${release}.a $libname.a'
8903 soname_spec='${libname}${release}${shared_ext}$major'
8905 shlibpath_var=LIBPATH
8910 library_names_spec='$libname.ixlibrary $libname.a'
8911 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8912 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'
8916 library_names_spec='${libname}${shared_ext}'
8917 dynamic_linker="$host_os ld.so
"
8918 shlibpath_var=LIBRARY_PATH
8924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8925 soname_spec='${libname}${release}${shared_ext}$major'
8926 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8927 shlibpath_var=LD_LIBRARY_PATH
8928 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8929 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8930 # the default ld.so.conf also contains /usr/contrib/lib and
8931 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8932 # libtool to hard-code these into programs
8935 cygwin* | mingw* | pw32*)
8936 version_type=windows
8941 case $GCC,$host_os in
8942 yes,cygwin* | yes,mingw* | yes,pw32*)
8943 library_names_spec='$libname.dll.a'
8944 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8945 postinstall_cmds='base_file=`basename \${file}`~
8946 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8947 dldir=$destdir/`dirname \$dlpath`~
8948 test -d \$dldir || mkdir -p \$dldir~
8949 $install_prog $dir/$dlname \$dldir/$dlname~
8950 chmod a+x \$dldir/$dlname'
8951 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8952 dlpath=$dir/\$dldll~
8954 shlibpath_overrides_runpath=yes
8958 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8959 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8960 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8963 # MinGW DLLs use traditional 'lib' prefix
8964 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8965 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8966 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8967 # It is most probably a Windows format PATH printed by
8968 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8969 # path with ; separators, and with drive letters. We can handle the
8970 # drive letters (cygwin fileutils understands them), so leave them,
8971 # especially as we might pass files found there to a mingw objdump,
8972 # which wouldn't understand a cygwinified path. Ahh.
8973 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8975 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8979 # pw32 DLLs use 'pw' prefix rather than 'lib'
8980 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8986 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8989 dynamic_linker='Win32 ld.exe'
8990 # FIXME: first we should search . and the directory the executable is in
8994 darwin* | rhapsody*)
8995 dynamic_linker="$host_os dyld
"
8999 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9000 soname_spec='${libname}${release}${major}$shared_ext'
9001 shlibpath_overrides_runpath=yes
9002 shlibpath_var=DYLD_LIBRARY_PATH
9003 shrext_cmds='.dylib'
9004 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9005 if test "$GCC" = yes; then
9006 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
"`
9008 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9010 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9018 soname_spec='${libname}${release}${shared_ext}$major'
9019 shlibpath_var=LD_LIBRARY_PATH
9030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9031 soname_spec='${libname}${release}${shared_ext}$major'
9032 shlibpath_var=LD_LIBRARY_PATH
9033 shlibpath_overrides_runpath=no
9034 hardcode_into_libs=yes
9035 dynamic_linker='GNU ld.so'
9038 freebsd* | dragonfly*)
9039 # DragonFly does not have aout. When/if they implement a new
9040 # versioning mechanism, adjust this.
9041 if test -x /usr/bin/objformat; then
9042 objformat=`/usr/bin/objformat`
9045 freebsd[123]*) objformat=aout ;;
9049 version_type=freebsd-$objformat
9050 case $version_type in
9052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9057 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9061 shlibpath_var=LD_LIBRARY_PATH
9064 shlibpath_overrides_runpath=yes
9066 freebsd3.[01]* | freebsdelf3.[01]*)
9067 shlibpath_overrides_runpath=yes
9068 hardcode_into_libs=yes
9070 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9071 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9072 shlibpath_overrides_runpath=no
9073 hardcode_into_libs=yes
9075 freebsd*) # from 4.6 on
9076 shlibpath_overrides_runpath=yes
9077 hardcode_into_libs=yes
9086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9087 soname_spec='${libname}${release}${shared_ext}$major'
9088 shlibpath_var=LD_LIBRARY_PATH
9089 hardcode_into_libs=yes
9092 hpux9* | hpux10* | hpux11*)
9093 # Give a soname corresponding to the major version so that dld.sl refuses to
9094 # link against other versions.
9101 hardcode_into_libs=yes
9102 dynamic_linker="$host_os dld.so
"
9103 shlibpath_var=LD_LIBRARY_PATH
9104 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9106 soname_spec='${libname}${release}${shared_ext}$major'
9107 if test "X
$HPUX_IA64_MODE" = X32; then
9108 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
9110 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
9112 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9116 hardcode_into_libs=yes
9117 dynamic_linker="$host_os dld.sl
"
9118 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9119 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9121 soname_spec='${libname}${release}${shared_ext}$major'
9122 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
9123 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9127 dynamic_linker="$host_os dld.sl
"
9128 shlibpath_var=SHLIB_PATH
9129 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9131 soname_spec='${libname}${release}${shared_ext}$major'
9134 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9135 postinstall_cmds='chmod 555 $lib'
9142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9143 soname_spec='${libname}${release}${shared_ext}$major'
9144 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9145 shlibpath_var=LD_LIBRARY_PATH
9146 shlibpath_overrides_runpath=no
9147 hardcode_into_libs=yes
9150 irix5* | irix6* | nonstopux*)
9152 nonstopux*) version_type=nonstopux ;;
9154 if test "$lt_cv_prog_gnu_ld" = yes; then
9162 soname_spec='${libname}${release}${shared_ext}$major'
9163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9165 irix5* | nonstopux*)
9169 case $LD in # libtool.m4 will add one of these switches to LD
9170 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9171 libsuff= shlibsuff= libmagic=32-bit;;
9172 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9173 libsuff=32 shlibsuff=N32 libmagic=N32;;
9174 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9175 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9176 *) libsuff= shlibsuff= libmagic=never-match;;
9180 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9181 shlibpath_overrides_runpath=no
9182 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9183 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
9184 hardcode_into_libs=yes
9187 # No shared lib support for Linux oldld, aout, or coff.
9188 linux*oldld* | linux*aout* | linux*coff*)
9192 # This must be Linux ELF.
9197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9198 soname_spec='${libname}${release}${shared_ext}$major'
9199 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
9200 shlibpath_var=LD_LIBRARY_PATH
9201 shlibpath_overrides_runpath=no
9202 # This implies no fast_install, which is unacceptable.
9203 # Some rework will be needed to allow for fast_install
9204 # before this can be enabled.
9205 hardcode_into_libs=yes
9207 # Append ld.so.conf contents to the search path
9208 if test -f /etc/ld.so.conf; then
9209 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' ' '`
9210 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9213 # We used to test for /lib/ld.so.1 and disable shared libraries on
9214 # powerpc, because MkLinux only supported shared libraries with the
9215 # GNU dynamic linker. Since this was broken with cross compilers,
9216 # most powerpc-linux boxes support dynamic linking these days and
9217 # people can always --disable-shared, the test was removed, and we
9218 # assume the GNU/Linux dynamic linker is in use.
9219 dynamic_linker='GNU/Linux ld.so'
9226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9227 soname_spec='${libname}${release}${shared_ext}$major'
9228 shlibpath_var=LD_LIBRARY_PATH
9229 shlibpath_overrides_runpath=no
9230 hardcode_into_libs=yes
9231 dynamic_linker='GNU ld.so'
9238 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9240 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9241 dynamic_linker='NetBSD (a.out) ld.so'
9243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9244 soname_spec='${libname}${release}${shared_ext}$major'
9245 dynamic_linker='NetBSD ld.elf_so'
9247 shlibpath_var=LD_LIBRARY_PATH
9248 shlibpath_overrides_runpath=yes
9249 hardcode_into_libs=yes
9254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9255 shlibpath_var=LD_LIBRARY_PATH
9256 shlibpath_overrides_runpath=yes
9263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9264 soname_spec='${libname}${release}${shared_ext}$major'
9265 shlibpath_var=LD_LIBRARY_PATH
9266 shlibpath_overrides_runpath=yes
9271 sys_lib_dlsearch_path_spec="/usr
/lib
"
9273 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9275 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9276 *) need_version=no ;;
9278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9279 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9280 shlibpath_var=LD_LIBRARY_PATH
9281 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9283 openbsd2.[89] | openbsd2.[89].*)
9284 shlibpath_overrides_runpath=no
9287 shlibpath_overrides_runpath=yes
9291 shlibpath_overrides_runpath=yes
9296 libname_spec='$name'
9299 library_names_spec='$libname${shared_ext} $libname.a'
9300 dynamic_linker='OS/2 ld.exe'
9301 shlibpath_var=LIBPATH
9304 osf3* | osf4* | osf5*)
9308 soname_spec='${libname}${release}${shared_ext}$major'
9309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9310 shlibpath_var=LD_LIBRARY_PATH
9311 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9312 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9320 soname_spec='${libname}${release}${shared_ext}$major'
9321 shlibpath_var=LD_LIBRARY_PATH
9322 shlibpath_overrides_runpath=yes
9323 hardcode_into_libs=yes
9324 # ldd complains unless libraries are executable
9325 postinstall_cmds='chmod +x $lib'
9330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9331 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9332 shlibpath_var=LD_LIBRARY_PATH
9333 shlibpath_overrides_runpath=yes
9334 if test "$with_gnu_ld" = yes; then
9342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9343 soname_spec='${libname}${release}${shared_ext}$major'
9344 shlibpath_var=LD_LIBRARY_PATH
9345 case $host_vendor in
9347 shlibpath_overrides_runpath=no
9349 export_dynamic_flag_spec='${wl}-Blargedynsym'
9350 runpath_var=LD_RUN_PATH
9358 shlibpath_overrides_runpath=no
9359 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9365 if test -d /usr/nec ;then
9367 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9368 soname_spec='$libname${shared_ext}.$major'
9369 shlibpath_var=LD_LIBRARY_PATH
9373 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9374 version_type=freebsd-elf
9377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9378 soname_spec='${libname}${release}${shared_ext}$major'
9379 shlibpath_var=LD_LIBRARY_PATH
9380 hardcode_into_libs=yes
9381 if test "$with_gnu_ld" = yes; then
9382 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9383 shlibpath_overrides_runpath=no
9385 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9386 shlibpath_overrides_runpath=yes
9389 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9393 sys_lib_dlsearch_path_spec='/usr/lib'
9398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399 soname_spec='${libname}${release}${shared_ext}$major'
9400 shlibpath_var=LD_LIBRARY_PATH
9407 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9408 echo "${ECHO_T}$dynamic_linker" >&6; }
9409 test "$dynamic_linker" = no && can_build_shared=no
9411 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9412 if test "$GCC" = yes; then
9413 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9417 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9418 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9419 if test "${libltdl_cv_shlibext+set}" = set; then
9420 echo $ECHO_N "(cached
) $ECHO_C" >&6
9424 eval libltdl_cv_shlibext=$shrext_cmds
9427 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9428 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9429 if test -n "$libltdl_cv_shlibext"; then
9431 cat >>confdefs.h <<_ACEOF
9432 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9438 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9439 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9440 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9441 echo $ECHO_N "(cached
) $ECHO_C" >&6
9443 libltdl_cv_shlibpath_var="$shlibpath_var"
9445 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9446 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9447 if test -n "$libltdl_cv_shlibpath_var"; then
9449 cat >>confdefs.h <<_ACEOF
9450 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9456 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9457 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9458 if test "${libltdl_cv_sys_search_path+set}" = set; then
9459 echo $ECHO_N "(cached
) $ECHO_C" >&6
9461 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9463 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9464 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9465 if test -n "$libltdl_cv_sys_search_path"; then
9467 for dir in $libltdl_cv_sys_search_path; do
9468 if test -z "$sys_search_path"; then
9469 sys_search_path="$dir"
9471 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9475 cat >>confdefs.h <<_ACEOF
9476 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9481 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9482 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9483 if test "${libltdl_cv_objdir+set}" = set; then
9484 echo $ECHO_N "(cached
) $ECHO_C" >&6
9486 libltdl_cv_objdir="$objdir"
9487 if test -n "$objdir"; then
9490 rm -f .libs 2>/dev/null
9491 mkdir .libs 2>/dev/null
9492 if test -d .libs; then
9493 libltdl_cv_objdir=.libs
9495 # MS-DOS does not allow filenames that begin with a dot.
9496 libltdl_cv_objdir=_libs
9498 rmdir .libs 2>/dev/null
9502 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9503 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9505 cat >>confdefs.h <<_ACEOF
9506 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9514 # Check for command to grab the raw symbol name followed by C symbol from nm.
9515 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9516 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9517 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9518 echo $ECHO_N "(cached
) $ECHO_C" >&6
9521 # These are sane defaults that work on at least a few old systems.
9522 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9524 # Character class describing NM global symbol codes.
9525 symcode='[BCDEGRST]'
9527 # Regexp to match symbols that can be accessed directly from C.
9528 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9530 # Transform an extracted symbol line into a proper C declaration
9531 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9533 # Transform an extracted symbol line into symbol name and symbol address
9534 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'"
9536 # Define system-specific variables.
9541 cygwin* | mingw* | pw32*)
9542 symcode='[ABCDGISTW]'
9544 hpux*) # Its linker distinguishes data from code symbols
9545 if test "$host_cpu" = ia64; then
9546 symcode='[ABCDEGRST]'
9548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9549 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'"
9552 if test "$host_cpu" = ia64; then
9553 symcode='[ABCDGIRSTW]'
9554 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9555 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'"
9559 symcode='[BCDEGRST]'
9562 symcode='[BCDEGQRST]'
9573 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9581 # Handle CRLF in mingw tool chain
9585 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9589 # If we're using GNU nm, then use its standard symbol codes.
9590 case `$NM -V 2>&1` in
9591 *GNU* | *'with BFD'*)
9592 symcode='[ABCDGIRSTW]' ;;
9595 # Try without a prefix undercore, then with it.
9596 for ac_symprfx in "" "_
"; do
9598 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9599 symxfrm="\\1 $ac_symprfx\\2 \\2"
9601 # Write the raw and C identifiers.
9602 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9604 # Check to see that the pipe works correctly.
9608 cat > conftest.$ac_ext <<EOF
9613 void nm_test_func(){}
9617 int main(){nm_test_var='a';nm_test_func();return(0);}
9620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9621 (eval $ac_compile) 2>&5
9623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9624 (exit $ac_status); }; then
9625 # Now try to grab the symbols.
9627 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9628 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9631 (exit $ac_status); } && test -s "$nlist"; then
9632 # Try sorting and uniquifying the output.
9633 if sort "$nlist" | uniq > "$nlist"T; then
9634 mv -f "$nlist"T "$nlist"
9639 # Make sure that we snagged all the symbols we need.
9640 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9641 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9642 cat <<EOF > conftest.$ac_ext
9648 # Now generate the symbol file.
9649 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9651 cat <<EOF >> conftest.$ac_ext
9652 #if defined (__STDC__) && __STDC__
9653 # define lt_ptr_t void *
9655 # define lt_ptr_t char *
9659 /* The mapping between symbol names and symbols. */
9664 lt_preloaded_symbols[] =
9667 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9668 cat <<\EOF >> conftest.$ac_ext
9676 # Now try linking the two files.
9677 mv conftest.$ac_objext conftstm.$ac_objext
9678 lt_save_LIBS="$LIBS"
9679 lt_save_CFLAGS="$CFLAGS"
9680 LIBS="conftstm.
$ac_objext"
9681 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9683 (eval $ac_link) 2>&5
9685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9686 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9689 LIBS="$lt_save_LIBS"
9690 CFLAGS="$lt_save_CFLAGS"
9692 echo "cannot
find nm_test_func
in $nlist" >&5
9695 echo "cannot
find nm_test_var
in $nlist" >&5
9698 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9701 echo "$progname: failed program was
:" >&5
9702 cat conftest.$ac_ext >&5
9704 rm -f conftest* conftst*
9706 # Do not use the global_symbol_pipe unless it works.
9707 if test "$pipe_works" = yes; then
9710 lt_cv_sys_global_symbol_pipe=
9716 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9717 lt_cv_sys_global_symbol_to_cdecl=
9719 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9720 { echo "$as_me:$LINENO: result
: failed
" >&5
9721 echo "${ECHO_T}failed
" >&6; }
9723 { echo "$as_me:$LINENO: result
: ok
" >&5
9724 echo "${ECHO_T}ok
" >&6; }
9728 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9729 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9730 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9731 echo $ECHO_N "(cached
) $ECHO_C" >&6
9733 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9734 libltdl_cv_preloaded_symbols=yes
9736 libltdl_cv_preloaded_symbols=no
9740 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9741 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9742 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9744 cat >>confdefs.h <<\_ACEOF
9745 #define HAVE_PRELOADED_SYMBOLS 1
9753 ac_cpp='$CPP $CPPFLAGS'
9754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9759 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9760 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9761 if test "${ac_cv_func_shl_load+set}" = set; then
9762 echo $ECHO_N "(cached
) $ECHO_C" >&6
9764 cat >conftest.$ac_ext <<_ACEOF
9767 cat confdefs.h >>conftest.$ac_ext
9768 cat >>conftest.$ac_ext <<_ACEOF
9769 /* end confdefs.h. */
9770 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9772 #define shl_load innocuous_shl_load
9774 /* System header to define __stub macros and hopefully few prototypes,
9775 which can conflict with char shl_load (); below.
9776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9777 <limits.h> exists even on freestanding compilers. */
9780 # include <limits.h>
9782 # include <assert.h>
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9794 /* The GNU C library defines this for functions which it implements
9795 to always fail with ENOSYS. Some functions are actually named
9796 something starting with __ and the normal name is an alias. */
9797 #if defined __stub_shl_load || defined __stub___shl_load
9809 rm -f conftest.$ac_objext conftest$ac_exeext
9810 if { (ac_try="$ac_link"
9812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9813 *) ac_try_echo=$ac_try;;
9815 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9816 (eval "$ac_link") 2>conftest.er1
9818 grep -v '^ *+' conftest.er1 >conftest.err
9820 cat conftest.err >&5
9821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9822 (exit $ac_status); } &&
9823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9824 { (case "(($ac_try" in
9825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9826 *) ac_try_echo=$ac_try;;
9828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9829 (eval "$ac_try") 2>&5
9831 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9832 (exit $ac_status); }; } &&
9833 { ac_try='test -s conftest$ac_exeext'
9834 { (case "(($ac_try" in
9835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9836 *) ac_try_echo=$ac_try;;
9838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9839 (eval "$ac_try") 2>&5
9841 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9842 (exit $ac_status); }; }; then
9843 ac_cv_func_shl_load=yes
9845 echo "$as_me: failed program was
:" >&5
9846 sed 's/^/| /' conftest.$ac_ext >&5
9848 ac_cv_func_shl_load=no
9851 rm -f core conftest.err conftest.$ac_objext \
9852 conftest$ac_exeext conftest.$ac_ext
9854 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9855 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9856 if test $ac_cv_func_shl_load = yes; then
9858 cat >>confdefs.h <<\_ACEOF
9859 #define HAVE_SHL_LOAD 1
9863 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9864 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9865 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9866 echo $ECHO_N "(cached
) $ECHO_C" >&6
9868 ac_check_lib_save_LIBS=$LIBS
9870 cat >conftest.$ac_ext <<_ACEOF
9873 cat confdefs.h >>conftest.$ac_ext
9874 cat >>conftest.$ac_ext <<_ACEOF
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9892 rm -f conftest.$ac_objext conftest$ac_exeext
9893 if { (ac_try="$ac_link"
9895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9896 *) ac_try_echo=$ac_try;;
9898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9899 (eval "$ac_link") 2>conftest.er1
9901 grep -v '^ *+' conftest.er1 >conftest.err
9903 cat conftest.err >&5
9904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9905 (exit $ac_status); } &&
9906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9907 { (case "(($ac_try" in
9908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9909 *) ac_try_echo=$ac_try;;
9911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9912 (eval "$ac_try") 2>&5
9914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9915 (exit $ac_status); }; } &&
9916 { ac_try='test -s conftest$ac_exeext'
9917 { (case "(($ac_try" in
9918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9919 *) ac_try_echo=$ac_try;;
9921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9922 (eval "$ac_try") 2>&5
9924 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9925 (exit $ac_status); }; }; then
9926 ac_cv_lib_dld_shl_load=yes
9928 echo "$as_me: failed program was
:" >&5
9929 sed 's/^/| /' conftest.$ac_ext >&5
9931 ac_cv_lib_dld_shl_load=no
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_lib_save_LIBS
9938 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9939 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9940 if test $ac_cv_lib_dld_shl_load = yes; then
9942 cat >>confdefs.h <<\_ACEOF
9943 #define HAVE_SHL_LOAD 1
9946 LIBADD_DL="$LIBADD_DL -ldld"
9948 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9949 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9950 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9951 echo $ECHO_N "(cached
) $ECHO_C" >&6
9953 ac_check_lib_save_LIBS=$LIBS
9955 cat >conftest.$ac_ext <<_ACEOF
9958 cat confdefs.h >>conftest.$ac_ext
9959 cat >>conftest.$ac_ext <<_ACEOF
9960 /* end confdefs.h. */
9962 /* Override any GCC internal prototype to avoid an error.
9963 Use char because int might match the return type of a GCC
9964 builtin and then its argument prototype would still apply. */
9977 rm -f conftest.$ac_objext conftest$ac_exeext
9978 if { (ac_try="$ac_link"
9980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9981 *) ac_try_echo=$ac_try;;
9983 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9984 (eval "$ac_link") 2>conftest.er1
9986 grep -v '^ *+' conftest.er1 >conftest.err
9988 cat conftest.err >&5
9989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9990 (exit $ac_status); } &&
9991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9992 { (case "(($ac_try" in
9993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9994 *) ac_try_echo=$ac_try;;
9996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9997 (eval "$ac_try") 2>&5
9999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10000 (exit $ac_status); }; } &&
10001 { ac_try='test -s conftest$ac_exeext'
10002 { (case "(($ac_try" in
10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10004 *) ac_try_echo=$ac_try;;
10006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_try") 2>&5
10009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10010 (exit $ac_status); }; }; then
10011 ac_cv_lib_dl_dlopen=yes
10013 echo "$as_me: failed program was
:" >&5
10014 sed 's/^/| /' conftest.$ac_ext >&5
10016 ac_cv_lib_dl_dlopen=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_lib_save_LIBS
10023 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
10024 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10025 if test $ac_cv_lib_dl_dlopen = yes; then
10027 cat >>confdefs.h <<\_ACEOF
10028 #define HAVE_LIBDL 1
10031 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
10033 cat >conftest.$ac_ext <<_ACEOF
10036 cat confdefs.h >>conftest.$ac_ext
10037 cat >>conftest.$ac_ext <<_ACEOF
10038 /* end confdefs.h. */
10040 # include <dlfcn.h>
10051 rm -f conftest.$ac_objext conftest$ac_exeext
10052 if { (ac_try="$ac_link"
10053 case "(($ac_try" in
10054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10055 *) ac_try_echo=$ac_try;;
10057 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10058 (eval "$ac_link") 2>conftest.er1
10060 grep -v '^ *+' conftest.er1 >conftest.err
10062 cat conftest.err >&5
10063 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10064 (exit $ac_status); } &&
10065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10066 { (case "(($ac_try" in
10067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10068 *) ac_try_echo=$ac_try;;
10070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10071 (eval "$ac_try") 2>&5
10073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10074 (exit $ac_status); }; } &&
10075 { ac_try='test -s conftest$ac_exeext'
10076 { (case "(($ac_try" in
10077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10078 *) ac_try_echo=$ac_try;;
10080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10081 (eval "$ac_try") 2>&5
10083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10084 (exit $ac_status); }; }; then
10086 cat >>confdefs.h <<\_ACEOF
10087 #define HAVE_LIBDL 1
10089 libltdl_cv_func_dlopen="yes"
10091 echo "$as_me: failed program was
:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10094 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
10095 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
10096 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10097 echo $ECHO_N "(cached
) $ECHO_C" >&6
10099 ac_check_lib_save_LIBS=$LIBS
10100 LIBS="-lsvld $LIBS"
10101 cat >conftest.$ac_ext <<_ACEOF
10104 cat confdefs.h >>conftest.$ac_ext
10105 cat >>conftest.$ac_ext <<_ACEOF
10106 /* end confdefs.h. */
10108 /* Override any GCC internal prototype to avoid an error.
10109 Use char because int might match the return type of a GCC
10110 builtin and then its argument prototype would still apply. */
10123 rm -f conftest.$ac_objext conftest$ac_exeext
10124 if { (ac_try="$ac_link"
10125 case "(($ac_try" in
10126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10127 *) ac_try_echo=$ac_try;;
10129 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10130 (eval "$ac_link") 2>conftest.er1
10132 grep -v '^ *+' conftest.er1 >conftest.err
10134 cat conftest.err >&5
10135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10136 (exit $ac_status); } &&
10137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10138 { (case "(($ac_try" in
10139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10140 *) ac_try_echo=$ac_try;;
10142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10143 (eval "$ac_try") 2>&5
10145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10146 (exit $ac_status); }; } &&
10147 { ac_try='test -s conftest$ac_exeext'
10148 { (case "(($ac_try" in
10149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10150 *) ac_try_echo=$ac_try;;
10152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10153 (eval "$ac_try") 2>&5
10155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10156 (exit $ac_status); }; }; then
10157 ac_cv_lib_svld_dlopen=yes
10159 echo "$as_me: failed program was
:" >&5
10160 sed 's/^/| /' conftest.$ac_ext >&5
10162 ac_cv_lib_svld_dlopen=no
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 LIBS=$ac_check_lib_save_LIBS
10169 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
10170 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10171 if test $ac_cv_lib_svld_dlopen = yes; then
10173 cat >>confdefs.h <<\_ACEOF
10174 #define HAVE_LIBDL 1
10177 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10179 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
10180 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
10181 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10182 echo $ECHO_N "(cached
) $ECHO_C" >&6
10184 ac_check_lib_save_LIBS=$LIBS
10186 cat >conftest.$ac_ext <<_ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10203 return dld_link ();
10208 rm -f conftest.$ac_objext conftest$ac_exeext
10209 if { (ac_try="$ac_link"
10210 case "(($ac_try" in
10211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10212 *) ac_try_echo=$ac_try;;
10214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10215 (eval "$ac_link") 2>conftest.er1
10217 grep -v '^ *+' conftest.er1 >conftest.err
10219 cat conftest.err >&5
10220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10221 (exit $ac_status); } &&
10222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10223 { (case "(($ac_try" in
10224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10225 *) ac_try_echo=$ac_try;;
10227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10228 (eval "$ac_try") 2>&5
10230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10231 (exit $ac_status); }; } &&
10232 { ac_try='test -s conftest$ac_exeext'
10233 { (case "(($ac_try" in
10234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10235 *) ac_try_echo=$ac_try;;
10237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10238 (eval "$ac_try") 2>&5
10240 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10241 (exit $ac_status); }; }; then
10242 ac_cv_lib_dld_dld_link=yes
10244 echo "$as_me: failed program was
:" >&5
10245 sed 's/^/| /' conftest.$ac_ext >&5
10247 ac_cv_lib_dld_dld_link=no
10250 rm -f core conftest.err conftest.$ac_objext \
10251 conftest$ac_exeext conftest.$ac_ext
10252 LIBS=$ac_check_lib_save_LIBS
10254 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10255 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10256 if test $ac_cv_lib_dld_dld_link = yes; then
10258 cat >>confdefs.h <<\_ACEOF
10262 LIBADD_DL="$LIBADD_DL -ldld"
10264 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10265 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10266 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10267 echo $ECHO_N "(cached
) $ECHO_C" >&6
10269 cat >conftest.$ac_ext <<_ACEOF
10272 cat confdefs.h >>conftest.$ac_ext
10273 cat >>conftest.$ac_ext <<_ACEOF
10274 /* end confdefs.h. */
10275 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10277 #define _dyld_func_lookup innocuous__dyld_func_lookup
10279 /* System header to define __stub macros and hopefully few prototypes,
10280 which can conflict with char _dyld_func_lookup (); below.
10281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10282 <limits.h> exists even on freestanding compilers. */
10285 # include <limits.h>
10287 # include <assert.h>
10290 #undef _dyld_func_lookup
10292 /* Override any GCC internal prototype to avoid an error.
10293 Use char because int might match the return type of a GCC
10294 builtin and then its argument prototype would still apply. */
10298 char _dyld_func_lookup ();
10299 /* The GNU C library defines this for functions which it implements
10300 to always fail with ENOSYS. Some functions are actually named
10301 something starting with __ and the normal name is an alias. */
10302 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10309 return _dyld_func_lookup ();
10314 rm -f conftest.$ac_objext conftest$ac_exeext
10315 if { (ac_try="$ac_link"
10316 case "(($ac_try" in
10317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10318 *) ac_try_echo=$ac_try;;
10320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10321 (eval "$ac_link") 2>conftest.er1
10323 grep -v '^ *+' conftest.er1 >conftest.err
10325 cat conftest.err >&5
10326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10327 (exit $ac_status); } &&
10328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10329 { (case "(($ac_try" in
10330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10331 *) ac_try_echo=$ac_try;;
10333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10334 (eval "$ac_try") 2>&5
10336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10337 (exit $ac_status); }; } &&
10338 { ac_try='test -s conftest$ac_exeext'
10339 { (case "(($ac_try" in
10340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10341 *) ac_try_echo=$ac_try;;
10343 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10344 (eval "$ac_try") 2>&5
10346 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10347 (exit $ac_status); }; }; then
10348 ac_cv_func__dyld_func_lookup=yes
10350 echo "$as_me: failed program was
:" >&5
10351 sed 's/^/| /' conftest.$ac_ext >&5
10353 ac_cv_func__dyld_func_lookup=no
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10359 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10360 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10361 if test $ac_cv_func__dyld_func_lookup = yes; then
10363 cat >>confdefs.h <<\_ACEOF
10364 #define HAVE_DYLD 1
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10390 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10392 lt_save_LIBS="$LIBS"
10393 LIBS="$LIBS $LIBADD_DL"
10395 for ac_func in dlerror
10397 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10398 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10399 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10400 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10401 echo $ECHO_N "(cached
) $ECHO_C" >&6
10403 cat >conftest.$ac_ext <<_ACEOF
10406 cat confdefs.h >>conftest.$ac_ext
10407 cat >>conftest.$ac_ext <<_ACEOF
10408 /* end confdefs.h. */
10409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10411 #define $ac_func innocuous_$ac_func
10413 /* System header to define __stub macros and hopefully few prototypes,
10414 which can conflict with char $ac_func (); below.
10415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10416 <limits.h> exists even on freestanding compilers. */
10419 # include <limits.h>
10421 # include <assert.h>
10426 /* Override any GCC internal prototype to avoid an error.
10427 Use char because int might match the return type of a GCC
10428 builtin and then its argument prototype would still apply. */
10433 /* The GNU C library defines this for functions which it implements
10434 to always fail with ENOSYS. Some functions are actually named
10435 something starting with __ and the normal name is an alias. */
10436 #if defined __stub_$ac_func || defined __stub___$ac_func
10443 return $ac_func ();
10448 rm -f conftest.$ac_objext conftest$ac_exeext
10449 if { (ac_try="$ac_link"
10450 case "(($ac_try" in
10451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10452 *) ac_try_echo=$ac_try;;
10454 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10455 (eval "$ac_link") 2>conftest.er1
10457 grep -v '^ *+' conftest.er1 >conftest.err
10459 cat conftest.err >&5
10460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10461 (exit $ac_status); } &&
10462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10463 { (case "(($ac_try" in
10464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10465 *) ac_try_echo=$ac_try;;
10467 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10468 (eval "$ac_try") 2>&5
10470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10471 (exit $ac_status); }; } &&
10472 { ac_try='test -s conftest$ac_exeext'
10473 { (case "(($ac_try" in
10474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10475 *) ac_try_echo=$ac_try;;
10477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10478 (eval "$ac_try") 2>&5
10480 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10481 (exit $ac_status); }; }; then
10482 eval "$as_ac_var=yes"
10484 echo "$as_me: failed program was
:" >&5
10485 sed 's/^/| /' conftest.$ac_ext >&5
10487 eval "$as_ac_var=no
"
10490 rm -f core conftest.err conftest.$ac_objext \
10491 conftest$ac_exeext conftest.$ac_ext
10493 ac_res=`eval echo '${'$as_ac_var'}'`
10494 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10495 echo "${ECHO_T}$ac_res" >&6; }
10496 if test `eval echo '${'$as_ac_var'}'` = yes; then
10497 cat >>confdefs.h <<_ACEOF
10498 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10504 LIBS="$lt_save_LIBS"
10507 ac_cpp='$CPP $CPPFLAGS'
10508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10514 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10515 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10516 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10517 echo $ECHO_N "(cached
) $ECHO_C" >&6
10519 ac_cv_sys_symbol_underscore=no
10520 cat > conftest.$ac_ext <<EOF
10521 void nm_test_func(){}
10522 int main(){nm_test_func;return 0;}
10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>&5
10527 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10528 (exit $ac_status); }; then
10529 # Now try to grab the symbols.
10530 ac_nlist=conftest.nm
10531 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10532 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10534 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10535 (exit $ac_status); } && test -s "$ac_nlist"; then
10536 # See whether the symbols have a leading underscore.
10537 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10538 ac_cv_sys_symbol_underscore=yes
10540 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10543 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10547 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10550 echo "configure
: failed program was
:" >&5
10556 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10557 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10560 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10561 if test x"$libltdl_cv_func_dlopen" = xyes ||
10562 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10563 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10564 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10565 if test "${libltdl_cv_need_uscore+set}" = set; then
10566 echo $ECHO_N "(cached
) $ECHO_C" >&6
10568 libltdl_cv_need_uscore=unknown
10570 LIBS="$LIBS $LIBADD_DL"
10571 if test "$cross_compiling" = yes; then :
10572 libltdl_cv_need_uscore=cross
10574 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10575 lt_status=$lt_dlunknown
10576 cat > conftest.$ac_ext <<EOF
10577 #line 10563 "configure
"
10578 #include "confdefs.h
"
10587 # define LT_DLGLOBAL RTLD_GLOBAL
10590 # define LT_DLGLOBAL DL_GLOBAL
10592 # define LT_DLGLOBAL 0
10596 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10597 find out it does not work in some platform. */
10598 #ifndef LT_DLLAZY_OR_NOW
10600 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10603 # define LT_DLLAZY_OR_NOW DL_LAZY
10606 # define LT_DLLAZY_OR_NOW RTLD_NOW
10609 # define LT_DLLAZY_OR_NOW DL_NOW
10611 # define LT_DLLAZY_OR_NOW 0
10619 extern "C
" void exit (int);
10622 void fnord() { int i=42;}
10625 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10626 int status = $lt_dlunknown;
10630 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10631 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10632 /* dlclose (self); */
10640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10641 (eval $ac_link) 2>&5
10643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10644 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10645 (./conftest; exit; ) >&5 2>/dev/null
10647 case x$lt_status in
10648 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10649 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10650 x$lt_dlunknown|x*) ;;
10653 # compilation failed
10662 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10663 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10667 if test x"$libltdl_cv_need_uscore" = xyes; then
10669 cat >>confdefs.h <<\_ACEOF
10670 #define NEED_USCORE 1
10676 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10677 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10678 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10679 echo $ECHO_N "(cached
) $ECHO_C" >&6
10681 # PORTME does your system automatically load deplibs for dlopen?
10682 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10683 # For now, we just catch OSes we know something about -- in the
10684 # future, we'll try test this programmatically.
10685 libltdl_cv_sys_dlopen_deplibs=unknown
10687 aix3*|aix4.1.*|aix4.2.*)
10688 # Unknown whether this is true for these versions of AIX, but
10689 # we want this `case' here to explicitly catch those versions.
10690 libltdl_cv_sys_dlopen_deplibs=unknown
10693 libltdl_cv_sys_dlopen_deplibs=yes
10696 # Assuming the user has installed a libdl from somewhere, this is true
10697 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10698 libltdl_cv_sys_dlopen_deplibs=yes
10700 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10701 # GNU and its variants, using gnu ld.so (Glibc)
10702 libltdl_cv_sys_dlopen_deplibs=yes
10705 libltdl_cv_sys_dlopen_deplibs=yes
10708 libltdl_cv_sys_dlopen_deplibs=yes
10710 irix[12345]*|irix6.[01]*)
10711 # Catch all versions of IRIX before 6.2, and indicate that we don't
10712 # know how it worked for any of those versions.
10713 libltdl_cv_sys_dlopen_deplibs=unknown
10716 # The case above catches anything before 6.2, and it's known that
10717 # at 6.2 and later dlopen does load deplibs.
10718 libltdl_cv_sys_dlopen_deplibs=yes
10721 libltdl_cv_sys_dlopen_deplibs=yes
10724 libltdl_cv_sys_dlopen_deplibs=yes
10727 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10728 # it did *not* use an RPATH in a shared library to find objects the
10729 # library depends on, so we explictly say `no'.
10730 libltdl_cv_sys_dlopen_deplibs=no
10732 osf5.0|osf5.0a|osf5.1)
10733 # dlopen *does* load deplibs and with the right loader patch applied
10734 # it even uses RPATH in a shared library to search for shared objects
10735 # that the library depends on, but there's no easy way to know if that
10736 # patch is installed. Since this is the case, all we can really
10737 # say is unknown -- it depends on the patch being installed. If
10738 # it is, this changes to `yes'. Without it, it would be `no'.
10739 libltdl_cv_sys_dlopen_deplibs=unknown
10742 # the two cases above should catch all versions of osf <= 5.1. Read
10743 # the comments above for what we know about them.
10744 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10745 # is used to find them so we can finally say `yes'.
10746 libltdl_cv_sys_dlopen_deplibs=yes
10749 libltdl_cv_sys_dlopen_deplibs=yes
10751 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10752 libltdl_cv_sys_dlopen_deplibs=yes
10757 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10758 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10759 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10761 cat >>confdefs.h <<\_ACEOF
10762 #define LTDL_DLOPEN_DEPLIBS 1
10768 for ac_header in argz.h
10770 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10771 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10772 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10773 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10774 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10775 echo $ECHO_N "(cached
) $ECHO_C" >&6
10777 ac_res=`eval echo '${'$as_ac_Header'}'`
10778 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10779 echo "${ECHO_T}$ac_res" >&6; }
10781 # Is the header compilable?
10782 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10783 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10784 cat >conftest.$ac_ext <<_ACEOF
10787 cat confdefs.h >>conftest.$ac_ext
10788 cat >>conftest.$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10790 $ac_includes_default
10791 #include <$ac_header>
10793 rm -f conftest.$ac_objext
10794 if { (ac_try="$ac_compile"
10795 case "(($ac_try" in
10796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10797 *) ac_try_echo=$ac_try;;
10799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10800 (eval "$ac_compile") 2>conftest.er1
10802 grep -v '^ *+' conftest.er1 >conftest.err
10804 cat conftest.err >&5
10805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10806 (exit $ac_status); } &&
10807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10808 { (case "(($ac_try" in
10809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10810 *) ac_try_echo=$ac_try;;
10812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10813 (eval "$ac_try") 2>&5
10815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10816 (exit $ac_status); }; } &&
10817 { ac_try='test -s conftest.$ac_objext'
10818 { (case "(($ac_try" in
10819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10820 *) ac_try_echo=$ac_try;;
10822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10823 (eval "$ac_try") 2>&5
10825 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10826 (exit $ac_status); }; }; then
10827 ac_header_compiler=yes
10829 echo "$as_me: failed program was
:" >&5
10830 sed 's/^/| /' conftest.$ac_ext >&5
10832 ac_header_compiler=no
10835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10836 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10837 echo "${ECHO_T}$ac_header_compiler" >&6; }
10839 # Is the header present?
10840 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10841 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10842 cat >conftest.$ac_ext <<_ACEOF
10845 cat confdefs.h >>conftest.$ac_ext
10846 cat >>conftest.$ac_ext <<_ACEOF
10847 /* end confdefs.h. */
10848 #include <$ac_header>
10850 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10851 case "(($ac_try" in
10852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10853 *) ac_try_echo=$ac_try;;
10855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10856 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10858 grep -v '^ *+' conftest.er1 >conftest.err
10860 cat conftest.err >&5
10861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10862 (exit $ac_status); } >/dev/null; then
10863 if test -s conftest.err; then
10864 ac_cpp_err=$ac_c_preproc_warn_flag
10865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10872 if test -z "$ac_cpp_err"; then
10873 ac_header_preproc=yes
10875 echo "$as_me: failed program was
:" >&5
10876 sed 's/^/| /' conftest.$ac_ext >&5
10878 ac_header_preproc=no
10881 rm -f conftest.err conftest.$ac_ext
10882 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10883 echo "${ECHO_T}$ac_header_preproc" >&6; }
10885 # So? What about this header?
10886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10888 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10889 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10890 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10891 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10892 ac_header_preproc=yes
10895 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10896 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10897 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10898 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10899 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10900 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10901 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10902 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10903 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10905 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10906 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10908 ## ----------------------------------- ##
10909 ## Report this to llvmbugs@cs.uiuc.edu ##
10910 ## ----------------------------------- ##
10912 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10915 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10916 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10917 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10918 echo $ECHO_N "(cached
) $ECHO_C" >&6
10920 eval "$as_ac_Header=\
$ac_header_preproc"
10922 ac_res=`eval echo '${'$as_ac_Header'}'`
10923 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10924 echo "${ECHO_T}$ac_res" >&6; }
10927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10928 cat >>confdefs.h <<_ACEOF
10929 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10937 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10938 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10939 if test "${ac_cv_type_error_t+set}" = set; then
10940 echo $ECHO_N "(cached
) $ECHO_C" >&6
10942 cat >conftest.$ac_ext <<_ACEOF
10945 cat confdefs.h >>conftest.$ac_ext
10946 cat >>conftest.$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10952 typedef error_t ac__type_new_;
10956 if ((ac__type_new_ *) 0)
10958 if (sizeof (ac__type_new_))
10964 rm -f conftest.$ac_objext
10965 if { (ac_try="$ac_compile"
10966 case "(($ac_try" in
10967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10968 *) ac_try_echo=$ac_try;;
10970 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10971 (eval "$ac_compile") 2>conftest.er1
10973 grep -v '^ *+' conftest.er1 >conftest.err
10975 cat conftest.err >&5
10976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10977 (exit $ac_status); } &&
10978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10979 { (case "(($ac_try" in
10980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10981 *) ac_try_echo=$ac_try;;
10983 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10984 (eval "$ac_try") 2>&5
10986 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10987 (exit $ac_status); }; } &&
10988 { ac_try='test -s conftest.$ac_objext'
10989 { (case "(($ac_try" in
10990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10991 *) ac_try_echo=$ac_try;;
10993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_try") 2>&5
10996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10997 (exit $ac_status); }; }; then
10998 ac_cv_type_error_t=yes
11000 echo "$as_me: failed program was
:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5
11003 ac_cv_type_error_t=no
11006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11008 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
11009 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
11010 if test $ac_cv_type_error_t = yes; then
11012 cat >>confdefs.h <<_ACEOF
11013 #define HAVE_ERROR_T 1
11019 cat >>confdefs.h <<\_ACEOF
11020 #define error_t int
11031 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
11033 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11034 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11035 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11036 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11037 echo $ECHO_N "(cached
) $ECHO_C" >&6
11039 cat >conftest.$ac_ext <<_ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11047 #define $ac_func innocuous_$ac_func
11049 /* System header to define __stub macros and hopefully few prototypes,
11050 which can conflict with char $ac_func (); below.
11051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11052 <limits.h> exists even on freestanding compilers. */
11055 # include <limits.h>
11057 # include <assert.h>
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11069 /* The GNU C library defines this for functions which it implements
11070 to always fail with ENOSYS. Some functions are actually named
11071 something starting with __ and the normal name is an alias. */
11072 #if defined __stub_$ac_func || defined __stub___$ac_func
11079 return $ac_func ();
11084 rm -f conftest.$ac_objext conftest$ac_exeext
11085 if { (ac_try="$ac_link"
11086 case "(($ac_try" in
11087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11088 *) ac_try_echo=$ac_try;;
11090 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11091 (eval "$ac_link") 2>conftest.er1
11093 grep -v '^ *+' conftest.er1 >conftest.err
11095 cat conftest.err >&5
11096 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11097 (exit $ac_status); } &&
11098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11099 { (case "(($ac_try" in
11100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101 *) ac_try_echo=$ac_try;;
11103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11104 (eval "$ac_try") 2>&5
11106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11107 (exit $ac_status); }; } &&
11108 { ac_try='test -s conftest$ac_exeext'
11109 { (case "(($ac_try" in
11110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11111 *) ac_try_echo=$ac_try;;
11113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11114 (eval "$ac_try") 2>&5
11116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11117 (exit $ac_status); }; }; then
11118 eval "$as_ac_var=yes"
11120 echo "$as_me: failed program was
:" >&5
11121 sed 's/^/| /' conftest.$ac_ext >&5
11123 eval "$as_ac_var=no
"
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11129 ac_res=`eval echo '${'$as_ac_var'}'`
11130 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11131 echo "${ECHO_T}$ac_res" >&6; }
11132 if test `eval echo '${'$as_ac_var'}'` = yes; then
11133 cat >>confdefs.h <<_ACEOF
11134 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11167 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11170 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11171 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11172 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11173 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11174 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11175 echo $ECHO_N "(cached
) $ECHO_C" >&6
11177 ac_res=`eval echo '${'$as_ac_Header'}'`
11178 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11179 echo "${ECHO_T}$ac_res" >&6; }
11181 # Is the header compilable?
11182 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11183 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11184 cat >conftest.$ac_ext <<_ACEOF
11187 cat confdefs.h >>conftest.$ac_ext
11188 cat >>conftest.$ac_ext <<_ACEOF
11189 /* end confdefs.h. */
11190 $ac_includes_default
11191 #include <$ac_header>
11193 rm -f conftest.$ac_objext
11194 if { (ac_try="$ac_compile"
11195 case "(($ac_try" in
11196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11197 *) ac_try_echo=$ac_try;;
11199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11200 (eval "$ac_compile") 2>conftest.er1
11202 grep -v '^ *+' conftest.er1 >conftest.err
11204 cat conftest.err >&5
11205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11206 (exit $ac_status); } &&
11207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11208 { (case "(($ac_try" in
11209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11210 *) ac_try_echo=$ac_try;;
11212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11213 (eval "$ac_try") 2>&5
11215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11216 (exit $ac_status); }; } &&
11217 { ac_try='test -s conftest.$ac_objext'
11218 { (case "(($ac_try" in
11219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11220 *) ac_try_echo=$ac_try;;
11222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11223 (eval "$ac_try") 2>&5
11225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11226 (exit $ac_status); }; }; then
11227 ac_header_compiler=yes
11229 echo "$as_me: failed program was
:" >&5
11230 sed 's/^/| /' conftest.$ac_ext >&5
11232 ac_header_compiler=no
11235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11236 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11237 echo "${ECHO_T}$ac_header_compiler" >&6; }
11239 # Is the header present?
11240 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11241 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11242 cat >conftest.$ac_ext <<_ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11248 #include <$ac_header>
11250 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11251 case "(($ac_try" in
11252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11253 *) ac_try_echo=$ac_try;;
11255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11256 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11258 grep -v '^ *+' conftest.er1 >conftest.err
11260 cat conftest.err >&5
11261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11262 (exit $ac_status); } >/dev/null; then
11263 if test -s conftest.err; then
11264 ac_cpp_err=$ac_c_preproc_warn_flag
11265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11272 if test -z "$ac_cpp_err"; then
11273 ac_header_preproc=yes
11275 echo "$as_me: failed program was
:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11278 ac_header_preproc=no
11281 rm -f conftest.err conftest.$ac_ext
11282 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11283 echo "${ECHO_T}$ac_header_preproc" >&6; }
11285 # So? What about this header?
11286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11288 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11289 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11290 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11292 ac_header_preproc=yes
11295 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11296 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11297 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11298 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11299 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11300 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11301 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11302 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11303 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11305 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11306 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11308 ## ----------------------------------- ##
11309 ## Report this to llvmbugs@cs.uiuc.edu ##
11310 ## ----------------------------------- ##
11312 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11315 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11316 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11317 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11318 echo $ECHO_N "(cached
) $ECHO_C" >&6
11320 eval "$as_ac_Header=\
$ac_header_preproc"
11322 ac_res=`eval echo '${'$as_ac_Header'}'`
11323 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11324 echo "${ECHO_T}$ac_res" >&6; }
11327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11328 cat >>confdefs.h <<_ACEOF
11329 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11340 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11342 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11343 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11344 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11345 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11346 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11347 echo $ECHO_N "(cached
) $ECHO_C" >&6
11349 ac_res=`eval echo '${'$as_ac_Header'}'`
11350 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11351 echo "${ECHO_T}$ac_res" >&6; }
11353 # Is the header compilable?
11354 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11355 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11356 cat >conftest.$ac_ext <<_ACEOF
11359 cat confdefs.h >>conftest.$ac_ext
11360 cat >>conftest.$ac_ext <<_ACEOF
11361 /* end confdefs.h. */
11362 $ac_includes_default
11363 #include <$ac_header>
11365 rm -f conftest.$ac_objext
11366 if { (ac_try="$ac_compile"
11367 case "(($ac_try" in
11368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11369 *) ac_try_echo=$ac_try;;
11371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11372 (eval "$ac_compile") 2>conftest.er1
11374 grep -v '^ *+' conftest.er1 >conftest.err
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11378 (exit $ac_status); } &&
11379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11380 { (case "(($ac_try" in
11381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11382 *) ac_try_echo=$ac_try;;
11384 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11385 (eval "$ac_try") 2>&5
11387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11388 (exit $ac_status); }; } &&
11389 { ac_try='test -s conftest.$ac_objext'
11390 { (case "(($ac_try" in
11391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11392 *) ac_try_echo=$ac_try;;
11394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11395 (eval "$ac_try") 2>&5
11397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11398 (exit $ac_status); }; }; then
11399 ac_header_compiler=yes
11401 echo "$as_me: failed program was
:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11404 ac_header_compiler=no
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11408 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11409 echo "${ECHO_T}$ac_header_compiler" >&6; }
11411 # Is the header present?
11412 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11413 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11414 cat >conftest.$ac_ext <<_ACEOF
11417 cat confdefs.h >>conftest.$ac_ext
11418 cat >>conftest.$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 #include <$ac_header>
11422 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11423 case "(($ac_try" in
11424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11425 *) ac_try_echo=$ac_try;;
11427 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11428 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11430 grep -v '^ *+' conftest.er1 >conftest.err
11432 cat conftest.err >&5
11433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11434 (exit $ac_status); } >/dev/null; then
11435 if test -s conftest.err; then
11436 ac_cpp_err=$ac_c_preproc_warn_flag
11437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11444 if test -z "$ac_cpp_err"; then
11445 ac_header_preproc=yes
11447 echo "$as_me: failed program was
:" >&5
11448 sed 's/^/| /' conftest.$ac_ext >&5
11450 ac_header_preproc=no
11453 rm -f conftest.err conftest.$ac_ext
11454 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11455 echo "${ECHO_T}$ac_header_preproc" >&6; }
11457 # So? What about this header?
11458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11460 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11461 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11462 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11463 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11464 ac_header_preproc=yes
11467 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11468 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11469 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11470 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11471 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11472 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11473 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11474 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11475 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11477 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11478 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11480 ## ----------------------------------- ##
11481 ## Report this to llvmbugs@cs.uiuc.edu ##
11482 ## ----------------------------------- ##
11484 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11487 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11488 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11489 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11490 echo $ECHO_N "(cached
) $ECHO_C" >&6
11492 eval "$as_ac_Header=\
$ac_header_preproc"
11494 ac_res=`eval echo '${'$as_ac_Header'}'`
11495 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11496 echo "${ECHO_T}$ac_res" >&6; }
11499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11500 cat >>confdefs.h <<_ACEOF
11501 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11510 for ac_header in string.h strings.h
11512 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11513 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11514 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11515 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11516 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11517 echo $ECHO_N "(cached
) $ECHO_C" >&6
11519 ac_res=`eval echo '${'$as_ac_Header'}'`
11520 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11521 echo "${ECHO_T}$ac_res" >&6; }
11523 # Is the header compilable?
11524 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11525 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11526 cat >conftest.$ac_ext <<_ACEOF
11529 cat confdefs.h >>conftest.$ac_ext
11530 cat >>conftest.$ac_ext <<_ACEOF
11531 /* end confdefs.h. */
11532 $ac_includes_default
11533 #include <$ac_header>
11535 rm -f conftest.$ac_objext
11536 if { (ac_try="$ac_compile"
11537 case "(($ac_try" in
11538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11539 *) ac_try_echo=$ac_try;;
11541 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11542 (eval "$ac_compile") 2>conftest.er1
11544 grep -v '^ *+' conftest.er1 >conftest.err
11546 cat conftest.err >&5
11547 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11548 (exit $ac_status); } &&
11549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11550 { (case "(($ac_try" in
11551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11552 *) ac_try_echo=$ac_try;;
11554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11555 (eval "$ac_try") 2>&5
11557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11558 (exit $ac_status); }; } &&
11559 { ac_try='test -s conftest.$ac_objext'
11560 { (case "(($ac_try" in
11561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11564 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11565 (eval "$ac_try") 2>&5
11567 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11568 (exit $ac_status); }; }; then
11569 ac_header_compiler=yes
11571 echo "$as_me: failed program was
:" >&5
11572 sed 's/^/| /' conftest.$ac_ext >&5
11574 ac_header_compiler=no
11577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11578 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11579 echo "${ECHO_T}$ac_header_compiler" >&6; }
11581 # Is the header present?
11582 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11583 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11584 cat >conftest.$ac_ext <<_ACEOF
11587 cat confdefs.h >>conftest.$ac_ext
11588 cat >>conftest.$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11590 #include <$ac_header>
11592 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11593 case "(($ac_try" in
11594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11598 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11600 grep -v '^ *+' conftest.er1 >conftest.err
11602 cat conftest.err >&5
11603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11604 (exit $ac_status); } >/dev/null; then
11605 if test -s conftest.err; then
11606 ac_cpp_err=$ac_c_preproc_warn_flag
11607 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11614 if test -z "$ac_cpp_err"; then
11615 ac_header_preproc=yes
11617 echo "$as_me: failed program was
:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11620 ac_header_preproc=no
11623 rm -f conftest.err conftest.$ac_ext
11624 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11625 echo "${ECHO_T}$ac_header_preproc" >&6; }
11627 # So? What about this header?
11628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11630 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11631 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11632 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11634 ac_header_preproc=yes
11637 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11638 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11639 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11640 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11641 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11642 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11643 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11644 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11645 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11647 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11648 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11650 ## ----------------------------------- ##
11651 ## Report this to llvmbugs@cs.uiuc.edu ##
11652 ## ----------------------------------- ##
11654 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11657 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11658 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11659 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11660 echo $ECHO_N "(cached
) $ECHO_C" >&6
11662 eval "$as_ac_Header=\
$ac_header_preproc"
11664 ac_res=`eval echo '${'$as_ac_Header'}'`
11665 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11666 echo "${ECHO_T}$ac_res" >&6; }
11669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11670 cat >>confdefs.h <<_ACEOF
11671 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11681 for ac_func in strchr index
11683 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11684 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11685 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11686 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11687 echo $ECHO_N "(cached
) $ECHO_C" >&6
11689 cat >conftest.$ac_ext <<_ACEOF
11692 cat confdefs.h >>conftest.$ac_ext
11693 cat >>conftest.$ac_ext <<_ACEOF
11694 /* end confdefs.h. */
11695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11697 #define $ac_func innocuous_$ac_func
11699 /* System header to define __stub macros and hopefully few prototypes,
11700 which can conflict with char $ac_func (); below.
11701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11702 <limits.h> exists even on freestanding compilers. */
11705 # include <limits.h>
11707 # include <assert.h>
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11719 /* The GNU C library defines this for functions which it implements
11720 to always fail with ENOSYS. Some functions are actually named
11721 something starting with __ and the normal name is an alias. */
11722 #if defined __stub_$ac_func || defined __stub___$ac_func
11729 return $ac_func ();
11734 rm -f conftest.$ac_objext conftest$ac_exeext
11735 if { (ac_try="$ac_link"
11736 case "(($ac_try" in
11737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11738 *) ac_try_echo=$ac_try;;
11740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11741 (eval "$ac_link") 2>conftest.er1
11743 grep -v '^ *+' conftest.er1 >conftest.err
11745 cat conftest.err >&5
11746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11747 (exit $ac_status); } &&
11748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11749 { (case "(($ac_try" in
11750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11751 *) ac_try_echo=$ac_try;;
11753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11754 (eval "$ac_try") 2>&5
11756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11757 (exit $ac_status); }; } &&
11758 { ac_try='test -s conftest$ac_exeext'
11759 { (case "(($ac_try" in
11760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11761 *) ac_try_echo=$ac_try;;
11763 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11764 (eval "$ac_try") 2>&5
11766 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11767 (exit $ac_status); }; }; then
11768 eval "$as_ac_var=yes"
11770 echo "$as_me: failed program was
:" >&5
11771 sed 's/^/| /' conftest.$ac_ext >&5
11773 eval "$as_ac_var=no
"
11776 rm -f core conftest.err conftest.$ac_objext \
11777 conftest$ac_exeext conftest.$ac_ext
11779 ac_res=`eval echo '${'$as_ac_var'}'`
11780 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11781 echo "${ECHO_T}$ac_res" >&6; }
11782 if test `eval echo '${'$as_ac_var'}'` = yes; then
11783 cat >>confdefs.h <<_ACEOF
11784 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11792 for ac_func in strrchr rindex
11794 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11795 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11796 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11797 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11798 echo $ECHO_N "(cached
) $ECHO_C" >&6
11800 cat >conftest.$ac_ext <<_ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11808 #define $ac_func innocuous_$ac_func
11810 /* System header to define __stub macros and hopefully few prototypes,
11811 which can conflict with char $ac_func (); below.
11812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11813 <limits.h> exists even on freestanding compilers. */
11816 # include <limits.h>
11818 # include <assert.h>
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11830 /* The GNU C library defines this for functions which it implements
11831 to always fail with ENOSYS. Some functions are actually named
11832 something starting with __ and the normal name is an alias. */
11833 #if defined __stub_$ac_func || defined __stub___$ac_func
11840 return $ac_func ();
11845 rm -f conftest.$ac_objext conftest$ac_exeext
11846 if { (ac_try="$ac_link"
11847 case "(($ac_try" in
11848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11849 *) ac_try_echo=$ac_try;;
11851 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11852 (eval "$ac_link") 2>conftest.er1
11854 grep -v '^ *+' conftest.er1 >conftest.err
11856 cat conftest.err >&5
11857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11860 { (case "(($ac_try" in
11861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11862 *) ac_try_echo=$ac_try;;
11864 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11865 (eval "$ac_try") 2>&5
11867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11868 (exit $ac_status); }; } &&
11869 { ac_try='test -s conftest$ac_exeext'
11870 { (case "(($ac_try" in
11871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11872 *) ac_try_echo=$ac_try;;
11874 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11875 (eval "$ac_try") 2>&5
11877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11878 (exit $ac_status); }; }; then
11879 eval "$as_ac_var=yes"
11881 echo "$as_me: failed program was
:" >&5
11882 sed 's/^/| /' conftest.$ac_ext >&5
11884 eval "$as_ac_var=no
"
11887 rm -f core conftest.err conftest.$ac_objext \
11888 conftest$ac_exeext conftest.$ac_ext
11890 ac_res=`eval echo '${'$as_ac_var'}'`
11891 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11892 echo "${ECHO_T}$ac_res" >&6; }
11893 if test `eval echo '${'$as_ac_var'}'` = yes; then
11894 cat >>confdefs.h <<_ACEOF
11895 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11903 for ac_func in memcpy bcopy
11905 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11906 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11907 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11908 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11909 echo $ECHO_N "(cached
) $ECHO_C" >&6
11911 cat >conftest.$ac_ext <<_ACEOF
11914 cat confdefs.h >>conftest.$ac_ext
11915 cat >>conftest.$ac_ext <<_ACEOF
11916 /* end confdefs.h. */
11917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11919 #define $ac_func innocuous_$ac_func
11921 /* System header to define __stub macros and hopefully few prototypes,
11922 which can conflict with char $ac_func (); below.
11923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11924 <limits.h> exists even on freestanding compilers. */
11927 # include <limits.h>
11929 # include <assert.h>
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11941 /* The GNU C library defines this for functions which it implements
11942 to always fail with ENOSYS. Some functions are actually named
11943 something starting with __ and the normal name is an alias. */
11944 #if defined __stub_$ac_func || defined __stub___$ac_func
11951 return $ac_func ();
11956 rm -f conftest.$ac_objext conftest$ac_exeext
11957 if { (ac_try="$ac_link"
11958 case "(($ac_try" in
11959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11960 *) ac_try_echo=$ac_try;;
11962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11963 (eval "$ac_link") 2>conftest.er1
11965 grep -v '^ *+' conftest.er1 >conftest.err
11967 cat conftest.err >&5
11968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11971 { (case "(($ac_try" in
11972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11973 *) ac_try_echo=$ac_try;;
11975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11976 (eval "$ac_try") 2>&5
11978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try='test -s conftest$ac_exeext'
11981 { (case "(($ac_try" in
11982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11983 *) ac_try_echo=$ac_try;;
11985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11986 (eval "$ac_try") 2>&5
11988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11989 (exit $ac_status); }; }; then
11990 eval "$as_ac_var=yes"
11992 echo "$as_me: failed program was
:" >&5
11993 sed 's/^/| /' conftest.$ac_ext >&5
11995 eval "$as_ac_var=no
"
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12001 ac_res=`eval echo '${'$as_ac_var'}'`
12002 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12003 echo "${ECHO_T}$ac_res" >&6; }
12004 if test `eval echo '${'$as_ac_var'}'` = yes; then
12005 cat >>confdefs.h <<_ACEOF
12006 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12014 for ac_func in memmove strcmp
12016 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12017 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12018 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12019 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12020 echo $ECHO_N "(cached
) $ECHO_C" >&6
12022 cat >conftest.$ac_ext <<_ACEOF
12025 cat confdefs.h >>conftest.$ac_ext
12026 cat >>conftest.$ac_ext <<_ACEOF
12027 /* end confdefs.h. */
12028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12030 #define $ac_func innocuous_$ac_func
12032 /* System header to define __stub macros and hopefully few prototypes,
12033 which can conflict with char $ac_func (); below.
12034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12035 <limits.h> exists even on freestanding compilers. */
12038 # include <limits.h>
12040 # include <assert.h>
12045 /* Override any GCC internal prototype to avoid an error.
12046 Use char because int might match the return type of a GCC
12047 builtin and then its argument prototype would still apply. */
12052 /* The GNU C library defines this for functions which it implements
12053 to always fail with ENOSYS. Some functions are actually named
12054 something starting with __ and the normal name is an alias. */
12055 #if defined __stub_$ac_func || defined __stub___$ac_func
12062 return $ac_func ();
12067 rm -f conftest.$ac_objext conftest$ac_exeext
12068 if { (ac_try="$ac_link"
12069 case "(($ac_try" in
12070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12071 *) ac_try_echo=$ac_try;;
12073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12074 (eval "$ac_link") 2>conftest.er1
12076 grep -v '^ *+' conftest.er1 >conftest.err
12078 cat conftest.err >&5
12079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12080 (exit $ac_status); } &&
12081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12082 { (case "(($ac_try" in
12083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12084 *) ac_try_echo=$ac_try;;
12086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12087 (eval "$ac_try") 2>&5
12089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12090 (exit $ac_status); }; } &&
12091 { ac_try='test -s conftest$ac_exeext'
12092 { (case "(($ac_try" in
12093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12094 *) ac_try_echo=$ac_try;;
12096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12097 (eval "$ac_try") 2>&5
12099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12100 (exit $ac_status); }; }; then
12101 eval "$as_ac_var=yes"
12103 echo "$as_me: failed program was
:" >&5
12104 sed 's/^/| /' conftest.$ac_ext >&5
12106 eval "$as_ac_var=no
"
12109 rm -f core conftest.err conftest.$ac_objext \
12110 conftest$ac_exeext conftest.$ac_ext
12112 ac_res=`eval echo '${'$as_ac_var'}'`
12113 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12114 echo "${ECHO_T}$ac_res" >&6; }
12115 if test `eval echo '${'$as_ac_var'}'` = yes; then
12116 cat >>confdefs.h <<_ACEOF
12117 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12126 for ac_func in closedir opendir readdir
12128 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12129 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12130 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12131 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12132 echo $ECHO_N "(cached
) $ECHO_C" >&6
12134 cat >conftest.$ac_ext <<_ACEOF
12137 cat confdefs.h >>conftest.$ac_ext
12138 cat >>conftest.$ac_ext <<_ACEOF
12139 /* end confdefs.h. */
12140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12142 #define $ac_func innocuous_$ac_func
12144 /* System header to define __stub macros and hopefully few prototypes,
12145 which can conflict with char $ac_func (); below.
12146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12147 <limits.h> exists even on freestanding compilers. */
12150 # include <limits.h>
12152 # include <assert.h>
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12164 /* The GNU C library defines this for functions which it implements
12165 to always fail with ENOSYS. Some functions are actually named
12166 something starting with __ and the normal name is an alias. */
12167 #if defined __stub_$ac_func || defined __stub___$ac_func
12174 return $ac_func ();
12179 rm -f conftest.$ac_objext conftest$ac_exeext
12180 if { (ac_try="$ac_link"
12181 case "(($ac_try" in
12182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12183 *) ac_try_echo=$ac_try;;
12185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12186 (eval "$ac_link") 2>conftest.er1
12188 grep -v '^ *+' conftest.er1 >conftest.err
12190 cat conftest.err >&5
12191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12194 { (case "(($ac_try" in
12195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12196 *) ac_try_echo=$ac_try;;
12198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12199 (eval "$ac_try") 2>&5
12201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12202 (exit $ac_status); }; } &&
12203 { ac_try='test -s conftest$ac_exeext'
12204 { (case "(($ac_try" in
12205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12206 *) ac_try_echo=$ac_try;;
12208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12209 (eval "$ac_try") 2>&5
12211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12212 (exit $ac_status); }; }; then
12213 eval "$as_ac_var=yes"
12215 echo "$as_me: failed program was
:" >&5
12216 sed 's/^/| /' conftest.$ac_ext >&5
12218 eval "$as_ac_var=no
"
12221 rm -f core conftest.err conftest.$ac_objext \
12222 conftest$ac_exeext conftest.$ac_ext
12224 ac_res=`eval echo '${'$as_ac_var'}'`
12225 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12226 echo "${ECHO_T}$ac_res" >&6; }
12227 if test `eval echo '${'$as_ac_var'}'` = yes; then
12228 cat >>confdefs.h <<_ACEOF
12229 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12236 # Check whether --enable-shared was given.
12237 if test "${enable_shared+set}" = set; then
12238 enableval=$enable_shared; p=${PACKAGE-default}
12240 yes) enable_shared=yes ;;
12241 no) enable_shared=no ;;
12244 # Look at the argument we got. We use all the common list separators.
12245 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12246 for pkg in $enableval; do
12248 if test "X
$pkg" = "X
$p"; then
12260 # Check whether --enable-static was given.
12261 if test "${enable_static+set}" = set; then
12262 enableval=$enable_static; p=${PACKAGE-default}
12264 yes) enable_static=yes ;;
12265 no) enable_static=no ;;
12268 # Look at the argument we got. We use all the common list separators.
12269 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12270 for pkg in $enableval; do
12272 if test "X
$pkg" = "X
$p"; then
12284 # Check whether --enable-fast-install was given.
12285 if test "${enable_fast_install+set}" = set; then
12286 enableval=$enable_fast_install; p=${PACKAGE-default}
12288 yes) enable_fast_install=yes ;;
12289 no) enable_fast_install=no ;;
12291 enable_fast_install=no
12292 # Look at the argument we got. We use all the common list separators.
12293 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12294 for pkg in $enableval; do
12296 if test "X
$pkg" = "X
$p"; then
12297 enable_fast_install=yes
12304 enable_fast_install=yes
12308 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12309 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12310 if test "${lt_cv_path_SED+set}" = set; then
12311 echo $ECHO_N "(cached
) $ECHO_C" >&6
12313 # Loop through the user's path and test for sed and gsed.
12314 # Then use that list of sed's as ones to test for truncation.
12315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12316 for as_dir in $PATH
12319 test -z "$as_dir" && as_dir=.
12320 for lt_ac_prog in sed gsed; do
12321 for ac_exec_ext in '' $ac_executable_extensions; do
12322 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12323 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12330 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12331 # along with /bin/sed that truncates output.
12332 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12333 test ! -f $lt_ac_sed && continue
12334 cat /dev/null > conftest.in
12336 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12337 # Check for GNU sed and select it if it is found.
12338 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12339 lt_cv_path_SED=$lt_ac_sed
12343 cat conftest.in conftest.in >conftest.tmp
12344 mv conftest.tmp conftest.in
12345 cp conftest.in conftest.nl
12347 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12348 cmp -s conftest.out conftest.nl || break
12349 # 10000 chars as input seems more than enough
12350 test $lt_ac_count -gt 10 && break
12351 lt_ac_count=`expr $lt_ac_count + 1`
12352 if test $lt_ac_count -gt $lt_ac_max; then
12353 lt_ac_max=$lt_ac_count
12354 lt_cv_path_SED=$lt_ac_sed
12361 SED=$lt_cv_path_SED
12362 { echo "$as_me:$LINENO: result
: $SED" >&5
12363 echo "${ECHO_T}$SED" >&6; }
12366 # Check whether --with-gnu-ld was given.
12367 if test "${with_gnu_ld+set}" = set; then
12368 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12374 if test "$GCC" = yes; then
12375 # Check if gcc -print-prog-name=ld gives a path.
12376 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12377 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12380 # gcc leaves a trailing carriage return which upsets mingw
12381 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12383 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12386 # Accept absolute paths.
12388 re_direlt='/[^/][^/]*/\.\./'
12389 # Canonicalize the pathname of ld
12390 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12391 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12392 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12394 test -z "$LD" && LD="$ac_prog"
12397 # If it fails, then pretend we aren't using GCC.
12401 # If it is relative, then search for the first ld in PATH.
12402 with_gnu_ld=unknown
12405 elif test "$with_gnu_ld" = yes; then
12406 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12407 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12409 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12410 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12412 if test "${lt_cv_path_LD+set}" = set; then
12413 echo $ECHO_N "(cached
) $ECHO_C" >&6
12415 if test -z "$LD"; then
12416 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12417 for ac_dir in $PATH; do
12419 test -z "$ac_dir" && ac_dir=.
12420 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12421 lt_cv_path_LD="$ac_dir/$ac_prog"
12422 # Check to see if the program is GNU ld. I'd rather use --version,
12423 # but apparently some variants of GNU ld only accept -v.
12424 # Break only if it was the GNU/non-GNU ld that we prefer.
12425 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12426 *GNU* | *'with BFD'*)
12427 test "$with_gnu_ld" != no && break
12430 test "$with_gnu_ld" != yes && break
12437 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12441 LD="$lt_cv_path_LD"
12442 if test -n "$LD"; then
12443 { echo "$as_me:$LINENO: result
: $LD" >&5
12444 echo "${ECHO_T}$LD" >&6; }
12446 { echo "$as_me:$LINENO: result
: no
" >&5
12447 echo "${ECHO_T}no
" >&6; }
12449 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12450 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12451 { (exit 1); exit 1; }; }
12452 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12453 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12454 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12455 echo $ECHO_N "(cached
) $ECHO_C" >&6
12457 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12458 case `$LD -v 2>&1 </dev/null` in
12459 *GNU* | *'with BFD'*)
12460 lt_cv_prog_gnu_ld=yes
12463 lt_cv_prog_gnu_ld=no
12467 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12468 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12469 with_gnu_ld=$lt_cv_prog_gnu_ld
12472 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12473 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12474 if test "${lt_cv_ld_reload_flag+set}" = set; then
12475 echo $ECHO_N "(cached
) $ECHO_C" >&6
12477 lt_cv_ld_reload_flag='-r'
12479 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12480 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12481 reload_flag=$lt_cv_ld_reload_flag
12482 case $reload_flag in
12484 *) reload_flag=" $reload_flag" ;;
12486 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12489 if test "$GCC" = yes; then
12490 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12492 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12497 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12498 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12499 if test "${lt_cv_deplibs_check_method+set}" = set; then
12500 echo $ECHO_N "(cached
) $ECHO_C" >&6
12502 lt_cv_file_magic_cmd='$MAGIC_CMD'
12503 lt_cv_file_magic_test_file=
12504 lt_cv_deplibs_check_method='unknown'
12505 # Need to set the preceding variable on all platforms that support
12506 # interlibrary dependencies.
12507 # 'none' -- dependencies not supported.
12508 # `unknown' -- same as none, but documents that we really don't know.
12509 # 'pass_all' -- all dependencies passed with no checks.
12510 # 'test_compile' -- check by making test program.
12511 # 'file_magic [[regex]]' -- check by looking for files in library path
12512 # which responds to the $file_magic_cmd with a given extended regex.
12513 # If you have `file' or equivalent on your system and you're not sure
12514 # whether `pass_all' will *always* work, you probably want this one.
12518 lt_cv_deplibs_check_method=pass_all
12522 lt_cv_deplibs_check_method=pass_all
12526 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12527 lt_cv_file_magic_cmd='/usr/bin/file -L'
12528 lt_cv_file_magic_test_file=/shlib/libc.so
12532 # func_win32_libid is a shell function defined in ltmain.sh
12533 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12534 lt_cv_file_magic_cmd='func_win32_libid'
12538 # Base MSYS/MinGW do not provide the 'file' command needed by
12539 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12540 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12541 lt_cv_file_magic_cmd='$OBJDUMP -f'
12544 darwin* | rhapsody*)
12545 lt_cv_deplibs_check_method=pass_all
12548 freebsd* | kfreebsd*-gnu | dragonfly*)
12549 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12552 # Not sure whether the presence of OpenBSD here was a mistake.
12553 # Let's accept both of them until this is cleared up.
12554 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12555 lt_cv_file_magic_cmd=/usr/bin/file
12556 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12560 lt_cv_deplibs_check_method=pass_all
12565 lt_cv_deplibs_check_method=pass_all
12568 hpux10.20* | hpux11*)
12569 lt_cv_file_magic_cmd=/usr/bin/file
12572 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12573 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12576 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]'
12577 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12580 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12581 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12587 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12588 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12591 irix5* | irix6* | nonstopux*)
12593 *-32|*"-32 ") libmagic=32-bit;;
12594 *-n32|*"-n32 ") libmagic=N32;;
12595 *-64|*"-64 ") libmagic=64-bit;;
12596 *) libmagic=never-match;;
12598 lt_cv_deplibs_check_method=pass_all
12601 # This must be Linux ELF.
12603 lt_cv_deplibs_check_method=pass_all
12607 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12608 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12615 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12616 lt_cv_file_magic_cmd=/usr/bin/file
12617 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12621 lt_cv_deplibs_check_method=unknown
12625 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12626 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12628 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12632 osf3* | osf4* | osf5*)
12633 lt_cv_deplibs_check_method=pass_all
12637 lt_cv_deplibs_check_method=pass_all
12641 case $host_vendor in
12643 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]'
12644 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12647 lt_cv_deplibs_check_method=pass_all
12650 lt_cv_file_magic_cmd='/bin/file'
12651 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12654 lt_cv_file_magic_cmd='/bin/file'
12655 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12656 lt_cv_file_magic_test_file=/lib/libc.so
12659 lt_cv_deplibs_check_method=pass_all
12662 lt_cv_deplibs_check_method=pass_all
12667 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12668 lt_cv_deplibs_check_method=pass_all
12673 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12674 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12675 file_magic_cmd=$lt_cv_file_magic_cmd
12676 deplibs_check_method=$lt_cv_deplibs_check_method
12677 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12681 # If no C compiler was specified, use CC.
12684 # If no C compiler flags were specified, use CFLAGS.
12685 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12687 # Allow CC to be a program name with arguments.
12690 # Check whether --enable-libtool-lock was given.
12691 if test "${enable_libtool_lock+set}" = set; then
12692 enableval=$enable_libtool_lock;
12695 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12697 # Some flags need to be propagated to the compiler or linker for good
12701 # Find out which ABI we are using.
12702 echo 'int i;' > conftest.$ac_ext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12704 (eval $ac_compile) 2>&5
12706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12707 (exit $ac_status); }; then
12708 case `/usr/bin/file conftest.$ac_objext` in
12710 HPUX_IA64_MODE="32"
12713 HPUX_IA64_MODE="64"
12720 # Find out which ABI we are using.
12721 echo '#line 12707 "configure
"' > conftest.$ac_ext
12722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12723 (eval $ac_compile) 2>&5
12725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12726 (exit $ac_status); }; then
12727 if test "$lt_cv_prog_gnu_ld" = yes; then
12728 case `/usr/bin/file conftest.$ac_objext` in
12730 LD="${LD-ld} -melf32bsmip"
12733 LD="${LD-ld} -melf32bmipn32"
12736 LD="${LD-ld} -melf64bmip"
12740 case `/usr/bin/file conftest.$ac_objext` in
12756 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12757 # Find out which ABI we are using.
12758 echo 'int i;' > conftest.$ac_ext
12759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12760 (eval $ac_compile) 2>&5
12762 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12763 (exit $ac_status); }; then
12764 case `/usr/bin/file conftest.o` in
12768 LD="${LD-ld} -m elf_i386
"
12770 ppc64-*linux*|powerpc64-*linux*)
12771 LD="${LD-ld} -m elf32ppclinux
"
12774 LD="${LD-ld} -m elf_s390
"
12777 LD="${LD-ld} -m elf32_sparc
"
12784 LD="${LD-ld} -m elf_x86_64
"
12786 ppc*-*linux*|powerpc*-*linux*)
12787 LD="${LD-ld} -m elf64ppc
"
12790 LD="${LD-ld} -m elf64_s390
"
12793 LD="${LD-ld} -m elf64_sparc
"
12803 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12804 SAVE_CFLAGS="$CFLAGS"
12805 CFLAGS="$CFLAGS -belf"
12806 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12807 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12808 if test "${lt_cv_cc_needs_belf+set}" = set; then
12809 echo $ECHO_N "(cached
) $ECHO_C" >&6
12812 ac_cpp='$CPP $CPPFLAGS'
12813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12817 cat >conftest.$ac_ext <<_ACEOF
12820 cat confdefs.h >>conftest.$ac_ext
12821 cat >>conftest.$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12832 rm -f conftest.$ac_objext conftest$ac_exeext
12833 if { (ac_try="$ac_link"
12834 case "(($ac_try" in
12835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12836 *) ac_try_echo=$ac_try;;
12838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12839 (eval "$ac_link") 2>conftest.er1
12841 grep -v '^ *+' conftest.er1 >conftest.err
12843 cat conftest.err >&5
12844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12845 (exit $ac_status); } &&
12846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12847 { (case "(($ac_try" in
12848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12849 *) ac_try_echo=$ac_try;;
12851 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12852 (eval "$ac_try") 2>&5
12854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12855 (exit $ac_status); }; } &&
12856 { ac_try='test -s conftest$ac_exeext'
12857 { (case "(($ac_try" in
12858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12859 *) ac_try_echo=$ac_try;;
12861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_try") 2>&5
12864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12865 (exit $ac_status); }; }; then
12866 lt_cv_cc_needs_belf=yes
12868 echo "$as_me: failed program was
:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12871 lt_cv_cc_needs_belf=no
12874 rm -f core conftest.err conftest.$ac_objext \
12875 conftest$ac_exeext conftest.$ac_ext
12877 ac_cpp='$CPP $CPPFLAGS'
12878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12883 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12884 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12885 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12886 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12887 CFLAGS="$SAVE_CFLAGS"
12891 # Find out which ABI we are using.
12892 echo 'int i;' > conftest.$ac_ext
12893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12894 (eval $ac_compile) 2>&5
12896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12897 (exit $ac_status); }; then
12898 case `/usr/bin/file conftest.o` in
12900 case $lt_cv_prog_gnu_ld in
12901 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12902 *) LD="${LD-ld} -64" ;;
12913 need_locks="$enable_libtool_lock"
12918 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12919 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12920 (test "X
$CXX" != "Xg
++"))) ; then
12922 ac_cpp='$CXXCPP $CPPFLAGS'
12923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12926 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12927 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12928 if test -z "$CXXCPP"; then
12929 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12930 echo $ECHO_N "(cached
) $ECHO_C" >&6
12932 # Double quotes because CXXCPP needs to be expanded
12933 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12935 ac_preproc_ok=false
12936 for ac_cxx_preproc_warn_flag in '' yes
12938 # Use a header file that comes with gcc, so configuring glibc
12939 # with a fresh cross-compiler works.
12940 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12941 # <limits.h> exists even on freestanding compilers.
12942 # On the NeXT, cc -E runs the code through the compiler's parser,
12943 # not just through cpp. "Syntax error
" is here to catch this case.
12944 cat >conftest.$ac_ext <<_ACEOF
12947 cat confdefs.h >>conftest.$ac_ext
12948 cat >>conftest.$ac_ext <<_ACEOF
12949 /* end confdefs.h. */
12951 # include <limits.h>
12953 # include <assert.h>
12957 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12958 case "(($ac_try" in
12959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12960 *) ac_try_echo=$ac_try;;
12962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12963 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12965 grep -v '^ *+' conftest.er1 >conftest.err
12967 cat conftest.err >&5
12968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12969 (exit $ac_status); } >/dev/null; then
12970 if test -s conftest.err; then
12971 ac_cpp_err=$ac_cxx_preproc_warn_flag
12972 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12979 if test -z "$ac_cpp_err"; then
12982 echo "$as_me: failed program was
:" >&5
12983 sed 's/^/| /' conftest.$ac_ext >&5
12985 # Broken: fails on valid input.
12989 rm -f conftest.err conftest.$ac_ext
12991 # OK, works on sane cases. Now check whether nonexistent headers
12992 # can be detected and how.
12993 cat >conftest.$ac_ext <<_ACEOF
12996 cat confdefs.h >>conftest.$ac_ext
12997 cat >>conftest.$ac_ext <<_ACEOF
12998 /* end confdefs.h. */
12999 #include <ac_nonexistent.h>
13001 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13002 case "(($ac_try" in
13003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13004 *) ac_try_echo=$ac_try;;
13006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13007 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13009 grep -v '^ *+' conftest.er1 >conftest.err
13011 cat conftest.err >&5
13012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13013 (exit $ac_status); } >/dev/null; then
13014 if test -s conftest.err; then
13015 ac_cpp_err=$ac_cxx_preproc_warn_flag
13016 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13023 if test -z "$ac_cpp_err"; then
13024 # Broken: success on invalid input.
13027 echo "$as_me: failed program was
:" >&5
13028 sed 's/^/| /' conftest.$ac_ext >&5
13030 # Passes both tests.
13035 rm -f conftest.err conftest.$ac_ext
13038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13039 rm -f conftest.err conftest.$ac_ext
13040 if $ac_preproc_ok; then
13045 ac_cv_prog_CXXCPP=$CXXCPP
13048 CXXCPP=$ac_cv_prog_CXXCPP
13050 ac_cv_prog_CXXCPP=$CXXCPP
13052 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
13053 echo "${ECHO_T}$CXXCPP" >&6; }
13054 ac_preproc_ok=false
13055 for ac_cxx_preproc_warn_flag in '' yes
13057 # Use a header file that comes with gcc, so configuring glibc
13058 # with a fresh cross-compiler works.
13059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13060 # <limits.h> exists even on freestanding compilers.
13061 # On the NeXT, cc -E runs the code through the compiler's parser,
13062 # not just through cpp. "Syntax error
" is here to catch this case.
13063 cat >conftest.$ac_ext <<_ACEOF
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13070 # include <limits.h>
13072 # include <assert.h>
13076 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13077 case "(($ac_try" in
13078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13079 *) ac_try_echo=$ac_try;;
13081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13082 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13084 grep -v '^ *+' conftest.er1 >conftest.err
13086 cat conftest.err >&5
13087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13088 (exit $ac_status); } >/dev/null; then
13089 if test -s conftest.err; then
13090 ac_cpp_err=$ac_cxx_preproc_warn_flag
13091 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13098 if test -z "$ac_cpp_err"; then
13101 echo "$as_me: failed program was
:" >&5
13102 sed 's/^/| /' conftest.$ac_ext >&5
13104 # Broken: fails on valid input.
13108 rm -f conftest.err conftest.$ac_ext
13110 # OK, works on sane cases. Now check whether nonexistent headers
13111 # can be detected and how.
13112 cat >conftest.$ac_ext <<_ACEOF
13115 cat confdefs.h >>conftest.$ac_ext
13116 cat >>conftest.$ac_ext <<_ACEOF
13117 /* end confdefs.h. */
13118 #include <ac_nonexistent.h>
13120 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13121 case "(($ac_try" in
13122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13123 *) ac_try_echo=$ac_try;;
13125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13126 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13128 grep -v '^ *+' conftest.er1 >conftest.err
13130 cat conftest.err >&5
13131 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13132 (exit $ac_status); } >/dev/null; then
13133 if test -s conftest.err; then
13134 ac_cpp_err=$ac_cxx_preproc_warn_flag
13135 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13142 if test -z "$ac_cpp_err"; then
13143 # Broken: success on invalid input.
13146 echo "$as_me: failed program was
:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13149 # Passes both tests.
13154 rm -f conftest.err conftest.$ac_ext
13157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13158 rm -f conftest.err conftest.$ac_ext
13159 if $ac_preproc_ok; then
13162 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
13163 See \
`config.log' for more details." >&5
13164 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13165 See \`config.log
' for more details." >&2;}
13166 { (exit 1); exit 1; }; }
13170 ac_cpp='$CXXCPP $CPPFLAGS'
13171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13172 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13179 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13180 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13181 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13182 if test -n "$ac_tool_prefix"; then
13183 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
13185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13186 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13189 if test "${ac_cv_prog_F77+set}" = set; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 if test -n "$F77"; then
13193 ac_cv_prog_F77="$F77" # Let the user override the test.
13195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13196 for as_dir in $PATH
13199 test -z "$as_dir" && as_dir=.
13200 for ac_exec_ext in '' $ac_executable_extensions; do
13201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13202 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13212 F77=$ac_cv_prog_F77
13213 if test -n "$F77"; then
13214 { echo "$as_me:$LINENO: result: $F77" >&5
13215 echo "${ECHO_T}$F77" >&6; }
13217 { echo "$as_me:$LINENO: result: no" >&5
13218 echo "${ECHO_T}no" >&6; }
13222 test -n "$F77" && break
13225 if test -z "$F77"; then
13227 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
13229 # Extract the first word of "$ac_prog", so it can be a program name with args.
13230 set dummy $ac_prog; ac_word=$2
13231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13233 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 if test -n "$ac_ct_F77"; then
13237 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13240 for as_dir in $PATH
13243 test -z "$as_dir" && as_dir=.
13244 for ac_exec_ext in '' $ac_executable_extensions; do
13245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13246 ac_cv_prog_ac_ct_F77="$ac_prog"
13247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13256 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13257 if test -n "$ac_ct_F77"; then
13258 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13259 echo "${ECHO_T}$ac_ct_F77" >&6; }
13261 { echo "$as_me:$LINENO: result: no" >&5
13262 echo "${ECHO_T}no" >&6; }
13266 test -n "$ac_ct_F77" && break
13269 if test "x$ac_ct_F77" = x; then
13272 case $cross_compiling:$ac_tool_warned in
13274 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13275 whose name does not start with the host triplet. If you think this
13276 configuration is useful to you, please write to autoconf@gnu.org." >&5
13277 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13278 whose name does not start with the host triplet. If you think this
13279 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13280 ac_tool_warned=yes ;;
13287 # Provide some information about the compiler.
13288 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13289 ac_compiler=`set X $ac_compile; echo $2`
13290 { (ac_try="$ac_compiler --version >&5"
13291 case "(($ac_try" in
13292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13293 *) ac_try_echo=$ac_try;;
13295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13296 (eval "$ac_compiler --version >&5") 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }
13300 { (ac_try="$ac_compiler -v >&5"
13301 case "(($ac_try" in
13302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13303 *) ac_try_echo=$ac_try;;
13305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13306 (eval "$ac_compiler -v >&5") 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }
13310 { (ac_try="$ac_compiler -V >&5"
13311 case "(($ac_try" in
13312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13313 *) ac_try_echo=$ac_try;;
13315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13316 (eval "$ac_compiler -V >&5") 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }
13322 # If we don't use
`.F' as extension, the preprocessor is not run on the
13323 # input file. (Note that this only needs to work for GNU compilers.)
13324 ac_save_ext=$ac_ext
13326 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13327 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13328 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13331 cat >conftest.$ac_ext <<_ACEOF
13339 rm -f conftest.$ac_objext
13340 if { (ac_try="$ac_compile"
13341 case "(($ac_try" in
13342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13343 *) ac_try_echo
=$ac_try;;
13345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13346 (eval "$ac_compile") 2>conftest.er1
13348 grep -v '^ *+' conftest.er1
>conftest.err
13350 cat conftest.err
>&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } &&
13353 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13354 { (case "(($ac_try" in
13355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13356 *) ac_try_echo=$ac_try;;
13358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13359 (eval "$ac_try") 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; } &&
13363 { ac_try='test -s conftest.$ac_objext'
13364 { (case "(($ac_try" in
13365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13366 *) ac_try_echo
=$ac_try;;
13368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13369 (eval "$ac_try") 2>&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); }; }; then
13373 ac_compiler_gnu
=yes
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.
$ac_ext >&5
13381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13382 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13385 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13386 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13387 ac_ext
=$ac_save_ext
13388 ac_test_FFLAGS
=${FFLAGS+set}
13389 ac_save_FFLAGS
=$FFLAGS
13391 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13392 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13393 if test "${ac_cv_prog_f77_g+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13397 cat >conftest.
$ac_ext <<_ACEOF
13402 rm -f conftest.
$ac_objext
13403 if { (ac_try
="$ac_compile"
13404 case "(($ac_try" in
13405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13406 *) ac_try_echo=$ac_try;;
13408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13409 (eval "$ac_compile") 2>conftest.er1
13411 grep -v '^ *+' conftest.er1 >conftest.err
13413 cat conftest.err >&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13417 { (case "(($ac_try" in
13418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13419 *) ac_try_echo
=$ac_try;;
13421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13422 (eval "$ac_try") 2>&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); }; } &&
13426 { ac_try
='test -s conftest.$ac_objext'
13427 { (case "(($ac_try" in
13428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13429 *) ac_try_echo=$ac_try;;
13431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13432 (eval "$ac_try") 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; }; then
13436 ac_cv_prog_f77_g=yes
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.$ac_ext >&5
13441 ac_cv_prog_f77_g=no
13444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13448 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13449 if test "$ac_test_FFLAGS" = set; then
13450 FFLAGS=$ac_save_FFLAGS
13451 elif test $ac_cv_prog_f77_g = yes; then
13452 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13458 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13465 G77=`test $ac_compiler_gnu = yes && echo yes`
13467 ac_cpp='$CPP $CPPFLAGS'
13468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13474 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13476 # find the maximum length of command line arguments
13477 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13478 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13479 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13487 # On DJGPP, this test can blow up pretty badly due to problems in libc
13488 # (any single argument exceeding 2000 bytes causes a buffer overrun
13489 # during glob expansion). Even if it were fixed, the result of this
13490 # check would be larger than it should be.
13491 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13495 # Under GNU Hurd, this test is not required because there is
13496 # no limit to the length of command line arguments.
13497 # Libtool will interpret -1 as no limit whatsoever
13498 lt_cv_sys_max_cmd_len=-1;
13502 # On Win9x/ME, this test blows up -- it succeeds, but takes
13503 # about 5 minutes as the teststring grows exponentially.
13504 # Worse, since 9x/ME are not pre-emptively multitasking,
13505 # you end up with a "frozen" computer, even though with patience
13506 # the test eventually succeeds (with a max line length of 256k).
13507 # Instead, let's just punt: use the minimum linelength reported by
13508 # all of the supported platforms: 8192 (on NT/2K/XP).
13509 lt_cv_sys_max_cmd_len=8192;
13513 # On AmigaOS with pdksh, this test takes hours, literally.
13514 # So we just punt and use a minimum line length of 8192.
13515 lt_cv_sys_max_cmd_len=8192;
13518 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13519 # This has been around since 386BSD, at least. Likely further.
13520 if test -x /sbin/sysctl; then
13521 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13522 elif test -x /usr/sbin/sysctl; then
13523 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13525 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13527 # And add a safety zone
13528 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13529 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13533 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13534 lt_cv_sys_max_cmd_len=196608
13538 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13539 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13540 # nice to cause kernel panics so lets avoid the loop below.
13541 # First set a reasonable default.
13542 lt_cv_sys_max_cmd_len=16384
13544 if test -x /sbin/sysconfig; then
13545 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13546 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13551 lt_cv_sys_max_cmd_len=102400
13553 sysv5* | sco5v6* | sysv4.2uw2*)
13554 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13555 if test -n "$kargmax"; then
13556 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13558 lt_cv_sys_max_cmd_len=32768
13562 # If test is not a shell built-in, we'll probably end up computing a
13563 # maximum length that is only half of the actual maximum length, but
13565 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13566 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13567 = "XX$teststring") >/dev/null 2>&1 &&
13568 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13569 lt_cv_sys_max_cmd_len=$new_result &&
13570 test $i != 17 # 1/2 MB should be enough
13573 teststring=$teststring$teststring
13576 # Add a significant safety factor because C++ compilers can tack on massive
13577 # amounts of additional arguments before passing them to the linker.
13578 # It appears as though 1/2 is a usable value.
13579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13585 if test -n $lt_cv_sys_max_cmd_len ; then
13586 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13587 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13589 { echo "$as_me:$LINENO: result: none" >&5
13590 echo "${ECHO_T}none" >&6; }
13596 # Check for command to grab the raw symbol name followed by C symbol from nm.
13597 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13598 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13599 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 # These are sane defaults that work on at least a few old systems.
13604 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13606 # Character class describing NM global symbol codes.
13607 symcode='[BCDEGRST]'
13609 # Regexp to match symbols that can be accessed directly from C.
13610 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13612 # Transform an extracted symbol line into a proper C declaration
13613 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13615 # Transform an extracted symbol line into symbol name and symbol address
13616 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'"
13618 # Define system-specific variables.
13623 cygwin* | mingw* | pw32*)
13624 symcode='[ABCDGISTW]'
13626 hpux*) # Its linker distinguishes data from code symbols
13627 if test "$host_cpu" = ia64; then
13628 symcode='[ABCDEGRST]'
13630 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13631 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'"
13634 if test "$host_cpu" = ia64; then
13635 symcode='[ABCDGIRSTW]'
13636 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13637 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'"
13640 irix* | nonstopux*)
13641 symcode='[BCDEGRST]'
13644 symcode='[BCDEGQRST]'
13655 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13663 # Handle CRLF in mingw tool chain
13667 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13671 # If we're using GNU nm, then use its standard symbol codes.
13672 case `$NM -V 2>&1` in
13673 *GNU* | *'with BFD'*)
13674 symcode='[ABCDGIRSTW]' ;;
13677 # Try without a prefix undercore, then with it.
13678 for ac_symprfx in "" "_"; do
13680 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13681 symxfrm="\\1 $ac_symprfx\\2 \\2"
13683 # Write the raw and C identifiers.
13684 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13686 # Check to see that the pipe works correctly.
13690 cat > conftest.$ac_ext <<EOF
13695 void nm_test_func(){}
13699 int main(){nm_test_var='a';nm_test_func();return(0);}
13702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13703 (eval $ac_compile) 2>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; then
13707 # Now try to grab the symbols.
13709 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13710 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } && test -s "$nlist"; then
13714 # Try sorting and uniquifying the output.
13715 if sort "$nlist" | uniq > "$nlist"T; then
13716 mv -f "$nlist"T "$nlist"
13721 # Make sure that we snagged all the symbols we need.
13722 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13723 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13724 cat <<EOF > conftest.$ac_ext
13730 # Now generate the symbol file.
13731 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13733 cat <<EOF >> conftest.$ac_ext
13734 #if defined (__STDC__) && __STDC__
13735 # define lt_ptr_t void *
13737 # define lt_ptr_t char *
13741 /* The mapping between symbol names and symbols. */
13746 lt_preloaded_symbols[] =
13749 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13750 cat <<\EOF >> conftest.$ac_ext
13758 # Now try linking the two files.
13759 mv conftest.$ac_objext conftstm.$ac_objext
13760 lt_save_LIBS="$LIBS"
13761 lt_save_CFLAGS="$CFLAGS"
13762 LIBS="conftstm.$ac_objext"
13763 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13765 (eval $ac_link) 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13771 LIBS="$lt_save_LIBS"
13772 CFLAGS="$lt_save_CFLAGS"
13774 echo "cannot find nm_test_func in $nlist" >&5
13777 echo "cannot find nm_test_var in $nlist" >&5
13780 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13783 echo "$progname: failed program was:" >&5
13784 cat conftest.$ac_ext >&5
13786 rm -f conftest* conftst*
13788 # Do not use the global_symbol_pipe unless it works.
13789 if test "$pipe_works" = yes; then
13792 lt_cv_sys_global_symbol_pipe=
13798 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13799 lt_cv_sys_global_symbol_to_cdecl=
13801 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13802 { echo "$as_me:$LINENO: result: failed" >&5
13803 echo "${ECHO_T}failed" >&6; }
13805 { echo "$as_me:$LINENO: result: ok" >&5
13806 echo "${ECHO_T}ok" >&6; }
13809 { echo "$as_me:$LINENO: checking for objdir" >&5
13810 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13811 if test "${lt_cv_objdir+set}" = set; then
13812 echo $ECHO_N "(cached) $ECHO_C" >&6
13814 rm -f .libs 2>/dev/null
13815 mkdir .libs 2>/dev/null
13816 if test -d .libs; then
13819 # MS-DOS does not allow filenames that begin with a dot.
13822 rmdir .libs 2>/dev/null
13824 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13825 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13826 objdir=$lt_cv_objdir
13834 # AIX sometimes has problems with the GCC collect2 program. For some
13835 # reason, if we set the COLLECT_NAMES environment variable, the problems
13836 # vanish in a puff of smoke.
13837 if test "X${COLLECT_NAMES+set}" != Xset; then
13839 export COLLECT_NAMES
13844 # Sed substitution that helps us do robust quoting. It backslashifies
13845 # metacharacters that are still active within double-quoted strings.
13846 Xsed='sed -e 1s/^X//'
13847 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13849 # Same as above, but do not quote variable references.
13850 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13852 # Sed substitution to delay expansion of an escaped shell variable in a
13853 # double_quote_subst'ed string.
13854 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13856 # Sed substitution to avoid accidental globbing in evaled expressions
13857 no_glob_subst='s/\*/\\\*/g'
13862 # Global variables:
13863 default_ofile=mklib
13864 can_build_shared=yes
13866 # All known linkers require a `.a' archive for static linking (except MSVC,
13867 # which needs '.lib').
13869 ltmain="$ac_aux_dir/ltmain.sh
"
13870 ofile="$default_ofile"
13871 with_gnu_ld="$lt_cv_prog_gnu_ld"
13873 if test -n "$ac_tool_prefix"; then
13874 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13875 set dummy ${ac_tool_prefix}ar; ac_word=$2
13876 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13877 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13878 if test "${ac_cv_prog_AR+set}" = set; then
13879 echo $ECHO_N "(cached
) $ECHO_C" >&6
13881 if test -n "$AR"; then
13882 ac_cv_prog_AR="$AR" # Let the user override the test.
13884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13885 for as_dir in $PATH
13888 test -z "$as_dir" && as_dir=.
13889 for ac_exec_ext in '' $ac_executable_extensions; do
13890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13891 ac_cv_prog_AR="${ac_tool_prefix}ar"
13892 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13902 if test -n "$AR"; then
13903 { echo "$as_me:$LINENO: result
: $AR" >&5
13904 echo "${ECHO_T}$AR" >&6; }
13906 { echo "$as_me:$LINENO: result
: no
" >&5
13907 echo "${ECHO_T}no
" >&6; }
13912 if test -z "$ac_cv_prog_AR"; then
13914 # Extract the first word of "ar", so it can be a program name with args.
13915 set dummy ar; ac_word=$2
13916 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13917 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13918 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13919 echo $ECHO_N "(cached
) $ECHO_C" >&6
13921 if test -n "$ac_ct_AR"; then
13922 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13925 for as_dir in $PATH
13928 test -z "$as_dir" && as_dir=.
13929 for ac_exec_ext in '' $ac_executable_extensions; do
13930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13931 ac_cv_prog_ac_ct_AR="ar"
13932 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13941 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13942 if test -n "$ac_ct_AR"; then
13943 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13944 echo "${ECHO_T}$ac_ct_AR" >&6; }
13946 { echo "$as_me:$LINENO: result
: no
" >&5
13947 echo "${ECHO_T}no
" >&6; }
13950 if test "x
$ac_ct_AR" = x; then
13953 case $cross_compiling:$ac_tool_warned in
13955 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13956 whose name does not start with the
host triplet. If you think this
13957 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13958 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13959 whose name does not start with the
host triplet. If you think this
13960 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13961 ac_tool_warned=yes ;;
13966 AR="$ac_cv_prog_AR"
13969 if test -n "$ac_tool_prefix"; then
13970 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13971 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13972 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13973 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13974 if test "${ac_cv_prog_RANLIB+set}" = set; then
13975 echo $ECHO_N "(cached
) $ECHO_C" >&6
13977 if test -n "$RANLIB"; then
13978 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13981 for as_dir in $PATH
13984 test -z "$as_dir" && as_dir=.
13985 for ac_exec_ext in '' $ac_executable_extensions; do
13986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13987 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13988 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13997 RANLIB=$ac_cv_prog_RANLIB
13998 if test -n "$RANLIB"; then
13999 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
14000 echo "${ECHO_T}$RANLIB" >&6; }
14002 { echo "$as_me:$LINENO: result
: no
" >&5
14003 echo "${ECHO_T}no
" >&6; }
14008 if test -z "$ac_cv_prog_RANLIB"; then
14009 ac_ct_RANLIB=$RANLIB
14010 # Extract the first word of "ranlib
", so it can be a program name with args.
14011 set dummy ranlib; ac_word=$2
14012 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14013 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14014 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14015 echo $ECHO_N "(cached
) $ECHO_C" >&6
14017 if test -n "$ac_ct_RANLIB"; then
14018 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14021 for as_dir in $PATH
14024 test -z "$as_dir" && as_dir=.
14025 for ac_exec_ext in '' $ac_executable_extensions; do
14026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14027 ac_cv_prog_ac_ct_RANLIB="ranlib
"
14028 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14037 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14038 if test -n "$ac_ct_RANLIB"; then
14039 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
14040 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14042 { echo "$as_me:$LINENO: result
: no
" >&5
14043 echo "${ECHO_T}no
" >&6; }
14046 if test "x
$ac_ct_RANLIB" = x; then
14049 case $cross_compiling:$ac_tool_warned in
14051 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14052 whose name does not start with the
host triplet. If you think this
14053 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14054 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14055 whose name does not start with the
host triplet. If you think this
14056 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14057 ac_tool_warned=yes ;;
14059 RANLIB=$ac_ct_RANLIB
14062 RANLIB="$ac_cv_prog_RANLIB"
14065 if test -n "$ac_tool_prefix"; then
14066 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14067 set dummy ${ac_tool_prefix}strip; ac_word=$2
14068 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14069 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14070 if test "${ac_cv_prog_STRIP+set}" = set; then
14071 echo $ECHO_N "(cached
) $ECHO_C" >&6
14073 if test -n "$STRIP"; then
14074 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14083 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14084 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14093 STRIP=$ac_cv_prog_STRIP
14094 if test -n "$STRIP"; then
14095 { echo "$as_me:$LINENO: result
: $STRIP" >&5
14096 echo "${ECHO_T}$STRIP" >&6; }
14098 { echo "$as_me:$LINENO: result
: no
" >&5
14099 echo "${ECHO_T}no
" >&6; }
14104 if test -z "$ac_cv_prog_STRIP"; then
14106 # Extract the first word of "strip
", so it can be a program name with args.
14107 set dummy strip; ac_word=$2
14108 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14109 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14110 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14111 echo $ECHO_N "(cached
) $ECHO_C" >&6
14113 if test -n "$ac_ct_STRIP"; then
14114 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14117 for as_dir in $PATH
14120 test -z "$as_dir" && as_dir=.
14121 for ac_exec_ext in '' $ac_executable_extensions; do
14122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14123 ac_cv_prog_ac_ct_STRIP="strip
"
14124 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14133 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14134 if test -n "$ac_ct_STRIP"; then
14135 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
14136 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14138 { echo "$as_me:$LINENO: result
: no
" >&5
14139 echo "${ECHO_T}no
" >&6; }
14142 if test "x
$ac_ct_STRIP" = x; then
14145 case $cross_compiling:$ac_tool_warned in
14147 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14148 whose name does not start with the
host triplet. If you think this
14149 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14150 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14151 whose name does not start with the
host triplet. If you think this
14152 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14153 ac_tool_warned=yes ;;
14158 STRIP="$ac_cv_prog_STRIP"
14163 old_CFLAGS="$CFLAGS"
14165 # Set sane defaults for various variables
14166 test -z "$AR" && AR=ar
14167 test -z "$AR_FLAGS" && AR_FLAGS=cru
14168 test -z "$AS" && AS=as
14169 test -z "$CC" && CC=cc
14170 test -z "$LTCC" && LTCC=$CC
14171 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14172 test -z "$DLLTOOL" && DLLTOOL=dlltool
14173 test -z "$LD" && LD=ld
14174 test -z "$LN_S" && LN_S="ln -s"
14175 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14176 test -z "$NM" && NM=nm
14177 test -z "$SED" && SED=sed
14178 test -z "$OBJDUMP" && OBJDUMP=objdump
14179 test -z "$RANLIB" && RANLIB=:
14180 test -z "$STRIP" && STRIP=:
14181 test -z "$ac_objext" && ac_objext=o
14183 # Determine commands to create old-style static archives.
14184 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14185 old_postinstall_cmds='chmod 644 $oldlib'
14186 old_postuninstall_cmds=
14188 if test -n "$RANLIB"; then
14191 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
14194 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
14197 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
14200 for cc_temp in $compiler""; do
14202 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14203 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14208 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14211 # Only perform the check for file, if the check method requires it
14212 case $deplibs_check_method in
14214 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14215 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14216 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14217 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14218 echo $ECHO_N "(cached
) $ECHO_C" >&6
14222 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14225 lt_save_MAGIC_CMD="$MAGIC_CMD"
14226 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14227 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14228 for ac_dir in $ac_dummy; do
14230 test -z "$ac_dir" && ac_dir=.
14231 if test -f $ac_dir/${ac_tool_prefix}file; then
14232 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14233 if test -n "$file_magic_test_file"; then
14234 case $deplibs_check_method in
14236 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14238 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14239 $EGREP "$file_magic_regex" > /dev/null; then
14244 *** Warning: the command libtool uses to detect shared libraries,
14245 *** $file_magic_cmd, produces output that libtool cannot recognize.
14246 *** The result is that libtool may fail to recognize shared libraries
14247 *** as such. This will affect the creation of libtool libraries that
14248 *** depend on shared libraries, but programs linked with such libtool
14249 *** libraries will work regardless of this problem. Nevertheless, you
14250 *** may want to report the problem to your system manager and/or to
14251 *** bug-libtool@gnu.org
14261 MAGIC_CMD="$lt_save_MAGIC_CMD"
14266 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14267 if test -n "$MAGIC_CMD"; then
14268 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14269 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14271 { echo "$as_me:$LINENO: result
: no
" >&5
14272 echo "${ECHO_T}no
" >&6; }
14275 if test -z "$lt_cv_path_MAGIC_CMD"; then
14276 if test -n "$ac_tool_prefix"; then
14277 { echo "$as_me:$LINENO: checking
for file" >&5
14278 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14279 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14280 echo $ECHO_N "(cached
) $ECHO_C" >&6
14284 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14287 lt_save_MAGIC_CMD="$MAGIC_CMD"
14288 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14289 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14290 for ac_dir in $ac_dummy; do
14292 test -z "$ac_dir" && ac_dir=.
14293 if test -f $ac_dir/file; then
14294 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14295 if test -n "$file_magic_test_file"; then
14296 case $deplibs_check_method in
14298 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14299 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14300 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14301 $EGREP "$file_magic_regex" > /dev/null; then
14306 *** Warning: the command libtool uses to detect shared libraries,
14307 *** $file_magic_cmd, produces output that libtool cannot recognize.
14308 *** The result is that libtool may fail to recognize shared libraries
14309 *** as such. This will affect the creation of libtool libraries that
14310 *** depend on shared libraries, but programs linked with such libtool
14311 *** libraries will work regardless of this problem. Nevertheless, you
14312 *** may want to report the problem to your system manager and/or to
14313 *** bug-libtool@gnu.org
14323 MAGIC_CMD="$lt_save_MAGIC_CMD"
14328 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14329 if test -n "$MAGIC_CMD"; then
14330 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14331 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14333 { echo "$as_me:$LINENO: result
: no
" >&5
14334 echo "${ECHO_T}no
" >&6; }
14347 enable_win32_dll=no
14349 # Check whether --enable-libtool-lock was given.
14350 if test "${enable_libtool_lock+set}" = set; then
14351 enableval=$enable_libtool_lock;
14354 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14357 # Check whether --with-pic was given.
14358 if test "${with_pic+set}" = set; then
14359 withval=$with_pic; pic_mode="$withval"
14364 test -z "$pic_mode" && pic_mode=default
14366 # Use C for the default configuration in the libtool script
14370 ac_cpp='$CPP $CPPFLAGS'
14371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14376 # Source file extension for C test sources.
14379 # Object file extension for compiled C test sources.
14383 # Code to be used in simple compile tests
14384 lt_simple_compile_test_code="int some_variable
= 0;\n"
14386 # Code to be used in simple link tests
14387 lt_simple_link_test_code='int main(){return(0);}\n'
14390 # If no C compiler was specified, use CC.
14393 # If no C compiler flags were specified, use CFLAGS.
14394 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14396 # Allow CC to be a program name with arguments.
14400 # save warnings/boilerplate of simple test code
14401 ac_outfile=conftest.$ac_objext
14402 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14403 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14404 _lt_compiler_boilerplate=`cat conftest.err`
14407 ac_outfile=conftest.$ac_objext
14408 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14409 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14410 _lt_linker_boilerplate=`cat conftest.err`
14415 lt_prog_compiler_no_builtin_flag=
14417 if test "$GCC" = yes; then
14418 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14421 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14422 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14423 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14424 echo $ECHO_N "(cached
) $ECHO_C" >&6
14426 lt_cv_prog_compiler_rtti_exceptions=no
14427 ac_outfile=conftest.$ac_objext
14428 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14429 lt_compiler_flag="-fno-rtti -fno-exceptions"
14430 # Insert the option either (1) after the last *FLAGS variable, or
14431 # (2) before a word containing "conftest.
", or (3) at the end.
14432 # Note that $ac_compile itself does not contain backslashes and begins
14433 # with a dollar sign (not a hyphen), so the echo should work correctly.
14434 # The option is referenced via a variable to avoid confusing sed.
14435 lt_compile=`echo "$ac_compile" | $SED \
14436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14438 -e 's:$: $lt_compiler_flag:'`
14439 (eval echo "\"\
$as_me:14425: $lt_compile\"" >&5)
14440 (eval "$lt_compile" 2>conftest.err)
14442 cat conftest.err >&5
14443 echo "$as_me:14429: \$?
= $ac_status" >&5
14444 if (exit $ac_status) && test -s "$ac_outfile"; then
14445 # The compiler can only warn and ignore the option if not recognized
14446 # So say no if there are warnings other than the usual output.
14447 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14448 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14449 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14450 lt_cv_prog_compiler_rtti_exceptions=yes
14456 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14457 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14459 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14460 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14467 lt_prog_compiler_wl=
14468 lt_prog_compiler_pic=
14469 lt_prog_compiler_static=
14471 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14472 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14474 if test "$GCC" = yes; then
14475 lt_prog_compiler_wl='-Wl,'
14476 lt_prog_compiler_static='-static'
14480 # All AIX code is PIC.
14481 if test "$host_cpu" = ia64; then
14482 # AIX 5 now supports IA64 processor
14483 lt_prog_compiler_static='-Bstatic'
14488 # FIXME: we need at least 68020 code to build shared libraries, but
14489 # adding the `-m68020' flag to GCC prevents building anything better,
14491 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14494 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14495 # PIC is the default for these OSes.
14498 mingw* | pw32* | os2*)
14499 # This hack is so that the source file can tell whether it is being
14500 # built for inclusion in a dll (and should export symbols for example).
14501 lt_prog_compiler_pic='-DDLL_EXPORT'
14504 darwin* | rhapsody*)
14505 # PIC is the default on this platform
14506 # Common symbols not allowed in MH_DYLIB files
14507 lt_prog_compiler_pic='-fno-common'
14511 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14512 # Instead, we relocate shared libraries at runtime.
14516 # Just because we use GCC doesn't mean we suddenly get shared libraries
14517 # on systems that don't support them.
14518 lt_prog_compiler_can_build_shared=no
14523 if test -d /usr/nec; then
14524 lt_prog_compiler_pic=-Kconform_pic
14529 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14530 # not for PA HP-UX.
14536 lt_prog_compiler_pic='-fPIC'
14542 lt_prog_compiler_pic='-fPIC'
14546 # PORTME Check for flag to pass linker flags through the system compiler.
14549 lt_prog_compiler_wl='-Wl,'
14550 if test "$host_cpu" = ia64; then
14551 # AIX 5 now supports IA64 processor
14552 lt_prog_compiler_static='-Bstatic'
14554 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14558 # PIC is the default on this platform
14559 # Common symbols not allowed in MH_DYLIB files
14560 case $cc_basename in
14562 lt_prog_compiler_pic='-qnocommon'
14563 lt_prog_compiler_wl='-Wl,'
14568 mingw* | pw32* | os2*)
14569 # This hack is so that the source file can tell whether it is being
14570 # built for inclusion in a dll (and should export symbols for example).
14571 lt_prog_compiler_pic='-DDLL_EXPORT'
14574 hpux9* | hpux10* | hpux11*)
14575 lt_prog_compiler_wl='-Wl,'
14576 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14577 # not for PA HP-UX.
14583 lt_prog_compiler_pic='+Z'
14586 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14587 lt_prog_compiler_static='${wl}-a ${wl}archive'
14590 irix5* | irix6* | nonstopux*)
14591 lt_prog_compiler_wl='-Wl,'
14592 # PIC (with -KPIC) is the default.
14593 lt_prog_compiler_static='-non_shared'
14597 lt_prog_compiler_pic='-KPIC'
14598 lt_prog_compiler_static='-Bstatic'
14602 case $cc_basename in
14604 lt_prog_compiler_wl='-Wl,'
14605 lt_prog_compiler_pic='-KPIC'
14606 lt_prog_compiler_static='-static'
14608 pgcc* | pgf77* | pgf90* | pgf95*)
14609 # Portland Group compilers (*not* the Pentium gcc compiler,
14610 # which looks to be a dead project)
14611 lt_prog_compiler_wl='-Wl,'
14612 lt_prog_compiler_pic='-fpic'
14613 lt_prog_compiler_static='-Bstatic'
14616 lt_prog_compiler_wl='-Wl,'
14617 # All Alpha code is PIC.
14618 lt_prog_compiler_static='-non_shared'
14623 osf3* | osf4* | osf5*)
14624 lt_prog_compiler_wl='-Wl,'
14625 # All OSF/1 code is PIC.
14626 lt_prog_compiler_static='-non_shared'
14630 lt_prog_compiler_pic='-KPIC'
14631 lt_prog_compiler_static='-Bstatic'
14632 case $cc_basename in
14633 f77* | f90* | f95*)
14634 lt_prog_compiler_wl='-Qoption ld ';;
14636 lt_prog_compiler_wl='-Wl,';;
14641 lt_prog_compiler_wl='-Qoption ld '
14642 lt_prog_compiler_pic='-PIC'
14643 lt_prog_compiler_static='-Bstatic'
14646 sysv4 | sysv4.2uw2* | sysv4.3*)
14647 lt_prog_compiler_wl='-Wl,'
14648 lt_prog_compiler_pic='-KPIC'
14649 lt_prog_compiler_static='-Bstatic'
14653 if test -d /usr/nec ;then
14654 lt_prog_compiler_pic='-Kconform_pic'
14655 lt_prog_compiler_static='-Bstatic'
14659 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14660 lt_prog_compiler_wl='-Wl,'
14661 lt_prog_compiler_pic='-KPIC'
14662 lt_prog_compiler_static='-Bstatic'
14666 lt_prog_compiler_wl='-Wl,'
14667 lt_prog_compiler_can_build_shared=no
14671 lt_prog_compiler_pic='-pic'
14672 lt_prog_compiler_static='-Bstatic'
14676 lt_prog_compiler_can_build_shared=no
14681 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14682 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14685 # Check to make sure the PIC flag actually works.
14687 if test -n "$lt_prog_compiler_pic"; then
14689 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14690 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14691 if test "${lt_prog_compiler_pic_works+set}" = set; then
14692 echo $ECHO_N "(cached
) $ECHO_C" >&6
14694 lt_prog_compiler_pic_works=no
14695 ac_outfile=conftest.$ac_objext
14696 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14697 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14698 # Insert the option either (1) after the last *FLAGS variable, or
14699 # (2) before a word containing "conftest.
", or (3) at the end.
14700 # Note that $ac_compile itself does not contain backslashes and begins
14701 # with a dollar sign (not a hyphen), so the echo should work correctly.
14702 # The option is referenced via a variable to avoid confusing sed.
14703 lt_compile=`echo "$ac_compile" | $SED \
14704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14706 -e 's:$: $lt_compiler_flag:'`
14707 (eval echo "\"\
$as_me:14693: $lt_compile\"" >&5)
14708 (eval "$lt_compile" 2>conftest.err)
14710 cat conftest.err >&5
14711 echo "$as_me:14697: \$?
= $ac_status" >&5
14712 if (exit $ac_status) && test -s "$ac_outfile"; then
14713 # The compiler can only warn and ignore the option if not recognized
14714 # So say no if there are warnings other than the usual output.
14715 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14716 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14717 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14718 lt_prog_compiler_pic_works=yes
14724 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14725 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14727 if test x"$lt_prog_compiler_pic_works" = xyes; then
14728 case $lt_prog_compiler_pic in
14730 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14733 lt_prog_compiler_pic=
14734 lt_prog_compiler_can_build_shared=no
14739 # For platforms which do not support PIC, -DPIC is meaningless:
14741 lt_prog_compiler_pic=
14744 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14749 # Check to make sure the static flag actually works.
14751 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14752 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14753 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14754 if test "${lt_prog_compiler_static_works+set}" = set; then
14755 echo $ECHO_N "(cached
) $ECHO_C" >&6
14757 lt_prog_compiler_static_works=no
14758 save_LDFLAGS="$LDFLAGS"
14759 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14760 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14761 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14762 # The linker can only warn and ignore the option if not recognized
14763 # So say no if there are warnings
14764 if test -s conftest.err; then
14765 # Append any errors to the config.log.
14766 cat conftest.err 1>&5
14767 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14769 if diff conftest.exp conftest.er2 >/dev/null; then
14770 lt_prog_compiler_static_works=yes
14773 lt_prog_compiler_static_works=yes
14777 LDFLAGS="$save_LDFLAGS"
14780 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14781 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14783 if test x"$lt_prog_compiler_static_works" = xyes; then
14786 lt_prog_compiler_static=
14790 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14791 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14792 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14793 echo $ECHO_N "(cached
) $ECHO_C" >&6
14795 lt_cv_prog_compiler_c_o=no
14796 $rm -r conftest 2>/dev/null
14800 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14802 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14803 # Insert the option either (1) after the last *FLAGS variable, or
14804 # (2) before a word containing "conftest.
", or (3) at the end.
14805 # Note that $ac_compile itself does not contain backslashes and begins
14806 # with a dollar sign (not a hyphen), so the echo should work correctly.
14807 lt_compile=`echo "$ac_compile" | $SED \
14808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14810 -e 's:$: $lt_compiler_flag:'`
14811 (eval echo "\"\
$as_me:14797: $lt_compile\"" >&5)
14812 (eval "$lt_compile" 2>out/conftest.err)
14814 cat out/conftest.err >&5
14815 echo "$as_me:14801: \$?
= $ac_status" >&5
14816 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14818 # The compiler can only warn and ignore the option if not recognized
14819 # So say no if there are warnings
14820 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14821 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14822 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14823 lt_cv_prog_compiler_c_o=yes
14828 # SGI C++ compiler will create directory out/ii_files/ for
14829 # template instantiation
14830 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14831 $rm out/* && rmdir out
14837 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14838 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14841 hard_links="nottested
"
14842 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14843 # do not overwrite the value of need_locks provided by the user
14844 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14845 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14848 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14850 ln conftest.a conftest.b 2>&5 || hard_links=no
14851 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14852 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14853 echo "${ECHO_T}$hard_links" >&6; }
14854 if test "$hard_links" = no; then
14855 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14856 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14863 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14864 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14867 allow_undefined_flag=
14868 enable_shared_with_static_runtimes=no
14870 archive_expsym_cmds=
14871 old_archive_From_new_cmds=
14872 old_archive_from_expsyms_cmds=
14873 export_dynamic_flag_spec=
14874 whole_archive_flag_spec=
14875 thread_safe_flag_spec=
14876 hardcode_libdir_flag_spec=
14877 hardcode_libdir_flag_spec_ld=
14878 hardcode_libdir_separator=
14880 hardcode_minus_L=no
14881 hardcode_shlibpath_var=unsupported
14882 link_all_deplibs=unknown
14883 hardcode_automatic=no
14885 module_expsym_cmds=
14886 always_export_symbols=no
14887 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14888 # include_expsyms should be a list of space-separated symbols to be *always*
14889 # included in the symbol list
14891 # exclude_expsyms can be an extended regexp of symbols to exclude
14892 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14893 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14894 # as well as any symbol that contains `d'.
14895 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14896 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14897 # platforms (ab)use it in PIC code, but their linkers get confused if
14898 # the symbol is explicitly referenced. Since portable code cannot
14899 # rely on this symbol name, it's probably fine to never include it in
14900 # preloaded symbol tables.
14901 extract_expsyms_cmds=
14902 # Just being paranoid about ensuring that cc_basename is set.
14903 for cc_temp in $compiler""; do
14905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14911 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14914 cygwin* | mingw* | pw32*)
14915 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14916 # When not using gcc, we currently assume that we are using
14917 # Microsoft Visual C++.
14918 if test "$GCC" != yes; then
14923 # we just hope/assume this is gcc and not c89 (= MSVC++)
14932 if test "$with_gnu_ld" = yes; then
14933 # If archive_cmds runs LD, not CC, wlarc should be empty
14936 # Set some defaults for GNU ld with shared library support. These
14937 # are reset later if shared libraries are not supported. Putting them
14938 # here allows them to be overridden if necessary.
14939 runpath_var=LD_RUN_PATH
14940 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14941 export_dynamic_flag_spec='${wl}--export-dynamic'
14942 # ancient GNU ld didn't support --whole-archive et. al.
14943 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14944 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14946 whole_archive_flag_spec=
14948 supports_anon_versioning=no
14949 case `$LD -v 2>/dev/null` in
14950 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14951 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14952 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14953 *\ 2.11.*) ;; # other 2.11 versions
14954 *) supports_anon_versioning=yes ;;
14957 # See if GNU ld supports shared libraries.
14959 aix3* | aix4* | aix5*)
14960 # On AIX/PPC, the GNU linker is very broken
14961 if test "$host_cpu" != ia64; then
14965 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14966 *** to be unable to reliably create shared libraries on AIX.
14967 *** Therefore, libtool is disabling shared libraries support. If you
14968 *** really care for shared libraries, you may want to modify your PATH
14969 *** so that a non-GNU linker is found, and then restart.
14976 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)'
14977 hardcode_libdir_flag_spec
='-L$libdir'
14978 hardcode_minus_L
=yes
14980 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14981 # that the semantics of dynamic libraries on AmigaOS, at least up
14982 # to version 4, is to share data among multiple programs linked
14983 # with the same dynamic library. Since this doesn't match the
14984 # behavior of shared libraries on other platforms, we can't use
14990 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14991 allow_undefined_flag
=unsupported
14992 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14993 # support --undefined. This deserves some investigation. FIXME
14994 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15000 cygwin
* | mingw
* | pw32
*)
15001 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15002 # as there is no search path for DLLs.
15003 hardcode_libdir_flag_spec
='-L$libdir'
15004 allow_undefined_flag
=unsupported
15005 always_export_symbols
=no
15006 enable_shared_with_static_runtimes
=yes
15007 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15009 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15010 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15011 # If the export-symbols file already is a .def file (1st line
15012 # is EXPORTS), use it as is; otherwise, prepend...
15013 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15014 cp $export_symbols $output_objdir/$soname.def;
15016 echo EXPORTS > $output_objdir/$soname.def;
15017 cat $export_symbols >> $output_objdir/$soname.def;
15019 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15027 hardcode_shlibpath_var
=no
15028 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15029 export_dynamic_flag_spec
='${wl}-E'
15030 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15031 # Instead, shared libraries are loaded at an image base (0x10000000 by
15032 # default) and relocated if they conflict, which is a slow very memory
15033 # consuming and fragmenting process. To avoid this, we pick a random,
15034 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15035 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15036 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15037 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'
15041 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15043 case $cc_basename,$host_cpu in
15044 pgcc
*) # Portland Group C compiler
15045 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'
15046 tmp_addflag
=' $pic_flag'
15048 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15049 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'
15050 tmp_addflag
=' $pic_flag -Mnomain' ;;
15051 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15052 tmp_addflag
=' -i_dynamic' ;;
15053 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15054 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15055 ifc
* | ifort
*) # Intel Fortran compiler
15056 tmp_addflag
=' -nofor_main' ;;
15058 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15060 if test $supports_anon_versioning = yes; then
15061 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
15062 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15063 $echo "local: *; };" >> $output_objdir/$libname.ver~
15064 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15072 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15073 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15076 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15077 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15082 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15086 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15087 *** create shared libraries on Solaris systems. Therefore, libtool
15088 *** is disabling shared libraries support. We urge you to upgrade GNU
15089 *** binutils to release 2.9.1 or newer. Another option is to modify
15090 *** your PATH or compiler configuration so that the native linker is
15091 *** used, and then restart.
15094 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15095 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15096 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15102 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15103 case `$LD -v 2>&1` in
15104 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15108 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15109 *** reliably create shared libraries on SCO systems. Therefore, libtool
15110 *** is disabling shared libraries support. We urge you to upgrade GNU
15111 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15112 *** your PATH or compiler configuration so that the native linker is
15113 *** used, and then restart.
15118 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15119 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15120 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15121 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15130 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15132 hardcode_direct
=yes
15133 hardcode_shlibpath_var
=no
15137 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15138 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15139 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15146 if test "$ld_shlibs" = no
; then
15148 hardcode_libdir_flag_spec
=
15149 export_dynamic_flag_spec
=
15150 whole_archive_flag_spec
=
15153 # PORTME fill in a description of your system's linker (not GNU ld)
15156 allow_undefined_flag
=unsupported
15157 always_export_symbols
=yes
15158 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'
15159 # Note: this linker hardcodes the directories in LIBPATH if there
15160 # are no directories specified by -L.
15161 hardcode_minus_L
=yes
15162 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15163 # Neither direct hardcoding nor static linking is supported with a
15165 hardcode_direct
=unsupported
15170 if test "$host_cpu" = ia64
; then
15171 # On IA64, the linker does run time linking by default, so we don't
15172 # have to do anything special.
15173 aix_use_runtimelinking
=no
15174 exp_sym_flag
='-Bexport'
15177 # If we're using GNU nm, then we don't want the "-C" option.
15178 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15179 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15180 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'
15182 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'
15184 aix_use_runtimelinking
=no
15186 # Test if we are trying to use run time linking or normal
15187 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15188 # need to do runtime linking.
15189 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15190 for ld_flag
in $LDFLAGS; do
15191 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15192 aix_use_runtimelinking
=yes
15199 exp_sym_flag
='-bexport'
15200 no_entry_flag
='-bnoentry'
15203 # When large executables or shared objects are built, AIX ld can
15204 # have problems creating the table of contents. If linking a library
15205 # or program results in "error TOC overflow" add -mminimal-toc to
15206 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15207 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15210 hardcode_direct
=yes
15211 hardcode_libdir_separator
=':'
15212 link_all_deplibs
=yes
15214 if test "$GCC" = yes; then
15215 case $host_os in aix4.
[012]|aix4.
[012].
*)
15216 # We only want to do this on AIX 4.2 and lower, the check
15217 # below for broken collect2 doesn't work under 4.3+
15218 collect2name
=`${CC} -print-prog-name=collect2`
15219 if test -f "$collect2name" && \
15220 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15222 # We have reworked collect2
15223 hardcode_direct
=yes
15225 # We have old collect2
15226 hardcode_direct
=unsupported
15227 # It fails to find uninstalled libraries when the uninstalled
15228 # path is not listed in the libpath. Setting hardcode_minus_L
15229 # to unsupported forces relinking
15230 hardcode_minus_L
=yes
15231 hardcode_libdir_flag_spec
='-L$libdir'
15232 hardcode_libdir_separator
=
15236 shared_flag
='-shared'
15237 if test "$aix_use_runtimelinking" = yes; then
15238 shared_flag
="$shared_flag "'${wl}-G'
15242 if test "$host_cpu" = ia64
; then
15243 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15244 # chokes on -Wl,-G. The following line is correct:
15247 if test "$aix_use_runtimelinking" = yes; then
15248 shared_flag
='${wl}-G'
15250 shared_flag
='${wl}-bM:SRE'
15255 # It seems that -bexpall does not export symbols beginning with
15256 # underscore (_), so it is better to generate a list of symbols to export.
15257 always_export_symbols
=yes
15258 if test "$aix_use_runtimelinking" = yes; then
15259 # Warning - without using the other runtime loading flags (-brtl),
15260 # -berok will link without error, but may produce a broken library.
15261 allow_undefined_flag
='-berok'
15262 # Determine the default libpath from the value encoded in an empty executable.
15263 cat >conftest.
$ac_ext <<_ACEOF
15266 cat confdefs.h
>>conftest.
$ac_ext
15267 cat >>conftest.
$ac_ext <<_ACEOF
15268 /* end confdefs.h. */
15278 rm -f conftest.
$ac_objext conftest
$ac_exeext
15279 if { (ac_try
="$ac_link"
15280 case "(($ac_try" in
15281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15282 *) ac_try_echo=$ac_try;;
15284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15285 (eval "$ac_link") 2>conftest.er1
15287 grep -v '^ *+' conftest.er1 >conftest.err
15289 cat conftest.err >&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); } &&
15292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15293 { (case "(($ac_try" in
15294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15295 *) ac_try_echo
=$ac_try;;
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_try") 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; } &&
15302 { ac_try
='test -s conftest$ac_exeext'
15303 { (case "(($ac_try" in
15304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15305 *) ac_try_echo=$ac_try;;
15307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15308 (eval "$ac_try") 2>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15313 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15315 # Check for a 64-bit object if we didn't find anything.
15316 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; }
15319 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15327 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15329 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15330 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"
15332 if test "$host_cpu" = ia64; then
15333 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15334 allow_undefined_flag="-z nodefs"
15335 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"
15337 # Determine the default libpath from the value encoded in an empty executable.
15338 cat >conftest.$ac_ext <<_ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15353 rm -f conftest.$ac_objext conftest$ac_exeext
15354 if { (ac_try="$ac_link"
15355 case "(($ac_try" in
15356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15357 *) ac_try_echo
=$ac_try;;
15359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_link") 2>conftest.er1
15362 grep -v '^ *+' conftest.er1
>conftest.err
15364 cat conftest.err
>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15368 { (case "(($ac_try" in
15369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15370 *) ac_try_echo=$ac_try;;
15372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15373 (eval "$ac_try") 2>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; } &&
15377 { ac_try='test -s conftest$ac_exeext'
15378 { (case "(($ac_try" in
15379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15380 *) ac_try_echo
=$ac_try;;
15382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15383 (eval "$ac_try") 2>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; }; then
15388 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15390 # Check for a 64-bit object if we didn't find anything.
15391 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; }
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.
$ac_ext >&5
15400 rm -f core conftest.err conftest.
$ac_objext \
15401 conftest
$ac_exeext conftest.
$ac_ext
15402 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15404 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15405 # Warning - without using the other run time loading flags,
15406 # -berok will link without error, but may produce a broken library.
15407 no_undefined_flag
=' ${wl}-bernotok'
15408 allow_undefined_flag
=' ${wl}-berok'
15409 # Exported symbols can be pulled into shared objects from archives
15410 whole_archive_flag_spec
='$convenience'
15411 archive_cmds_need_lc
=yes
15412 # This is similar to how AIX traditionally builds its shared libraries.
15413 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'
15419 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)'
15420 hardcode_libdir_flag_spec
='-L$libdir'
15421 hardcode_minus_L
=yes
15422 # see comment about different semantics on the GNU ld section
15427 export_dynamic_flag_spec
=-rdynamic
15430 cygwin
* | mingw
* | pw32
*)
15431 # When not using gcc, we currently assume that we are using
15432 # Microsoft Visual C++.
15433 # hardcode_libdir_flag_spec is actually meaningless, as there is
15434 # no search path for DLLs.
15435 hardcode_libdir_flag_spec
=' '
15436 allow_undefined_flag
=unsupported
15437 # Tell ltmain to make .lib files, not .a files.
15439 # Tell ltmain to make .dll files, not .so files.
15441 # FIXME: Setting linknames here is a bad hack.
15442 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15443 # The linker will automatically build a .lib file if we build a DLL.
15444 old_archive_From_new_cmds
='true'
15445 # FIXME: Should let the user specify the lib program.
15446 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15447 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15448 enable_shared_with_static_runtimes
=yes
15451 darwin
* | rhapsody
*)
15453 rhapsody
* | darwin1.
[012])
15454 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15457 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15458 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15460 case ${MACOSX_DEPLOYMENT_TARGET} in
15462 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15465 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15471 archive_cmds_need_lc
=no
15473 hardcode_automatic
=yes
15474 hardcode_shlibpath_var
=unsupported
15475 whole_archive_flag_spec
=''
15476 link_all_deplibs
=yes
15477 if test "$GCC" = yes ; then
15478 output_verbose_link_cmd
='echo'
15479 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15480 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15481 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15482 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}'
15483 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}'
15485 case $cc_basename in
15487 output_verbose_link_cmd
='echo'
15488 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15489 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15490 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15491 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}'
15492 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}'
15502 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15503 hardcode_libdir_flag_spec
='-L$libdir'
15504 hardcode_shlibpath_var
=no
15511 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15512 # support. Future versions do this automatically, but an explicit c++rt0.o
15513 # does not break anything, and helps significantly (at the cost of a little
15516 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15517 hardcode_libdir_flag_spec
='-R$libdir'
15518 hardcode_direct
=yes
15519 hardcode_shlibpath_var
=no
15522 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15524 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15525 hardcode_direct
=yes
15526 hardcode_minus_L
=yes
15527 hardcode_shlibpath_var
=no
15530 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15531 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15532 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15533 hardcode_libdir_flag_spec
='-R$libdir'
15534 hardcode_direct
=yes
15535 hardcode_shlibpath_var
=no
15539 if test "$GCC" = yes; then
15540 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'
15542 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'
15544 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15545 hardcode_libdir_separator
=:
15546 hardcode_direct
=yes
15548 # hardcode_minus_L: Not really in the search PATH,
15549 # but as the default location of the library.
15550 hardcode_minus_L
=yes
15551 export_dynamic_flag_spec
='${wl}-E'
15555 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15556 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15558 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15560 if test "$with_gnu_ld" = no
; then
15561 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15562 hardcode_libdir_separator
=:
15564 hardcode_direct
=yes
15565 export_dynamic_flag_spec
='${wl}-E'
15567 # hardcode_minus_L: Not really in the search PATH,
15568 # but as the default location of the library.
15569 hardcode_minus_L
=yes
15574 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15577 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15580 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15583 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15589 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15592 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15595 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15599 if test "$with_gnu_ld" = no
; then
15600 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15601 hardcode_libdir_separator
=:
15605 hardcode_libdir_flag_spec_ld
='+b $libdir'
15607 hardcode_shlibpath_var
=no
15610 hardcode_direct
=yes
15611 export_dynamic_flag_spec
='${wl}-E'
15613 # hardcode_minus_L: Not really in the search PATH,
15614 # but as the default location of the library.
15615 hardcode_minus_L
=yes
15621 irix5
* | irix6
* | nonstopux
*)
15622 if test "$GCC" = yes; then
15623 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'
15625 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'
15626 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15628 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15629 hardcode_libdir_separator
=:
15630 link_all_deplibs
=yes
15634 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15635 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15637 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15639 hardcode_libdir_flag_spec
='-R$libdir'
15640 hardcode_direct
=yes
15641 hardcode_shlibpath_var
=no
15645 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15646 hardcode_direct
=yes
15647 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15648 hardcode_libdir_separator
=:
15649 hardcode_shlibpath_var
=no
15653 hardcode_direct
=yes
15654 hardcode_shlibpath_var
=no
15655 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15656 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15657 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15658 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15659 export_dynamic_flag_spec
='${wl}-E'
15662 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15663 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15664 hardcode_libdir_flag_spec
='-R$libdir'
15667 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15668 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15675 hardcode_libdir_flag_spec
='-L$libdir'
15676 hardcode_minus_L
=yes
15677 allow_undefined_flag
=unsupported
15678 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'
15679 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15683 if test "$GCC" = yes; then
15684 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15685 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'
15687 allow_undefined_flag
=' -expect_unresolved \*'
15688 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'
15690 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15691 hardcode_libdir_separator
=:
15694 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15695 if test "$GCC" = yes; then
15696 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15697 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'
15698 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15700 allow_undefined_flag
=' -expect_unresolved \*'
15701 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'
15702 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15703 $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'
15705 # Both c and cxx compiler support -rpath directly
15706 hardcode_libdir_flag_spec
='-rpath $libdir'
15708 hardcode_libdir_separator
=:
15712 no_undefined_flag
=' -z text'
15713 if test "$GCC" = yes; then
15715 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15716 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15717 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15720 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15721 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15722 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15724 hardcode_libdir_flag_spec
='-R$libdir'
15725 hardcode_shlibpath_var
=no
15727 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15729 # The compiler driver will combine linker options so we
15730 # cannot just pass the convience library names through
15731 # without $wl, iff we do not link with $LD.
15732 # Luckily, gcc supports the same syntax we need for Sun Studio.
15733 # Supported since Solaris 2.6 (maybe 2.5.1?)
15736 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15738 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' ;;
15741 link_all_deplibs
=yes
15745 if test "x$host_vendor" = xsequent
; then
15746 # Use $CC to link under sequent, because it throws in some extra .o
15747 # files that make .init and .fini sections work.
15748 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15750 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15752 hardcode_libdir_flag_spec
='-L$libdir'
15753 hardcode_direct
=yes
15754 hardcode_minus_L
=yes
15755 hardcode_shlibpath_var
=no
15759 case $host_vendor in
15761 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15762 hardcode_direct
=yes # is this really true???
15765 ## LD is ld it makes a PLAMLIB
15766 ## CC just makes a GrossModule.
15767 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15768 reload_cmds
='$CC -r -o $output$reload_objs'
15772 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15773 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15776 runpath_var
='LD_RUN_PATH'
15777 hardcode_shlibpath_var
=no
15781 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15782 hardcode_shlibpath_var
=no
15783 export_dynamic_flag_spec
='-Bexport'
15787 if test -d /usr
/nec
; then
15788 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15789 hardcode_shlibpath_var
=no
15790 runpath_var
=LD_RUN_PATH
15791 hardcode_runpath_var
=yes
15796 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15797 no_undefined_flag
='${wl}-z,text'
15798 archive_cmds_need_lc
=no
15799 hardcode_shlibpath_var
=no
15800 runpath_var
='LD_RUN_PATH'
15802 if test "$GCC" = yes; then
15803 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15804 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15806 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15807 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15811 sysv5
* | sco3.2v5
* | sco5v6
*)
15812 # Note: We can NOT use -z defs as we might desire, because we do not
15813 # link with -lc, and that would cause any symbols used from libc to
15814 # always be unresolved, which means just about no library would
15815 # ever link correctly. If we're not using GNU ld we use -z text
15816 # though, which does catch some bad symbols but isn't as heavy-handed
15818 no_undefined_flag
='${wl}-z,text'
15819 allow_undefined_flag
='${wl}-z,nodefs'
15820 archive_cmds_need_lc
=no
15821 hardcode_shlibpath_var
=no
15822 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15823 hardcode_libdir_separator
=':'
15824 link_all_deplibs
=yes
15825 export_dynamic_flag_spec
='${wl}-Bexport'
15826 runpath_var
='LD_RUN_PATH'
15828 if test "$GCC" = yes; then
15829 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15830 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15832 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15833 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15838 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15839 hardcode_libdir_flag_spec
='-L$libdir'
15840 hardcode_shlibpath_var
=no
15849 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15850 echo "${ECHO_T}$ld_shlibs" >&6; }
15851 test "$ld_shlibs" = no
&& can_build_shared
=no
15854 # Do we need to explicitly link libc?
15856 case "x$archive_cmds_need_lc" in
15858 # Assume -lc should be added
15859 archive_cmds_need_lc
=yes
15861 if test "$enable_shared" = yes && test "$GCC" = yes; then
15862 case $archive_cmds in
15864 # FIXME: we may have to deal with multi-command sequences.
15867 # Test whether the compiler implicitly links with -lc since on some
15868 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15869 # to ld, don't add -lc before -lgcc.
15870 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15871 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15873 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15876 (eval $ac_compile) 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } 2>conftest.err
; then
15882 libobjs
=conftest.
$ac_objext
15884 wl
=$lt_prog_compiler_wl
15885 pic_flag
=$lt_prog_compiler_pic
15891 lt_save_allow_undefined_flag
=$allow_undefined_flag
15892 allow_undefined_flag
=
15893 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15894 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }
15899 archive_cmds_need_lc
=no
15901 archive_cmds_need_lc
=yes
15903 allow_undefined_flag
=$lt_save_allow_undefined_flag
15905 cat conftest.err
1>&5
15908 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15909 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15916 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15917 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15918 library_names_spec
=
15919 libname_spec
='lib$name'
15923 postuninstall_cmds
=
15927 shlibpath_overrides_runpath
=unknown
15929 dynamic_linker
="$host_os ld.so"
15930 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15931 if test "$GCC" = yes; then
15932 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15933 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15934 # if the path contains ";" then we assume it to be the separator
15935 # otherwise default to the standard path separator (i.e. ":") - it is
15936 # assumed that no part of a normal pathname contains ";" but that should
15937 # okay in the real world where ";" in dirpaths is itself problematic.
15938 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15940 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15943 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15945 need_lib_prefix
=unknown
15946 hardcode_into_libs
=no
15948 # when you set need_version to no, make sure it does not cause -set_version
15949 # flags to be left without arguments
15950 need_version
=unknown
15955 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15956 shlibpath_var
=LIBPATH
15958 # AIX 3 has no versioning support, so we append a major version to the name.
15959 soname_spec
='${libname}${release}${shared_ext}$major'
15966 hardcode_into_libs
=yes
15967 if test "$host_cpu" = ia64
; then
15968 # AIX 5 supports IA64
15969 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15970 shlibpath_var
=LD_LIBRARY_PATH
15972 # With GCC up to 2.95.x, collect2 would create an import file
15973 # for dependence libraries. The import file would start with
15974 # the line `#! .'. This would cause the generated library to
15975 # depend on `.', always an invalid library. This was fixed in
15976 # development snapshots of GCC prior to 3.0.
15978 aix4 | aix4.
[01] | aix4.
[01].
*)
15979 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15981 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15984 can_build_shared
=no
15988 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15989 # soname into executable. Probably we can add versioning support to
15990 # collect2, so additional links can be useful in future.
15991 if test "$aix_use_runtimelinking" = yes; then
15992 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15993 # instead of lib<name>.a to let people know that these are not
15994 # typical AIX shared libraries.
15995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15997 # We preserve .a as extension for shared libraries through AIX4.2
15998 # and later when we are not doing run time linking.
15999 library_names_spec
='${libname}${release}.a $libname.a'
16000 soname_spec
='${libname}${release}${shared_ext}$major'
16002 shlibpath_var
=LIBPATH
16007 library_names_spec
='$libname.ixlibrary $libname.a'
16008 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16009 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'
16013 library_names_spec
='${libname}${shared_ext}'
16014 dynamic_linker
="$host_os ld.so"
16015 shlibpath_var
=LIBRARY_PATH
16021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16022 soname_spec
='${libname}${release}${shared_ext}$major'
16023 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16024 shlibpath_var
=LD_LIBRARY_PATH
16025 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16026 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16027 # the default ld.so.conf also contains /usr/contrib/lib and
16028 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16029 # libtool to hard-code these into programs
16032 cygwin
* | mingw
* | pw32
*)
16033 version_type
=windows
16038 case $GCC,$host_os in
16039 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16040 library_names_spec
='$libname.dll.a'
16041 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16042 postinstall_cmds
='base_file=`basename \${file}`~
16043 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16044 dldir=$destdir/`dirname \$dlpath`~
16045 test -d \$dldir || mkdir -p \$dldir~
16046 $install_prog $dir/$dlname \$dldir/$dlname~
16047 chmod a+x \$dldir/$dlname'
16048 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16049 dlpath=$dir/\$dldll~
16051 shlibpath_overrides_runpath
=yes
16055 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16056 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16057 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16060 # MinGW DLLs use traditional 'lib' prefix
16061 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16062 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16063 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16064 # It is most probably a Windows format PATH printed by
16065 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16066 # path with ; separators, and with drive letters. We can handle the
16067 # drive letters (cygwin fileutils understands them), so leave them,
16068 # especially as we might pass files found there to a mingw objdump,
16069 # which wouldn't understand a cygwinified path. Ahh.
16070 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16072 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16076 # pw32 DLLs use 'pw' prefix rather than 'lib'
16077 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16083 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16086 dynamic_linker
='Win32 ld.exe'
16087 # FIXME: first we should search . and the directory the executable is in
16091 darwin
* | rhapsody
*)
16092 dynamic_linker
="$host_os dyld"
16093 version_type
=darwin
16096 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16097 soname_spec
='${libname}${release}${major}$shared_ext'
16098 shlibpath_overrides_runpath
=yes
16099 shlibpath_var
=DYLD_LIBRARY_PATH
16100 shrext_cmds
='.dylib'
16101 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16102 if test "$GCC" = yes; then
16103 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"`
16105 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16107 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16115 soname_spec
='${libname}${release}${shared_ext}$major'
16116 shlibpath_var
=LD_LIBRARY_PATH
16127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16128 soname_spec
='${libname}${release}${shared_ext}$major'
16129 shlibpath_var
=LD_LIBRARY_PATH
16130 shlibpath_overrides_runpath
=no
16131 hardcode_into_libs
=yes
16132 dynamic_linker
='GNU ld.so'
16135 freebsd
* | dragonfly
*)
16136 # DragonFly does not have aout. When/if they implement a new
16137 # versioning mechanism, adjust this.
16138 if test -x /usr
/bin
/objformat
; then
16139 objformat
=`/usr/bin/objformat`
16142 freebsd
[123]*) objformat
=aout
;;
16143 *) objformat
=elf
;;
16146 version_type
=freebsd-
$objformat
16147 case $version_type in
16149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16154 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16158 shlibpath_var
=LD_LIBRARY_PATH
16161 shlibpath_overrides_runpath
=yes
16163 freebsd3.
[01]* | freebsdelf3.
[01]*)
16164 shlibpath_overrides_runpath
=yes
16165 hardcode_into_libs
=yes
16167 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16168 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16169 shlibpath_overrides_runpath
=no
16170 hardcode_into_libs
=yes
16172 freebsd
*) # from 4.6 on
16173 shlibpath_overrides_runpath
=yes
16174 hardcode_into_libs
=yes
16183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16184 soname_spec
='${libname}${release}${shared_ext}$major'
16185 shlibpath_var
=LD_LIBRARY_PATH
16186 hardcode_into_libs
=yes
16189 hpux9
* | hpux10
* | hpux11
*)
16190 # Give a soname corresponding to the major version so that dld.sl refuses to
16191 # link against other versions.
16198 hardcode_into_libs
=yes
16199 dynamic_linker
="$host_os dld.so"
16200 shlibpath_var
=LD_LIBRARY_PATH
16201 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16203 soname_spec
='${libname}${release}${shared_ext}$major'
16204 if test "X$HPUX_IA64_MODE" = X32
; then
16205 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16207 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16209 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16213 hardcode_into_libs
=yes
16214 dynamic_linker
="$host_os dld.sl"
16215 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16216 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16218 soname_spec
='${libname}${release}${shared_ext}$major'
16219 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16220 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16224 dynamic_linker
="$host_os dld.sl"
16225 shlibpath_var
=SHLIB_PATH
16226 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16228 soname_spec
='${libname}${release}${shared_ext}$major'
16231 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16232 postinstall_cmds
='chmod 555 $lib'
16239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16240 soname_spec
='${libname}${release}${shared_ext}$major'
16241 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16242 shlibpath_var
=LD_LIBRARY_PATH
16243 shlibpath_overrides_runpath
=no
16244 hardcode_into_libs
=yes
16247 irix5
* | irix6
* | nonstopux
*)
16249 nonstopux
*) version_type
=nonstopux
;;
16251 if test "$lt_cv_prog_gnu_ld" = yes; then
16259 soname_spec
='${libname}${release}${shared_ext}$major'
16260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16262 irix5
* | nonstopux
*)
16263 libsuff
= shlibsuff
=
16266 case $LD in # libtool.m4 will add one of these switches to LD
16267 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16268 libsuff
= shlibsuff
= libmagic
=32-bit;;
16269 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16270 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16271 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16272 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16273 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16277 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16278 shlibpath_overrides_runpath
=no
16279 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16280 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16281 hardcode_into_libs
=yes
16284 # No shared lib support for Linux oldld, aout, or coff.
16285 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16289 # This must be Linux ELF.
16294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16295 soname_spec
='${libname}${release}${shared_ext}$major'
16296 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16297 shlibpath_var
=LD_LIBRARY_PATH
16298 shlibpath_overrides_runpath
=no
16299 # This implies no fast_install, which is unacceptable.
16300 # Some rework will be needed to allow for fast_install
16301 # before this can be enabled.
16302 hardcode_into_libs
=yes
16304 # Append ld.so.conf contents to the search path
16305 if test -f /etc
/ld.so.conf
; then
16306 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' ' '`
16307 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16310 # We used to test for /lib/ld.so.1 and disable shared libraries on
16311 # powerpc, because MkLinux only supported shared libraries with the
16312 # GNU dynamic linker. Since this was broken with cross compilers,
16313 # most powerpc-linux boxes support dynamic linking these days and
16314 # people can always --disable-shared, the test was removed, and we
16315 # assume the GNU/Linux dynamic linker is in use.
16316 dynamic_linker
='GNU/Linux ld.so'
16323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16324 soname_spec
='${libname}${release}${shared_ext}$major'
16325 shlibpath_var
=LD_LIBRARY_PATH
16326 shlibpath_overrides_runpath
=no
16327 hardcode_into_libs
=yes
16328 dynamic_linker
='GNU ld.so'
16335 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16337 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16338 dynamic_linker
='NetBSD (a.out) ld.so'
16340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16341 soname_spec
='${libname}${release}${shared_ext}$major'
16342 dynamic_linker
='NetBSD ld.elf_so'
16344 shlibpath_var
=LD_LIBRARY_PATH
16345 shlibpath_overrides_runpath
=yes
16346 hardcode_into_libs
=yes
16351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16352 shlibpath_var
=LD_LIBRARY_PATH
16353 shlibpath_overrides_runpath
=yes
16360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16361 soname_spec
='${libname}${release}${shared_ext}$major'
16362 shlibpath_var
=LD_LIBRARY_PATH
16363 shlibpath_overrides_runpath
=yes
16368 sys_lib_dlsearch_path_spec
="/usr/lib"
16370 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16372 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16373 *) need_version
=no
;;
16375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16376 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16377 shlibpath_var
=LD_LIBRARY_PATH
16378 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16380 openbsd2.
[89] | openbsd2.
[89].
*)
16381 shlibpath_overrides_runpath
=no
16384 shlibpath_overrides_runpath
=yes
16388 shlibpath_overrides_runpath
=yes
16393 libname_spec
='$name'
16396 library_names_spec
='$libname${shared_ext} $libname.a'
16397 dynamic_linker
='OS/2 ld.exe'
16398 shlibpath_var
=LIBPATH
16401 osf3
* | osf4
* | osf5
*)
16405 soname_spec
='${libname}${release}${shared_ext}$major'
16406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16407 shlibpath_var
=LD_LIBRARY_PATH
16408 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16409 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16417 soname_spec
='${libname}${release}${shared_ext}$major'
16418 shlibpath_var
=LD_LIBRARY_PATH
16419 shlibpath_overrides_runpath
=yes
16420 hardcode_into_libs
=yes
16421 # ldd complains unless libraries are executable
16422 postinstall_cmds
='chmod +x $lib'
16427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16428 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16429 shlibpath_var
=LD_LIBRARY_PATH
16430 shlibpath_overrides_runpath
=yes
16431 if test "$with_gnu_ld" = yes; then
16439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16440 soname_spec
='${libname}${release}${shared_ext}$major'
16441 shlibpath_var
=LD_LIBRARY_PATH
16442 case $host_vendor in
16444 shlibpath_overrides_runpath
=no
16446 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16447 runpath_var
=LD_RUN_PATH
16455 shlibpath_overrides_runpath
=no
16456 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16462 if test -d /usr
/nec
;then
16464 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16465 soname_spec
='$libname${shared_ext}.$major'
16466 shlibpath_var
=LD_LIBRARY_PATH
16470 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16471 version_type
=freebsd-elf
16474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16475 soname_spec
='${libname}${release}${shared_ext}$major'
16476 shlibpath_var
=LD_LIBRARY_PATH
16477 hardcode_into_libs
=yes
16478 if test "$with_gnu_ld" = yes; then
16479 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16480 shlibpath_overrides_runpath
=no
16482 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16483 shlibpath_overrides_runpath
=yes
16486 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16490 sys_lib_dlsearch_path_spec
='/usr/lib'
16495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16496 soname_spec
='${libname}${release}${shared_ext}$major'
16497 shlibpath_var
=LD_LIBRARY_PATH
16504 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16505 echo "${ECHO_T}$dynamic_linker" >&6; }
16506 test "$dynamic_linker" = no
&& can_build_shared
=no
16508 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16509 if test "$GCC" = yes; then
16510 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16513 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16514 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16516 if test -n "$hardcode_libdir_flag_spec" || \
16517 test -n "$runpath_var" || \
16518 test "X$hardcode_automatic" = "Xyes" ; then
16520 # We can hardcode non-existant directories.
16521 if test "$hardcode_direct" != no
&&
16522 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16523 # have to relink, otherwise we might link with an installed library
16524 # when we should be linking with a yet-to-be-installed one
16525 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16526 test "$hardcode_minus_L" != no
; then
16527 # Linking always hardcodes the temporary library directory.
16528 hardcode_action
=relink
16530 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16531 hardcode_action
=immediate
16534 # We cannot hardcode anything, or else we can only hardcode existing
16536 hardcode_action
=unsupported
16538 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16539 echo "${ECHO_T}$hardcode_action" >&6; }
16541 if test "$hardcode_action" = relink
; then
16542 # Fast installation is not supported
16543 enable_fast_install
=no
16544 elif test "$shlibpath_overrides_runpath" = yes ||
16545 test "$enable_shared" = no
; then
16546 # Fast installation is not necessary
16547 enable_fast_install
=needless
16552 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16553 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16554 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16555 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16556 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16557 { echo "$as_me:$LINENO: result: yes" >&5
16558 echo "${ECHO_T}yes" >&6; }
16560 # FIXME - insert some real tests, host_os isn't really good enough
16563 if test -n "$STRIP" ; then
16564 striplib
="$STRIP -x"
16565 { echo "$as_me:$LINENO: result: yes" >&5
16566 echo "${ECHO_T}yes" >&6; }
16568 { echo "$as_me:$LINENO: result: no" >&5
16569 echo "${ECHO_T}no" >&6; }
16573 { echo "$as_me:$LINENO: result: no" >&5
16574 echo "${ECHO_T}no" >&6; }
16579 if test "x$enable_dlopen" != xyes
; then
16580 enable_dlopen
=unknown
16581 enable_dlopen_self
=unknown
16582 enable_dlopen_self_static
=unknown
16589 lt_cv_dlopen
="load_add_on"
16591 lt_cv_dlopen_self
=yes
16595 lt_cv_dlopen
="LoadLibrary"
16600 lt_cv_dlopen
="dlopen"
16605 # if libdl is installed we need to link against it
16606 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16607 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16608 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16609 echo $ECHO_N "(cached) $ECHO_C" >&6
16611 ac_check_lib_save_LIBS
=$LIBS
16613 cat >conftest.
$ac_ext <<_ACEOF
16616 cat confdefs.h
>>conftest.
$ac_ext
16617 cat >>conftest.
$ac_ext <<_ACEOF
16618 /* end confdefs.h. */
16620 /* Override any GCC internal prototype to avoid an error.
16621 Use char because int might match the return type of a GCC
16622 builtin and then its argument prototype would still apply. */
16635 rm -f conftest.
$ac_objext conftest
$ac_exeext
16636 if { (ac_try
="$ac_link"
16637 case "(($ac_try" in
16638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16639 *) ac_try_echo=$ac_try;;
16641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16642 (eval "$ac_link") 2>conftest.er1
16644 grep -v '^ *+' conftest.er1 >conftest.err
16646 cat conftest.err >&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); } &&
16649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16650 { (case "(($ac_try" in
16651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16652 *) ac_try_echo
=$ac_try;;
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_try") 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; } &&
16659 { ac_try
='test -s conftest$ac_exeext'
16660 { (case "(($ac_try" in
16661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16662 *) ac_try_echo=$ac_try;;
16664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16665 (eval "$ac_try") 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16669 ac_cv_lib_dl_dlopen=yes
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.$ac_ext >&5
16674 ac_cv_lib_dl_dlopen=no
16677 rm -f core conftest.err conftest.$ac_objext \
16678 conftest$ac_exeext conftest.$ac_ext
16679 LIBS=$ac_check_lib_save_LIBS
16681 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16682 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16683 if test $ac_cv_lib_dl_dlopen = yes; then
16684 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16687 lt_cv_dlopen="dyld"
16689 lt_cv_dlopen_self=yes
16696 { echo "$as_me:$LINENO: checking for shl_load" >&5
16697 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16698 if test "${ac_cv_func_shl_load+set}" = set; then
16699 echo $ECHO_N "(cached) $ECHO_C" >&6
16701 cat >conftest.$ac_ext <<_ACEOF
16704 cat confdefs.h >>conftest.$ac_ext
16705 cat >>conftest.$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16709 #define shl_load innocuous_shl_load
16711 /* System header to define __stub macros and hopefully few prototypes,
16712 which can conflict with char shl_load (); below.
16713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16714 <limits.h> exists even on freestanding compilers. */
16717 # include <limits.h>
16719 # include <assert.h>
16724 /* Override any GCC internal prototype to avoid an error.
16725 Use char because int might match the return type of a GCC
16726 builtin and then its argument prototype would still apply. */
16731 /* The GNU C library defines this for functions which it implements
16732 to always fail with ENOSYS. Some functions are actually named
16733 something starting with __ and the normal name is an alias. */
16734 #if defined __stub_shl_load || defined __stub___shl_load
16741 return shl_load ();
16746 rm -f conftest.$ac_objext conftest$ac_exeext
16747 if { (ac_try="$ac_link"
16748 case "(($ac_try" in
16749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16750 *) ac_try_echo
=$ac_try;;
16752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16753 (eval "$ac_link") 2>conftest.er1
16755 grep -v '^ *+' conftest.er1
>conftest.err
16757 cat conftest.err
>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); } &&
16760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16761 { (case "(($ac_try" in
16762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16763 *) ac_try_echo=$ac_try;;
16765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766 (eval "$ac_try") 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; } &&
16770 { ac_try='test -s conftest$ac_exeext'
16771 { (case "(($ac_try" in
16772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16773 *) ac_try_echo
=$ac_try;;
16775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16776 (eval "$ac_try") 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_cv_func_shl_load
=yes
16782 echo "$as_me: failed program was:" >&5
16783 sed 's/^/| /' conftest.
$ac_ext >&5
16785 ac_cv_func_shl_load
=no
16788 rm -f core conftest.err conftest.
$ac_objext \
16789 conftest
$ac_exeext conftest.
$ac_ext
16791 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16792 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16793 if test $ac_cv_func_shl_load = yes; then
16794 lt_cv_dlopen
="shl_load"
16796 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16797 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16798 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 ac_check_lib_save_LIBS
=$LIBS
16803 cat >conftest.
$ac_ext <<_ACEOF
16806 cat confdefs.h
>>conftest.
$ac_ext
16807 cat >>conftest.
$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16810 /* Override any GCC internal prototype to avoid an error.
16811 Use char because int might match the return type of a GCC
16812 builtin and then its argument prototype would still apply. */
16820 return shl_load ();
16825 rm -f conftest.
$ac_objext conftest
$ac_exeext
16826 if { (ac_try
="$ac_link"
16827 case "(($ac_try" in
16828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16829 *) ac_try_echo=$ac_try;;
16831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16832 (eval "$ac_link") 2>conftest.er1
16834 grep -v '^ *+' conftest.er1 >conftest.err
16836 cat conftest.err >&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } &&
16839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16840 { (case "(($ac_try" in
16841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16842 *) ac_try_echo
=$ac_try;;
16844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16845 (eval "$ac_try") 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; } &&
16849 { ac_try
='test -s conftest$ac_exeext'
16850 { (case "(($ac_try" in
16851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16852 *) ac_try_echo=$ac_try;;
16854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16855 (eval "$ac_try") 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 ac_cv_lib_dld_shl_load=yes
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16864 ac_cv_lib_dld_shl_load=no
16867 rm -f core conftest.err conftest.$ac_objext \
16868 conftest$ac_exeext conftest.$ac_ext
16869 LIBS=$ac_check_lib_save_LIBS
16871 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16872 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16873 if test $ac_cv_lib_dld_shl_load = yes; then
16874 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16876 { echo "$as_me:$LINENO: checking for dlopen" >&5
16877 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16878 if test "${ac_cv_func_dlopen+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 cat >conftest.$ac_ext <<_ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16889 #define dlopen innocuous_dlopen
16891 /* System header to define __stub macros and hopefully few prototypes,
16892 which can conflict with char dlopen (); below.
16893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16894 <limits.h> exists even on freestanding compilers. */
16897 # include <limits.h>
16899 # include <assert.h>
16904 /* Override any GCC internal prototype to avoid an error.
16905 Use char because int might match the return type of a GCC
16906 builtin and then its argument prototype would still apply. */
16911 /* The GNU C library defines this for functions which it implements
16912 to always fail with ENOSYS. Some functions are actually named
16913 something starting with __ and the normal name is an alias. */
16914 #if defined __stub_dlopen || defined __stub___dlopen
16926 rm -f conftest.$ac_objext conftest$ac_exeext
16927 if { (ac_try="$ac_link"
16928 case "(($ac_try" in
16929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16930 *) ac_try_echo
=$ac_try;;
16932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16933 (eval "$ac_link") 2>conftest.er1
16935 grep -v '^ *+' conftest.er1
>conftest.err
16937 cat conftest.err
>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } &&
16940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16941 { (case "(($ac_try" in
16942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16943 *) ac_try_echo=$ac_try;;
16945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16946 (eval "$ac_try") 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; } &&
16950 { ac_try='test -s conftest$ac_exeext'
16951 { (case "(($ac_try" in
16952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16953 *) ac_try_echo
=$ac_try;;
16955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16956 (eval "$ac_try") 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_cv_func_dlopen
=yes
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.
$ac_ext >&5
16965 ac_cv_func_dlopen
=no
16968 rm -f core conftest.err conftest.
$ac_objext \
16969 conftest
$ac_exeext conftest.
$ac_ext
16971 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16972 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16973 if test $ac_cv_func_dlopen = yes; then
16974 lt_cv_dlopen
="dlopen"
16976 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16977 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16978 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16979 echo $ECHO_N "(cached) $ECHO_C" >&6
16981 ac_check_lib_save_LIBS
=$LIBS
16983 cat >conftest.
$ac_ext <<_ACEOF
16986 cat confdefs.h
>>conftest.
$ac_ext
16987 cat >>conftest.
$ac_ext <<_ACEOF
16988 /* end confdefs.h. */
16990 /* Override any GCC internal prototype to avoid an error.
16991 Use char because int might match the return type of a GCC
16992 builtin and then its argument prototype would still apply. */
17005 rm -f conftest.
$ac_objext conftest
$ac_exeext
17006 if { (ac_try
="$ac_link"
17007 case "(($ac_try" in
17008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17009 *) ac_try_echo=$ac_try;;
17011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17012 (eval "$ac_link") 2>conftest.er1
17014 grep -v '^ *+' conftest.er1 >conftest.err
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17020 { (case "(($ac_try" in
17021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17022 *) ac_try_echo
=$ac_try;;
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_try") 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; } &&
17029 { ac_try
='test -s conftest$ac_exeext'
17030 { (case "(($ac_try" in
17031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17032 *) ac_try_echo=$ac_try;;
17034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17035 (eval "$ac_try") 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; }; then
17039 ac_cv_lib_dl_dlopen=yes
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.$ac_ext >&5
17044 ac_cv_lib_dl_dlopen=no
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17049 LIBS=$ac_check_lib_save_LIBS
17051 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17052 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17053 if test $ac_cv_lib_dl_dlopen = yes; then
17054 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17056 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17057 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17058 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17059 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 ac_check_lib_save_LIBS=$LIBS
17062 LIBS="-lsvld $LIBS"
17063 cat >conftest.$ac_ext <<_ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17070 /* Override any GCC internal prototype to avoid an error.
17071 Use char because int might match the return type of a GCC
17072 builtin and then its argument prototype would still apply. */
17085 rm -f conftest.$ac_objext conftest$ac_exeext
17086 if { (ac_try="$ac_link"
17087 case "(($ac_try" in
17088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17089 *) ac_try_echo
=$ac_try;;
17091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17092 (eval "$ac_link") 2>conftest.er1
17094 grep -v '^ *+' conftest.er1
>conftest.err
17096 cat conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } &&
17099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17100 { (case "(($ac_try" in
17101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17102 *) ac_try_echo=$ac_try;;
17104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17105 (eval "$ac_try") 2>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; } &&
17109 { ac_try='test -s conftest$ac_exeext'
17110 { (case "(($ac_try" in
17111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17112 *) ac_try_echo
=$ac_try;;
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_try") 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; }; then
17119 ac_cv_lib_svld_dlopen
=yes
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.
$ac_ext >&5
17124 ac_cv_lib_svld_dlopen
=no
17127 rm -f core conftest.err conftest.
$ac_objext \
17128 conftest
$ac_exeext conftest.
$ac_ext
17129 LIBS
=$ac_check_lib_save_LIBS
17131 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17132 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17133 if test $ac_cv_lib_svld_dlopen = yes; then
17134 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17136 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17137 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17138 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17139 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 ac_check_lib_save_LIBS
=$LIBS
17143 cat >conftest.
$ac_ext <<_ACEOF
17146 cat confdefs.h
>>conftest.
$ac_ext
17147 cat >>conftest.
$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17150 /* Override any GCC internal prototype to avoid an error.
17151 Use char because int might match the return type of a GCC
17152 builtin and then its argument prototype would still apply. */
17160 return dld_link ();
17165 rm -f conftest.
$ac_objext conftest
$ac_exeext
17166 if { (ac_try
="$ac_link"
17167 case "(($ac_try" in
17168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17169 *) ac_try_echo=$ac_try;;
17171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17172 (eval "$ac_link") 2>conftest.er1
17174 grep -v '^ *+' conftest.er1 >conftest.err
17176 cat conftest.err >&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } &&
17179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17180 { (case "(($ac_try" in
17181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17182 *) ac_try_echo
=$ac_try;;
17184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17185 (eval "$ac_try") 2>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; } &&
17189 { ac_try
='test -s conftest$ac_exeext'
17190 { (case "(($ac_try" in
17191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_try") 2>&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; }; then
17199 ac_cv_lib_dld_dld_link=yes
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.$ac_ext >&5
17204 ac_cv_lib_dld_dld_link=no
17207 rm -f core conftest.err conftest.$ac_objext \
17208 conftest$ac_exeext conftest.$ac_ext
17209 LIBS=$ac_check_lib_save_LIBS
17211 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17212 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17213 if test $ac_cv_lib_dld_dld_link = yes; then
17214 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17235 if test "x$lt_cv_dlopen" != xno; then
17241 case $lt_cv_dlopen in
17243 save_CPPFLAGS="$CPPFLAGS"
17244 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17246 save_LDFLAGS="$LDFLAGS"
17247 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17250 LIBS="$lt_cv_dlopen_libs $LIBS"
17252 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17253 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17254 if test "${lt_cv_dlopen_self+set}" = set; then
17255 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 if test "$cross_compiling" = yes; then :
17258 lt_cv_dlopen_self=cross
17260 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17261 lt_status=$lt_dlunknown
17262 cat > conftest.$ac_ext <<EOF
17263 #line 17249 "configure"
17264 #include "confdefs.h"
17273 # define LT_DLGLOBAL RTLD_GLOBAL
17276 # define LT_DLGLOBAL DL_GLOBAL
17278 # define LT_DLGLOBAL 0
17282 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17283 find out it does not work in some platform. */
17284 #ifndef LT_DLLAZY_OR_NOW
17286 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17289 # define LT_DLLAZY_OR_NOW DL_LAZY
17292 # define LT_DLLAZY_OR_NOW RTLD_NOW
17295 # define LT_DLLAZY_OR_NOW DL_NOW
17297 # define LT_DLLAZY_OR_NOW 0
17305 extern "C" void exit (int);
17308 void fnord() { int i=42;}
17311 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17312 int status = $lt_dlunknown;
17316 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17317 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17318 /* dlclose (self); */
17326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17327 (eval $ac_link) 2>&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17331 (./conftest; exit; ) >&5 2>/dev/null
17333 case x$lt_status in
17334 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17335 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17336 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17339 # compilation failed
17340 lt_cv_dlopen_self=no
17347 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17348 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17350 if test "x$lt_cv_dlopen_self" = xyes; then
17351 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17352 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17353 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17354 if test "${lt_cv_dlopen_self_static+set}" = set; then
17355 echo $ECHO_N "(cached) $ECHO_C" >&6
17357 if test "$cross_compiling" = yes; then :
17358 lt_cv_dlopen_self_static=cross
17360 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17361 lt_status=$lt_dlunknown
17362 cat > conftest.$ac_ext <<EOF
17363 #line 17349 "configure"
17364 #include "confdefs.h"
17373 # define LT_DLGLOBAL RTLD_GLOBAL
17376 # define LT_DLGLOBAL DL_GLOBAL
17378 # define LT_DLGLOBAL 0
17382 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17383 find out it does not work in some platform. */
17384 #ifndef LT_DLLAZY_OR_NOW
17386 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17389 # define LT_DLLAZY_OR_NOW DL_LAZY
17392 # define LT_DLLAZY_OR_NOW RTLD_NOW
17395 # define LT_DLLAZY_OR_NOW DL_NOW
17397 # define LT_DLLAZY_OR_NOW 0
17405 extern "C" void exit (int);
17408 void fnord() { int i=42;}
17411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17412 int status = $lt_dlunknown;
17416 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17417 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17418 /* dlclose (self); */
17426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17427 (eval $ac_link) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17431 (./conftest; exit; ) >&5 2>/dev/null
17433 case x$lt_status in
17434 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17435 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17436 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17439 # compilation failed
17440 lt_cv_dlopen_self_static=no
17447 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17448 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17451 CPPFLAGS="$save_CPPFLAGS"
17452 LDFLAGS="$save_LDFLAGS"
17457 case $lt_cv_dlopen_self in
17458 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17459 *) enable_dlopen_self=unknown ;;
17462 case $lt_cv_dlopen_self_static in
17463 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17464 *) enable_dlopen_self_static=unknown ;;
17469 # Report which library types will actually be built
17470 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17471 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17472 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17473 echo "${ECHO_T}$can_build_shared" >&6; }
17475 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17476 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17477 test "$can_build_shared" = "no" && enable_shared=no
17479 # On AIX, shared libraries and static libraries use the same namespace, and
17480 # are all built from PIC.
17483 test "$enable_shared" = yes && enable_static=no
17484 if test -n "$RANLIB"; then
17485 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17486 postinstall_cmds='$RANLIB $lib'
17491 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17492 test "$enable_shared" = yes && enable_static=no
17496 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17497 echo "${ECHO_T}$enable_shared" >&6; }
17499 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17500 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17501 # Make sure either enable_shared or enable_static is yes.
17502 test "$enable_shared" = yes || enable_static=yes
17503 { echo "$as_me:$LINENO: result: $enable_static" >&5
17504 echo "${ECHO_T}$enable_static" >&6; }
17506 # The else clause should only fire when bootstrapping the
17507 # libtool distribution, otherwise you forgot to ship ltmain.sh
17508 # with your package, and you will get complaints that there are
17509 # no rules to generate ltmain.sh.
17510 if test -f "$ltmain"; then
17511 # See if we are running on zsh, and set the options which allow our commands through
17512 # without removal of \ escapes.
17513 if test -n "${ZSH_VERSION+set}" ; then
17514 setopt NO_GLOB_SUBST
17516 # Now quote all the things that may contain metacharacters while being
17517 # careful not to overquote the AC_SUBSTed values. We take copies of the
17518 # variables and quote the copies for generation of the libtool script.
17519 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17521 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17522 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17523 deplibs_check_method reload_flag reload_cmds need_locks \
17524 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17525 lt_cv_sys_global_symbol_to_c_name_address \
17526 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17527 old_postinstall_cmds old_postuninstall_cmds \
17531 lt_prog_compiler_wl \
17532 lt_prog_compiler_pic \
17533 lt_prog_compiler_static \
17534 lt_prog_compiler_no_builtin_flag \
17535 export_dynamic_flag_spec \
17536 thread_safe_flag_spec \
17537 whole_archive_flag_spec \
17538 enable_shared_with_static_runtimes \
17540 old_archive_from_new_cmds \
17545 compiler_lib_search_path \
17547 archive_expsym_cmds \
17549 postuninstall_cmds \
17550 old_archive_from_expsyms_cmds \
17551 allow_undefined_flag \
17552 no_undefined_flag \
17553 export_symbols_cmds \
17554 hardcode_libdir_flag_spec \
17555 hardcode_libdir_flag_spec_ld \
17556 hardcode_libdir_separator \
17557 hardcode_automatic \
17559 module_expsym_cmds \
17560 lt_cv_prog_compiler_c_o \
17562 include_expsyms; do
17565 old_archive_cmds | \
17566 old_archive_from_new_cmds | \
17568 archive_expsym_cmds | \
17570 module_expsym_cmds | \
17571 old_archive_from_expsyms_cmds | \
17572 export_symbols_cmds | \
17573 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17574 postinstall_cmds | postuninstall_cmds | \
17575 old_postinstall_cmds | old_postuninstall_cmds | \
17576 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17577 # Double-quote double-evaled strings.
17578 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17581 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17587 *'\$0 --fallback-echo"')
17588 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17592 cfgfile="${ofile}T"
17593 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17595 { echo "$as_me:$LINENO: creating $ofile" >&5
17596 echo "$as_me: creating $ofile" >&6;}
17598 cat <<__EOF__ >> "$cfgfile"
17601 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17602 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17603 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17605 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17606 # Free Software Foundation, Inc.
17608 # This file is part of GNU Libtool:
17609 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17611 # This program is free software; you can redistribute it and/or modify
17612 # it under the terms of the GNU General Public License as published by
17613 # the Free Software Foundation; either version 2 of the License, or
17614 # (at your option) any later version.
17616 # This program is distributed in the hope that it will be useful, but
17617 # WITHOUT ANY WARRANTY; without even the implied warranty of
17618 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17619 # General Public License for more details.
17621 # You should have received a copy of the GNU General Public License
17622 # along with this program; if not, write to the Free Software
17623 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17625 # As a special exception to the GNU General Public License, if you
17626 # distribute this file as part of a program that contains a
17627 # configuration script generated by Autoconf, you may include it under
17628 # the same distribution terms that you use for the rest of that program.
17630 # A sed program that does not truncate output.
17633 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17634 Xsed="$SED -e 1s/^X//"
17636 # The HP-UX ksh and POSIX shell print the target directory to stdout
17637 # if CDPATH is set.
17638 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17640 # The names of the tagged configurations supported by this script.
17643 # ### BEGIN LIBTOOL CONFIG
17645 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17647 # Shell to use when invoking shell scripts.
17650 # Whether or not to build shared libraries.
17651 build_libtool_libs=$enable_shared
17653 # Whether or not to build static libraries.
17654 build_old_libs=$enable_static
17656 # Whether or not to add -lc for building shared libraries.
17657 build_libtool_need_lc=$archive_cmds_need_lc
17659 # Whether or not to disallow shared libs when runtime libs are static
17660 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17662 # Whether or not to optimize for fast installation.
17663 fast_install=$enable_fast_install
17666 host_alias=$host_alias
17670 # The build system.
17671 build_alias=$build_alias
17675 # An echo program that does not interpret backslashes.
17680 AR_FLAGS=$lt_AR_FLAGS
17685 # LTCC compiler flags.
17686 LTCFLAGS=$lt_LTCFLAGS
17688 # A language-specific compiler.
17691 # Is the compiler the GNU C compiler?
17697 # The linker used to build libraries.
17700 # Whether we need hard or soft links.
17703 # A BSD-compatible nm program.
17706 # A symbol stripping program
17709 # Used to examine libraries when file_magic_cmd begins "file"
17710 MAGIC_CMD=$MAGIC_CMD
17712 # Used on cygwin: DLL creation program.
17715 # Used on cygwin: object dumper.
17718 # Used on cygwin: assembler.
17721 # The name of the directory that contains temporary libtool files.
17724 # How to create reloadable object files.
17725 reload_flag=$lt_reload_flag
17726 reload_cmds=$lt_reload_cmds
17728 # How to pass a linker flag through the compiler.
17729 wl=$lt_lt_prog_compiler_wl
17731 # Object file suffix (normally "o").
17732 objext="$ac_objext"
17734 # Old archive suffix (normally "a").
17737 # Shared library suffix (normally ".so").
17738 shrext_cmds='$shrext_cmds'
17740 # Executable file suffix (normally "").
17743 # Additional compiler flags for building library objects.
17744 pic_flag=$lt_lt_prog_compiler_pic
17747 # What is the maximum length of a command?
17748 max_cmd_len=$lt_cv_sys_max_cmd_len
17750 # Does compiler simultaneously support -c and -o options?
17751 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17753 # Must we lock files when doing compilation?
17754 need_locks=$lt_need_locks
17756 # Do we need the lib prefix for modules?
17757 need_lib_prefix=$need_lib_prefix
17759 # Do we need a version for libraries?
17760 need_version=$need_version
17762 # Whether dlopen is supported.
17763 dlopen_support=$enable_dlopen
17765 # Whether dlopen of programs is supported.
17766 dlopen_self=$enable_dlopen_self
17768 # Whether dlopen of statically linked programs is supported.
17769 dlopen_self_static=$enable_dlopen_self_static
17771 # Compiler flag to prevent dynamic linking.
17772 link_static_flag=$lt_lt_prog_compiler_static
17774 # Compiler flag to turn off builtin functions.
17775 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17777 # Compiler flag to allow reflexive dlopens.
17778 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17780 # Compiler flag to generate shared objects directly from archives.
17781 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17783 # Compiler flag to generate thread-safe objects.
17784 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17786 # Library versioning type.
17787 version_type=$version_type
17789 # Format of library name prefix.
17790 libname_spec=$lt_libname_spec
17792 # List of archive names. First name is the real one, the rest are links.
17793 # The last name is the one that the linker finds with -lNAME.
17794 library_names_spec=$lt_library_names_spec
17796 # The coded name of the library, if different from the real name.
17797 soname_spec=$lt_soname_spec
17799 # Commands used to build and install an old-style archive.
17801 old_archive_cmds=$lt_old_archive_cmds
17802 old_postinstall_cmds=$lt_old_postinstall_cmds
17803 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17805 # Create an old-style archive from a shared archive.
17806 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17808 # Create a temporary old-style archive to link instead of a shared archive.
17809 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17811 # Commands used to build and install a shared archive.
17812 archive_cmds=$lt_archive_cmds
17813 archive_expsym_cmds=$lt_archive_expsym_cmds
17814 postinstall_cmds=$lt_postinstall_cmds
17815 postuninstall_cmds=$lt_postuninstall_cmds
17817 # Commands used to build a loadable module (assumed same as above if empty)
17818 module_cmds=$lt_module_cmds
17819 module_expsym_cmds=$lt_module_expsym_cmds
17821 # Commands to strip libraries.
17822 old_striplib=$lt_old_striplib
17823 striplib=$lt_striplib
17825 # Dependencies to place before the objects being linked to create a
17827 predep_objects=$lt_predep_objects
17829 # Dependencies to place after the objects being linked to create a
17831 postdep_objects=$lt_postdep_objects
17833 # Dependencies to place before the objects being linked to create a
17835 predeps=$lt_predeps
17837 # Dependencies to place after the objects being linked to create a
17839 postdeps=$lt_postdeps
17841 # The library search path used internally by the compiler when linking
17842 # a shared library.
17843 compiler_lib_search_path=$lt_compiler_lib_search_path
17845 # Method to check whether dependent libraries are shared objects.
17846 deplibs_check_method=$lt_deplibs_check_method
17848 # Command to use when deplibs_check_method == file_magic.
17849 file_magic_cmd=$lt_file_magic_cmd
17851 # Flag that allows shared libraries with undefined symbols to be built.
17852 allow_undefined_flag=$lt_allow_undefined_flag
17854 # Flag that forces no undefined symbols.
17855 no_undefined_flag=$lt_no_undefined_flag
17857 # Commands used to finish a libtool library installation in a directory.
17858 finish_cmds=$lt_finish_cmds
17860 # Same as above, but a single script fragment to be evaled but not shown.
17861 finish_eval=$lt_finish_eval
17863 # Take the output of nm and produce a listing of raw symbols and C names.
17864 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17866 # Transform the output of nm in a proper C declaration
17867 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17869 # Transform the output of nm in a C name address pair
17870 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17872 # This is the shared library runtime path variable.
17873 runpath_var=$runpath_var
17875 # This is the shared library path variable.
17876 shlibpath_var=$shlibpath_var
17878 # Is shlibpath searched before the hard-coded library search path?
17879 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17881 # How to hardcode a shared library path into an executable.
17882 hardcode_action=$hardcode_action
17884 # Whether we should hardcode library paths into libraries.
17885 hardcode_into_libs=$hardcode_into_libs
17887 # Flag to hardcode \$libdir into a binary during linking.
17888 # This must work even if \$libdir does not exist.
17889 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17891 # If ld is used when linking, flag to hardcode \$libdir into
17892 # a binary during linking. This must work even if \$libdir does
17894 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17896 # Whether we need a single -rpath flag with a separated argument.
17897 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17899 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17900 # resulting binary.
17901 hardcode_direct=$hardcode_direct
17903 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17904 # resulting binary.
17905 hardcode_minus_L=$hardcode_minus_L
17907 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17908 # the resulting binary.
17909 hardcode_shlibpath_var=$hardcode_shlibpath_var
17911 # Set to yes if building a shared library automatically hardcodes DIR into the library
17912 # and all subsequent libraries and executables linked against it.
17913 hardcode_automatic=$hardcode_automatic
17915 # Variables whose values should be saved in libtool wrapper scripts and
17916 # restored at relink time.
17917 variables_saved_for_relink="$variables_saved_for_relink"
17919 # Whether libtool must link a program against all its dependency libraries.
17920 link_all_deplibs=$link_all_deplibs
17922 # Compile-time system search path for libraries
17923 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17925 # Run-time system search path for libraries
17926 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17928 # Fix the shell variable \$srcfile for the compiler.
17929 fix_srcfile_path="$fix_srcfile_path"
17931 # Set to yes if exported symbols are required.
17932 always_export_symbols=$always_export_symbols
17934 # The commands to list exported symbols.
17935 export_symbols_cmds=$lt_export_symbols_cmds
17937 # The commands to extract the exported symbol list from a shared archive.
17938 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17940 # Symbols that should not be listed in the preloaded symbols.
17941 exclude_expsyms=$lt_exclude_expsyms
17943 # Symbols that must always be exported.
17944 include_expsyms=$lt_include_expsyms
17946 # ### END LIBTOOL CONFIG
17953 cat <<\EOF >> "$cfgfile"
17955 # AIX sometimes has problems with the GCC collect2 program. For some
17956 # reason, if we set the COLLECT_NAMES environment variable, the problems
17957 # vanish in a puff of smoke.
17958 if test "X${COLLECT_NAMES+set}" != Xset; then
17960 export COLLECT_NAMES
17966 # We use sed instead of cat because bash on DJGPP gets confused if
17967 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17968 # text mode, it properly converts lines to CR/LF. This bash problem
17969 # is reportedly fixed, but why not run on old versions too?
17970 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17972 mv -f "$cfgfile" "$ofile" || \
17973 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17977 # If there is no Makefile yet, we rely on a make rule to execute
17978 # `config.status
--recheck' to rerun these tests and create the
17979 # libtool script then.
17980 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17981 if test -f "$ltmain_in"; then
17982 test -f Makefile && make "$ltmain"
17988 ac_cpp='$CPP $CPPFLAGS'
17989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17990 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17996 # Check whether --with-tags was given.
17997 if test "${with_tags+set}" = set; then
17998 withval=$with_tags; tagnames="$withval"
18002 if test -f "$ltmain" && test -n "$tagnames"; then
18003 if test ! -f "${ofile}"; then
18004 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
18005 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
18008 if test -z "$LTCC"; then
18009 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
18010 if test -z "$LTCC"; then
18011 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18012 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
18014 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
18015 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
18018 if test -z "$LTCFLAGS"; then
18019 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
18022 # Extract list of available tagged configurations in $ofile.
18023 # Note that this assumes the entire list is on one line.
18024 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18026 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18027 for tagname in $tagnames; do
18029 # Check whether tagname contains only valid characters
18030 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18032 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18033 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18034 { (exit 1); exit 1; }; }
18038 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18040 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18041 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18042 { (exit 1); exit 1; }; }
18045 # Update the list of available tags.
18046 if test -n "$tagname"; then
18047 echo appending configuration tag \"$tagname\" to $ofile
18051 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18052 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
18053 (test "X$CXX" != "Xg++"))) ; then
18055 ac_cpp='$CXXCPP $CPPFLAGS'
18056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18063 archive_cmds_need_lc_CXX=no
18064 allow_undefined_flag_CXX=
18065 always_export_symbols_CXX=no
18066 archive_expsym_cmds_CXX=
18067 export_dynamic_flag_spec_CXX=
18068 hardcode_direct_CXX=no
18069 hardcode_libdir_flag_spec_CXX=
18070 hardcode_libdir_flag_spec_ld_CXX=
18071 hardcode_libdir_separator_CXX=
18072 hardcode_minus_L_CXX=no
18073 hardcode_shlibpath_var_CXX=unsupported
18074 hardcode_automatic_CXX=no
18076 module_expsym_cmds_CXX=
18077 link_all_deplibs_CXX=unknown
18078 old_archive_cmds_CXX=$old_archive_cmds
18079 no_undefined_flag_CXX=
18080 whole_archive_flag_spec_CXX=
18081 enable_shared_with_static_runtimes_CXX=no
18083 # Dependencies to place before and after the object being linked:
18084 predep_objects_CXX=
18085 postdep_objects_CXX=
18088 compiler_lib_search_path_CXX=
18090 # Source file extension for C++ test sources.
18093 # Object file extension for compiled C++ test sources.
18097 # Code to be used in simple compile tests
18098 lt_simple_compile_test_code="int some_variable = 0;\n"
18100 # Code to be used in simple link tests
18101 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18103 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18105 # If no C compiler was specified, use CC.
18108 # If no C compiler flags were specified, use CFLAGS.
18109 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18111 # Allow CC to be a program name with arguments.
18115 # save warnings/boilerplate of simple test code
18116 ac_outfile=conftest.$ac_objext
18117 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18119 _lt_compiler_boilerplate=`cat conftest.err
`
18122 ac_outfile=conftest.$ac_objext
18123 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18125 _lt_linker_boilerplate=`cat conftest.err
`
18129 # Allow CC to be a program name with arguments.
18134 lt_save_with_gnu_ld=$with_gnu_ld
18135 lt_save_path_LD=$lt_cv_path_LD
18136 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18137 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18139 $as_unset lt_cv_prog_gnu_ld
18141 if test -n "${lt_cv_path_LDCXX+set}"; then
18142 lt_cv_path_LD=$lt_cv_path_LDCXX
18144 $as_unset lt_cv_path_LD
18146 test -z "${LDCXX+set}" || LD=$LDCXX
18150 for cc_temp in $compiler""; do
18152 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18153 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18158 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18161 # We don't want -fno-exception wen compiling C++ code, so set the
18162 # no_builtin_flag separately
18163 if test "$GXX" = yes; then
18164 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18166 lt_prog_compiler_no_builtin_flag_CXX=
18169 if test "$GXX" = yes; then
18170 # Set up default GNU C++ configuration
18173 # Check whether --with-gnu-ld was given.
18174 if test "${with_gnu_ld+set}" = set; then
18175 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18181 if test "$GCC" = yes; then
18182 # Check if gcc -print-prog-name=ld gives a path.
18183 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18184 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18187 # gcc leaves a trailing carriage return which upsets mingw
18188 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
18190 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18193 # Accept absolute paths.
18195 re_direlt='/[^/][^/]*/\.\./'
18196 # Canonicalize the pathname of ld
18197 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
18198 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18199 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
18201 test -z "$LD" && LD="$ac_prog"
18204 # If it fails, then pretend we aren't using GCC.
18208 # If it is relative, then search for the first ld in PATH.
18209 with_gnu_ld=unknown
18212 elif test "$with_gnu_ld" = yes; then
18213 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18214 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18216 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18217 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18219 if test "${lt_cv_path_LD+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 if test -z "$LD"; then
18223 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18224 for ac_dir in $PATH; do
18226 test -z "$ac_dir" && ac_dir=.
18227 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18228 lt_cv_path_LD="$ac_dir/$ac_prog"
18229 # Check to see if the program is GNU ld. I'd rather use --version,
18230 # but apparently some variants of GNU ld only accept -v.
18231 # Break only if it was the GNU/non-GNU ld that we prefer.
18232 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18233 *GNU* | *'with BFD'*)
18234 test "$with_gnu_ld" != no && break
18237 test "$with_gnu_ld" != yes && break
18244 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18248 LD="$lt_cv_path_LD"
18249 if test -n "$LD"; then
18250 { echo "$as_me:$LINENO: result: $LD" >&5
18251 echo "${ECHO_T}$LD" >&6; }
18253 { echo "$as_me:$LINENO: result: no" >&5
18254 echo "${ECHO_T}no" >&6; }
18256 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18257 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18258 { (exit 1); exit 1; }; }
18259 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18260 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18261 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18265 case `$LD -v 2>&1 </dev
/null
` in
18266 *GNU* | *'with BFD'*)
18267 lt_cv_prog_gnu_ld=yes
18270 lt_cv_prog_gnu_ld=no
18274 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18275 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18276 with_gnu_ld=$lt_cv_prog_gnu_ld
18280 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18281 # archiving commands below assume that GNU ld is being used.
18282 if test "$with_gnu_ld" = yes; then
18283 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18284 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'
18286 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18287 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18289 # If archive_cmds runs LD, not CC, wlarc should be empty
18290 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18291 # investigate it a little bit more. (MM)
18294 # ancient GNU ld didn't support --whole-archive et. al.
18295 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18296 grep 'no-whole-archive' > /dev/null; then
18297 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18299 whole_archive_flag_spec_CXX=
18305 # A generic and very simple default shared library creation
18306 # command for GNU C++ for the case where it uses the native
18307 # linker, instead of GNU ld. If possible, this setting should
18308 # overridden to take advantage of the native linker features on
18309 # the platform it is being used on.
18310 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18313 # Commands to make compiler produce verbose output that lists
18314 # what "hidden" libraries, object files and flags are used when
18315 # linking a shared library.
18316 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18324 # PORTME: fill in a description of your system's C++ link characteristics
18325 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18326 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18330 # FIXME: insert proper C++ library support
18334 if test "$host_cpu" = ia64; then
18335 # On IA64, the linker does run time linking by default, so we don't
18336 # have to do anything special.
18337 aix_use_runtimelinking=no
18338 exp_sym_flag='-Bexport'
18341 aix_use_runtimelinking=no
18343 # Test if we are trying to use run time linking or normal
18344 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18345 # need to do runtime linking.
18346 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18347 for ld_flag in $LDFLAGS; do
18350 aix_use_runtimelinking=yes
18358 exp_sym_flag='-bexport'
18359 no_entry_flag='-bnoentry'
18362 # When large executables or shared objects are built, AIX ld can
18363 # have problems creating the table of contents. If linking a library
18364 # or program results in "error TOC overflow" add -mminimal-toc to
18365 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18366 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18368 archive_cmds_CXX=''
18369 hardcode_direct_CXX=yes
18370 hardcode_libdir_separator_CXX=':'
18371 link_all_deplibs_CXX=yes
18373 if test "$GXX" = yes; then
18374 case $host_os in aix4.[012]|aix4.[012].*)
18375 # We only want to do this on AIX 4.2 and lower, the check
18376 # below for broken collect2 doesn't work under 4.3+
18377 collect2name=`${CC} -print-prog-name=collect2
`
18378 if test -f "$collect2name" && \
18379 strings "$collect2name" | grep resolve_lib_name >/dev/null
18381 # We have reworked collect2
18382 hardcode_direct_CXX=yes
18384 # We have old collect2
18385 hardcode_direct_CXX=unsupported
18386 # It fails to find uninstalled libraries when the uninstalled
18387 # path is not listed in the libpath. Setting hardcode_minus_L
18388 # to unsupported forces relinking
18389 hardcode_minus_L_CXX=yes
18390 hardcode_libdir_flag_spec_CXX='-L$libdir'
18391 hardcode_libdir_separator_CXX=
18395 shared_flag='-shared'
18396 if test "$aix_use_runtimelinking" = yes; then
18397 shared_flag="$shared_flag "'${wl}-G'
18401 if test "$host_cpu" = ia64; then
18402 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18403 # chokes on -Wl,-G. The following line is correct:
18406 if test "$aix_use_runtimelinking" = yes; then
18407 shared_flag='${wl}-G'
18409 shared_flag='${wl}-bM:SRE'
18414 # It seems that -bexpall does not export symbols beginning with
18415 # underscore (_), so it is better to generate a list of symbols to export.
18416 always_export_symbols_CXX=yes
18417 if test "$aix_use_runtimelinking" = yes; then
18418 # Warning - without using the other runtime loading flags (-brtl),
18419 # -berok will link without error, but may produce a broken library.
18420 allow_undefined_flag_CXX='-berok'
18421 # Determine the default libpath from the value encoded in an empty executable.
18422 cat >conftest.$ac_ext <<_ACEOF
18425 cat confdefs.h >>conftest.$ac_ext
18426 cat >>conftest.$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18437 rm -f conftest.$ac_objext conftest$ac_exeext
18438 if { (ac_try="$ac_link"
18439 case "(($ac_try" in
18440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18441 *) ac_try_echo
=$ac_try;;
18443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_link") 2>conftest.er1
18446 grep -v '^ *+' conftest.er1
>conftest.err
18448 cat conftest.err
>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } &&
18451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18452 { (case "(($ac_try" in
18453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18454 *) ac_try_echo=$ac_try;;
18456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18457 (eval "$ac_try") 2>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; } &&
18461 { ac_try='test -s conftest$ac_exeext'
18462 { (case "(($ac_try" in
18463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18464 *) ac_try_echo
=$ac_try;;
18466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18467 (eval "$ac_try") 2>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); }; }; then
18472 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18474 # Check for a 64-bit object if we didn't find anything.
18475 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; }
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18484 rm -f core conftest.err conftest.
$ac_objext \
18485 conftest
$ac_exeext conftest.
$ac_ext
18486 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18488 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18490 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"
18492 if test "$host_cpu" = ia64
; then
18493 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18494 allow_undefined_flag_CXX
="-z nodefs"
18495 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"
18497 # Determine the default libpath from the value encoded in an empty executable.
18498 cat >conftest.
$ac_ext <<_ACEOF
18501 cat confdefs.h
>>conftest.
$ac_ext
18502 cat >>conftest.
$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18513 rm -f conftest.
$ac_objext conftest
$ac_exeext
18514 if { (ac_try
="$ac_link"
18515 case "(($ac_try" in
18516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18517 *) ac_try_echo=$ac_try;;
18519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18520 (eval "$ac_link") 2>conftest.er1
18522 grep -v '^ *+' conftest.er1 >conftest.err
18524 cat conftest.err >&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } &&
18527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18528 { (case "(($ac_try" in
18529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18530 *) ac_try_echo
=$ac_try;;
18532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18533 (eval "$ac_try") 2>&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; } &&
18537 { ac_try
='test -s conftest$ac_exeext'
18538 { (case "(($ac_try" in
18539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_try") 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18548 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18550 # Check for a 64-bit object if we didn't find anything.
18551 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; }
18554 echo "$as_me: failed program was:" >&5
18555 sed 's/^/| /' conftest.$ac_ext >&5
18560 rm -f core conftest.err conftest.$ac_objext \
18561 conftest$ac_exeext conftest.$ac_ext
18562 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18564 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18565 # Warning - without using the other run time loading flags,
18566 # -berok will link without error, but may produce a broken library.
18567 no_undefined_flag_CXX=' ${wl}-bernotok'
18568 allow_undefined_flag_CXX=' ${wl}-berok'
18569 # Exported symbols can be pulled into shared objects from archives
18570 whole_archive_flag_spec_CXX='$convenience'
18571 archive_cmds_need_lc_CXX=yes
18572 # This is similar to how AIX traditionally builds its shared libraries.
18573 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'
18579 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18580 allow_undefined_flag_CXX=unsupported
18581 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18582 # support --undefined. This deserves some investigation. FIXME
18583 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18590 case $cc_basename in
18592 # FIXME: insert proper C++ library support
18598 cygwin* | mingw* | pw32*)
18599 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18600 # as there is no search path for DLLs.
18601 hardcode_libdir_flag_spec_CXX='-L$libdir'
18602 allow_undefined_flag_CXX=unsupported
18603 always_export_symbols_CXX=no
18604 enable_shared_with_static_runtimes_CXX=yes
18606 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18607 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'
18608 # If the export-symbols file already is a .def file (1st line
18609 # is EXPORTS), use it as is; otherwise, prepend...
18610 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18611 cp $export_symbols $output_objdir/$soname.def;
18613 echo EXPORTS > $output_objdir/$soname.def;
18614 cat $export_symbols >> $output_objdir/$soname.def;
18616 $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'
18621 darwin* | rhapsody*)
18623 rhapsody* | darwin1.[012])
18624 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18627 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18628 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18630 case ${MACOSX_DEPLOYMENT_TARGET} in
18632 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18635 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18641 archive_cmds_need_lc_CXX=no
18642 hardcode_direct_CXX=no
18643 hardcode_automatic_CXX=yes
18644 hardcode_shlibpath_var_CXX=unsupported
18645 whole_archive_flag_spec_CXX=''
18646 link_all_deplibs_CXX=yes
18648 if test "$GXX" = yes ; then
18649 lt_int_apple_cc_single_mod=no
18650 output_verbose_link_cmd='echo'
18651 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18652 lt_int_apple_cc_single_mod=yes
18654 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18655 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18657 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'
18659 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18660 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18661 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18662 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}'
18664 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}'
18666 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}'
18668 case $cc_basename in
18670 output_verbose_link_cmd='echo'
18671 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'
18672 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18673 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18674 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}'
18675 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}'
18685 case $cc_basename in
18687 # FIXME: insert proper C++ library support
18691 # Green Hills C++ Compiler
18692 # FIXME: insert proper C++ library support
18696 # FIXME: insert proper C++ library support
18702 # C++ shared libraries reported to be fairly broken before switch to ELF
18706 archive_cmds_need_lc_CXX=no
18708 freebsd* | kfreebsd*-gnu | dragonfly*)
18709 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18716 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18717 hardcode_libdir_separator_CXX=:
18718 export_dynamic_flag_spec_CXX='${wl}-E'
18719 hardcode_direct_CXX=yes
18720 hardcode_minus_L_CXX=yes # Not in the search PATH,
18721 # but as the default
18722 # location of the library.
18724 case $cc_basename in
18726 # FIXME: insert proper C++ library support
18730 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'
18731 # Commands to make compiler produce verbose output that lists
18732 # what "hidden" libraries, object files and flags are used when
18733 # linking a shared library.
18735 # There doesn't appear to be a way to prevent this compiler from
18736 # explicitly linking system object files so we need to strip them
18737 # from the output so that they don't get included in the library
18739 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'
18742 if test "$GXX" = yes; then
18743 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'
18745 # FIXME: insert proper C++ library support
18752 if test $with_gnu_ld = no; then
18753 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18754 hardcode_libdir_separator_CXX=:
18758 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18761 export_dynamic_flag_spec_CXX='${wl}-E'
18767 hardcode_direct_CXX=no
18768 hardcode_shlibpath_var_CXX=no
18771 hardcode_direct_CXX=yes
18772 hardcode_minus_L_CXX=yes # Not in the search PATH,
18773 # but as the default
18774 # location of the library.
18778 case $cc_basename in
18780 # FIXME: insert proper C++ library support
18786 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18789 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18792 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18795 # Commands to make compiler produce verbose output that lists
18796 # what "hidden" libraries, object files and flags are used when
18797 # linking a shared library.
18799 # There doesn't appear to be a way to prevent this compiler from
18800 # explicitly linking system object files so we need to strip them
18801 # from the output so that they don't get included in the library
18803 output_verbose_link_cmd='templist=`($CC -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'
18806 if test "$GXX" = yes; then
18807 if test $with_gnu_ld = no; then
18810 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18813 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18816 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'
18821 # FIXME: insert proper C++ library support
18828 hardcode_direct_CXX=no
18829 hardcode_shlibpath_var_CXX=no
18830 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18831 export_dynamic_flag_spec_CXX='${wl}-E'
18832 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18833 # Instead, shared libraries are loaded at an image base (0x10000000 by
18834 # default) and relocated if they conflict, which is a slow very memory
18835 # consuming and fragmenting process. To avoid this, we pick a random,
18836 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18837 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18838 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'
18839 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'
18842 case $cc_basename in
18845 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'
18847 # Archives containing C++ object files must be created using
18848 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18849 # necessary to make sure instantiated templates are included
18851 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18854 if test "$GXX" = yes; then
18855 if test "$with_gnu_ld" = no; then
18856 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'
18858 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'
18861 link_all_deplibs_CXX=yes
18864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18865 hardcode_libdir_separator_CXX=:
18868 case $cc_basename in
18870 # Kuck and Associates, Inc. (KAI) C++ Compiler
18872 # KCC will only create a shared library if the output file
18873 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18874 # to its proper name (with version) after linking.
18875 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'
18876 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'
18877 # Commands to make compiler produce verbose output that lists
18878 # what "hidden" libraries, object files and flags are used when
18879 # linking a shared library.
18881 # There doesn't appear to be a way to prevent this compiler from
18882 # explicitly linking system object files so we need to strip them
18883 # from the output so that they don't get included in the library
18885 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'
18887 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18888 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18890 # Archives containing C++ object files must be created using
18891 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18892 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18897 # version 8.0 and above of icpc choke on multiply defined symbols
18898 # if we add $predep_objects and $postdep_objects, however 7.1 and
18899 # earlier do not add the objects themselves.
18900 case `$CC -V 2>&1` in
18902 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18903 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'
18905 *) # Version 8.0 or newer
18908 ia64
*) tmp_idyn
=' -i_dynamic';;
18910 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18911 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'
18914 archive_cmds_need_lc_CXX
=no
18915 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18916 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18917 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18920 # Portland Group C++ compiler
18921 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18922 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'
18924 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18925 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18926 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'
18930 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18931 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'
18933 runpath_var
=LD_RUN_PATH
18934 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18935 hardcode_libdir_separator_CXX
=:
18937 # Commands to make compiler produce verbose output that lists
18938 # what "hidden" libraries, object files and flags are used when
18939 # linking a shared library.
18941 # There doesn't appear to be a way to prevent this compiler from
18942 # explicitly linking system object files so we need to strip them
18943 # from the output so that they don't get included in the library
18945 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'
18950 # FIXME: insert proper C++ library support
18954 # FIXME: insert proper C++ library support
18958 case $cc_basename in
18960 # FIXME: insert proper C++ library support
18964 # FIXME: insert proper C++ library support
18970 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18971 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18973 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18974 hardcode_direct_CXX
=yes
18975 hardcode_shlibpath_var_CXX
=no
18977 # Workaround some broken pre-1.5 toolchains
18978 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18981 # C++ shared libraries are fairly broken
18985 hardcode_direct_CXX
=yes
18986 hardcode_shlibpath_var_CXX
=no
18987 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18988 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18989 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18990 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18991 export_dynamic_flag_spec_CXX
='${wl}-E'
18992 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18994 output_verbose_link_cmd
='echo'
18997 case $cc_basename in
18999 # Kuck and Associates, Inc. (KAI) C++ Compiler
19001 # KCC will only create a shared library if the output file
19002 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19003 # to its proper name (with version) after linking.
19004 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'
19006 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19007 hardcode_libdir_separator_CXX
=:
19009 # Archives containing C++ object files must be created using
19010 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19011 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
19015 # Rational C++ 2.4.1
19016 # FIXME: insert proper C++ library support
19020 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19021 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'
19023 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19024 hardcode_libdir_separator_CXX
=:
19026 # Commands to make compiler produce verbose output that lists
19027 # what "hidden" libraries, object files and flags are used when
19028 # linking a shared library.
19030 # There doesn't appear to be a way to prevent this compiler from
19031 # explicitly linking system object files so we need to strip them
19032 # from the output so that they don't get included in the library
19034 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'
19037 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19038 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19039 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'
19041 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19042 hardcode_libdir_separator_CXX
=:
19044 # Commands to make compiler produce verbose output that lists
19045 # what "hidden" libraries, object files and flags are used when
19046 # linking a shared library.
19047 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19050 # FIXME: insert proper C++ library support
19057 case $cc_basename in
19059 # Kuck and Associates, Inc. (KAI) C++ Compiler
19061 # KCC will only create a shared library if the output file
19062 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19063 # to its proper name (with version) after linking.
19064 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'
19066 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19067 hardcode_libdir_separator_CXX
=:
19069 # Archives containing C++ object files must be created using
19070 # the KAI C++ compiler.
19071 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
19074 # Rational C++ 2.4.1
19075 # FIXME: insert proper C++ library support
19079 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19080 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'
19081 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19082 echo "-hidden">> $lib.exp~
19083 $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~
19086 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19087 hardcode_libdir_separator_CXX
=:
19089 # Commands to make compiler produce verbose output that lists
19090 # what "hidden" libraries, object files and flags are used when
19091 # linking a shared library.
19093 # There doesn't appear to be a way to prevent this compiler from
19094 # explicitly linking system object files so we need to strip them
19095 # from the output so that they don't get included in the library
19097 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'
19100 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19101 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19102 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'
19104 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19105 hardcode_libdir_separator_CXX
=:
19107 # Commands to make compiler produce verbose output that lists
19108 # what "hidden" libraries, object files and flags are used when
19109 # linking a shared library.
19110 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19113 # FIXME: insert proper C++ library support
19120 # FIXME: insert proper C++ library support
19124 case $cc_basename in
19127 # FIXME: insert proper C++ library support
19132 # FIXME: insert proper C++ library support
19136 # FIXME: insert proper C++ library support
19142 case $cc_basename in
19144 # Sun C++ 4.2, 5.x and Centerline C++
19145 archive_cmds_need_lc_CXX
=yes
19146 no_undefined_flag_CXX
=' -zdefs'
19147 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19148 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19149 $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'
19151 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19152 hardcode_shlibpath_var_CXX
=no
19154 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19156 # The C++ compiler is used as linker so we must use $wl
19157 # flag to pass the commands to the underlying system
19158 # linker. We must also pass each convience library through
19159 # to the system linker between allextract/defaultextract.
19160 # The C++ compiler will combine linker options so we
19161 # cannot just pass the convience library names through
19163 # Supported since Solaris 2.6 (maybe 2.5.1?)
19164 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'
19167 link_all_deplibs_CXX
=yes
19169 output_verbose_link_cmd
='echo'
19171 # Archives containing C++ object files must be created using
19172 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19173 # necessary to make sure instantiated templates are included
19175 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19178 # Green Hills C++ Compiler
19179 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19181 # The C++ compiler must be used to create the archive.
19182 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19185 # GNU C++ compiler with Solaris linker
19186 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19187 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19188 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
19189 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19190 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19191 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19193 # Commands to make compiler produce verbose output that lists
19194 # what "hidden" libraries, object files and flags are used when
19195 # linking a shared library.
19196 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19198 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19200 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19201 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19202 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19204 # Commands to make compiler produce verbose output that lists
19205 # what "hidden" libraries, object files and flags are used when
19206 # linking a shared library.
19207 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19210 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19215 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19216 no_undefined_flag_CXX
='${wl}-z,text'
19217 archive_cmds_need_lc_CXX
=no
19218 hardcode_shlibpath_var_CXX
=no
19219 runpath_var
='LD_RUN_PATH'
19221 case $cc_basename in
19223 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19224 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19227 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19228 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19232 sysv5
* | sco3.2v5
* | sco5v6
*)
19233 # Note: We can NOT use -z defs as we might desire, because we do not
19234 # link with -lc, and that would cause any symbols used from libc to
19235 # always be unresolved, which means just about no library would
19236 # ever link correctly. If we're not using GNU ld we use -z text
19237 # though, which does catch some bad symbols but isn't as heavy-handed
19239 # For security reasons, it is highly recommended that you always
19240 # use absolute paths for naming shared libraries, and exclude the
19241 # DT_RUNPATH tag from executables and libraries. But doing so
19242 # requires that you compile everything twice, which is a pain.
19243 # So that behaviour is only enabled if SCOABSPATH is set to a
19244 # non-empty value in the environment. Most likely only useful for
19245 # creating official distributions of packages.
19246 # This is a hack until libtool officially supports absolute path
19247 # names for shared libraries.
19248 no_undefined_flag_CXX
='${wl}-z,text'
19249 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19250 archive_cmds_need_lc_CXX
=no
19251 hardcode_shlibpath_var_CXX
=no
19252 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19253 hardcode_libdir_separator_CXX
=':'
19254 link_all_deplibs_CXX
=yes
19255 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19256 runpath_var
='LD_RUN_PATH'
19258 case $cc_basename in
19260 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19261 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19264 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19265 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19270 case $cc_basename in
19272 # NonStop-UX NCC 3.20
19273 # FIXME: insert proper C++ library support
19277 # FIXME: insert proper C++ library support
19283 # FIXME: insert proper C++ library support
19287 # FIXME: insert proper C++ library support
19291 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19292 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19293 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19299 cat > conftest.
$ac_ext <<EOF
19303 Foo (void) { a = 0; }
19309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19310 (eval $ac_compile) 2>&5
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); }; then
19314 # Parse the compiler output and extract the necessary
19315 # objects, libraries and library flags.
19317 # Sentinel used to keep track of whether or not we are before
19318 # the conftest object file.
19319 pre_test_object_deps_done
=no
19321 # The `*' in the case matches for architectures that use `case' in
19322 # $output_verbose_cmd can trigger glob expansion during the loop
19323 # eval without this substitution.
19324 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19326 for p
in `eval $output_verbose_link_cmd`; do
19330 # Some compilers place space between "-{L,R}" and the path.
19331 # Remove the space.
19332 if test $p = "-L" \
19333 ||
test $p = "-R"; then
19340 if test "$pre_test_object_deps_done" = no
; then
19343 # Internal compiler library paths should come after those
19344 # provided the user. The postdeps already come after the
19345 # user supplied libs so there is no need to process them.
19346 if test -z "$compiler_lib_search_path_CXX"; then
19347 compiler_lib_search_path_CXX
="${prev}${p}"
19349 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19352 # The "-l" case would never come before the object being
19353 # linked, so don't bother handling this case.
19356 if test -z "$postdeps_CXX"; then
19357 postdeps_CXX
="${prev}${p}"
19359 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19365 # This assumes that the test object file only shows up
19366 # once in the compiler output.
19367 if test "$p" = "conftest.$objext"; then
19368 pre_test_object_deps_done
=yes
19372 if test "$pre_test_object_deps_done" = no
; then
19373 if test -z "$predep_objects_CXX"; then
19374 predep_objects_CXX
="$p"
19376 predep_objects_CXX
="$predep_objects_CXX $p"
19379 if test -z "$postdep_objects_CXX"; then
19380 postdep_objects_CXX
="$p"
19382 postdep_objects_CXX
="$postdep_objects_CXX $p"
19387 *) ;; # Ignore the rest.
19395 echo "libtool.m4: error: problem compiling CXX test program"
19398 $rm -f confest.
$objext
19400 # PORTME: override above test on systems where it is broken
19403 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19404 # hack all around it, let's just trust "g++" to DTRT.
19405 predep_objects_CXX
=
19406 postdep_objects_CXX
=
19411 case $cc_basename in
19413 # Adding this requires a known-good setup of shared libraries for
19414 # Sun compiler versions before 5.6, else PIC objects from an old
19415 # archive will be linked into the output, leading to subtle bugs.
19416 postdeps_CXX
='-lCstd -lCrun'
19423 case " $postdeps_CXX " in
19424 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19427 lt_prog_compiler_wl_CXX
=
19428 lt_prog_compiler_pic_CXX
=
19429 lt_prog_compiler_static_CXX
=
19431 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19432 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19434 # C++ specific cases for pic, static, wl, etc.
19435 if test "$GXX" = yes; then
19436 lt_prog_compiler_wl_CXX
='-Wl,'
19437 lt_prog_compiler_static_CXX
='-static'
19441 # All AIX code is PIC.
19442 if test "$host_cpu" = ia64
; then
19443 # AIX 5 now supports IA64 processor
19444 lt_prog_compiler_static_CXX
='-Bstatic'
19448 # FIXME: we need at least 68020 code to build shared libraries, but
19449 # adding the `-m68020' flag to GCC prevents building anything better,
19451 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19453 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19454 # PIC is the default for these OSes.
19456 mingw
* | os2
* | pw32
*)
19457 # This hack is so that the source file can tell whether it is being
19458 # built for inclusion in a dll (and should export symbols for example).
19459 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19461 darwin
* | rhapsody
*)
19462 # PIC is the default on this platform
19463 # Common symbols not allowed in MH_DYLIB files
19464 lt_prog_compiler_pic_CXX
='-fno-common'
19467 # DJGPP does not support shared libraries at all
19468 lt_prog_compiler_pic_CXX
=
19471 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19472 # Instead, we relocate shared libraries at runtime.
19475 if test -d /usr
/nec
; then
19476 lt_prog_compiler_pic_CXX
=-Kconform_pic
19480 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19481 # not for PA HP-UX.
19486 lt_prog_compiler_pic_CXX
='-fPIC'
19491 lt_prog_compiler_pic_CXX
='-fPIC'
19497 # All AIX code is PIC.
19498 if test "$host_cpu" = ia64
; then
19499 # AIX 5 now supports IA64 processor
19500 lt_prog_compiler_static_CXX
='-Bstatic'
19502 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19506 case $cc_basename in
19508 # Green Hills C++ Compiler
19509 # _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"
19514 # PIC is the default on this platform
19515 # Common symbols not allowed in MH_DYLIB files
19516 case $cc_basename in
19518 lt_prog_compiler_pic_CXX
='-qnocommon'
19519 lt_prog_compiler_wl_CXX
='-Wl,'
19524 case $cc_basename in
19526 lt_prog_compiler_pic_CXX
='-KPIC'
19529 # Green Hills C++ Compiler
19530 lt_prog_compiler_pic_CXX
='-pic'
19536 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19537 # FreeBSD uses GNU C++
19539 hpux9
* | hpux10
* | hpux11
*)
19540 case $cc_basename in
19542 lt_prog_compiler_wl_CXX
='-Wl,'
19543 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19544 if test "$host_cpu" != ia64
; then
19545 lt_prog_compiler_pic_CXX
='+Z'
19549 lt_prog_compiler_wl_CXX
='-Wl,'
19550 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19556 lt_prog_compiler_pic_CXX
='+Z'
19565 # This is c89, which is MS Visual C++ (no shared libs)
19566 # Anyone wants to do a port?
19568 irix5
* | irix6
* | nonstopux
*)
19569 case $cc_basename in
19571 lt_prog_compiler_wl_CXX
='-Wl,'
19572 lt_prog_compiler_static_CXX
='-non_shared'
19573 # CC pic flag -KPIC is the default.
19580 case $cc_basename in
19583 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19584 lt_prog_compiler_pic_CXX
='-fPIC'
19588 lt_prog_compiler_wl_CXX
='-Wl,'
19589 lt_prog_compiler_pic_CXX
='-KPIC'
19590 lt_prog_compiler_static_CXX
='-static'
19593 # Portland Group C++ compiler.
19594 lt_prog_compiler_wl_CXX
='-Wl,'
19595 lt_prog_compiler_pic_CXX
='-fpic'
19596 lt_prog_compiler_static_CXX
='-Bstatic'
19600 # Make sure the PIC flag is empty. It appears that all Alpha
19601 # Linux and Compaq Tru64 Unix objects are PIC.
19602 lt_prog_compiler_pic_CXX
=
19603 lt_prog_compiler_static_CXX
='-non_shared'
19614 case $cc_basename in
19616 lt_prog_compiler_pic_CXX
='-W c,exportall'
19624 osf3
* | osf4
* | osf5
*)
19625 case $cc_basename in
19627 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19630 # Rational C++ 2.4.1
19631 lt_prog_compiler_pic_CXX
='-pic'
19634 # Digital/Compaq C++
19635 lt_prog_compiler_wl_CXX
='-Wl,'
19636 # Make sure the PIC flag is empty. It appears that all Alpha
19637 # Linux and Compaq Tru64 Unix objects are PIC.
19638 lt_prog_compiler_pic_CXX
=
19639 lt_prog_compiler_static_CXX
='-non_shared'
19648 case $cc_basename in
19650 # Sun C++ 4.2, 5.x and Centerline C++
19651 lt_prog_compiler_pic_CXX
='-KPIC'
19652 lt_prog_compiler_static_CXX
='-Bstatic'
19653 lt_prog_compiler_wl_CXX
='-Qoption ld '
19656 # Green Hills C++ Compiler
19657 lt_prog_compiler_pic_CXX
='-PIC'
19664 case $cc_basename in
19667 lt_prog_compiler_pic_CXX
='-pic'
19668 lt_prog_compiler_static_CXX
='-Bstatic'
19672 lt_prog_compiler_pic_CXX
='-pic'
19679 case $cc_basename in
19681 # NonStop-UX NCC 3.20
19682 lt_prog_compiler_pic_CXX
='-KPIC'
19688 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19689 case $cc_basename in
19691 lt_prog_compiler_wl_CXX
='-Wl,'
19692 lt_prog_compiler_pic_CXX
='-KPIC'
19693 lt_prog_compiler_static_CXX
='-Bstatic'
19700 lt_prog_compiler_can_build_shared_CXX
=no
19705 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19706 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19709 # Check to make sure the PIC flag actually works.
19711 if test -n "$lt_prog_compiler_pic_CXX"; then
19713 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19714 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19715 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 lt_prog_compiler_pic_works_CXX
=no
19719 ac_outfile
=conftest.
$ac_objext
19720 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19721 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19722 # Insert the option either (1) after the last *FLAGS variable, or
19723 # (2) before a word containing "conftest.", or (3) at the end.
19724 # Note that $ac_compile itself does not contain backslashes and begins
19725 # with a dollar sign (not a hyphen), so the echo should work correctly.
19726 # The option is referenced via a variable to avoid confusing sed.
19727 lt_compile
=`echo "$ac_compile" | $SED \
19728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19730 -e 's:$: $lt_compiler_flag:'`
19731 (eval echo "\"\$as_me:19717: $lt_compile\"" >&5)
19732 (eval "$lt_compile" 2>conftest.err
)
19734 cat conftest.err
>&5
19735 echo "$as_me:19721: \$? = $ac_status" >&5
19736 if (exit $ac_status) && test -s "$ac_outfile"; then
19737 # The compiler can only warn and ignore the option if not recognized
19738 # So say no if there are warnings other than the usual output.
19739 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19740 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19741 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19742 lt_prog_compiler_pic_works_CXX
=yes
19748 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19749 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19751 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19752 case $lt_prog_compiler_pic_CXX in
19754 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19757 lt_prog_compiler_pic_CXX
=
19758 lt_prog_compiler_can_build_shared_CXX
=no
19763 # For platforms which do not support PIC, -DPIC is meaningless:
19765 lt_prog_compiler_pic_CXX
=
19768 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19773 # Check to make sure the static flag actually works.
19775 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19776 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19777 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19778 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 lt_prog_compiler_static_works_CXX
=no
19782 save_LDFLAGS
="$LDFLAGS"
19783 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19784 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19785 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19786 # The linker can only warn and ignore the option if not recognized
19787 # So say no if there are warnings
19788 if test -s conftest.err
; then
19789 # Append any errors to the config.log.
19790 cat conftest.err
1>&5
19791 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19792 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19793 if diff conftest.exp conftest.er2
>/dev
/null
; then
19794 lt_prog_compiler_static_works_CXX
=yes
19797 lt_prog_compiler_static_works_CXX
=yes
19801 LDFLAGS
="$save_LDFLAGS"
19804 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19805 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19807 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19810 lt_prog_compiler_static_CXX
=
19814 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19815 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19816 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 lt_cv_prog_compiler_c_o_CXX
=no
19820 $rm -r conftest
2>/dev
/null
19824 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19826 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19827 # Insert the option either (1) after the last *FLAGS variable, or
19828 # (2) before a word containing "conftest.", or (3) at the end.
19829 # Note that $ac_compile itself does not contain backslashes and begins
19830 # with a dollar sign (not a hyphen), so the echo should work correctly.
19831 lt_compile
=`echo "$ac_compile" | $SED \
19832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19834 -e 's:$: $lt_compiler_flag:'`
19835 (eval echo "\"\$as_me:19821: $lt_compile\"" >&5)
19836 (eval "$lt_compile" 2>out
/conftest.err
)
19838 cat out
/conftest.err
>&5
19839 echo "$as_me:19825: \$? = $ac_status" >&5
19840 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19842 # The compiler can only warn and ignore the option if not recognized
19843 # So say no if there are warnings
19844 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19845 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19846 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19847 lt_cv_prog_compiler_c_o_CXX
=yes
19852 # SGI C++ compiler will create directory out/ii_files/ for
19853 # template instantiation
19854 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19855 $rm out
/* && rmdir out
19861 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19862 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19865 hard_links
="nottested"
19866 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19867 # do not overwrite the value of need_locks provided by the user
19868 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19869 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19872 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19874 ln conftest.a conftest.b
2>&5 || hard_links
=no
19875 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19876 { echo "$as_me:$LINENO: result: $hard_links" >&5
19877 echo "${ECHO_T}$hard_links" >&6; }
19878 if test "$hard_links" = no
; then
19879 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19880 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19887 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19888 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19890 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19893 # If we're using GNU nm, then we don't want the "-C" option.
19894 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19895 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19896 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'
19898 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'
19902 export_symbols_cmds_CXX
="$ltdll_cmds"
19905 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'
19908 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19912 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19913 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19914 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19917 # Do we need to explicitly link libc?
19919 case "x$archive_cmds_need_lc_CXX" in
19921 # Assume -lc should be added
19922 archive_cmds_need_lc_CXX
=yes
19924 if test "$enable_shared" = yes && test "$GCC" = yes; then
19925 case $archive_cmds_CXX in
19927 # FIXME: we may have to deal with multi-command sequences.
19930 # Test whether the compiler implicitly links with -lc since on some
19931 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19932 # to ld, don't add -lc before -lgcc.
19933 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19934 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19936 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19939 (eval $ac_compile) 2>&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); } 2>conftest.err
; then
19945 libobjs
=conftest.
$ac_objext
19947 wl
=$lt_prog_compiler_wl_CXX
19948 pic_flag
=$lt_prog_compiler_pic_CXX
19954 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19955 allow_undefined_flag_CXX
=
19956 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19957 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }
19962 archive_cmds_need_lc_CXX
=no
19964 archive_cmds_need_lc_CXX
=yes
19966 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19968 cat conftest.err
1>&5
19971 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19972 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19979 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19980 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19981 library_names_spec
=
19982 libname_spec
='lib$name'
19986 postuninstall_cmds
=
19990 shlibpath_overrides_runpath
=unknown
19992 dynamic_linker
="$host_os ld.so"
19993 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19994 if test "$GCC" = yes; then
19995 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19996 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19997 # if the path contains ";" then we assume it to be the separator
19998 # otherwise default to the standard path separator (i.e. ":") - it is
19999 # assumed that no part of a normal pathname contains ";" but that should
20000 # okay in the real world where ";" in dirpaths is itself problematic.
20001 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20003 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20006 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
20008 need_lib_prefix
=unknown
20009 hardcode_into_libs
=no
20011 # when you set need_version to no, make sure it does not cause -set_version
20012 # flags to be left without arguments
20013 need_version
=unknown
20018 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20019 shlibpath_var
=LIBPATH
20021 # AIX 3 has no versioning support, so we append a major version to the name.
20022 soname_spec
='${libname}${release}${shared_ext}$major'
20029 hardcode_into_libs
=yes
20030 if test "$host_cpu" = ia64
; then
20031 # AIX 5 supports IA64
20032 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20033 shlibpath_var
=LD_LIBRARY_PATH
20035 # With GCC up to 2.95.x, collect2 would create an import file
20036 # for dependence libraries. The import file would start with
20037 # the line `#! .'. This would cause the generated library to
20038 # depend on `.', always an invalid library. This was fixed in
20039 # development snapshots of GCC prior to 3.0.
20041 aix4 | aix4.
[01] | aix4.
[01].
*)
20042 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20044 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20047 can_build_shared
=no
20051 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20052 # soname into executable. Probably we can add versioning support to
20053 # collect2, so additional links can be useful in future.
20054 if test "$aix_use_runtimelinking" = yes; then
20055 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20056 # instead of lib<name>.a to let people know that these are not
20057 # typical AIX shared libraries.
20058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20060 # We preserve .a as extension for shared libraries through AIX4.2
20061 # and later when we are not doing run time linking.
20062 library_names_spec
='${libname}${release}.a $libname.a'
20063 soname_spec
='${libname}${release}${shared_ext}$major'
20065 shlibpath_var
=LIBPATH
20070 library_names_spec
='$libname.ixlibrary $libname.a'
20071 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20072 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'
20076 library_names_spec
='${libname}${shared_ext}'
20077 dynamic_linker
="$host_os ld.so"
20078 shlibpath_var
=LIBRARY_PATH
20084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20085 soname_spec
='${libname}${release}${shared_ext}$major'
20086 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20087 shlibpath_var
=LD_LIBRARY_PATH
20088 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20089 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20090 # the default ld.so.conf also contains /usr/contrib/lib and
20091 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20092 # libtool to hard-code these into programs
20095 cygwin
* | mingw
* | pw32
*)
20096 version_type
=windows
20101 case $GCC,$host_os in
20102 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20103 library_names_spec
='$libname.dll.a'
20104 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20105 postinstall_cmds
='base_file=`basename \${file}`~
20106 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20107 dldir=$destdir/`dirname \$dlpath`~
20108 test -d \$dldir || mkdir -p \$dldir~
20109 $install_prog $dir/$dlname \$dldir/$dlname~
20110 chmod a+x \$dldir/$dlname'
20111 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20112 dlpath=$dir/\$dldll~
20114 shlibpath_overrides_runpath
=yes
20118 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20119 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20120 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20123 # MinGW DLLs use traditional 'lib' prefix
20124 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20125 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20126 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20127 # It is most probably a Windows format PATH printed by
20128 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20129 # path with ; separators, and with drive letters. We can handle the
20130 # drive letters (cygwin fileutils understands them), so leave them,
20131 # especially as we might pass files found there to a mingw objdump,
20132 # which wouldn't understand a cygwinified path. Ahh.
20133 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20135 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20139 # pw32 DLLs use 'pw' prefix rather than 'lib'
20140 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20146 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20149 dynamic_linker
='Win32 ld.exe'
20150 # FIXME: first we should search . and the directory the executable is in
20154 darwin
* | rhapsody
*)
20155 dynamic_linker
="$host_os dyld"
20156 version_type
=darwin
20159 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20160 soname_spec
='${libname}${release}${major}$shared_ext'
20161 shlibpath_overrides_runpath
=yes
20162 shlibpath_var
=DYLD_LIBRARY_PATH
20163 shrext_cmds
='.dylib'
20164 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20165 if test "$GCC" = yes; then
20166 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"`
20168 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20170 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20178 soname_spec
='${libname}${release}${shared_ext}$major'
20179 shlibpath_var
=LD_LIBRARY_PATH
20190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20191 soname_spec
='${libname}${release}${shared_ext}$major'
20192 shlibpath_var
=LD_LIBRARY_PATH
20193 shlibpath_overrides_runpath
=no
20194 hardcode_into_libs
=yes
20195 dynamic_linker
='GNU ld.so'
20198 freebsd
* | dragonfly
*)
20199 # DragonFly does not have aout. When/if they implement a new
20200 # versioning mechanism, adjust this.
20201 if test -x /usr
/bin
/objformat
; then
20202 objformat
=`/usr/bin/objformat`
20205 freebsd
[123]*) objformat
=aout
;;
20206 *) objformat
=elf
;;
20209 version_type
=freebsd-
$objformat
20210 case $version_type in
20212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20217 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20221 shlibpath_var
=LD_LIBRARY_PATH
20224 shlibpath_overrides_runpath
=yes
20226 freebsd3.
[01]* | freebsdelf3.
[01]*)
20227 shlibpath_overrides_runpath
=yes
20228 hardcode_into_libs
=yes
20230 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20231 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20232 shlibpath_overrides_runpath
=no
20233 hardcode_into_libs
=yes
20235 freebsd
*) # from 4.6 on
20236 shlibpath_overrides_runpath
=yes
20237 hardcode_into_libs
=yes
20246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20247 soname_spec
='${libname}${release}${shared_ext}$major'
20248 shlibpath_var
=LD_LIBRARY_PATH
20249 hardcode_into_libs
=yes
20252 hpux9
* | hpux10
* | hpux11
*)
20253 # Give a soname corresponding to the major version so that dld.sl refuses to
20254 # link against other versions.
20261 hardcode_into_libs
=yes
20262 dynamic_linker
="$host_os dld.so"
20263 shlibpath_var
=LD_LIBRARY_PATH
20264 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20266 soname_spec
='${libname}${release}${shared_ext}$major'
20267 if test "X$HPUX_IA64_MODE" = X32
; then
20268 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20270 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20272 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20276 hardcode_into_libs
=yes
20277 dynamic_linker
="$host_os dld.sl"
20278 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20279 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20281 soname_spec
='${libname}${release}${shared_ext}$major'
20282 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20283 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20287 dynamic_linker
="$host_os dld.sl"
20288 shlibpath_var
=SHLIB_PATH
20289 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20291 soname_spec
='${libname}${release}${shared_ext}$major'
20294 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20295 postinstall_cmds
='chmod 555 $lib'
20302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20303 soname_spec
='${libname}${release}${shared_ext}$major'
20304 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20305 shlibpath_var
=LD_LIBRARY_PATH
20306 shlibpath_overrides_runpath
=no
20307 hardcode_into_libs
=yes
20310 irix5
* | irix6
* | nonstopux
*)
20312 nonstopux
*) version_type
=nonstopux
;;
20314 if test "$lt_cv_prog_gnu_ld" = yes; then
20322 soname_spec
='${libname}${release}${shared_ext}$major'
20323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20325 irix5
* | nonstopux
*)
20326 libsuff
= shlibsuff
=
20329 case $LD in # libtool.m4 will add one of these switches to LD
20330 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20331 libsuff
= shlibsuff
= libmagic
=32-bit;;
20332 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20333 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20334 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20335 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20336 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20340 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20341 shlibpath_overrides_runpath
=no
20342 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20343 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20344 hardcode_into_libs
=yes
20347 # No shared lib support for Linux oldld, aout, or coff.
20348 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20352 # This must be Linux ELF.
20357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20358 soname_spec
='${libname}${release}${shared_ext}$major'
20359 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20360 shlibpath_var
=LD_LIBRARY_PATH
20361 shlibpath_overrides_runpath
=no
20362 # This implies no fast_install, which is unacceptable.
20363 # Some rework will be needed to allow for fast_install
20364 # before this can be enabled.
20365 hardcode_into_libs
=yes
20367 # Append ld.so.conf contents to the search path
20368 if test -f /etc
/ld.so.conf
; then
20369 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' ' '`
20370 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20373 # We used to test for /lib/ld.so.1 and disable shared libraries on
20374 # powerpc, because MkLinux only supported shared libraries with the
20375 # GNU dynamic linker. Since this was broken with cross compilers,
20376 # most powerpc-linux boxes support dynamic linking these days and
20377 # people can always --disable-shared, the test was removed, and we
20378 # assume the GNU/Linux dynamic linker is in use.
20379 dynamic_linker
='GNU/Linux ld.so'
20386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20387 soname_spec
='${libname}${release}${shared_ext}$major'
20388 shlibpath_var
=LD_LIBRARY_PATH
20389 shlibpath_overrides_runpath
=no
20390 hardcode_into_libs
=yes
20391 dynamic_linker
='GNU ld.so'
20398 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20400 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20401 dynamic_linker
='NetBSD (a.out) ld.so'
20403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20404 soname_spec
='${libname}${release}${shared_ext}$major'
20405 dynamic_linker
='NetBSD ld.elf_so'
20407 shlibpath_var
=LD_LIBRARY_PATH
20408 shlibpath_overrides_runpath
=yes
20409 hardcode_into_libs
=yes
20414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20415 shlibpath_var
=LD_LIBRARY_PATH
20416 shlibpath_overrides_runpath
=yes
20423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20424 soname_spec
='${libname}${release}${shared_ext}$major'
20425 shlibpath_var
=LD_LIBRARY_PATH
20426 shlibpath_overrides_runpath
=yes
20431 sys_lib_dlsearch_path_spec
="/usr/lib"
20433 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20435 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20436 *) need_version
=no
;;
20438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20439 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20440 shlibpath_var
=LD_LIBRARY_PATH
20441 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20443 openbsd2.
[89] | openbsd2.
[89].
*)
20444 shlibpath_overrides_runpath
=no
20447 shlibpath_overrides_runpath
=yes
20451 shlibpath_overrides_runpath
=yes
20456 libname_spec
='$name'
20459 library_names_spec
='$libname${shared_ext} $libname.a'
20460 dynamic_linker
='OS/2 ld.exe'
20461 shlibpath_var
=LIBPATH
20464 osf3
* | osf4
* | osf5
*)
20468 soname_spec
='${libname}${release}${shared_ext}$major'
20469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20470 shlibpath_var
=LD_LIBRARY_PATH
20471 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20472 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20480 soname_spec
='${libname}${release}${shared_ext}$major'
20481 shlibpath_var
=LD_LIBRARY_PATH
20482 shlibpath_overrides_runpath
=yes
20483 hardcode_into_libs
=yes
20484 # ldd complains unless libraries are executable
20485 postinstall_cmds
='chmod +x $lib'
20490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20491 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20492 shlibpath_var
=LD_LIBRARY_PATH
20493 shlibpath_overrides_runpath
=yes
20494 if test "$with_gnu_ld" = yes; then
20502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20503 soname_spec
='${libname}${release}${shared_ext}$major'
20504 shlibpath_var
=LD_LIBRARY_PATH
20505 case $host_vendor in
20507 shlibpath_overrides_runpath
=no
20509 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20510 runpath_var
=LD_RUN_PATH
20518 shlibpath_overrides_runpath
=no
20519 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20525 if test -d /usr
/nec
;then
20527 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20528 soname_spec
='$libname${shared_ext}.$major'
20529 shlibpath_var
=LD_LIBRARY_PATH
20533 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20534 version_type
=freebsd-elf
20537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20538 soname_spec
='${libname}${release}${shared_ext}$major'
20539 shlibpath_var
=LD_LIBRARY_PATH
20540 hardcode_into_libs
=yes
20541 if test "$with_gnu_ld" = yes; then
20542 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20543 shlibpath_overrides_runpath
=no
20545 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20546 shlibpath_overrides_runpath
=yes
20549 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20553 sys_lib_dlsearch_path_spec
='/usr/lib'
20558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20559 soname_spec
='${libname}${release}${shared_ext}$major'
20560 shlibpath_var
=LD_LIBRARY_PATH
20567 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20568 echo "${ECHO_T}$dynamic_linker" >&6; }
20569 test "$dynamic_linker" = no
&& can_build_shared
=no
20571 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20572 if test "$GCC" = yes; then
20573 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20576 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20577 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20578 hardcode_action_CXX
=
20579 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20580 test -n "$runpath_var_CXX" || \
20581 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20583 # We can hardcode non-existant directories.
20584 if test "$hardcode_direct_CXX" != no
&&
20585 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20586 # have to relink, otherwise we might link with an installed library
20587 # when we should be linking with a yet-to-be-installed one
20588 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20589 test "$hardcode_minus_L_CXX" != no
; then
20590 # Linking always hardcodes the temporary library directory.
20591 hardcode_action_CXX
=relink
20593 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20594 hardcode_action_CXX
=immediate
20597 # We cannot hardcode anything, or else we can only hardcode existing
20599 hardcode_action_CXX
=unsupported
20601 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20602 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20604 if test "$hardcode_action_CXX" = relink
; then
20605 # Fast installation is not supported
20606 enable_fast_install
=no
20607 elif test "$shlibpath_overrides_runpath" = yes ||
20608 test "$enable_shared" = no
; then
20609 # Fast installation is not necessary
20610 enable_fast_install
=needless
20614 # The else clause should only fire when bootstrapping the
20615 # libtool distribution, otherwise you forgot to ship ltmain.sh
20616 # with your package, and you will get complaints that there are
20617 # no rules to generate ltmain.sh.
20618 if test -f "$ltmain"; then
20619 # See if we are running on zsh, and set the options which allow our commands through
20620 # without removal of \ escapes.
20621 if test -n "${ZSH_VERSION+set}" ; then
20622 setopt NO_GLOB_SUBST
20624 # Now quote all the things that may contain metacharacters while being
20625 # careful not to overquote the AC_SUBSTed values. We take copies of the
20626 # variables and quote the copies for generation of the libtool script.
20627 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20629 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20630 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20631 deplibs_check_method reload_flag reload_cmds need_locks \
20632 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20633 lt_cv_sys_global_symbol_to_c_name_address \
20634 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20635 old_postinstall_cmds old_postuninstall_cmds \
20639 lt_prog_compiler_wl_CXX \
20640 lt_prog_compiler_pic_CXX \
20641 lt_prog_compiler_static_CXX \
20642 lt_prog_compiler_no_builtin_flag_CXX \
20643 export_dynamic_flag_spec_CXX \
20644 thread_safe_flag_spec_CXX \
20645 whole_archive_flag_spec_CXX \
20646 enable_shared_with_static_runtimes_CXX \
20647 old_archive_cmds_CXX \
20648 old_archive_from_new_cmds_CXX \
20649 predep_objects_CXX \
20650 postdep_objects_CXX \
20653 compiler_lib_search_path_CXX \
20655 archive_expsym_cmds_CXX \
20656 postinstall_cmds_CXX \
20657 postuninstall_cmds_CXX \
20658 old_archive_from_expsyms_cmds_CXX \
20659 allow_undefined_flag_CXX \
20660 no_undefined_flag_CXX \
20661 export_symbols_cmds_CXX \
20662 hardcode_libdir_flag_spec_CXX \
20663 hardcode_libdir_flag_spec_ld_CXX \
20664 hardcode_libdir_separator_CXX \
20665 hardcode_automatic_CXX \
20667 module_expsym_cmds_CXX \
20668 lt_cv_prog_compiler_c_o_CXX \
20669 exclude_expsyms_CXX \
20670 include_expsyms_CXX
; do
20673 old_archive_cmds_CXX | \
20674 old_archive_from_new_cmds_CXX | \
20675 archive_cmds_CXX | \
20676 archive_expsym_cmds_CXX | \
20677 module_cmds_CXX | \
20678 module_expsym_cmds_CXX | \
20679 old_archive_from_expsyms_cmds_CXX | \
20680 export_symbols_cmds_CXX | \
20681 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20682 postinstall_cmds | postuninstall_cmds | \
20683 old_postinstall_cmds | old_postuninstall_cmds | \
20684 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20685 # Double-quote double-evaled strings.
20686 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20689 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20695 *'\$0 --fallback-echo"')
20696 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20702 cat <<__EOF__ >> "$cfgfile"
20703 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20705 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20707 # Shell to use when invoking shell scripts.
20710 # Whether or not to build shared libraries.
20711 build_libtool_libs=$enable_shared
20713 # Whether or not to build static libraries.
20714 build_old_libs=$enable_static
20716 # Whether or not to add -lc for building shared libraries.
20717 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20719 # Whether or not to disallow shared libs when runtime libs are static
20720 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20722 # Whether or not to optimize for fast installation.
20723 fast_install=$enable_fast_install
20726 host_alias=$host_alias
20730 # The build system.
20731 build_alias=$build_alias
20735 # An echo program that does not interpret backslashes.
20740 AR_FLAGS=$lt_AR_FLAGS
20745 # LTCC compiler flags.
20746 LTCFLAGS=$lt_LTCFLAGS
20748 # A language-specific compiler.
20749 CC=$lt_compiler_CXX
20751 # Is the compiler the GNU C compiler?
20757 # The linker used to build libraries.
20760 # Whether we need hard or soft links.
20763 # A BSD-compatible nm program.
20766 # A symbol stripping program
20769 # Used to examine libraries when file_magic_cmd begins "file"
20770 MAGIC_CMD=$MAGIC_CMD
20772 # Used on cygwin: DLL creation program.
20775 # Used on cygwin: object dumper.
20778 # Used on cygwin: assembler.
20781 # The name of the directory that contains temporary libtool files.
20784 # How to create reloadable object files.
20785 reload_flag=$lt_reload_flag
20786 reload_cmds=$lt_reload_cmds
20788 # How to pass a linker flag through the compiler.
20789 wl=$lt_lt_prog_compiler_wl_CXX
20791 # Object file suffix (normally "o").
20792 objext="$ac_objext"
20794 # Old archive suffix (normally "a").
20797 # Shared library suffix (normally ".so").
20798 shrext_cmds='$shrext_cmds'
20800 # Executable file suffix (normally "").
20803 # Additional compiler flags for building library objects.
20804 pic_flag=$lt_lt_prog_compiler_pic_CXX
20807 # What is the maximum length of a command?
20808 max_cmd_len=$lt_cv_sys_max_cmd_len
20810 # Does compiler simultaneously support -c and -o options?
20811 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20813 # Must we lock files when doing compilation?
20814 need_locks=$lt_need_locks
20816 # Do we need the lib prefix for modules?
20817 need_lib_prefix=$need_lib_prefix
20819 # Do we need a version for libraries?
20820 need_version=$need_version
20822 # Whether dlopen is supported.
20823 dlopen_support=$enable_dlopen
20825 # Whether dlopen of programs is supported.
20826 dlopen_self=$enable_dlopen_self
20828 # Whether dlopen of statically linked programs is supported.
20829 dlopen_self_static=$enable_dlopen_self_static
20831 # Compiler flag to prevent dynamic linking.
20832 link_static_flag=$lt_lt_prog_compiler_static_CXX
20834 # Compiler flag to turn off builtin functions.
20835 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20837 # Compiler flag to allow reflexive dlopens.
20838 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20840 # Compiler flag to generate shared objects directly from archives.
20841 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20843 # Compiler flag to generate thread-safe objects.
20844 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20846 # Library versioning type.
20847 version_type=$version_type
20849 # Format of library name prefix.
20850 libname_spec=$lt_libname_spec
20852 # List of archive names. First name is the real one, the rest are links.
20853 # The last name is the one that the linker finds with -lNAME.
20854 library_names_spec=$lt_library_names_spec
20856 # The coded name of the library, if different from the real name.
20857 soname_spec=$lt_soname_spec
20859 # Commands used to build and install an old-style archive.
20861 old_archive_cmds=$lt_old_archive_cmds_CXX
20862 old_postinstall_cmds=$lt_old_postinstall_cmds
20863 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20865 # Create an old-style archive from a shared archive.
20866 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20868 # Create a temporary old-style archive to link instead of a shared archive.
20869 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20871 # Commands used to build and install a shared archive.
20872 archive_cmds=$lt_archive_cmds_CXX
20873 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20874 postinstall_cmds=$lt_postinstall_cmds
20875 postuninstall_cmds=$lt_postuninstall_cmds
20877 # Commands used to build a loadable module (assumed same as above if empty)
20878 module_cmds=$lt_module_cmds_CXX
20879 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20881 # Commands to strip libraries.
20882 old_striplib=$lt_old_striplib
20883 striplib=$lt_striplib
20885 # Dependencies to place before the objects being linked to create a
20887 predep_objects=$lt_predep_objects_CXX
20889 # Dependencies to place after the objects being linked to create a
20891 postdep_objects=$lt_postdep_objects_CXX
20893 # Dependencies to place before the objects being linked to create a
20895 predeps=$lt_predeps_CXX
20897 # Dependencies to place after the objects being linked to create a
20899 postdeps=$lt_postdeps_CXX
20901 # The library search path used internally by the compiler when linking
20902 # a shared library.
20903 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20905 # Method to check whether dependent libraries are shared objects.
20906 deplibs_check_method=$lt_deplibs_check_method
20908 # Command to use when deplibs_check_method == file_magic.
20909 file_magic_cmd=$lt_file_magic_cmd
20911 # Flag that allows shared libraries with undefined symbols to be built.
20912 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20914 # Flag that forces no undefined symbols.
20915 no_undefined_flag=$lt_no_undefined_flag_CXX
20917 # Commands used to finish a libtool library installation in a directory.
20918 finish_cmds=$lt_finish_cmds
20920 # Same as above, but a single script fragment to be evaled but not shown.
20921 finish_eval=$lt_finish_eval
20923 # Take the output of nm and produce a listing of raw symbols and C names.
20924 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20926 # Transform the output of nm in a proper C declaration
20927 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20929 # Transform the output of nm in a C name address pair
20930 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20932 # This is the shared library runtime path variable.
20933 runpath_var=$runpath_var
20935 # This is the shared library path variable.
20936 shlibpath_var=$shlibpath_var
20938 # Is shlibpath searched before the hard-coded library search path?
20939 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20941 # How to hardcode a shared library path into an executable.
20942 hardcode_action=$hardcode_action_CXX
20944 # Whether we should hardcode library paths into libraries.
20945 hardcode_into_libs=$hardcode_into_libs
20947 # Flag to hardcode \$libdir into a binary during linking.
20948 # This must work even if \$libdir does not exist.
20949 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20951 # If ld is used when linking, flag to hardcode \$libdir into
20952 # a binary during linking. This must work even if \$libdir does
20954 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20956 # Whether we need a single -rpath flag with a separated argument.
20957 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20959 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20960 # resulting binary.
20961 hardcode_direct=$hardcode_direct_CXX
20963 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20964 # resulting binary.
20965 hardcode_minus_L=$hardcode_minus_L_CXX
20967 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20968 # the resulting binary.
20969 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20971 # Set to yes if building a shared library automatically hardcodes DIR into the library
20972 # and all subsequent libraries and executables linked against it.
20973 hardcode_automatic=$hardcode_automatic_CXX
20975 # Variables whose values should be saved in libtool wrapper scripts and
20976 # restored at relink time.
20977 variables_saved_for_relink="$variables_saved_for_relink"
20979 # Whether libtool must link a program against all its dependency libraries.
20980 link_all_deplibs=$link_all_deplibs_CXX
20982 # Compile-time system search path for libraries
20983 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20985 # Run-time system search path for libraries
20986 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20988 # Fix the shell variable \$srcfile for the compiler.
20989 fix_srcfile_path="$fix_srcfile_path_CXX"
20991 # Set to yes if exported symbols are required.
20992 always_export_symbols=$always_export_symbols_CXX
20994 # The commands to list exported symbols.
20995 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20997 # The commands to extract the exported symbol list from a shared archive.
20998 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21000 # Symbols that should not be listed in the preloaded symbols.
21001 exclude_expsyms=$lt_exclude_expsyms_CXX
21003 # Symbols that must always be exported.
21004 include_expsyms=$lt_include_expsyms_CXX
21006 # ### END LIBTOOL TAG CONFIG: $tagname
21012 # If there is no Makefile yet, we rely on a make rule to execute
21013 # `config.status --recheck' to rerun these tests and create the
21014 # libtool script then.
21015 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21016 if test -f "$ltmain_in"; then
21017 test -f Makefile
&& make "$ltmain"
21023 ac_cpp
='$CPP $CPPFLAGS'
21024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21032 with_gnu_ldcxx
=$with_gnu_ld
21033 with_gnu_ld
=$lt_save_with_gnu_ld
21034 lt_cv_path_LDCXX
=$lt_cv_path_LD
21035 lt_cv_path_LD
=$lt_save_path_LD
21036 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
21037 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
21045 if test -n "$F77" && test "X$F77" != "Xno"; then
21048 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21049 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21050 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
21053 archive_cmds_need_lc_F77
=no
21054 allow_undefined_flag_F77
=
21055 always_export_symbols_F77
=no
21056 archive_expsym_cmds_F77
=
21057 export_dynamic_flag_spec_F77
=
21058 hardcode_direct_F77
=no
21059 hardcode_libdir_flag_spec_F77
=
21060 hardcode_libdir_flag_spec_ld_F77
=
21061 hardcode_libdir_separator_F77
=
21062 hardcode_minus_L_F77
=no
21063 hardcode_automatic_F77
=no
21065 module_expsym_cmds_F77
=
21066 link_all_deplibs_F77
=unknown
21067 old_archive_cmds_F77
=$old_archive_cmds
21068 no_undefined_flag_F77
=
21069 whole_archive_flag_spec_F77
=
21070 enable_shared_with_static_runtimes_F77
=no
21072 # Source file extension for f77 test sources.
21075 # Object file extension for compiled f77 test sources.
21079 # Code to be used in simple compile tests
21080 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
21082 # Code to be used in simple link tests
21083 lt_simple_link_test_code
=" program t\n end\n"
21085 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21087 # If no C compiler was specified, use CC.
21090 # If no C compiler flags were specified, use CFLAGS.
21091 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21093 # Allow CC to be a program name with arguments.
21097 # save warnings/boilerplate of simple test code
21098 ac_outfile
=conftest.
$ac_objext
21099 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
21100 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21101 _lt_compiler_boilerplate
=`cat conftest.err`
21104 ac_outfile
=conftest.
$ac_objext
21105 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
21106 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21107 _lt_linker_boilerplate
=`cat conftest.err`
21111 # Allow CC to be a program name with arguments.
21116 for cc_temp
in $compiler""; do
21118 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21119 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21124 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21127 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21128 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21129 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21130 echo "${ECHO_T}$can_build_shared" >&6; }
21132 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21133 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21134 test "$can_build_shared" = "no" && enable_shared
=no
21136 # On AIX, shared libraries and static libraries use the same namespace, and
21137 # are all built from PIC.
21140 test "$enable_shared" = yes && enable_static
=no
21141 if test -n "$RANLIB"; then
21142 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
21143 postinstall_cmds
='$RANLIB $lib'
21147 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
21148 test "$enable_shared" = yes && enable_static
=no
21152 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21153 echo "${ECHO_T}$enable_shared" >&6; }
21155 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21156 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21157 # Make sure either enable_shared or enable_static is yes.
21158 test "$enable_shared" = yes || enable_static
=yes
21159 { echo "$as_me:$LINENO: result: $enable_static" >&5
21160 echo "${ECHO_T}$enable_static" >&6; }
21165 lt_prog_compiler_wl_F77
=
21166 lt_prog_compiler_pic_F77
=
21167 lt_prog_compiler_static_F77
=
21169 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21170 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21172 if test "$GCC" = yes; then
21173 lt_prog_compiler_wl_F77
='-Wl,'
21174 lt_prog_compiler_static_F77
='-static'
21178 # All AIX code is PIC.
21179 if test "$host_cpu" = ia64
; then
21180 # AIX 5 now supports IA64 processor
21181 lt_prog_compiler_static_F77
='-Bstatic'
21186 # FIXME: we need at least 68020 code to build shared libraries, but
21187 # adding the `-m68020' flag to GCC prevents building anything better,
21189 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21192 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21193 # PIC is the default for these OSes.
21196 mingw
* | pw32
* | os2
*)
21197 # This hack is so that the source file can tell whether it is being
21198 # built for inclusion in a dll (and should export symbols for example).
21199 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21202 darwin
* | rhapsody
*)
21203 # PIC is the default on this platform
21204 # Common symbols not allowed in MH_DYLIB files
21205 lt_prog_compiler_pic_F77
='-fno-common'
21209 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21210 # Instead, we relocate shared libraries at runtime.
21214 # Just because we use GCC doesn't mean we suddenly get shared libraries
21215 # on systems that don't support them.
21216 lt_prog_compiler_can_build_shared_F77
=no
21221 if test -d /usr
/nec
; then
21222 lt_prog_compiler_pic_F77
=-Kconform_pic
21227 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21228 # not for PA HP-UX.
21234 lt_prog_compiler_pic_F77
='-fPIC'
21240 lt_prog_compiler_pic_F77
='-fPIC'
21244 # PORTME Check for flag to pass linker flags through the system compiler.
21247 lt_prog_compiler_wl_F77
='-Wl,'
21248 if test "$host_cpu" = ia64
; then
21249 # AIX 5 now supports IA64 processor
21250 lt_prog_compiler_static_F77
='-Bstatic'
21252 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21256 # PIC is the default on this platform
21257 # Common symbols not allowed in MH_DYLIB files
21258 case $cc_basename in
21260 lt_prog_compiler_pic_F77
='-qnocommon'
21261 lt_prog_compiler_wl_F77
='-Wl,'
21266 mingw
* | pw32
* | os2
*)
21267 # This hack is so that the source file can tell whether it is being
21268 # built for inclusion in a dll (and should export symbols for example).
21269 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21272 hpux9
* | hpux10
* | hpux11
*)
21273 lt_prog_compiler_wl_F77
='-Wl,'
21274 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21275 # not for PA HP-UX.
21281 lt_prog_compiler_pic_F77
='+Z'
21284 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21285 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21288 irix5
* | irix6
* | nonstopux
*)
21289 lt_prog_compiler_wl_F77
='-Wl,'
21290 # PIC (with -KPIC) is the default.
21291 lt_prog_compiler_static_F77
='-non_shared'
21295 lt_prog_compiler_pic_F77
='-KPIC'
21296 lt_prog_compiler_static_F77
='-Bstatic'
21300 case $cc_basename in
21302 lt_prog_compiler_wl_F77
='-Wl,'
21303 lt_prog_compiler_pic_F77
='-KPIC'
21304 lt_prog_compiler_static_F77
='-static'
21306 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21307 # Portland Group compilers (*not* the Pentium gcc compiler,
21308 # which looks to be a dead project)
21309 lt_prog_compiler_wl_F77
='-Wl,'
21310 lt_prog_compiler_pic_F77
='-fpic'
21311 lt_prog_compiler_static_F77
='-Bstatic'
21314 lt_prog_compiler_wl_F77
='-Wl,'
21315 # All Alpha code is PIC.
21316 lt_prog_compiler_static_F77
='-non_shared'
21321 osf3
* | osf4
* | osf5
*)
21322 lt_prog_compiler_wl_F77
='-Wl,'
21323 # All OSF/1 code is PIC.
21324 lt_prog_compiler_static_F77
='-non_shared'
21328 lt_prog_compiler_pic_F77
='-KPIC'
21329 lt_prog_compiler_static_F77
='-Bstatic'
21330 case $cc_basename in
21331 f77
* | f90
* | f95
*)
21332 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21334 lt_prog_compiler_wl_F77
='-Wl,';;
21339 lt_prog_compiler_wl_F77
='-Qoption ld '
21340 lt_prog_compiler_pic_F77
='-PIC'
21341 lt_prog_compiler_static_F77
='-Bstatic'
21344 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21345 lt_prog_compiler_wl_F77
='-Wl,'
21346 lt_prog_compiler_pic_F77
='-KPIC'
21347 lt_prog_compiler_static_F77
='-Bstatic'
21351 if test -d /usr
/nec
;then
21352 lt_prog_compiler_pic_F77
='-Kconform_pic'
21353 lt_prog_compiler_static_F77
='-Bstatic'
21357 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21358 lt_prog_compiler_wl_F77
='-Wl,'
21359 lt_prog_compiler_pic_F77
='-KPIC'
21360 lt_prog_compiler_static_F77
='-Bstatic'
21364 lt_prog_compiler_wl_F77
='-Wl,'
21365 lt_prog_compiler_can_build_shared_F77
=no
21369 lt_prog_compiler_pic_F77
='-pic'
21370 lt_prog_compiler_static_F77
='-Bstatic'
21374 lt_prog_compiler_can_build_shared_F77
=no
21379 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21380 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21383 # Check to make sure the PIC flag actually works.
21385 if test -n "$lt_prog_compiler_pic_F77"; then
21387 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21388 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21389 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21390 echo $ECHO_N "(cached) $ECHO_C" >&6
21392 lt_prog_compiler_pic_works_F77
=no
21393 ac_outfile
=conftest.
$ac_objext
21394 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21395 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21396 # Insert the option either (1) after the last *FLAGS variable, or
21397 # (2) before a word containing "conftest.", or (3) at the end.
21398 # Note that $ac_compile itself does not contain backslashes and begins
21399 # with a dollar sign (not a hyphen), so the echo should work correctly.
21400 # The option is referenced via a variable to avoid confusing sed.
21401 lt_compile
=`echo "$ac_compile" | $SED \
21402 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21404 -e 's:$: $lt_compiler_flag:'`
21405 (eval echo "\"\$as_me:21391: $lt_compile\"" >&5)
21406 (eval "$lt_compile" 2>conftest.err
)
21408 cat conftest.err
>&5
21409 echo "$as_me:21395: \$? = $ac_status" >&5
21410 if (exit $ac_status) && test -s "$ac_outfile"; then
21411 # The compiler can only warn and ignore the option if not recognized
21412 # So say no if there are warnings other than the usual output.
21413 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21414 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21415 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21416 lt_prog_compiler_pic_works_F77
=yes
21422 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21423 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21425 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21426 case $lt_prog_compiler_pic_F77 in
21428 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21431 lt_prog_compiler_pic_F77
=
21432 lt_prog_compiler_can_build_shared_F77
=no
21437 # For platforms which do not support PIC, -DPIC is meaningless:
21439 lt_prog_compiler_pic_F77
=
21442 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21447 # Check to make sure the static flag actually works.
21449 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21450 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21451 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21452 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21453 echo $ECHO_N "(cached) $ECHO_C" >&6
21455 lt_prog_compiler_static_works_F77
=no
21456 save_LDFLAGS
="$LDFLAGS"
21457 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21458 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21459 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21460 # The linker can only warn and ignore the option if not recognized
21461 # So say no if there are warnings
21462 if test -s conftest.err
; then
21463 # Append any errors to the config.log.
21464 cat conftest.err
1>&5
21465 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21466 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21467 if diff conftest.exp conftest.er2
>/dev
/null
; then
21468 lt_prog_compiler_static_works_F77
=yes
21471 lt_prog_compiler_static_works_F77
=yes
21475 LDFLAGS
="$save_LDFLAGS"
21478 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21479 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21481 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21484 lt_prog_compiler_static_F77
=
21488 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21489 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21490 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21491 echo $ECHO_N "(cached) $ECHO_C" >&6
21493 lt_cv_prog_compiler_c_o_F77
=no
21494 $rm -r conftest
2>/dev
/null
21498 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21500 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21501 # Insert the option either (1) after the last *FLAGS variable, or
21502 # (2) before a word containing "conftest.", or (3) at the end.
21503 # Note that $ac_compile itself does not contain backslashes and begins
21504 # with a dollar sign (not a hyphen), so the echo should work correctly.
21505 lt_compile
=`echo "$ac_compile" | $SED \
21506 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21507 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21508 -e 's:$: $lt_compiler_flag:'`
21509 (eval echo "\"\$as_me:21495: $lt_compile\"" >&5)
21510 (eval "$lt_compile" 2>out
/conftest.err
)
21512 cat out
/conftest.err
>&5
21513 echo "$as_me:21499: \$? = $ac_status" >&5
21514 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21516 # The compiler can only warn and ignore the option if not recognized
21517 # So say no if there are warnings
21518 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21519 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21520 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21521 lt_cv_prog_compiler_c_o_F77
=yes
21526 # SGI C++ compiler will create directory out/ii_files/ for
21527 # template instantiation
21528 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21529 $rm out
/* && rmdir out
21535 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21536 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21539 hard_links
="nottested"
21540 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21541 # do not overwrite the value of need_locks provided by the user
21542 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21543 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21546 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21548 ln conftest.a conftest.b
2>&5 || hard_links
=no
21549 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21550 { echo "$as_me:$LINENO: result: $hard_links" >&5
21551 echo "${ECHO_T}$hard_links" >&6; }
21552 if test "$hard_links" = no
; then
21553 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21554 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21561 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21562 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21565 allow_undefined_flag_F77
=
21566 enable_shared_with_static_runtimes_F77
=no
21568 archive_expsym_cmds_F77
=
21569 old_archive_From_new_cmds_F77
=
21570 old_archive_from_expsyms_cmds_F77
=
21571 export_dynamic_flag_spec_F77
=
21572 whole_archive_flag_spec_F77
=
21573 thread_safe_flag_spec_F77
=
21574 hardcode_libdir_flag_spec_F77
=
21575 hardcode_libdir_flag_spec_ld_F77
=
21576 hardcode_libdir_separator_F77
=
21577 hardcode_direct_F77
=no
21578 hardcode_minus_L_F77
=no
21579 hardcode_shlibpath_var_F77
=unsupported
21580 link_all_deplibs_F77
=unknown
21581 hardcode_automatic_F77
=no
21583 module_expsym_cmds_F77
=
21584 always_export_symbols_F77
=no
21585 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21586 # include_expsyms should be a list of space-separated symbols to be *always*
21587 # included in the symbol list
21588 include_expsyms_F77
=
21589 # exclude_expsyms can be an extended regexp of symbols to exclude
21590 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21591 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21592 # as well as any symbol that contains `d'.
21593 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21594 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21595 # platforms (ab)use it in PIC code, but their linkers get confused if
21596 # the symbol is explicitly referenced. Since portable code cannot
21597 # rely on this symbol name, it's probably fine to never include it in
21598 # preloaded symbol tables.
21599 extract_expsyms_cmds
=
21600 # Just being paranoid about ensuring that cc_basename is set.
21601 for cc_temp
in $compiler""; do
21603 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21604 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21609 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21612 cygwin
* | mingw
* | pw32
*)
21613 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21614 # When not using gcc, we currently assume that we are using
21615 # Microsoft Visual C++.
21616 if test "$GCC" != yes; then
21621 # we just hope/assume this is gcc and not c89 (= MSVC++)
21630 if test "$with_gnu_ld" = yes; then
21631 # If archive_cmds runs LD, not CC, wlarc should be empty
21634 # Set some defaults for GNU ld with shared library support. These
21635 # are reset later if shared libraries are not supported. Putting them
21636 # here allows them to be overridden if necessary.
21637 runpath_var
=LD_RUN_PATH
21638 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21639 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21640 # ancient GNU ld didn't support --whole-archive et. al.
21641 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21642 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21644 whole_archive_flag_spec_F77
=
21646 supports_anon_versioning
=no
21647 case `$LD -v 2>/dev/null` in
21648 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21649 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21650 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21651 *\
2.11.
*) ;; # other 2.11 versions
21652 *) supports_anon_versioning
=yes ;;
21655 # See if GNU ld supports shared libraries.
21657 aix3
* | aix4
* | aix5
*)
21658 # On AIX/PPC, the GNU linker is very broken
21659 if test "$host_cpu" != ia64
; then
21663 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21664 *** to be unable to reliably create shared libraries on AIX.
21665 *** Therefore, libtool is disabling shared libraries support. If you
21666 *** really care for shared libraries, you may want to modify your PATH
21667 *** so that a non-GNU linker is found, and then restart.
21674 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)'
21675 hardcode_libdir_flag_spec_F77
='-L$libdir'
21676 hardcode_minus_L_F77
=yes
21678 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21679 # that the semantics of dynamic libraries on AmigaOS, at least up
21680 # to version 4, is to share data among multiple programs linked
21681 # with the same dynamic library. Since this doesn't match the
21682 # behavior of shared libraries on other platforms, we can't use
21688 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21689 allow_undefined_flag_F77
=unsupported
21690 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21691 # support --undefined. This deserves some investigation. FIXME
21692 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21698 cygwin
* | mingw
* | pw32
*)
21699 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21700 # as there is no search path for DLLs.
21701 hardcode_libdir_flag_spec_F77
='-L$libdir'
21702 allow_undefined_flag_F77
=unsupported
21703 always_export_symbols_F77
=no
21704 enable_shared_with_static_runtimes_F77
=yes
21705 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21707 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21708 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21709 # If the export-symbols file already is a .def file (1st line
21710 # is EXPORTS), use it as is; otherwise, prepend...
21711 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21712 cp $export_symbols $output_objdir/$soname.def;
21714 echo EXPORTS > $output_objdir/$soname.def;
21715 cat $export_symbols >> $output_objdir/$soname.def;
21717 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21724 hardcode_direct_F77
=no
21725 hardcode_shlibpath_var_F77
=no
21726 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21727 export_dynamic_flag_spec_F77
='${wl}-E'
21728 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21729 # Instead, shared libraries are loaded at an image base (0x10000000 by
21730 # default) and relocated if they conflict, which is a slow very memory
21731 # consuming and fragmenting process. To avoid this, we pick a random,
21732 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21733 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21734 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'
21735 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'
21739 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21741 case $cc_basename,$host_cpu in
21742 pgcc
*) # Portland Group C compiler
21743 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'
21744 tmp_addflag
=' $pic_flag'
21746 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21747 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'
21748 tmp_addflag
=' $pic_flag -Mnomain' ;;
21749 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21750 tmp_addflag
=' -i_dynamic' ;;
21751 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21752 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21753 ifc
* | ifort
*) # Intel Fortran compiler
21754 tmp_addflag
=' -nofor_main' ;;
21756 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21758 if test $supports_anon_versioning = yes; then
21759 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21760 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21761 $echo "local: *; };" >> $output_objdir/$libname.ver~
21762 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21770 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21771 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21774 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21775 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21780 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21784 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21785 *** create shared libraries on Solaris systems. Therefore, libtool
21786 *** is disabling shared libraries support. We urge you to upgrade GNU
21787 *** binutils to release 2.9.1 or newer. Another option is to modify
21788 *** your PATH or compiler configuration so that the native linker is
21789 *** used, and then restart.
21792 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21793 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21794 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21800 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21801 case `$LD -v 2>&1` in
21802 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21806 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21807 *** reliably create shared libraries on SCO systems. Therefore, libtool
21808 *** is disabling shared libraries support. We urge you to upgrade GNU
21809 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21810 *** your PATH or compiler configuration so that the native linker is
21811 *** used, and then restart.
21816 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21817 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21818 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21819 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21828 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21830 hardcode_direct_F77
=yes
21831 hardcode_shlibpath_var_F77
=no
21835 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21836 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21837 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21844 if test "$ld_shlibs_F77" = no
; then
21846 hardcode_libdir_flag_spec_F77
=
21847 export_dynamic_flag_spec_F77
=
21848 whole_archive_flag_spec_F77
=
21851 # PORTME fill in a description of your system's linker (not GNU ld)
21854 allow_undefined_flag_F77
=unsupported
21855 always_export_symbols_F77
=yes
21856 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'
21857 # Note: this linker hardcodes the directories in LIBPATH if there
21858 # are no directories specified by -L.
21859 hardcode_minus_L_F77
=yes
21860 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21861 # Neither direct hardcoding nor static linking is supported with a
21863 hardcode_direct_F77
=unsupported
21868 if test "$host_cpu" = ia64
; then
21869 # On IA64, the linker does run time linking by default, so we don't
21870 # have to do anything special.
21871 aix_use_runtimelinking
=no
21872 exp_sym_flag
='-Bexport'
21875 # If we're using GNU nm, then we don't want the "-C" option.
21876 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21877 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21878 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'
21880 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'
21882 aix_use_runtimelinking
=no
21884 # Test if we are trying to use run time linking or normal
21885 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21886 # need to do runtime linking.
21887 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21888 for ld_flag
in $LDFLAGS; do
21889 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21890 aix_use_runtimelinking
=yes
21897 exp_sym_flag
='-bexport'
21898 no_entry_flag
='-bnoentry'
21901 # When large executables or shared objects are built, AIX ld can
21902 # have problems creating the table of contents. If linking a library
21903 # or program results in "error TOC overflow" add -mminimal-toc to
21904 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21905 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21907 archive_cmds_F77
=''
21908 hardcode_direct_F77
=yes
21909 hardcode_libdir_separator_F77
=':'
21910 link_all_deplibs_F77
=yes
21912 if test "$GCC" = yes; then
21913 case $host_os in aix4.
[012]|aix4.
[012].
*)
21914 # We only want to do this on AIX 4.2 and lower, the check
21915 # below for broken collect2 doesn't work under 4.3+
21916 collect2name
=`${CC} -print-prog-name=collect2`
21917 if test -f "$collect2name" && \
21918 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21920 # We have reworked collect2
21921 hardcode_direct_F77
=yes
21923 # We have old collect2
21924 hardcode_direct_F77
=unsupported
21925 # It fails to find uninstalled libraries when the uninstalled
21926 # path is not listed in the libpath. Setting hardcode_minus_L
21927 # to unsupported forces relinking
21928 hardcode_minus_L_F77
=yes
21929 hardcode_libdir_flag_spec_F77
='-L$libdir'
21930 hardcode_libdir_separator_F77
=
21934 shared_flag
='-shared'
21935 if test "$aix_use_runtimelinking" = yes; then
21936 shared_flag
="$shared_flag "'${wl}-G'
21940 if test "$host_cpu" = ia64
; then
21941 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21942 # chokes on -Wl,-G. The following line is correct:
21945 if test "$aix_use_runtimelinking" = yes; then
21946 shared_flag
='${wl}-G'
21948 shared_flag
='${wl}-bM:SRE'
21953 # It seems that -bexpall does not export symbols beginning with
21954 # underscore (_), so it is better to generate a list of symbols to export.
21955 always_export_symbols_F77
=yes
21956 if test "$aix_use_runtimelinking" = yes; then
21957 # Warning - without using the other runtime loading flags (-brtl),
21958 # -berok will link without error, but may produce a broken library.
21959 allow_undefined_flag_F77
='-berok'
21960 # Determine the default libpath from the value encoded in an empty executable.
21961 cat >conftest.
$ac_ext <<_ACEOF
21966 rm -f conftest.
$ac_objext conftest
$ac_exeext
21967 if { (ac_try
="$ac_link"
21968 case "(($ac_try" in
21969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_link") 2>conftest.er1
21975 grep -v '^ *+' conftest.er1 >conftest.err
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21981 { (case "(($ac_try" in
21982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21983 *) ac_try_echo
=$ac_try;;
21985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21986 (eval "$ac_try") 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try
='test -s conftest$ac_exeext'
21991 { (case "(($ac_try" in
21992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_try") 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22001 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22003 # Check for a 64-bit object if we didn't find anything.
22004 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; }
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22013 rm -f core conftest.err conftest.$ac_objext \
22014 conftest$ac_exeext conftest.$ac_ext
22015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22017 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22018 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"
22020 if test "$host_cpu" = ia64; then
22021 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22022 allow_undefined_flag_F77="-z nodefs"
22023 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"
22025 # Determine the default libpath from the value encoded in an empty executable.
22026 cat >conftest.$ac_ext <<_ACEOF
22031 rm -f conftest.$ac_objext conftest$ac_exeext
22032 if { (ac_try="$ac_link"
22033 case "(($ac_try" in
22034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22035 *) ac_try_echo
=$ac_try;;
22037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22038 (eval "$ac_link") 2>conftest.er1
22040 grep -v '^ *+' conftest.er1
>conftest.err
22042 cat conftest.err
>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
22045 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22046 { (case "(($ac_try" in
22047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_try") 2>&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest$ac_exeext'
22056 { (case "(($ac_try" in
22057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22058 *) ac_try_echo
=$ac_try;;
22060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_try") 2>&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22066 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22068 # Check for a 64-bit object if we didn't find anything.
22069 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; }
22072 echo "$as_me: failed program was:" >&5
22073 sed 's/^/| /' conftest.
$ac_ext >&5
22078 rm -f core conftest.err conftest.
$ac_objext \
22079 conftest
$ac_exeext conftest.
$ac_ext
22080 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22082 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22083 # Warning - without using the other run time loading flags,
22084 # -berok will link without error, but may produce a broken library.
22085 no_undefined_flag_F77
=' ${wl}-bernotok'
22086 allow_undefined_flag_F77
=' ${wl}-berok'
22087 # Exported symbols can be pulled into shared objects from archives
22088 whole_archive_flag_spec_F77
='$convenience'
22089 archive_cmds_need_lc_F77
=yes
22090 # This is similar to how AIX traditionally builds its shared libraries.
22091 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'
22097 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)'
22098 hardcode_libdir_flag_spec_F77
='-L$libdir'
22099 hardcode_minus_L_F77
=yes
22100 # see comment about different semantics on the GNU ld section
22105 export_dynamic_flag_spec_F77
=-rdynamic
22108 cygwin
* | mingw
* | pw32
*)
22109 # When not using gcc, we currently assume that we are using
22110 # Microsoft Visual C++.
22111 # hardcode_libdir_flag_spec is actually meaningless, as there is
22112 # no search path for DLLs.
22113 hardcode_libdir_flag_spec_F77
=' '
22114 allow_undefined_flag_F77
=unsupported
22115 # Tell ltmain to make .lib files, not .a files.
22117 # Tell ltmain to make .dll files, not .so files.
22119 # FIXME: Setting linknames here is a bad hack.
22120 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22121 # The linker will automatically build a .lib file if we build a DLL.
22122 old_archive_From_new_cmds_F77
='true'
22123 # FIXME: Should let the user specify the lib program.
22124 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
22125 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22126 enable_shared_with_static_runtimes_F77
=yes
22129 darwin
* | rhapsody
*)
22131 rhapsody
* | darwin1.
[012])
22132 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
22135 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22136 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22138 case ${MACOSX_DEPLOYMENT_TARGET} in
22140 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22143 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
22149 archive_cmds_need_lc_F77
=no
22150 hardcode_direct_F77
=no
22151 hardcode_automatic_F77
=yes
22152 hardcode_shlibpath_var_F77
=unsupported
22153 whole_archive_flag_spec_F77
=''
22154 link_all_deplibs_F77
=yes
22155 if test "$GCC" = yes ; then
22156 output_verbose_link_cmd
='echo'
22157 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22158 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22159 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22160 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}'
22161 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}'
22163 case $cc_basename in
22165 output_verbose_link_cmd
='echo'
22166 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22167 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22168 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22169 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}'
22170 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}'
22180 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22181 hardcode_libdir_flag_spec_F77
='-L$libdir'
22182 hardcode_shlibpath_var_F77
=no
22189 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22190 # support. Future versions do this automatically, but an explicit c++rt0.o
22191 # does not break anything, and helps significantly (at the cost of a little
22194 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22195 hardcode_libdir_flag_spec_F77
='-R$libdir'
22196 hardcode_direct_F77
=yes
22197 hardcode_shlibpath_var_F77
=no
22200 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22202 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22203 hardcode_direct_F77
=yes
22204 hardcode_minus_L_F77
=yes
22205 hardcode_shlibpath_var_F77
=no
22208 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22209 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22210 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22211 hardcode_libdir_flag_spec_F77
='-R$libdir'
22212 hardcode_direct_F77
=yes
22213 hardcode_shlibpath_var_F77
=no
22217 if test "$GCC" = yes; then
22218 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'
22220 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'
22222 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22223 hardcode_libdir_separator_F77
=:
22224 hardcode_direct_F77
=yes
22226 # hardcode_minus_L: Not really in the search PATH,
22227 # but as the default location of the library.
22228 hardcode_minus_L_F77
=yes
22229 export_dynamic_flag_spec_F77
='${wl}-E'
22233 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22234 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22236 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22238 if test "$with_gnu_ld" = no
; then
22239 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22240 hardcode_libdir_separator_F77
=:
22242 hardcode_direct_F77
=yes
22243 export_dynamic_flag_spec_F77
='${wl}-E'
22245 # hardcode_minus_L: Not really in the search PATH,
22246 # but as the default location of the library.
22247 hardcode_minus_L_F77
=yes
22252 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22255 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22258 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22261 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22267 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22270 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22273 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22277 if test "$with_gnu_ld" = no
; then
22278 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22279 hardcode_libdir_separator_F77
=:
22283 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22284 hardcode_direct_F77
=no
22285 hardcode_shlibpath_var_F77
=no
22288 hardcode_direct_F77
=yes
22289 export_dynamic_flag_spec_F77
='${wl}-E'
22291 # hardcode_minus_L: Not really in the search PATH,
22292 # but as the default location of the library.
22293 hardcode_minus_L_F77
=yes
22299 irix5
* | irix6
* | nonstopux
*)
22300 if test "$GCC" = yes; then
22301 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'
22303 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'
22304 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22306 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22307 hardcode_libdir_separator_F77
=:
22308 link_all_deplibs_F77
=yes
22312 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22313 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22315 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22317 hardcode_libdir_flag_spec_F77
='-R$libdir'
22318 hardcode_direct_F77
=yes
22319 hardcode_shlibpath_var_F77
=no
22323 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22324 hardcode_direct_F77
=yes
22325 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22326 hardcode_libdir_separator_F77
=:
22327 hardcode_shlibpath_var_F77
=no
22331 hardcode_direct_F77
=yes
22332 hardcode_shlibpath_var_F77
=no
22333 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22334 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22335 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22336 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22337 export_dynamic_flag_spec_F77
='${wl}-E'
22340 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22341 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22342 hardcode_libdir_flag_spec_F77
='-R$libdir'
22345 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22346 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22353 hardcode_libdir_flag_spec_F77
='-L$libdir'
22354 hardcode_minus_L_F77
=yes
22355 allow_undefined_flag_F77
=unsupported
22356 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'
22357 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22361 if test "$GCC" = yes; then
22362 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22363 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'
22365 allow_undefined_flag_F77
=' -expect_unresolved \*'
22366 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'
22368 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22369 hardcode_libdir_separator_F77
=:
22372 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22373 if test "$GCC" = yes; then
22374 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22375 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'
22376 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22378 allow_undefined_flag_F77
=' -expect_unresolved \*'
22379 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'
22380 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~
22381 $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'
22383 # Both c and cxx compiler support -rpath directly
22384 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22386 hardcode_libdir_separator_F77
=:
22390 no_undefined_flag_F77
=' -z text'
22391 if test "$GCC" = yes; then
22393 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22394 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22395 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22398 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22399 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22400 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22402 hardcode_libdir_flag_spec_F77
='-R$libdir'
22403 hardcode_shlibpath_var_F77
=no
22405 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22407 # The compiler driver will combine linker options so we
22408 # cannot just pass the convience library names through
22409 # without $wl, iff we do not link with $LD.
22410 # Luckily, gcc supports the same syntax we need for Sun Studio.
22411 # Supported since Solaris 2.6 (maybe 2.5.1?)
22414 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22416 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' ;;
22419 link_all_deplibs_F77
=yes
22423 if test "x$host_vendor" = xsequent
; then
22424 # Use $CC to link under sequent, because it throws in some extra .o
22425 # files that make .init and .fini sections work.
22426 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22428 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22430 hardcode_libdir_flag_spec_F77
='-L$libdir'
22431 hardcode_direct_F77
=yes
22432 hardcode_minus_L_F77
=yes
22433 hardcode_shlibpath_var_F77
=no
22437 case $host_vendor in
22439 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22440 hardcode_direct_F77
=yes # is this really true???
22443 ## LD is ld it makes a PLAMLIB
22444 ## CC just makes a GrossModule.
22445 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22446 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22447 hardcode_direct_F77
=no
22450 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22451 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22454 runpath_var
='LD_RUN_PATH'
22455 hardcode_shlibpath_var_F77
=no
22459 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22460 hardcode_shlibpath_var_F77
=no
22461 export_dynamic_flag_spec_F77
='-Bexport'
22465 if test -d /usr
/nec
; then
22466 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22467 hardcode_shlibpath_var_F77
=no
22468 runpath_var
=LD_RUN_PATH
22469 hardcode_runpath_var
=yes
22474 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22475 no_undefined_flag_F77
='${wl}-z,text'
22476 archive_cmds_need_lc_F77
=no
22477 hardcode_shlibpath_var_F77
=no
22478 runpath_var
='LD_RUN_PATH'
22480 if test "$GCC" = yes; then
22481 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22482 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22484 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22485 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22489 sysv5
* | sco3.2v5
* | sco5v6
*)
22490 # Note: We can NOT use -z defs as we might desire, because we do not
22491 # link with -lc, and that would cause any symbols used from libc to
22492 # always be unresolved, which means just about no library would
22493 # ever link correctly. If we're not using GNU ld we use -z text
22494 # though, which does catch some bad symbols but isn't as heavy-handed
22496 no_undefined_flag_F77
='${wl}-z,text'
22497 allow_undefined_flag_F77
='${wl}-z,nodefs'
22498 archive_cmds_need_lc_F77
=no
22499 hardcode_shlibpath_var_F77
=no
22500 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22501 hardcode_libdir_separator_F77
=':'
22502 link_all_deplibs_F77
=yes
22503 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22504 runpath_var
='LD_RUN_PATH'
22506 if test "$GCC" = yes; then
22507 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22508 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22510 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22511 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22516 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22517 hardcode_libdir_flag_spec_F77
='-L$libdir'
22518 hardcode_shlibpath_var_F77
=no
22527 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22528 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22529 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22532 # Do we need to explicitly link libc?
22534 case "x$archive_cmds_need_lc_F77" in
22536 # Assume -lc should be added
22537 archive_cmds_need_lc_F77
=yes
22539 if test "$enable_shared" = yes && test "$GCC" = yes; then
22540 case $archive_cmds_F77 in
22542 # FIXME: we may have to deal with multi-command sequences.
22545 # Test whether the compiler implicitly links with -lc since on some
22546 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22547 # to ld, don't add -lc before -lgcc.
22548 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22549 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22551 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22554 (eval $ac_compile) 2>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } 2>conftest.err
; then
22560 libobjs
=conftest.
$ac_objext
22562 wl
=$lt_prog_compiler_wl_F77
22563 pic_flag
=$lt_prog_compiler_pic_F77
22569 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22570 allow_undefined_flag_F77
=
22571 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22572 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }
22577 archive_cmds_need_lc_F77
=no
22579 archive_cmds_need_lc_F77
=yes
22581 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22583 cat conftest.err
1>&5
22586 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22587 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22594 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22595 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22596 library_names_spec
=
22597 libname_spec
='lib$name'
22601 postuninstall_cmds
=
22605 shlibpath_overrides_runpath
=unknown
22607 dynamic_linker
="$host_os ld.so"
22608 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22609 if test "$GCC" = yes; then
22610 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22611 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22612 # if the path contains ";" then we assume it to be the separator
22613 # otherwise default to the standard path separator (i.e. ":") - it is
22614 # assumed that no part of a normal pathname contains ";" but that should
22615 # okay in the real world where ";" in dirpaths is itself problematic.
22616 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22618 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22621 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22623 need_lib_prefix
=unknown
22624 hardcode_into_libs
=no
22626 # when you set need_version to no, make sure it does not cause -set_version
22627 # flags to be left without arguments
22628 need_version
=unknown
22633 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22634 shlibpath_var
=LIBPATH
22636 # AIX 3 has no versioning support, so we append a major version to the name.
22637 soname_spec
='${libname}${release}${shared_ext}$major'
22644 hardcode_into_libs
=yes
22645 if test "$host_cpu" = ia64
; then
22646 # AIX 5 supports IA64
22647 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22648 shlibpath_var
=LD_LIBRARY_PATH
22650 # With GCC up to 2.95.x, collect2 would create an import file
22651 # for dependence libraries. The import file would start with
22652 # the line `#! .'. This would cause the generated library to
22653 # depend on `.', always an invalid library. This was fixed in
22654 # development snapshots of GCC prior to 3.0.
22656 aix4 | aix4.
[01] | aix4.
[01].
*)
22657 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22659 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22662 can_build_shared
=no
22666 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22667 # soname into executable. Probably we can add versioning support to
22668 # collect2, so additional links can be useful in future.
22669 if test "$aix_use_runtimelinking" = yes; then
22670 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22671 # instead of lib<name>.a to let people know that these are not
22672 # typical AIX shared libraries.
22673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22675 # We preserve .a as extension for shared libraries through AIX4.2
22676 # and later when we are not doing run time linking.
22677 library_names_spec
='${libname}${release}.a $libname.a'
22678 soname_spec
='${libname}${release}${shared_ext}$major'
22680 shlibpath_var
=LIBPATH
22685 library_names_spec
='$libname.ixlibrary $libname.a'
22686 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22687 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'
22691 library_names_spec
='${libname}${shared_ext}'
22692 dynamic_linker
="$host_os ld.so"
22693 shlibpath_var
=LIBRARY_PATH
22699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22700 soname_spec
='${libname}${release}${shared_ext}$major'
22701 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22702 shlibpath_var
=LD_LIBRARY_PATH
22703 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22704 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22705 # the default ld.so.conf also contains /usr/contrib/lib and
22706 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22707 # libtool to hard-code these into programs
22710 cygwin
* | mingw
* | pw32
*)
22711 version_type
=windows
22716 case $GCC,$host_os in
22717 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22718 library_names_spec
='$libname.dll.a'
22719 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22720 postinstall_cmds
='base_file=`basename \${file}`~
22721 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22722 dldir=$destdir/`dirname \$dlpath`~
22723 test -d \$dldir || mkdir -p \$dldir~
22724 $install_prog $dir/$dlname \$dldir/$dlname~
22725 chmod a+x \$dldir/$dlname'
22726 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22727 dlpath=$dir/\$dldll~
22729 shlibpath_overrides_runpath
=yes
22733 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22734 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22735 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22738 # MinGW DLLs use traditional 'lib' prefix
22739 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22740 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22741 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22742 # It is most probably a Windows format PATH printed by
22743 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22744 # path with ; separators, and with drive letters. We can handle the
22745 # drive letters (cygwin fileutils understands them), so leave them,
22746 # especially as we might pass files found there to a mingw objdump,
22747 # which wouldn't understand a cygwinified path. Ahh.
22748 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22750 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22754 # pw32 DLLs use 'pw' prefix rather than 'lib'
22755 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22761 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22764 dynamic_linker
='Win32 ld.exe'
22765 # FIXME: first we should search . and the directory the executable is in
22769 darwin
* | rhapsody
*)
22770 dynamic_linker
="$host_os dyld"
22771 version_type
=darwin
22774 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22775 soname_spec
='${libname}${release}${major}$shared_ext'
22776 shlibpath_overrides_runpath
=yes
22777 shlibpath_var
=DYLD_LIBRARY_PATH
22778 shrext_cmds
='.dylib'
22779 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22780 if test "$GCC" = yes; then
22781 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"`
22783 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22785 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22793 soname_spec
='${libname}${release}${shared_ext}$major'
22794 shlibpath_var
=LD_LIBRARY_PATH
22805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22806 soname_spec
='${libname}${release}${shared_ext}$major'
22807 shlibpath_var
=LD_LIBRARY_PATH
22808 shlibpath_overrides_runpath
=no
22809 hardcode_into_libs
=yes
22810 dynamic_linker
='GNU ld.so'
22813 freebsd
* | dragonfly
*)
22814 # DragonFly does not have aout. When/if they implement a new
22815 # versioning mechanism, adjust this.
22816 if test -x /usr
/bin
/objformat
; then
22817 objformat
=`/usr/bin/objformat`
22820 freebsd
[123]*) objformat
=aout
;;
22821 *) objformat
=elf
;;
22824 version_type
=freebsd-
$objformat
22825 case $version_type in
22827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22832 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22836 shlibpath_var
=LD_LIBRARY_PATH
22839 shlibpath_overrides_runpath
=yes
22841 freebsd3.
[01]* | freebsdelf3.
[01]*)
22842 shlibpath_overrides_runpath
=yes
22843 hardcode_into_libs
=yes
22845 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22846 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22847 shlibpath_overrides_runpath
=no
22848 hardcode_into_libs
=yes
22850 freebsd
*) # from 4.6 on
22851 shlibpath_overrides_runpath
=yes
22852 hardcode_into_libs
=yes
22861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22862 soname_spec
='${libname}${release}${shared_ext}$major'
22863 shlibpath_var
=LD_LIBRARY_PATH
22864 hardcode_into_libs
=yes
22867 hpux9
* | hpux10
* | hpux11
*)
22868 # Give a soname corresponding to the major version so that dld.sl refuses to
22869 # link against other versions.
22876 hardcode_into_libs
=yes
22877 dynamic_linker
="$host_os dld.so"
22878 shlibpath_var
=LD_LIBRARY_PATH
22879 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22881 soname_spec
='${libname}${release}${shared_ext}$major'
22882 if test "X$HPUX_IA64_MODE" = X32
; then
22883 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22885 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22887 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22891 hardcode_into_libs
=yes
22892 dynamic_linker
="$host_os dld.sl"
22893 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22894 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22896 soname_spec
='${libname}${release}${shared_ext}$major'
22897 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22898 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22902 dynamic_linker
="$host_os dld.sl"
22903 shlibpath_var
=SHLIB_PATH
22904 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22906 soname_spec
='${libname}${release}${shared_ext}$major'
22909 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22910 postinstall_cmds
='chmod 555 $lib'
22917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22918 soname_spec
='${libname}${release}${shared_ext}$major'
22919 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22920 shlibpath_var
=LD_LIBRARY_PATH
22921 shlibpath_overrides_runpath
=no
22922 hardcode_into_libs
=yes
22925 irix5
* | irix6
* | nonstopux
*)
22927 nonstopux
*) version_type
=nonstopux
;;
22929 if test "$lt_cv_prog_gnu_ld" = yes; then
22937 soname_spec
='${libname}${release}${shared_ext}$major'
22938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22940 irix5
* | nonstopux
*)
22941 libsuff
= shlibsuff
=
22944 case $LD in # libtool.m4 will add one of these switches to LD
22945 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22946 libsuff
= shlibsuff
= libmagic
=32-bit;;
22947 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22948 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22949 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22950 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22951 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22955 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22956 shlibpath_overrides_runpath
=no
22957 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22958 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22959 hardcode_into_libs
=yes
22962 # No shared lib support for Linux oldld, aout, or coff.
22963 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22967 # This must be Linux ELF.
22972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22973 soname_spec
='${libname}${release}${shared_ext}$major'
22974 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22975 shlibpath_var
=LD_LIBRARY_PATH
22976 shlibpath_overrides_runpath
=no
22977 # This implies no fast_install, which is unacceptable.
22978 # Some rework will be needed to allow for fast_install
22979 # before this can be enabled.
22980 hardcode_into_libs
=yes
22982 # Append ld.so.conf contents to the search path
22983 if test -f /etc
/ld.so.conf
; then
22984 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' ' '`
22985 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22988 # We used to test for /lib/ld.so.1 and disable shared libraries on
22989 # powerpc, because MkLinux only supported shared libraries with the
22990 # GNU dynamic linker. Since this was broken with cross compilers,
22991 # most powerpc-linux boxes support dynamic linking these days and
22992 # people can always --disable-shared, the test was removed, and we
22993 # assume the GNU/Linux dynamic linker is in use.
22994 dynamic_linker
='GNU/Linux ld.so'
23001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23002 soname_spec
='${libname}${release}${shared_ext}$major'
23003 shlibpath_var
=LD_LIBRARY_PATH
23004 shlibpath_overrides_runpath
=no
23005 hardcode_into_libs
=yes
23006 dynamic_linker
='GNU ld.so'
23013 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
23014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23015 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23016 dynamic_linker
='NetBSD (a.out) ld.so'
23018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23019 soname_spec
='${libname}${release}${shared_ext}$major'
23020 dynamic_linker
='NetBSD ld.elf_so'
23022 shlibpath_var
=LD_LIBRARY_PATH
23023 shlibpath_overrides_runpath
=yes
23024 hardcode_into_libs
=yes
23029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23030 shlibpath_var
=LD_LIBRARY_PATH
23031 shlibpath_overrides_runpath
=yes
23038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23039 soname_spec
='${libname}${release}${shared_ext}$major'
23040 shlibpath_var
=LD_LIBRARY_PATH
23041 shlibpath_overrides_runpath
=yes
23046 sys_lib_dlsearch_path_spec
="/usr/lib"
23048 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23050 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
23051 *) need_version
=no
;;
23053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23054 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23055 shlibpath_var
=LD_LIBRARY_PATH
23056 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23058 openbsd2.
[89] | openbsd2.
[89].
*)
23059 shlibpath_overrides_runpath
=no
23062 shlibpath_overrides_runpath
=yes
23066 shlibpath_overrides_runpath
=yes
23071 libname_spec
='$name'
23074 library_names_spec
='$libname${shared_ext} $libname.a'
23075 dynamic_linker
='OS/2 ld.exe'
23076 shlibpath_var
=LIBPATH
23079 osf3
* | osf4
* | osf5
*)
23083 soname_spec
='${libname}${release}${shared_ext}$major'
23084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23085 shlibpath_var
=LD_LIBRARY_PATH
23086 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23087 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
23094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23095 soname_spec
='${libname}${release}${shared_ext}$major'
23096 shlibpath_var
=LD_LIBRARY_PATH
23097 shlibpath_overrides_runpath
=yes
23098 hardcode_into_libs
=yes
23099 # ldd complains unless libraries are executable
23100 postinstall_cmds
='chmod +x $lib'
23105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23106 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23107 shlibpath_var
=LD_LIBRARY_PATH
23108 shlibpath_overrides_runpath
=yes
23109 if test "$with_gnu_ld" = yes; then
23117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23118 soname_spec
='${libname}${release}${shared_ext}$major'
23119 shlibpath_var
=LD_LIBRARY_PATH
23120 case $host_vendor in
23122 shlibpath_overrides_runpath
=no
23124 export_dynamic_flag_spec
='${wl}-Blargedynsym'
23125 runpath_var
=LD_RUN_PATH
23133 shlibpath_overrides_runpath
=no
23134 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
23140 if test -d /usr
/nec
;then
23142 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23143 soname_spec
='$libname${shared_ext}.$major'
23144 shlibpath_var
=LD_LIBRARY_PATH
23148 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
23149 version_type
=freebsd-elf
23152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23153 soname_spec
='${libname}${release}${shared_ext}$major'
23154 shlibpath_var
=LD_LIBRARY_PATH
23155 hardcode_into_libs
=yes
23156 if test "$with_gnu_ld" = yes; then
23157 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23158 shlibpath_overrides_runpath
=no
23160 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
23161 shlibpath_overrides_runpath
=yes
23164 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
23168 sys_lib_dlsearch_path_spec
='/usr/lib'
23173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23174 soname_spec
='${libname}${release}${shared_ext}$major'
23175 shlibpath_var
=LD_LIBRARY_PATH
23182 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23183 echo "${ECHO_T}$dynamic_linker" >&6; }
23184 test "$dynamic_linker" = no
&& can_build_shared
=no
23186 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
23187 if test "$GCC" = yes; then
23188 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23191 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23192 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23193 hardcode_action_F77
=
23194 if test -n "$hardcode_libdir_flag_spec_F77" || \
23195 test -n "$runpath_var_F77" || \
23196 test "X$hardcode_automatic_F77" = "Xyes" ; then
23198 # We can hardcode non-existant directories.
23199 if test "$hardcode_direct_F77" != no
&&
23200 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23201 # have to relink, otherwise we might link with an installed library
23202 # when we should be linking with a yet-to-be-installed one
23203 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23204 test "$hardcode_minus_L_F77" != no
; then
23205 # Linking always hardcodes the temporary library directory.
23206 hardcode_action_F77
=relink
23208 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23209 hardcode_action_F77
=immediate
23212 # We cannot hardcode anything, or else we can only hardcode existing
23214 hardcode_action_F77
=unsupported
23216 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23217 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23219 if test "$hardcode_action_F77" = relink
; then
23220 # Fast installation is not supported
23221 enable_fast_install
=no
23222 elif test "$shlibpath_overrides_runpath" = yes ||
23223 test "$enable_shared" = no
; then
23224 # Fast installation is not necessary
23225 enable_fast_install
=needless
23229 # The else clause should only fire when bootstrapping the
23230 # libtool distribution, otherwise you forgot to ship ltmain.sh
23231 # with your package, and you will get complaints that there are
23232 # no rules to generate ltmain.sh.
23233 if test -f "$ltmain"; then
23234 # See if we are running on zsh, and set the options which allow our commands through
23235 # without removal of \ escapes.
23236 if test -n "${ZSH_VERSION+set}" ; then
23237 setopt NO_GLOB_SUBST
23239 # Now quote all the things that may contain metacharacters while being
23240 # careful not to overquote the AC_SUBSTed values. We take copies of the
23241 # variables and quote the copies for generation of the libtool script.
23242 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23244 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23245 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23246 deplibs_check_method reload_flag reload_cmds need_locks \
23247 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23248 lt_cv_sys_global_symbol_to_c_name_address \
23249 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23250 old_postinstall_cmds old_postuninstall_cmds \
23254 lt_prog_compiler_wl_F77 \
23255 lt_prog_compiler_pic_F77 \
23256 lt_prog_compiler_static_F77 \
23257 lt_prog_compiler_no_builtin_flag_F77 \
23258 export_dynamic_flag_spec_F77 \
23259 thread_safe_flag_spec_F77 \
23260 whole_archive_flag_spec_F77 \
23261 enable_shared_with_static_runtimes_F77 \
23262 old_archive_cmds_F77 \
23263 old_archive_from_new_cmds_F77 \
23264 predep_objects_F77 \
23265 postdep_objects_F77 \
23268 compiler_lib_search_path_F77 \
23270 archive_expsym_cmds_F77 \
23271 postinstall_cmds_F77 \
23272 postuninstall_cmds_F77 \
23273 old_archive_from_expsyms_cmds_F77 \
23274 allow_undefined_flag_F77 \
23275 no_undefined_flag_F77 \
23276 export_symbols_cmds_F77 \
23277 hardcode_libdir_flag_spec_F77 \
23278 hardcode_libdir_flag_spec_ld_F77 \
23279 hardcode_libdir_separator_F77 \
23280 hardcode_automatic_F77 \
23282 module_expsym_cmds_F77 \
23283 lt_cv_prog_compiler_c_o_F77 \
23284 exclude_expsyms_F77 \
23285 include_expsyms_F77
; do
23288 old_archive_cmds_F77 | \
23289 old_archive_from_new_cmds_F77 | \
23290 archive_cmds_F77 | \
23291 archive_expsym_cmds_F77 | \
23292 module_cmds_F77 | \
23293 module_expsym_cmds_F77 | \
23294 old_archive_from_expsyms_cmds_F77 | \
23295 export_symbols_cmds_F77 | \
23296 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23297 postinstall_cmds | postuninstall_cmds | \
23298 old_postinstall_cmds | old_postuninstall_cmds | \
23299 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23300 # Double-quote double-evaled strings.
23301 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23304 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23310 *'\$0 --fallback-echo"')
23311 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23317 cat <<__EOF__ >> "$cfgfile"
23318 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23320 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23322 # Shell to use when invoking shell scripts.
23325 # Whether or not to build shared libraries.
23326 build_libtool_libs=$enable_shared
23328 # Whether or not to build static libraries.
23329 build_old_libs=$enable_static
23331 # Whether or not to add -lc for building shared libraries.
23332 build_libtool_need_lc=$archive_cmds_need_lc_F77
23334 # Whether or not to disallow shared libs when runtime libs are static
23335 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23337 # Whether or not to optimize for fast installation.
23338 fast_install=$enable_fast_install
23341 host_alias=$host_alias
23345 # The build system.
23346 build_alias=$build_alias
23350 # An echo program that does not interpret backslashes.
23355 AR_FLAGS=$lt_AR_FLAGS
23360 # LTCC compiler flags.
23361 LTCFLAGS=$lt_LTCFLAGS
23363 # A language-specific compiler.
23364 CC=$lt_compiler_F77
23366 # Is the compiler the GNU C compiler?
23372 # The linker used to build libraries.
23375 # Whether we need hard or soft links.
23378 # A BSD-compatible nm program.
23381 # A symbol stripping program
23384 # Used to examine libraries when file_magic_cmd begins "file"
23385 MAGIC_CMD=$MAGIC_CMD
23387 # Used on cygwin: DLL creation program.
23390 # Used on cygwin: object dumper.
23393 # Used on cygwin: assembler.
23396 # The name of the directory that contains temporary libtool files.
23399 # How to create reloadable object files.
23400 reload_flag=$lt_reload_flag
23401 reload_cmds=$lt_reload_cmds
23403 # How to pass a linker flag through the compiler.
23404 wl=$lt_lt_prog_compiler_wl_F77
23406 # Object file suffix (normally "o").
23407 objext="$ac_objext"
23409 # Old archive suffix (normally "a").
23412 # Shared library suffix (normally ".so").
23413 shrext_cmds='$shrext_cmds'
23415 # Executable file suffix (normally "").
23418 # Additional compiler flags for building library objects.
23419 pic_flag=$lt_lt_prog_compiler_pic_F77
23422 # What is the maximum length of a command?
23423 max_cmd_len=$lt_cv_sys_max_cmd_len
23425 # Does compiler simultaneously support -c and -o options?
23426 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23428 # Must we lock files when doing compilation?
23429 need_locks=$lt_need_locks
23431 # Do we need the lib prefix for modules?
23432 need_lib_prefix=$need_lib_prefix
23434 # Do we need a version for libraries?
23435 need_version=$need_version
23437 # Whether dlopen is supported.
23438 dlopen_support=$enable_dlopen
23440 # Whether dlopen of programs is supported.
23441 dlopen_self=$enable_dlopen_self
23443 # Whether dlopen of statically linked programs is supported.
23444 dlopen_self_static=$enable_dlopen_self_static
23446 # Compiler flag to prevent dynamic linking.
23447 link_static_flag=$lt_lt_prog_compiler_static_F77
23449 # Compiler flag to turn off builtin functions.
23450 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23452 # Compiler flag to allow reflexive dlopens.
23453 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23455 # Compiler flag to generate shared objects directly from archives.
23456 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23458 # Compiler flag to generate thread-safe objects.
23459 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23461 # Library versioning type.
23462 version_type=$version_type
23464 # Format of library name prefix.
23465 libname_spec=$lt_libname_spec
23467 # List of archive names. First name is the real one, the rest are links.
23468 # The last name is the one that the linker finds with -lNAME.
23469 library_names_spec=$lt_library_names_spec
23471 # The coded name of the library, if different from the real name.
23472 soname_spec=$lt_soname_spec
23474 # Commands used to build and install an old-style archive.
23476 old_archive_cmds=$lt_old_archive_cmds_F77
23477 old_postinstall_cmds=$lt_old_postinstall_cmds
23478 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23480 # Create an old-style archive from a shared archive.
23481 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23483 # Create a temporary old-style archive to link instead of a shared archive.
23484 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23486 # Commands used to build and install a shared archive.
23487 archive_cmds=$lt_archive_cmds_F77
23488 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23489 postinstall_cmds=$lt_postinstall_cmds
23490 postuninstall_cmds=$lt_postuninstall_cmds
23492 # Commands used to build a loadable module (assumed same as above if empty)
23493 module_cmds=$lt_module_cmds_F77
23494 module_expsym_cmds=$lt_module_expsym_cmds_F77
23496 # Commands to strip libraries.
23497 old_striplib=$lt_old_striplib
23498 striplib=$lt_striplib
23500 # Dependencies to place before the objects being linked to create a
23502 predep_objects=$lt_predep_objects_F77
23504 # Dependencies to place after the objects being linked to create a
23506 postdep_objects=$lt_postdep_objects_F77
23508 # Dependencies to place before the objects being linked to create a
23510 predeps=$lt_predeps_F77
23512 # Dependencies to place after the objects being linked to create a
23514 postdeps=$lt_postdeps_F77
23516 # The library search path used internally by the compiler when linking
23517 # a shared library.
23518 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23520 # Method to check whether dependent libraries are shared objects.
23521 deplibs_check_method=$lt_deplibs_check_method
23523 # Command to use when deplibs_check_method == file_magic.
23524 file_magic_cmd=$lt_file_magic_cmd
23526 # Flag that allows shared libraries with undefined symbols to be built.
23527 allow_undefined_flag=$lt_allow_undefined_flag_F77
23529 # Flag that forces no undefined symbols.
23530 no_undefined_flag=$lt_no_undefined_flag_F77
23532 # Commands used to finish a libtool library installation in a directory.
23533 finish_cmds=$lt_finish_cmds
23535 # Same as above, but a single script fragment to be evaled but not shown.
23536 finish_eval=$lt_finish_eval
23538 # Take the output of nm and produce a listing of raw symbols and C names.
23539 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23541 # Transform the output of nm in a proper C declaration
23542 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23544 # Transform the output of nm in a C name address pair
23545 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23547 # This is the shared library runtime path variable.
23548 runpath_var=$runpath_var
23550 # This is the shared library path variable.
23551 shlibpath_var=$shlibpath_var
23553 # Is shlibpath searched before the hard-coded library search path?
23554 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23556 # How to hardcode a shared library path into an executable.
23557 hardcode_action=$hardcode_action_F77
23559 # Whether we should hardcode library paths into libraries.
23560 hardcode_into_libs=$hardcode_into_libs
23562 # Flag to hardcode \$libdir into a binary during linking.
23563 # This must work even if \$libdir does not exist.
23564 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23566 # If ld is used when linking, flag to hardcode \$libdir into
23567 # a binary during linking. This must work even if \$libdir does
23569 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23571 # Whether we need a single -rpath flag with a separated argument.
23572 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23574 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23575 # resulting binary.
23576 hardcode_direct=$hardcode_direct_F77
23578 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23579 # resulting binary.
23580 hardcode_minus_L=$hardcode_minus_L_F77
23582 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23583 # the resulting binary.
23584 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23586 # Set to yes if building a shared library automatically hardcodes DIR into the library
23587 # and all subsequent libraries and executables linked against it.
23588 hardcode_automatic=$hardcode_automatic_F77
23590 # Variables whose values should be saved in libtool wrapper scripts and
23591 # restored at relink time.
23592 variables_saved_for_relink="$variables_saved_for_relink"
23594 # Whether libtool must link a program against all its dependency libraries.
23595 link_all_deplibs=$link_all_deplibs_F77
23597 # Compile-time system search path for libraries
23598 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23600 # Run-time system search path for libraries
23601 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23603 # Fix the shell variable \$srcfile for the compiler.
23604 fix_srcfile_path="$fix_srcfile_path_F77"
23606 # Set to yes if exported symbols are required.
23607 always_export_symbols=$always_export_symbols_F77
23609 # The commands to list exported symbols.
23610 export_symbols_cmds=$lt_export_symbols_cmds_F77
23612 # The commands to extract the exported symbol list from a shared archive.
23613 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23615 # Symbols that should not be listed in the preloaded symbols.
23616 exclude_expsyms=$lt_exclude_expsyms_F77
23618 # Symbols that must always be exported.
23619 include_expsyms=$lt_include_expsyms_F77
23621 # ### END LIBTOOL TAG CONFIG: $tagname
23627 # If there is no Makefile yet, we rely on a make rule to execute
23628 # `config.status --recheck' to rerun these tests and create the
23629 # libtool script then.
23630 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23631 if test -f "$ltmain_in"; then
23632 test -f Makefile
&& make "$ltmain"
23638 ac_cpp
='$CPP $CPPFLAGS'
23639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23651 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23653 ac_cpp
='$CPP $CPPFLAGS'
23654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23659 # Source file extension for Java test sources.
23662 # Object file extension for compiled Java test sources.
23666 # Code to be used in simple compile tests
23667 lt_simple_compile_test_code
="class foo {}\n"
23669 # Code to be used in simple link tests
23670 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23672 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23674 # If no C compiler was specified, use CC.
23677 # If no C compiler flags were specified, use CFLAGS.
23678 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23680 # Allow CC to be a program name with arguments.
23684 # save warnings/boilerplate of simple test code
23685 ac_outfile
=conftest.
$ac_objext
23686 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23687 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23688 _lt_compiler_boilerplate
=`cat conftest.err`
23691 ac_outfile
=conftest.
$ac_objext
23692 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23693 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23694 _lt_linker_boilerplate
=`cat conftest.err`
23698 # Allow CC to be a program name with arguments.
23703 for cc_temp
in $compiler""; do
23705 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23706 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23711 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23714 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23715 archive_cmds_need_lc_GCJ
=no
23717 old_archive_cmds_GCJ
=$old_archive_cmds
23720 lt_prog_compiler_no_builtin_flag_GCJ
=
23722 if test "$GCC" = yes; then
23723 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23726 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23727 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23728 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 lt_cv_prog_compiler_rtti_exceptions
=no
23732 ac_outfile
=conftest.
$ac_objext
23733 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23734 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23735 # Insert the option either (1) after the last *FLAGS variable, or
23736 # (2) before a word containing "conftest.", or (3) at the end.
23737 # Note that $ac_compile itself does not contain backslashes and begins
23738 # with a dollar sign (not a hyphen), so the echo should work correctly.
23739 # The option is referenced via a variable to avoid confusing sed.
23740 lt_compile
=`echo "$ac_compile" | $SED \
23741 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23743 -e 's:$: $lt_compiler_flag:'`
23744 (eval echo "\"\$as_me:23730: $lt_compile\"" >&5)
23745 (eval "$lt_compile" 2>conftest.err
)
23747 cat conftest.err
>&5
23748 echo "$as_me:23734: \$? = $ac_status" >&5
23749 if (exit $ac_status) && test -s "$ac_outfile"; then
23750 # The compiler can only warn and ignore the option if not recognized
23751 # So say no if there are warnings other than the usual output.
23752 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23753 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23754 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23755 lt_cv_prog_compiler_rtti_exceptions
=yes
23761 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23762 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23764 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23765 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23772 lt_prog_compiler_wl_GCJ
=
23773 lt_prog_compiler_pic_GCJ
=
23774 lt_prog_compiler_static_GCJ
=
23776 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23777 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23779 if test "$GCC" = yes; then
23780 lt_prog_compiler_wl_GCJ
='-Wl,'
23781 lt_prog_compiler_static_GCJ
='-static'
23785 # All AIX code is PIC.
23786 if test "$host_cpu" = ia64
; then
23787 # AIX 5 now supports IA64 processor
23788 lt_prog_compiler_static_GCJ
='-Bstatic'
23793 # FIXME: we need at least 68020 code to build shared libraries, but
23794 # adding the `-m68020' flag to GCC prevents building anything better,
23796 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23799 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23800 # PIC is the default for these OSes.
23803 mingw
* | pw32
* | os2
*)
23804 # This hack is so that the source file can tell whether it is being
23805 # built for inclusion in a dll (and should export symbols for example).
23806 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23809 darwin
* | rhapsody
*)
23810 # PIC is the default on this platform
23811 # Common symbols not allowed in MH_DYLIB files
23812 lt_prog_compiler_pic_GCJ
='-fno-common'
23816 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23817 # Instead, we relocate shared libraries at runtime.
23821 # Just because we use GCC doesn't mean we suddenly get shared libraries
23822 # on systems that don't support them.
23823 lt_prog_compiler_can_build_shared_GCJ
=no
23828 if test -d /usr
/nec
; then
23829 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23834 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23835 # not for PA HP-UX.
23841 lt_prog_compiler_pic_GCJ
='-fPIC'
23847 lt_prog_compiler_pic_GCJ
='-fPIC'
23851 # PORTME Check for flag to pass linker flags through the system compiler.
23854 lt_prog_compiler_wl_GCJ
='-Wl,'
23855 if test "$host_cpu" = ia64
; then
23856 # AIX 5 now supports IA64 processor
23857 lt_prog_compiler_static_GCJ
='-Bstatic'
23859 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23863 # PIC is the default on this platform
23864 # Common symbols not allowed in MH_DYLIB files
23865 case $cc_basename in
23867 lt_prog_compiler_pic_GCJ
='-qnocommon'
23868 lt_prog_compiler_wl_GCJ
='-Wl,'
23873 mingw
* | pw32
* | os2
*)
23874 # This hack is so that the source file can tell whether it is being
23875 # built for inclusion in a dll (and should export symbols for example).
23876 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23879 hpux9
* | hpux10
* | hpux11
*)
23880 lt_prog_compiler_wl_GCJ
='-Wl,'
23881 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23882 # not for PA HP-UX.
23888 lt_prog_compiler_pic_GCJ
='+Z'
23891 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23892 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23895 irix5
* | irix6
* | nonstopux
*)
23896 lt_prog_compiler_wl_GCJ
='-Wl,'
23897 # PIC (with -KPIC) is the default.
23898 lt_prog_compiler_static_GCJ
='-non_shared'
23902 lt_prog_compiler_pic_GCJ
='-KPIC'
23903 lt_prog_compiler_static_GCJ
='-Bstatic'
23907 case $cc_basename in
23909 lt_prog_compiler_wl_GCJ
='-Wl,'
23910 lt_prog_compiler_pic_GCJ
='-KPIC'
23911 lt_prog_compiler_static_GCJ
='-static'
23913 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23914 # Portland Group compilers (*not* the Pentium gcc compiler,
23915 # which looks to be a dead project)
23916 lt_prog_compiler_wl_GCJ
='-Wl,'
23917 lt_prog_compiler_pic_GCJ
='-fpic'
23918 lt_prog_compiler_static_GCJ
='-Bstatic'
23921 lt_prog_compiler_wl_GCJ
='-Wl,'
23922 # All Alpha code is PIC.
23923 lt_prog_compiler_static_GCJ
='-non_shared'
23928 osf3
* | osf4
* | osf5
*)
23929 lt_prog_compiler_wl_GCJ
='-Wl,'
23930 # All OSF/1 code is PIC.
23931 lt_prog_compiler_static_GCJ
='-non_shared'
23935 lt_prog_compiler_pic_GCJ
='-KPIC'
23936 lt_prog_compiler_static_GCJ
='-Bstatic'
23937 case $cc_basename in
23938 f77
* | f90
* | f95
*)
23939 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23941 lt_prog_compiler_wl_GCJ
='-Wl,';;
23946 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23947 lt_prog_compiler_pic_GCJ
='-PIC'
23948 lt_prog_compiler_static_GCJ
='-Bstatic'
23951 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23952 lt_prog_compiler_wl_GCJ
='-Wl,'
23953 lt_prog_compiler_pic_GCJ
='-KPIC'
23954 lt_prog_compiler_static_GCJ
='-Bstatic'
23958 if test -d /usr
/nec
;then
23959 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23960 lt_prog_compiler_static_GCJ
='-Bstatic'
23964 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23965 lt_prog_compiler_wl_GCJ
='-Wl,'
23966 lt_prog_compiler_pic_GCJ
='-KPIC'
23967 lt_prog_compiler_static_GCJ
='-Bstatic'
23971 lt_prog_compiler_wl_GCJ
='-Wl,'
23972 lt_prog_compiler_can_build_shared_GCJ
=no
23976 lt_prog_compiler_pic_GCJ
='-pic'
23977 lt_prog_compiler_static_GCJ
='-Bstatic'
23981 lt_prog_compiler_can_build_shared_GCJ
=no
23986 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23987 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23990 # Check to make sure the PIC flag actually works.
23992 if test -n "$lt_prog_compiler_pic_GCJ"; then
23994 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23995 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23996 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23997 echo $ECHO_N "(cached) $ECHO_C" >&6
23999 lt_prog_compiler_pic_works_GCJ
=no
24000 ac_outfile
=conftest.
$ac_objext
24001 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24002 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
24003 # Insert the option either (1) after the last *FLAGS variable, or
24004 # (2) before a word containing "conftest.", or (3) at the end.
24005 # Note that $ac_compile itself does not contain backslashes and begins
24006 # with a dollar sign (not a hyphen), so the echo should work correctly.
24007 # The option is referenced via a variable to avoid confusing sed.
24008 lt_compile
=`echo "$ac_compile" | $SED \
24009 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24010 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24011 -e 's:$: $lt_compiler_flag:'`
24012 (eval echo "\"\$as_me:23998: $lt_compile\"" >&5)
24013 (eval "$lt_compile" 2>conftest.err
)
24015 cat conftest.err
>&5
24016 echo "$as_me:24002: \$? = $ac_status" >&5
24017 if (exit $ac_status) && test -s "$ac_outfile"; then
24018 # The compiler can only warn and ignore the option if not recognized
24019 # So say no if there are warnings other than the usual output.
24020 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
24021 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24022 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
24023 lt_prog_compiler_pic_works_GCJ
=yes
24029 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24030 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24032 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
24033 case $lt_prog_compiler_pic_GCJ in
24035 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
24038 lt_prog_compiler_pic_GCJ
=
24039 lt_prog_compiler_can_build_shared_GCJ
=no
24044 # For platforms which do not support PIC, -DPIC is meaningless:
24046 lt_prog_compiler_pic_GCJ
=
24049 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
24054 # Check to make sure the static flag actually works.
24056 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
24057 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24058 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24059 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24062 lt_prog_compiler_static_works_GCJ
=no
24063 save_LDFLAGS
="$LDFLAGS"
24064 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
24065 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
24066 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
24067 # The linker can only warn and ignore the option if not recognized
24068 # So say no if there are warnings
24069 if test -s conftest.err
; then
24070 # Append any errors to the config.log.
24071 cat conftest.err
1>&5
24072 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
24073 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24074 if diff conftest.exp conftest.er2
>/dev
/null
; then
24075 lt_prog_compiler_static_works_GCJ
=yes
24078 lt_prog_compiler_static_works_GCJ
=yes
24082 LDFLAGS
="$save_LDFLAGS"
24085 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24086 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24088 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
24091 lt_prog_compiler_static_GCJ
=
24095 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24096 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24097 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24098 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 lt_cv_prog_compiler_c_o_GCJ
=no
24101 $rm -r conftest
2>/dev
/null
24105 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24107 lt_compiler_flag
="-o out/conftest2.$ac_objext"
24108 # Insert the option either (1) after the last *FLAGS variable, or
24109 # (2) before a word containing "conftest.", or (3) at the end.
24110 # Note that $ac_compile itself does not contain backslashes and begins
24111 # with a dollar sign (not a hyphen), so the echo should work correctly.
24112 lt_compile
=`echo "$ac_compile" | $SED \
24113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24115 -e 's:$: $lt_compiler_flag:'`
24116 (eval echo "\"\$as_me:24102: $lt_compile\"" >&5)
24117 (eval "$lt_compile" 2>out
/conftest.err
)
24119 cat out
/conftest.err
>&5
24120 echo "$as_me:24106: \$? = $ac_status" >&5
24121 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
24123 # The compiler can only warn and ignore the option if not recognized
24124 # So say no if there are warnings
24125 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
24126 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
24127 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
24128 lt_cv_prog_compiler_c_o_GCJ
=yes
24133 # SGI C++ compiler will create directory out/ii_files/ for
24134 # template instantiation
24135 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
24136 $rm out
/* && rmdir out
24142 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24143 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24146 hard_links
="nottested"
24147 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
24148 # do not overwrite the value of need_locks provided by the user
24149 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24150 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24153 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24155 ln conftest.a conftest.b
2>&5 || hard_links
=no
24156 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24157 { echo "$as_me:$LINENO: result: $hard_links" >&5
24158 echo "${ECHO_T}$hard_links" >&6; }
24159 if test "$hard_links" = no
; then
24160 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24161 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24168 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24169 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24172 allow_undefined_flag_GCJ
=
24173 enable_shared_with_static_runtimes_GCJ
=no
24175 archive_expsym_cmds_GCJ
=
24176 old_archive_From_new_cmds_GCJ
=
24177 old_archive_from_expsyms_cmds_GCJ
=
24178 export_dynamic_flag_spec_GCJ
=
24179 whole_archive_flag_spec_GCJ
=
24180 thread_safe_flag_spec_GCJ
=
24181 hardcode_libdir_flag_spec_GCJ
=
24182 hardcode_libdir_flag_spec_ld_GCJ
=
24183 hardcode_libdir_separator_GCJ
=
24184 hardcode_direct_GCJ
=no
24185 hardcode_minus_L_GCJ
=no
24186 hardcode_shlibpath_var_GCJ
=unsupported
24187 link_all_deplibs_GCJ
=unknown
24188 hardcode_automatic_GCJ
=no
24190 module_expsym_cmds_GCJ
=
24191 always_export_symbols_GCJ
=no
24192 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24193 # include_expsyms should be a list of space-separated symbols to be *always*
24194 # included in the symbol list
24195 include_expsyms_GCJ
=
24196 # exclude_expsyms can be an extended regexp of symbols to exclude
24197 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24198 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24199 # as well as any symbol that contains `d'.
24200 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
24201 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24202 # platforms (ab)use it in PIC code, but their linkers get confused if
24203 # the symbol is explicitly referenced. Since portable code cannot
24204 # rely on this symbol name, it's probably fine to never include it in
24205 # preloaded symbol tables.
24206 extract_expsyms_cmds
=
24207 # Just being paranoid about ensuring that cc_basename is set.
24208 for cc_temp
in $compiler""; do
24210 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24211 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24216 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24219 cygwin
* | mingw
* | pw32
*)
24220 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24221 # When not using gcc, we currently assume that we are using
24222 # Microsoft Visual C++.
24223 if test "$GCC" != yes; then
24228 # we just hope/assume this is gcc and not c89 (= MSVC++)
24237 if test "$with_gnu_ld" = yes; then
24238 # If archive_cmds runs LD, not CC, wlarc should be empty
24241 # Set some defaults for GNU ld with shared library support. These
24242 # are reset later if shared libraries are not supported. Putting them
24243 # here allows them to be overridden if necessary.
24244 runpath_var
=LD_RUN_PATH
24245 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24246 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24247 # ancient GNU ld didn't support --whole-archive et. al.
24248 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24249 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24251 whole_archive_flag_spec_GCJ
=
24253 supports_anon_versioning
=no
24254 case `$LD -v 2>/dev/null` in
24255 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24256 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24257 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24258 *\
2.11.
*) ;; # other 2.11 versions
24259 *) supports_anon_versioning
=yes ;;
24262 # See if GNU ld supports shared libraries.
24264 aix3
* | aix4
* | aix5
*)
24265 # On AIX/PPC, the GNU linker is very broken
24266 if test "$host_cpu" != ia64
; then
24270 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24271 *** to be unable to reliably create shared libraries on AIX.
24272 *** Therefore, libtool is disabling shared libraries support. If you
24273 *** really care for shared libraries, you may want to modify your PATH
24274 *** so that a non-GNU linker is found, and then restart.
24281 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)'
24282 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24283 hardcode_minus_L_GCJ
=yes
24285 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24286 # that the semantics of dynamic libraries on AmigaOS, at least up
24287 # to version 4, is to share data among multiple programs linked
24288 # with the same dynamic library. Since this doesn't match the
24289 # behavior of shared libraries on other platforms, we can't use
24295 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24296 allow_undefined_flag_GCJ
=unsupported
24297 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24298 # support --undefined. This deserves some investigation. FIXME
24299 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24305 cygwin
* | mingw
* | pw32
*)
24306 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24307 # as there is no search path for DLLs.
24308 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24309 allow_undefined_flag_GCJ
=unsupported
24310 always_export_symbols_GCJ
=no
24311 enable_shared_with_static_runtimes_GCJ
=yes
24312 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24314 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24315 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24316 # If the export-symbols file already is a .def file (1st line
24317 # is EXPORTS), use it as is; otherwise, prepend...
24318 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24319 cp $export_symbols $output_objdir/$soname.def;
24321 echo EXPORTS > $output_objdir/$soname.def;
24322 cat $export_symbols >> $output_objdir/$soname.def;
24324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24331 hardcode_direct_GCJ
=no
24332 hardcode_shlibpath_var_GCJ
=no
24333 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24334 export_dynamic_flag_spec_GCJ
='${wl}-E'
24335 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24336 # Instead, shared libraries are loaded at an image base (0x10000000 by
24337 # default) and relocated if they conflict, which is a slow very memory
24338 # consuming and fragmenting process. To avoid this, we pick a random,
24339 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24340 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24341 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'
24342 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'
24346 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24348 case $cc_basename,$host_cpu in
24349 pgcc
*) # Portland Group C compiler
24350 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'
24351 tmp_addflag
=' $pic_flag'
24353 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24354 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'
24355 tmp_addflag
=' $pic_flag -Mnomain' ;;
24356 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24357 tmp_addflag
=' -i_dynamic' ;;
24358 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24359 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24360 ifc
* | ifort
*) # Intel Fortran compiler
24361 tmp_addflag
=' -nofor_main' ;;
24363 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24365 if test $supports_anon_versioning = yes; then
24366 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24367 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24368 $echo "local: *; };" >> $output_objdir/$libname.ver~
24369 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24377 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24378 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24381 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24382 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24387 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24391 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24392 *** create shared libraries on Solaris systems. Therefore, libtool
24393 *** is disabling shared libraries support. We urge you to upgrade GNU
24394 *** binutils to release 2.9.1 or newer. Another option is to modify
24395 *** your PATH or compiler configuration so that the native linker is
24396 *** used, and then restart.
24399 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24400 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24401 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24407 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24408 case `$LD -v 2>&1` in
24409 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24413 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24414 *** reliably create shared libraries on SCO systems. Therefore, libtool
24415 *** is disabling shared libraries support. We urge you to upgrade GNU
24416 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24417 *** your PATH or compiler configuration so that the native linker is
24418 *** used, and then restart.
24423 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24424 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24425 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24426 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24435 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24437 hardcode_direct_GCJ
=yes
24438 hardcode_shlibpath_var_GCJ
=no
24442 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24443 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24444 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24451 if test "$ld_shlibs_GCJ" = no
; then
24453 hardcode_libdir_flag_spec_GCJ
=
24454 export_dynamic_flag_spec_GCJ
=
24455 whole_archive_flag_spec_GCJ
=
24458 # PORTME fill in a description of your system's linker (not GNU ld)
24461 allow_undefined_flag_GCJ
=unsupported
24462 always_export_symbols_GCJ
=yes
24463 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'
24464 # Note: this linker hardcodes the directories in LIBPATH if there
24465 # are no directories specified by -L.
24466 hardcode_minus_L_GCJ
=yes
24467 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24468 # Neither direct hardcoding nor static linking is supported with a
24470 hardcode_direct_GCJ
=unsupported
24475 if test "$host_cpu" = ia64
; then
24476 # On IA64, the linker does run time linking by default, so we don't
24477 # have to do anything special.
24478 aix_use_runtimelinking
=no
24479 exp_sym_flag
='-Bexport'
24482 # If we're using GNU nm, then we don't want the "-C" option.
24483 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24484 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24485 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'
24487 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'
24489 aix_use_runtimelinking
=no
24491 # Test if we are trying to use run time linking or normal
24492 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24493 # need to do runtime linking.
24494 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24495 for ld_flag
in $LDFLAGS; do
24496 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24497 aix_use_runtimelinking
=yes
24504 exp_sym_flag
='-bexport'
24505 no_entry_flag
='-bnoentry'
24508 # When large executables or shared objects are built, AIX ld can
24509 # have problems creating the table of contents. If linking a library
24510 # or program results in "error TOC overflow" add -mminimal-toc to
24511 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24512 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24514 archive_cmds_GCJ
=''
24515 hardcode_direct_GCJ
=yes
24516 hardcode_libdir_separator_GCJ
=':'
24517 link_all_deplibs_GCJ
=yes
24519 if test "$GCC" = yes; then
24520 case $host_os in aix4.
[012]|aix4.
[012].
*)
24521 # We only want to do this on AIX 4.2 and lower, the check
24522 # below for broken collect2 doesn't work under 4.3+
24523 collect2name
=`${CC} -print-prog-name=collect2`
24524 if test -f "$collect2name" && \
24525 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24527 # We have reworked collect2
24528 hardcode_direct_GCJ
=yes
24530 # We have old collect2
24531 hardcode_direct_GCJ
=unsupported
24532 # It fails to find uninstalled libraries when the uninstalled
24533 # path is not listed in the libpath. Setting hardcode_minus_L
24534 # to unsupported forces relinking
24535 hardcode_minus_L_GCJ
=yes
24536 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24537 hardcode_libdir_separator_GCJ
=
24541 shared_flag
='-shared'
24542 if test "$aix_use_runtimelinking" = yes; then
24543 shared_flag
="$shared_flag "'${wl}-G'
24547 if test "$host_cpu" = ia64
; then
24548 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24549 # chokes on -Wl,-G. The following line is correct:
24552 if test "$aix_use_runtimelinking" = yes; then
24553 shared_flag
='${wl}-G'
24555 shared_flag
='${wl}-bM:SRE'
24560 # It seems that -bexpall does not export symbols beginning with
24561 # underscore (_), so it is better to generate a list of symbols to export.
24562 always_export_symbols_GCJ
=yes
24563 if test "$aix_use_runtimelinking" = yes; then
24564 # Warning - without using the other runtime loading flags (-brtl),
24565 # -berok will link without error, but may produce a broken library.
24566 allow_undefined_flag_GCJ
='-berok'
24567 # Determine the default libpath from the value encoded in an empty executable.
24568 cat >conftest.
$ac_ext <<_ACEOF
24571 cat confdefs.h
>>conftest.
$ac_ext
24572 cat >>conftest.
$ac_ext <<_ACEOF
24573 /* end confdefs.h. */
24583 rm -f conftest.
$ac_objext conftest
$ac_exeext
24584 if { (ac_try
="$ac_link"
24585 case "(($ac_try" in
24586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24587 *) ac_try_echo=$ac_try;;
24589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24590 (eval "$ac_link") 2>conftest.er1
24592 grep -v '^ *+' conftest.er1 >conftest.err
24594 cat conftest.err >&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } &&
24597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24598 { (case "(($ac_try" in
24599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24600 *) ac_try_echo
=$ac_try;;
24602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24603 (eval "$ac_try") 2>&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; } &&
24607 { ac_try
='test -s conftest$ac_exeext'
24608 { (case "(($ac_try" in
24609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24610 *) ac_try_echo=$ac_try;;
24612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24613 (eval "$ac_try") 2>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); }; }; then
24618 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24620 # Check for a 64-bit object if we didn't find anything.
24621 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; }
24624 echo "$as_me: failed program was:" >&5
24625 sed 's/^/| /' conftest.$ac_ext >&5
24630 rm -f core conftest.err conftest.$ac_objext \
24631 conftest$ac_exeext conftest.$ac_ext
24632 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24634 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24635 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"
24637 if test "$host_cpu" = ia64; then
24638 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24639 allow_undefined_flag_GCJ="-z nodefs"
24640 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"
24642 # Determine the default libpath from the value encoded in an empty executable.
24643 cat >conftest.$ac_ext <<_ACEOF
24646 cat confdefs.h >>conftest.$ac_ext
24647 cat >>conftest.$ac_ext <<_ACEOF
24648 /* end confdefs.h. */
24658 rm -f conftest.$ac_objext conftest$ac_exeext
24659 if { (ac_try="$ac_link"
24660 case "(($ac_try" in
24661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24662 *) ac_try_echo
=$ac_try;;
24664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24665 (eval "$ac_link") 2>conftest.er1
24667 grep -v '^ *+' conftest.er1
>conftest.err
24669 cat conftest.err
>&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); } &&
24672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24673 { (case "(($ac_try" in
24674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24675 *) ac_try_echo=$ac_try;;
24677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24678 (eval "$ac_try") 2>&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); }; } &&
24682 { ac_try='test -s conftest$ac_exeext'
24683 { (case "(($ac_try" in
24684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24685 *) ac_try_echo
=$ac_try;;
24687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24688 (eval "$ac_try") 2>&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; }; then
24693 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24695 # Check for a 64-bit object if we didn't find anything.
24696 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; }
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.
$ac_ext >&5
24705 rm -f core conftest.err conftest.
$ac_objext \
24706 conftest
$ac_exeext conftest.
$ac_ext
24707 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24709 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24710 # Warning - without using the other run time loading flags,
24711 # -berok will link without error, but may produce a broken library.
24712 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24713 allow_undefined_flag_GCJ
=' ${wl}-berok'
24714 # Exported symbols can be pulled into shared objects from archives
24715 whole_archive_flag_spec_GCJ
='$convenience'
24716 archive_cmds_need_lc_GCJ
=yes
24717 # This is similar to how AIX traditionally builds its shared libraries.
24718 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'
24724 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)'
24725 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24726 hardcode_minus_L_GCJ
=yes
24727 # see comment about different semantics on the GNU ld section
24732 export_dynamic_flag_spec_GCJ
=-rdynamic
24735 cygwin
* | mingw
* | pw32
*)
24736 # When not using gcc, we currently assume that we are using
24737 # Microsoft Visual C++.
24738 # hardcode_libdir_flag_spec is actually meaningless, as there is
24739 # no search path for DLLs.
24740 hardcode_libdir_flag_spec_GCJ
=' '
24741 allow_undefined_flag_GCJ
=unsupported
24742 # Tell ltmain to make .lib files, not .a files.
24744 # Tell ltmain to make .dll files, not .so files.
24746 # FIXME: Setting linknames here is a bad hack.
24747 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24748 # The linker will automatically build a .lib file if we build a DLL.
24749 old_archive_From_new_cmds_GCJ
='true'
24750 # FIXME: Should let the user specify the lib program.
24751 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24752 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24753 enable_shared_with_static_runtimes_GCJ
=yes
24756 darwin
* | rhapsody
*)
24758 rhapsody
* | darwin1.
[012])
24759 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24762 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24763 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24765 case ${MACOSX_DEPLOYMENT_TARGET} in
24767 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24770 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24776 archive_cmds_need_lc_GCJ
=no
24777 hardcode_direct_GCJ
=no
24778 hardcode_automatic_GCJ
=yes
24779 hardcode_shlibpath_var_GCJ
=unsupported
24780 whole_archive_flag_spec_GCJ
=''
24781 link_all_deplibs_GCJ
=yes
24782 if test "$GCC" = yes ; then
24783 output_verbose_link_cmd
='echo'
24784 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24785 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24786 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24787 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}'
24788 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}'
24790 case $cc_basename in
24792 output_verbose_link_cmd
='echo'
24793 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24794 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24795 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24796 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}'
24797 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}'
24807 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24808 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24809 hardcode_shlibpath_var_GCJ
=no
24816 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24817 # support. Future versions do this automatically, but an explicit c++rt0.o
24818 # does not break anything, and helps significantly (at the cost of a little
24821 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24822 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24823 hardcode_direct_GCJ
=yes
24824 hardcode_shlibpath_var_GCJ
=no
24827 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24829 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24830 hardcode_direct_GCJ
=yes
24831 hardcode_minus_L_GCJ
=yes
24832 hardcode_shlibpath_var_GCJ
=no
24835 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24836 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24837 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24838 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24839 hardcode_direct_GCJ
=yes
24840 hardcode_shlibpath_var_GCJ
=no
24844 if test "$GCC" = yes; then
24845 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'
24847 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'
24849 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24850 hardcode_libdir_separator_GCJ
=:
24851 hardcode_direct_GCJ
=yes
24853 # hardcode_minus_L: Not really in the search PATH,
24854 # but as the default location of the library.
24855 hardcode_minus_L_GCJ
=yes
24856 export_dynamic_flag_spec_GCJ
='${wl}-E'
24860 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24861 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24863 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24865 if test "$with_gnu_ld" = no
; then
24866 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24867 hardcode_libdir_separator_GCJ
=:
24869 hardcode_direct_GCJ
=yes
24870 export_dynamic_flag_spec_GCJ
='${wl}-E'
24872 # hardcode_minus_L: Not really in the search PATH,
24873 # but as the default location of the library.
24874 hardcode_minus_L_GCJ
=yes
24879 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24882 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24885 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24888 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24894 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24897 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24900 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24904 if test "$with_gnu_ld" = no
; then
24905 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24906 hardcode_libdir_separator_GCJ
=:
24910 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24911 hardcode_direct_GCJ
=no
24912 hardcode_shlibpath_var_GCJ
=no
24915 hardcode_direct_GCJ
=yes
24916 export_dynamic_flag_spec_GCJ
='${wl}-E'
24918 # hardcode_minus_L: Not really in the search PATH,
24919 # but as the default location of the library.
24920 hardcode_minus_L_GCJ
=yes
24926 irix5
* | irix6
* | nonstopux
*)
24927 if test "$GCC" = yes; then
24928 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'
24930 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'
24931 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24933 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24934 hardcode_libdir_separator_GCJ
=:
24935 link_all_deplibs_GCJ
=yes
24939 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24940 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24942 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24944 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24945 hardcode_direct_GCJ
=yes
24946 hardcode_shlibpath_var_GCJ
=no
24950 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24951 hardcode_direct_GCJ
=yes
24952 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24953 hardcode_libdir_separator_GCJ
=:
24954 hardcode_shlibpath_var_GCJ
=no
24958 hardcode_direct_GCJ
=yes
24959 hardcode_shlibpath_var_GCJ
=no
24960 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24961 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24962 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24963 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24964 export_dynamic_flag_spec_GCJ
='${wl}-E'
24967 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24968 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24969 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24972 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24973 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24980 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24981 hardcode_minus_L_GCJ
=yes
24982 allow_undefined_flag_GCJ
=unsupported
24983 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'
24984 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24988 if test "$GCC" = yes; then
24989 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24990 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'
24992 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24993 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'
24995 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24996 hardcode_libdir_separator_GCJ
=:
24999 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
25000 if test "$GCC" = yes; then
25001 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
25002 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'
25003 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25005 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
25006 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'
25007 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~
25008 $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'
25010 # Both c and cxx compiler support -rpath directly
25011 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
25013 hardcode_libdir_separator_GCJ
=:
25017 no_undefined_flag_GCJ
=' -z text'
25018 if test "$GCC" = yes; then
25020 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25021 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25022 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25025 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25026 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25027 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25029 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25030 hardcode_shlibpath_var_GCJ
=no
25032 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
25034 # The compiler driver will combine linker options so we
25035 # cannot just pass the convience library names through
25036 # without $wl, iff we do not link with $LD.
25037 # Luckily, gcc supports the same syntax we need for Sun Studio.
25038 # Supported since Solaris 2.6 (maybe 2.5.1?)
25041 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
25043 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' ;;
25046 link_all_deplibs_GCJ
=yes
25050 if test "x$host_vendor" = xsequent
; then
25051 # Use $CC to link under sequent, because it throws in some extra .o
25052 # files that make .init and .fini sections work.
25053 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25055 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25057 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25058 hardcode_direct_GCJ
=yes
25059 hardcode_minus_L_GCJ
=yes
25060 hardcode_shlibpath_var_GCJ
=no
25064 case $host_vendor in
25066 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25067 hardcode_direct_GCJ
=yes # is this really true???
25070 ## LD is ld it makes a PLAMLIB
25071 ## CC just makes a GrossModule.
25072 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25073 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
25074 hardcode_direct_GCJ
=no
25077 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25078 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
25081 runpath_var
='LD_RUN_PATH'
25082 hardcode_shlibpath_var_GCJ
=no
25086 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25087 hardcode_shlibpath_var_GCJ
=no
25088 export_dynamic_flag_spec_GCJ
='-Bexport'
25092 if test -d /usr
/nec
; then
25093 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25094 hardcode_shlibpath_var_GCJ
=no
25095 runpath_var
=LD_RUN_PATH
25096 hardcode_runpath_var
=yes
25101 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
25102 no_undefined_flag_GCJ
='${wl}-z,text'
25103 archive_cmds_need_lc_GCJ
=no
25104 hardcode_shlibpath_var_GCJ
=no
25105 runpath_var
='LD_RUN_PATH'
25107 if test "$GCC" = yes; then
25108 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25109 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25111 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25112 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25116 sysv5
* | sco3.2v5
* | sco5v6
*)
25117 # Note: We can NOT use -z defs as we might desire, because we do not
25118 # link with -lc, and that would cause any symbols used from libc to
25119 # always be unresolved, which means just about no library would
25120 # ever link correctly. If we're not using GNU ld we use -z text
25121 # though, which does catch some bad symbols but isn't as heavy-handed
25123 no_undefined_flag_GCJ
='${wl}-z,text'
25124 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
25125 archive_cmds_need_lc_GCJ
=no
25126 hardcode_shlibpath_var_GCJ
=no
25127 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25128 hardcode_libdir_separator_GCJ
=':'
25129 link_all_deplibs_GCJ
=yes
25130 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
25131 runpath_var
='LD_RUN_PATH'
25133 if test "$GCC" = yes; then
25134 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25135 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25137 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25138 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25143 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25144 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25145 hardcode_shlibpath_var_GCJ
=no
25154 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25155 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25156 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
25159 # Do we need to explicitly link libc?
25161 case "x$archive_cmds_need_lc_GCJ" in
25163 # Assume -lc should be added
25164 archive_cmds_need_lc_GCJ
=yes
25166 if test "$enable_shared" = yes && test "$GCC" = yes; then
25167 case $archive_cmds_GCJ in
25169 # FIXME: we may have to deal with multi-command sequences.
25172 # Test whether the compiler implicitly links with -lc since on some
25173 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25174 # to ld, don't add -lc before -lgcc.
25175 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25176 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25178 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
25180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25181 (eval $ac_compile) 2>&5
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); } 2>conftest.err
; then
25187 libobjs
=conftest.
$ac_objext
25189 wl
=$lt_prog_compiler_wl_GCJ
25190 pic_flag
=$lt_prog_compiler_pic_GCJ
25196 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
25197 allow_undefined_flag_GCJ
=
25198 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25199 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }
25204 archive_cmds_need_lc_GCJ
=no
25206 archive_cmds_need_lc_GCJ
=yes
25208 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25210 cat conftest.err
1>&5
25213 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25214 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25221 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25222 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25223 library_names_spec
=
25224 libname_spec
='lib$name'
25228 postuninstall_cmds
=
25232 shlibpath_overrides_runpath
=unknown
25234 dynamic_linker
="$host_os ld.so"
25235 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25236 if test "$GCC" = yes; then
25237 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25238 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25239 # if the path contains ";" then we assume it to be the separator
25240 # otherwise default to the standard path separator (i.e. ":") - it is
25241 # assumed that no part of a normal pathname contains ";" but that should
25242 # okay in the real world where ";" in dirpaths is itself problematic.
25243 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25245 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25248 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25250 need_lib_prefix
=unknown
25251 hardcode_into_libs
=no
25253 # when you set need_version to no, make sure it does not cause -set_version
25254 # flags to be left without arguments
25255 need_version
=unknown
25260 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25261 shlibpath_var
=LIBPATH
25263 # AIX 3 has no versioning support, so we append a major version to the name.
25264 soname_spec
='${libname}${release}${shared_ext}$major'
25271 hardcode_into_libs
=yes
25272 if test "$host_cpu" = ia64
; then
25273 # AIX 5 supports IA64
25274 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25275 shlibpath_var
=LD_LIBRARY_PATH
25277 # With GCC up to 2.95.x, collect2 would create an import file
25278 # for dependence libraries. The import file would start with
25279 # the line `#! .'. This would cause the generated library to
25280 # depend on `.', always an invalid library. This was fixed in
25281 # development snapshots of GCC prior to 3.0.
25283 aix4 | aix4.
[01] | aix4.
[01].
*)
25284 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25286 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25289 can_build_shared
=no
25293 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25294 # soname into executable. Probably we can add versioning support to
25295 # collect2, so additional links can be useful in future.
25296 if test "$aix_use_runtimelinking" = yes; then
25297 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25298 # instead of lib<name>.a to let people know that these are not
25299 # typical AIX shared libraries.
25300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25302 # We preserve .a as extension for shared libraries through AIX4.2
25303 # and later when we are not doing run time linking.
25304 library_names_spec
='${libname}${release}.a $libname.a'
25305 soname_spec
='${libname}${release}${shared_ext}$major'
25307 shlibpath_var
=LIBPATH
25312 library_names_spec
='$libname.ixlibrary $libname.a'
25313 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25314 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'
25318 library_names_spec
='${libname}${shared_ext}'
25319 dynamic_linker
="$host_os ld.so"
25320 shlibpath_var
=LIBRARY_PATH
25326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25327 soname_spec
='${libname}${release}${shared_ext}$major'
25328 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25329 shlibpath_var
=LD_LIBRARY_PATH
25330 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25331 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25332 # the default ld.so.conf also contains /usr/contrib/lib and
25333 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25334 # libtool to hard-code these into programs
25337 cygwin
* | mingw
* | pw32
*)
25338 version_type
=windows
25343 case $GCC,$host_os in
25344 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25345 library_names_spec
='$libname.dll.a'
25346 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25347 postinstall_cmds
='base_file=`basename \${file}`~
25348 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25349 dldir=$destdir/`dirname \$dlpath`~
25350 test -d \$dldir || mkdir -p \$dldir~
25351 $install_prog $dir/$dlname \$dldir/$dlname~
25352 chmod a+x \$dldir/$dlname'
25353 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25354 dlpath=$dir/\$dldll~
25356 shlibpath_overrides_runpath
=yes
25360 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25361 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25362 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25365 # MinGW DLLs use traditional 'lib' prefix
25366 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25367 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25368 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25369 # It is most probably a Windows format PATH printed by
25370 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25371 # path with ; separators, and with drive letters. We can handle the
25372 # drive letters (cygwin fileutils understands them), so leave them,
25373 # especially as we might pass files found there to a mingw objdump,
25374 # which wouldn't understand a cygwinified path. Ahh.
25375 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25377 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25381 # pw32 DLLs use 'pw' prefix rather than 'lib'
25382 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25388 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25391 dynamic_linker
='Win32 ld.exe'
25392 # FIXME: first we should search . and the directory the executable is in
25396 darwin
* | rhapsody
*)
25397 dynamic_linker
="$host_os dyld"
25398 version_type
=darwin
25401 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25402 soname_spec
='${libname}${release}${major}$shared_ext'
25403 shlibpath_overrides_runpath
=yes
25404 shlibpath_var
=DYLD_LIBRARY_PATH
25405 shrext_cmds
='.dylib'
25406 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25407 if test "$GCC" = yes; then
25408 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"`
25410 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25412 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25420 soname_spec
='${libname}${release}${shared_ext}$major'
25421 shlibpath_var
=LD_LIBRARY_PATH
25432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25433 soname_spec
='${libname}${release}${shared_ext}$major'
25434 shlibpath_var
=LD_LIBRARY_PATH
25435 shlibpath_overrides_runpath
=no
25436 hardcode_into_libs
=yes
25437 dynamic_linker
='GNU ld.so'
25440 freebsd
* | dragonfly
*)
25441 # DragonFly does not have aout. When/if they implement a new
25442 # versioning mechanism, adjust this.
25443 if test -x /usr
/bin
/objformat
; then
25444 objformat
=`/usr/bin/objformat`
25447 freebsd
[123]*) objformat
=aout
;;
25448 *) objformat
=elf
;;
25451 version_type
=freebsd-
$objformat
25452 case $version_type in
25454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25459 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25463 shlibpath_var
=LD_LIBRARY_PATH
25466 shlibpath_overrides_runpath
=yes
25468 freebsd3.
[01]* | freebsdelf3.
[01]*)
25469 shlibpath_overrides_runpath
=yes
25470 hardcode_into_libs
=yes
25472 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25473 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25474 shlibpath_overrides_runpath
=no
25475 hardcode_into_libs
=yes
25477 freebsd
*) # from 4.6 on
25478 shlibpath_overrides_runpath
=yes
25479 hardcode_into_libs
=yes
25488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25489 soname_spec
='${libname}${release}${shared_ext}$major'
25490 shlibpath_var
=LD_LIBRARY_PATH
25491 hardcode_into_libs
=yes
25494 hpux9
* | hpux10
* | hpux11
*)
25495 # Give a soname corresponding to the major version so that dld.sl refuses to
25496 # link against other versions.
25503 hardcode_into_libs
=yes
25504 dynamic_linker
="$host_os dld.so"
25505 shlibpath_var
=LD_LIBRARY_PATH
25506 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25508 soname_spec
='${libname}${release}${shared_ext}$major'
25509 if test "X$HPUX_IA64_MODE" = X32
; then
25510 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25512 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25514 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25518 hardcode_into_libs
=yes
25519 dynamic_linker
="$host_os dld.sl"
25520 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25521 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25523 soname_spec
='${libname}${release}${shared_ext}$major'
25524 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25525 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25529 dynamic_linker
="$host_os dld.sl"
25530 shlibpath_var
=SHLIB_PATH
25531 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25533 soname_spec
='${libname}${release}${shared_ext}$major'
25536 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25537 postinstall_cmds
='chmod 555 $lib'
25544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25545 soname_spec
='${libname}${release}${shared_ext}$major'
25546 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25547 shlibpath_var
=LD_LIBRARY_PATH
25548 shlibpath_overrides_runpath
=no
25549 hardcode_into_libs
=yes
25552 irix5
* | irix6
* | nonstopux
*)
25554 nonstopux
*) version_type
=nonstopux
;;
25556 if test "$lt_cv_prog_gnu_ld" = yes; then
25564 soname_spec
='${libname}${release}${shared_ext}$major'
25565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25567 irix5
* | nonstopux
*)
25568 libsuff
= shlibsuff
=
25571 case $LD in # libtool.m4 will add one of these switches to LD
25572 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25573 libsuff
= shlibsuff
= libmagic
=32-bit;;
25574 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25575 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25576 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25577 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25578 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25582 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25583 shlibpath_overrides_runpath
=no
25584 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25585 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25586 hardcode_into_libs
=yes
25589 # No shared lib support for Linux oldld, aout, or coff.
25590 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25594 # This must be Linux ELF.
25599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25600 soname_spec
='${libname}${release}${shared_ext}$major'
25601 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25602 shlibpath_var
=LD_LIBRARY_PATH
25603 shlibpath_overrides_runpath
=no
25604 # This implies no fast_install, which is unacceptable.
25605 # Some rework will be needed to allow for fast_install
25606 # before this can be enabled.
25607 hardcode_into_libs
=yes
25609 # Append ld.so.conf contents to the search path
25610 if test -f /etc
/ld.so.conf
; then
25611 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' ' '`
25612 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25615 # We used to test for /lib/ld.so.1 and disable shared libraries on
25616 # powerpc, because MkLinux only supported shared libraries with the
25617 # GNU dynamic linker. Since this was broken with cross compilers,
25618 # most powerpc-linux boxes support dynamic linking these days and
25619 # people can always --disable-shared, the test was removed, and we
25620 # assume the GNU/Linux dynamic linker is in use.
25621 dynamic_linker
='GNU/Linux ld.so'
25628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25629 soname_spec
='${libname}${release}${shared_ext}$major'
25630 shlibpath_var
=LD_LIBRARY_PATH
25631 shlibpath_overrides_runpath
=no
25632 hardcode_into_libs
=yes
25633 dynamic_linker
='GNU ld.so'
25640 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25642 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25643 dynamic_linker
='NetBSD (a.out) ld.so'
25645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25646 soname_spec
='${libname}${release}${shared_ext}$major'
25647 dynamic_linker
='NetBSD ld.elf_so'
25649 shlibpath_var
=LD_LIBRARY_PATH
25650 shlibpath_overrides_runpath
=yes
25651 hardcode_into_libs
=yes
25656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25657 shlibpath_var
=LD_LIBRARY_PATH
25658 shlibpath_overrides_runpath
=yes
25665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25666 soname_spec
='${libname}${release}${shared_ext}$major'
25667 shlibpath_var
=LD_LIBRARY_PATH
25668 shlibpath_overrides_runpath
=yes
25673 sys_lib_dlsearch_path_spec
="/usr/lib"
25675 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25677 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25678 *) need_version
=no
;;
25680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25681 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25682 shlibpath_var
=LD_LIBRARY_PATH
25683 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25685 openbsd2.
[89] | openbsd2.
[89].
*)
25686 shlibpath_overrides_runpath
=no
25689 shlibpath_overrides_runpath
=yes
25693 shlibpath_overrides_runpath
=yes
25698 libname_spec
='$name'
25701 library_names_spec
='$libname${shared_ext} $libname.a'
25702 dynamic_linker
='OS/2 ld.exe'
25703 shlibpath_var
=LIBPATH
25706 osf3
* | osf4
* | osf5
*)
25710 soname_spec
='${libname}${release}${shared_ext}$major'
25711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25712 shlibpath_var
=LD_LIBRARY_PATH
25713 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25714 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25722 soname_spec
='${libname}${release}${shared_ext}$major'
25723 shlibpath_var
=LD_LIBRARY_PATH
25724 shlibpath_overrides_runpath
=yes
25725 hardcode_into_libs
=yes
25726 # ldd complains unless libraries are executable
25727 postinstall_cmds
='chmod +x $lib'
25732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25733 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25734 shlibpath_var
=LD_LIBRARY_PATH
25735 shlibpath_overrides_runpath
=yes
25736 if test "$with_gnu_ld" = yes; then
25744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25745 soname_spec
='${libname}${release}${shared_ext}$major'
25746 shlibpath_var
=LD_LIBRARY_PATH
25747 case $host_vendor in
25749 shlibpath_overrides_runpath
=no
25751 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25752 runpath_var
=LD_RUN_PATH
25760 shlibpath_overrides_runpath
=no
25761 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25767 if test -d /usr
/nec
;then
25769 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25770 soname_spec
='$libname${shared_ext}.$major'
25771 shlibpath_var
=LD_LIBRARY_PATH
25775 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25776 version_type
=freebsd-elf
25779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25780 soname_spec
='${libname}${release}${shared_ext}$major'
25781 shlibpath_var
=LD_LIBRARY_PATH
25782 hardcode_into_libs
=yes
25783 if test "$with_gnu_ld" = yes; then
25784 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25785 shlibpath_overrides_runpath
=no
25787 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25788 shlibpath_overrides_runpath
=yes
25791 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25795 sys_lib_dlsearch_path_spec
='/usr/lib'
25800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25801 soname_spec
='${libname}${release}${shared_ext}$major'
25802 shlibpath_var
=LD_LIBRARY_PATH
25809 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25810 echo "${ECHO_T}$dynamic_linker" >&6; }
25811 test "$dynamic_linker" = no
&& can_build_shared
=no
25813 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25814 if test "$GCC" = yes; then
25815 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25818 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25819 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25820 hardcode_action_GCJ
=
25821 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25822 test -n "$runpath_var_GCJ" || \
25823 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25825 # We can hardcode non-existant directories.
25826 if test "$hardcode_direct_GCJ" != no
&&
25827 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25828 # have to relink, otherwise we might link with an installed library
25829 # when we should be linking with a yet-to-be-installed one
25830 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25831 test "$hardcode_minus_L_GCJ" != no
; then
25832 # Linking always hardcodes the temporary library directory.
25833 hardcode_action_GCJ
=relink
25835 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25836 hardcode_action_GCJ
=immediate
25839 # We cannot hardcode anything, or else we can only hardcode existing
25841 hardcode_action_GCJ
=unsupported
25843 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25844 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25846 if test "$hardcode_action_GCJ" = relink
; then
25847 # Fast installation is not supported
25848 enable_fast_install
=no
25849 elif test "$shlibpath_overrides_runpath" = yes ||
25850 test "$enable_shared" = no
; then
25851 # Fast installation is not necessary
25852 enable_fast_install
=needless
25856 # The else clause should only fire when bootstrapping the
25857 # libtool distribution, otherwise you forgot to ship ltmain.sh
25858 # with your package, and you will get complaints that there are
25859 # no rules to generate ltmain.sh.
25860 if test -f "$ltmain"; then
25861 # See if we are running on zsh, and set the options which allow our commands through
25862 # without removal of \ escapes.
25863 if test -n "${ZSH_VERSION+set}" ; then
25864 setopt NO_GLOB_SUBST
25866 # Now quote all the things that may contain metacharacters while being
25867 # careful not to overquote the AC_SUBSTed values. We take copies of the
25868 # variables and quote the copies for generation of the libtool script.
25869 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25871 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25872 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25873 deplibs_check_method reload_flag reload_cmds need_locks \
25874 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25875 lt_cv_sys_global_symbol_to_c_name_address \
25876 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25877 old_postinstall_cmds old_postuninstall_cmds \
25881 lt_prog_compiler_wl_GCJ \
25882 lt_prog_compiler_pic_GCJ \
25883 lt_prog_compiler_static_GCJ \
25884 lt_prog_compiler_no_builtin_flag_GCJ \
25885 export_dynamic_flag_spec_GCJ \
25886 thread_safe_flag_spec_GCJ \
25887 whole_archive_flag_spec_GCJ \
25888 enable_shared_with_static_runtimes_GCJ \
25889 old_archive_cmds_GCJ \
25890 old_archive_from_new_cmds_GCJ \
25891 predep_objects_GCJ \
25892 postdep_objects_GCJ \
25895 compiler_lib_search_path_GCJ \
25897 archive_expsym_cmds_GCJ \
25898 postinstall_cmds_GCJ \
25899 postuninstall_cmds_GCJ \
25900 old_archive_from_expsyms_cmds_GCJ \
25901 allow_undefined_flag_GCJ \
25902 no_undefined_flag_GCJ \
25903 export_symbols_cmds_GCJ \
25904 hardcode_libdir_flag_spec_GCJ \
25905 hardcode_libdir_flag_spec_ld_GCJ \
25906 hardcode_libdir_separator_GCJ \
25907 hardcode_automatic_GCJ \
25909 module_expsym_cmds_GCJ \
25910 lt_cv_prog_compiler_c_o_GCJ \
25911 exclude_expsyms_GCJ \
25912 include_expsyms_GCJ
; do
25915 old_archive_cmds_GCJ | \
25916 old_archive_from_new_cmds_GCJ | \
25917 archive_cmds_GCJ | \
25918 archive_expsym_cmds_GCJ | \
25919 module_cmds_GCJ | \
25920 module_expsym_cmds_GCJ | \
25921 old_archive_from_expsyms_cmds_GCJ | \
25922 export_symbols_cmds_GCJ | \
25923 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25924 postinstall_cmds | postuninstall_cmds | \
25925 old_postinstall_cmds | old_postuninstall_cmds | \
25926 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25927 # Double-quote double-evaled strings.
25928 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25931 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25937 *'\$0 --fallback-echo"')
25938 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25944 cat <<__EOF__ >> "$cfgfile"
25945 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25947 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25949 # Shell to use when invoking shell scripts.
25952 # Whether or not to build shared libraries.
25953 build_libtool_libs=$enable_shared
25955 # Whether or not to build static libraries.
25956 build_old_libs=$enable_static
25958 # Whether or not to add -lc for building shared libraries.
25959 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25961 # Whether or not to disallow shared libs when runtime libs are static
25962 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25964 # Whether or not to optimize for fast installation.
25965 fast_install=$enable_fast_install
25968 host_alias=$host_alias
25972 # The build system.
25973 build_alias=$build_alias
25977 # An echo program that does not interpret backslashes.
25982 AR_FLAGS=$lt_AR_FLAGS
25987 # LTCC compiler flags.
25988 LTCFLAGS=$lt_LTCFLAGS
25990 # A language-specific compiler.
25991 CC=$lt_compiler_GCJ
25993 # Is the compiler the GNU C compiler?
25999 # The linker used to build libraries.
26002 # Whether we need hard or soft links.
26005 # A BSD-compatible nm program.
26008 # A symbol stripping program
26011 # Used to examine libraries when file_magic_cmd begins "file"
26012 MAGIC_CMD=$MAGIC_CMD
26014 # Used on cygwin: DLL creation program.
26017 # Used on cygwin: object dumper.
26020 # Used on cygwin: assembler.
26023 # The name of the directory that contains temporary libtool files.
26026 # How to create reloadable object files.
26027 reload_flag=$lt_reload_flag
26028 reload_cmds=$lt_reload_cmds
26030 # How to pass a linker flag through the compiler.
26031 wl=$lt_lt_prog_compiler_wl_GCJ
26033 # Object file suffix (normally "o").
26034 objext="$ac_objext"
26036 # Old archive suffix (normally "a").
26039 # Shared library suffix (normally ".so").
26040 shrext_cmds='$shrext_cmds'
26042 # Executable file suffix (normally "").
26045 # Additional compiler flags for building library objects.
26046 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26049 # What is the maximum length of a command?
26050 max_cmd_len=$lt_cv_sys_max_cmd_len
26052 # Does compiler simultaneously support -c and -o options?
26053 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26055 # Must we lock files when doing compilation?
26056 need_locks=$lt_need_locks
26058 # Do we need the lib prefix for modules?
26059 need_lib_prefix=$need_lib_prefix
26061 # Do we need a version for libraries?
26062 need_version=$need_version
26064 # Whether dlopen is supported.
26065 dlopen_support=$enable_dlopen
26067 # Whether dlopen of programs is supported.
26068 dlopen_self=$enable_dlopen_self
26070 # Whether dlopen of statically linked programs is supported.
26071 dlopen_self_static=$enable_dlopen_self_static
26073 # Compiler flag to prevent dynamic linking.
26074 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26076 # Compiler flag to turn off builtin functions.
26077 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26079 # Compiler flag to allow reflexive dlopens.
26080 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26082 # Compiler flag to generate shared objects directly from archives.
26083 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26085 # Compiler flag to generate thread-safe objects.
26086 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26088 # Library versioning type.
26089 version_type=$version_type
26091 # Format of library name prefix.
26092 libname_spec=$lt_libname_spec
26094 # List of archive names. First name is the real one, the rest are links.
26095 # The last name is the one that the linker finds with -lNAME.
26096 library_names_spec=$lt_library_names_spec
26098 # The coded name of the library, if different from the real name.
26099 soname_spec=$lt_soname_spec
26101 # Commands used to build and install an old-style archive.
26103 old_archive_cmds=$lt_old_archive_cmds_GCJ
26104 old_postinstall_cmds=$lt_old_postinstall_cmds
26105 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26107 # Create an old-style archive from a shared archive.
26108 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26110 # Create a temporary old-style archive to link instead of a shared archive.
26111 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26113 # Commands used to build and install a shared archive.
26114 archive_cmds=$lt_archive_cmds_GCJ
26115 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26116 postinstall_cmds=$lt_postinstall_cmds
26117 postuninstall_cmds=$lt_postuninstall_cmds
26119 # Commands used to build a loadable module (assumed same as above if empty)
26120 module_cmds=$lt_module_cmds_GCJ
26121 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26123 # Commands to strip libraries.
26124 old_striplib=$lt_old_striplib
26125 striplib=$lt_striplib
26127 # Dependencies to place before the objects being linked to create a
26129 predep_objects=$lt_predep_objects_GCJ
26131 # Dependencies to place after the objects being linked to create a
26133 postdep_objects=$lt_postdep_objects_GCJ
26135 # Dependencies to place before the objects being linked to create a
26137 predeps=$lt_predeps_GCJ
26139 # Dependencies to place after the objects being linked to create a
26141 postdeps=$lt_postdeps_GCJ
26143 # The library search path used internally by the compiler when linking
26144 # a shared library.
26145 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26147 # Method to check whether dependent libraries are shared objects.
26148 deplibs_check_method=$lt_deplibs_check_method
26150 # Command to use when deplibs_check_method == file_magic.
26151 file_magic_cmd=$lt_file_magic_cmd
26153 # Flag that allows shared libraries with undefined symbols to be built.
26154 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26156 # Flag that forces no undefined symbols.
26157 no_undefined_flag=$lt_no_undefined_flag_GCJ
26159 # Commands used to finish a libtool library installation in a directory.
26160 finish_cmds=$lt_finish_cmds
26162 # Same as above, but a single script fragment to be evaled but not shown.
26163 finish_eval=$lt_finish_eval
26165 # Take the output of nm and produce a listing of raw symbols and C names.
26166 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26168 # Transform the output of nm in a proper C declaration
26169 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26171 # Transform the output of nm in a C name address pair
26172 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26174 # This is the shared library runtime path variable.
26175 runpath_var=$runpath_var
26177 # This is the shared library path variable.
26178 shlibpath_var=$shlibpath_var
26180 # Is shlibpath searched before the hard-coded library search path?
26181 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26183 # How to hardcode a shared library path into an executable.
26184 hardcode_action=$hardcode_action_GCJ
26186 # Whether we should hardcode library paths into libraries.
26187 hardcode_into_libs=$hardcode_into_libs
26189 # Flag to hardcode \$libdir into a binary during linking.
26190 # This must work even if \$libdir does not exist.
26191 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26193 # If ld is used when linking, flag to hardcode \$libdir into
26194 # a binary during linking. This must work even if \$libdir does
26196 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26198 # Whether we need a single -rpath flag with a separated argument.
26199 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26201 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26202 # resulting binary.
26203 hardcode_direct=$hardcode_direct_GCJ
26205 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26206 # resulting binary.
26207 hardcode_minus_L=$hardcode_minus_L_GCJ
26209 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26210 # the resulting binary.
26211 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26213 # Set to yes if building a shared library automatically hardcodes DIR into the library
26214 # and all subsequent libraries and executables linked against it.
26215 hardcode_automatic=$hardcode_automatic_GCJ
26217 # Variables whose values should be saved in libtool wrapper scripts and
26218 # restored at relink time.
26219 variables_saved_for_relink="$variables_saved_for_relink"
26221 # Whether libtool must link a program against all its dependency libraries.
26222 link_all_deplibs=$link_all_deplibs_GCJ
26224 # Compile-time system search path for libraries
26225 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26227 # Run-time system search path for libraries
26228 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26230 # Fix the shell variable \$srcfile for the compiler.
26231 fix_srcfile_path="$fix_srcfile_path_GCJ"
26233 # Set to yes if exported symbols are required.
26234 always_export_symbols=$always_export_symbols_GCJ
26236 # The commands to list exported symbols.
26237 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26239 # The commands to extract the exported symbol list from a shared archive.
26240 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26242 # Symbols that should not be listed in the preloaded symbols.
26243 exclude_expsyms=$lt_exclude_expsyms_GCJ
26245 # Symbols that must always be exported.
26246 include_expsyms=$lt_include_expsyms_GCJ
26248 # ### END LIBTOOL TAG CONFIG: $tagname
26254 # If there is no Makefile yet, we rely on a make rule to execute
26255 # `config.status --recheck' to rerun these tests and create the
26256 # libtool script then.
26257 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26258 if test -f "$ltmain_in"; then
26259 test -f Makefile
&& make "$ltmain"
26265 ac_cpp
='$CPP $CPPFLAGS'
26266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26279 ac_cpp
='$CPP $CPPFLAGS'
26280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26285 # Source file extension for RC test sources.
26288 # Object file extension for compiled RC test sources.
26292 # Code to be used in simple compile tests
26293 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26295 # Code to be used in simple link tests
26296 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26298 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26300 # If no C compiler was specified, use CC.
26303 # If no C compiler flags were specified, use CFLAGS.
26304 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26306 # Allow CC to be a program name with arguments.
26310 # save warnings/boilerplate of simple test code
26311 ac_outfile
=conftest.
$ac_objext
26312 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26313 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26314 _lt_compiler_boilerplate
=`cat conftest.err`
26317 ac_outfile
=conftest.
$ac_objext
26318 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26319 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26320 _lt_linker_boilerplate
=`cat conftest.err`
26324 # Allow CC to be a program name with arguments.
26329 for cc_temp
in $compiler""; do
26331 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26332 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26337 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26339 lt_cv_prog_compiler_c_o_RC
=yes
26341 # The else clause should only fire when bootstrapping the
26342 # libtool distribution, otherwise you forgot to ship ltmain.sh
26343 # with your package, and you will get complaints that there are
26344 # no rules to generate ltmain.sh.
26345 if test -f "$ltmain"; then
26346 # See if we are running on zsh, and set the options which allow our commands through
26347 # without removal of \ escapes.
26348 if test -n "${ZSH_VERSION+set}" ; then
26349 setopt NO_GLOB_SUBST
26351 # Now quote all the things that may contain metacharacters while being
26352 # careful not to overquote the AC_SUBSTed values. We take copies of the
26353 # variables and quote the copies for generation of the libtool script.
26354 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26356 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26357 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26358 deplibs_check_method reload_flag reload_cmds need_locks \
26359 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26360 lt_cv_sys_global_symbol_to_c_name_address \
26361 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26362 old_postinstall_cmds old_postuninstall_cmds \
26366 lt_prog_compiler_wl_RC \
26367 lt_prog_compiler_pic_RC \
26368 lt_prog_compiler_static_RC \
26369 lt_prog_compiler_no_builtin_flag_RC \
26370 export_dynamic_flag_spec_RC \
26371 thread_safe_flag_spec_RC \
26372 whole_archive_flag_spec_RC \
26373 enable_shared_with_static_runtimes_RC \
26374 old_archive_cmds_RC \
26375 old_archive_from_new_cmds_RC \
26376 predep_objects_RC \
26377 postdep_objects_RC \
26380 compiler_lib_search_path_RC \
26382 archive_expsym_cmds_RC \
26383 postinstall_cmds_RC \
26384 postuninstall_cmds_RC \
26385 old_archive_from_expsyms_cmds_RC \
26386 allow_undefined_flag_RC \
26387 no_undefined_flag_RC \
26388 export_symbols_cmds_RC \
26389 hardcode_libdir_flag_spec_RC \
26390 hardcode_libdir_flag_spec_ld_RC \
26391 hardcode_libdir_separator_RC \
26392 hardcode_automatic_RC \
26394 module_expsym_cmds_RC \
26395 lt_cv_prog_compiler_c_o_RC \
26396 exclude_expsyms_RC \
26397 include_expsyms_RC
; do
26400 old_archive_cmds_RC | \
26401 old_archive_from_new_cmds_RC | \
26402 archive_cmds_RC | \
26403 archive_expsym_cmds_RC | \
26405 module_expsym_cmds_RC | \
26406 old_archive_from_expsyms_cmds_RC | \
26407 export_symbols_cmds_RC | \
26408 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26409 postinstall_cmds | postuninstall_cmds | \
26410 old_postinstall_cmds | old_postuninstall_cmds | \
26411 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26412 # Double-quote double-evaled strings.
26413 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26416 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26422 *'\$0 --fallback-echo"')
26423 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26429 cat <<__EOF__ >> "$cfgfile"
26430 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26432 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26434 # Shell to use when invoking shell scripts.
26437 # Whether or not to build shared libraries.
26438 build_libtool_libs=$enable_shared
26440 # Whether or not to build static libraries.
26441 build_old_libs=$enable_static
26443 # Whether or not to add -lc for building shared libraries.
26444 build_libtool_need_lc=$archive_cmds_need_lc_RC
26446 # Whether or not to disallow shared libs when runtime libs are static
26447 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26449 # Whether or not to optimize for fast installation.
26450 fast_install=$enable_fast_install
26453 host_alias=$host_alias
26457 # The build system.
26458 build_alias=$build_alias
26462 # An echo program that does not interpret backslashes.
26467 AR_FLAGS=$lt_AR_FLAGS
26472 # LTCC compiler flags.
26473 LTCFLAGS=$lt_LTCFLAGS
26475 # A language-specific compiler.
26478 # Is the compiler the GNU C compiler?
26484 # The linker used to build libraries.
26487 # Whether we need hard or soft links.
26490 # A BSD-compatible nm program.
26493 # A symbol stripping program
26496 # Used to examine libraries when file_magic_cmd begins "file"
26497 MAGIC_CMD=$MAGIC_CMD
26499 # Used on cygwin: DLL creation program.
26502 # Used on cygwin: object dumper.
26505 # Used on cygwin: assembler.
26508 # The name of the directory that contains temporary libtool files.
26511 # How to create reloadable object files.
26512 reload_flag=$lt_reload_flag
26513 reload_cmds=$lt_reload_cmds
26515 # How to pass a linker flag through the compiler.
26516 wl=$lt_lt_prog_compiler_wl_RC
26518 # Object file suffix (normally "o").
26519 objext="$ac_objext"
26521 # Old archive suffix (normally "a").
26524 # Shared library suffix (normally ".so").
26525 shrext_cmds='$shrext_cmds'
26527 # Executable file suffix (normally "").
26530 # Additional compiler flags for building library objects.
26531 pic_flag=$lt_lt_prog_compiler_pic_RC
26534 # What is the maximum length of a command?
26535 max_cmd_len=$lt_cv_sys_max_cmd_len
26537 # Does compiler simultaneously support -c and -o options?
26538 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26540 # Must we lock files when doing compilation?
26541 need_locks=$lt_need_locks
26543 # Do we need the lib prefix for modules?
26544 need_lib_prefix=$need_lib_prefix
26546 # Do we need a version for libraries?
26547 need_version=$need_version
26549 # Whether dlopen is supported.
26550 dlopen_support=$enable_dlopen
26552 # Whether dlopen of programs is supported.
26553 dlopen_self=$enable_dlopen_self
26555 # Whether dlopen of statically linked programs is supported.
26556 dlopen_self_static=$enable_dlopen_self_static
26558 # Compiler flag to prevent dynamic linking.
26559 link_static_flag=$lt_lt_prog_compiler_static_RC
26561 # Compiler flag to turn off builtin functions.
26562 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26564 # Compiler flag to allow reflexive dlopens.
26565 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26567 # Compiler flag to generate shared objects directly from archives.
26568 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26570 # Compiler flag to generate thread-safe objects.
26571 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26573 # Library versioning type.
26574 version_type=$version_type
26576 # Format of library name prefix.
26577 libname_spec=$lt_libname_spec
26579 # List of archive names. First name is the real one, the rest are links.
26580 # The last name is the one that the linker finds with -lNAME.
26581 library_names_spec=$lt_library_names_spec
26583 # The coded name of the library, if different from the real name.
26584 soname_spec=$lt_soname_spec
26586 # Commands used to build and install an old-style archive.
26588 old_archive_cmds=$lt_old_archive_cmds_RC
26589 old_postinstall_cmds=$lt_old_postinstall_cmds
26590 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26592 # Create an old-style archive from a shared archive.
26593 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26595 # Create a temporary old-style archive to link instead of a shared archive.
26596 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26598 # Commands used to build and install a shared archive.
26599 archive_cmds=$lt_archive_cmds_RC
26600 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26601 postinstall_cmds=$lt_postinstall_cmds
26602 postuninstall_cmds=$lt_postuninstall_cmds
26604 # Commands used to build a loadable module (assumed same as above if empty)
26605 module_cmds=$lt_module_cmds_RC
26606 module_expsym_cmds=$lt_module_expsym_cmds_RC
26608 # Commands to strip libraries.
26609 old_striplib=$lt_old_striplib
26610 striplib=$lt_striplib
26612 # Dependencies to place before the objects being linked to create a
26614 predep_objects=$lt_predep_objects_RC
26616 # Dependencies to place after the objects being linked to create a
26618 postdep_objects=$lt_postdep_objects_RC
26620 # Dependencies to place before the objects being linked to create a
26622 predeps=$lt_predeps_RC
26624 # Dependencies to place after the objects being linked to create a
26626 postdeps=$lt_postdeps_RC
26628 # The library search path used internally by the compiler when linking
26629 # a shared library.
26630 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26632 # Method to check whether dependent libraries are shared objects.
26633 deplibs_check_method=$lt_deplibs_check_method
26635 # Command to use when deplibs_check_method == file_magic.
26636 file_magic_cmd=$lt_file_magic_cmd
26638 # Flag that allows shared libraries with undefined symbols to be built.
26639 allow_undefined_flag=$lt_allow_undefined_flag_RC
26641 # Flag that forces no undefined symbols.
26642 no_undefined_flag=$lt_no_undefined_flag_RC
26644 # Commands used to finish a libtool library installation in a directory.
26645 finish_cmds=$lt_finish_cmds
26647 # Same as above, but a single script fragment to be evaled but not shown.
26648 finish_eval=$lt_finish_eval
26650 # Take the output of nm and produce a listing of raw symbols and C names.
26651 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26653 # Transform the output of nm in a proper C declaration
26654 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26656 # Transform the output of nm in a C name address pair
26657 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26659 # This is the shared library runtime path variable.
26660 runpath_var=$runpath_var
26662 # This is the shared library path variable.
26663 shlibpath_var=$shlibpath_var
26665 # Is shlibpath searched before the hard-coded library search path?
26666 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26668 # How to hardcode a shared library path into an executable.
26669 hardcode_action=$hardcode_action_RC
26671 # Whether we should hardcode library paths into libraries.
26672 hardcode_into_libs=$hardcode_into_libs
26674 # Flag to hardcode \$libdir into a binary during linking.
26675 # This must work even if \$libdir does not exist.
26676 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26678 # If ld is used when linking, flag to hardcode \$libdir into
26679 # a binary during linking. This must work even if \$libdir does
26681 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26683 # Whether we need a single -rpath flag with a separated argument.
26684 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26686 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26687 # resulting binary.
26688 hardcode_direct=$hardcode_direct_RC
26690 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26691 # resulting binary.
26692 hardcode_minus_L=$hardcode_minus_L_RC
26694 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26695 # the resulting binary.
26696 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26698 # Set to yes if building a shared library automatically hardcodes DIR into the library
26699 # and all subsequent libraries and executables linked against it.
26700 hardcode_automatic=$hardcode_automatic_RC
26702 # Variables whose values should be saved in libtool wrapper scripts and
26703 # restored at relink time.
26704 variables_saved_for_relink="$variables_saved_for_relink"
26706 # Whether libtool must link a program against all its dependency libraries.
26707 link_all_deplibs=$link_all_deplibs_RC
26709 # Compile-time system search path for libraries
26710 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26712 # Run-time system search path for libraries
26713 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26715 # Fix the shell variable \$srcfile for the compiler.
26716 fix_srcfile_path="$fix_srcfile_path_RC"
26718 # Set to yes if exported symbols are required.
26719 always_export_symbols=$always_export_symbols_RC
26721 # The commands to list exported symbols.
26722 export_symbols_cmds=$lt_export_symbols_cmds_RC
26724 # The commands to extract the exported symbol list from a shared archive.
26725 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26727 # Symbols that should not be listed in the preloaded symbols.
26728 exclude_expsyms=$lt_exclude_expsyms_RC
26730 # Symbols that must always be exported.
26731 include_expsyms=$lt_include_expsyms_RC
26733 # ### END LIBTOOL TAG CONFIG: $tagname
26739 # If there is no Makefile yet, we rely on a make rule to execute
26740 # `config.status --recheck' to rerun these tests and create the
26741 # libtool script then.
26742 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26743 if test -f "$ltmain_in"; then
26744 test -f Makefile
&& make "$ltmain"
26750 ac_cpp
='$CPP $CPPFLAGS'
26751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26760 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26761 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26762 { (exit 1); exit 1; }; }
26766 # Append the new tag name to the list of available tags.
26767 if test -n "$tagname" ; then
26768 available_tags
="$available_tags $tagname"
26774 # Now substitute the updated list of available tags.
26775 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26776 mv "${ofile}T" "$ofile"
26780 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26781 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26782 { (exit 1); exit 1; }; }
26788 # This can be used to rebuild libtool when needed
26789 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26791 # Always use our own libtool.
26792 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26794 # Prevent multiple expansion
26816 if test "$lt_cv_dlopen_self" = "yes" ; then
26818 cat >>confdefs.h
<<\_ACEOF
26819 #define CAN_DLOPEN_SELF 1
26824 if test "$WITH_LLVMGCCDIR" = "default" ; then
26825 LLVMGCC
="llvm-gcc${EXEEXT}"
26826 LLVMGXX
="llvm-g++${EXEEXT}"
26827 LLVMGCCCOMMAND
="$LLVMGCC"
26828 LLVMGXXCOMMAND
="$LLVMGXX"
26830 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
26832 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
26834 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26835 set dummy
$LLVMGCC; ac_word
=$2
26836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26838 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26839 echo $ECHO_N "(cached) $ECHO_C" >&6
26843 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26847 for as_dir
in $PATH
26850 test -z "$as_dir" && as_dir
=.
26851 for ac_exec_ext
in '' $ac_executable_extensions; do
26852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26853 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26864 LLVMGCC
=$ac_cv_path_LLVMGCC
26865 if test -n "$LLVMGCC"; then
26866 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26867 echo "${ECHO_T}$LLVMGCC" >&6; }
26869 { echo "$as_me:$LINENO: result: no" >&5
26870 echo "${ECHO_T}no" >&6; }
26874 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26875 set dummy
$LLVMGXX; ac_word
=$2
26876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26878 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26879 echo $ECHO_N "(cached) $ECHO_C" >&6
26883 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26887 for as_dir
in $PATH
26890 test -z "$as_dir" && as_dir
=.
26891 for ac_exec_ext
in '' $ac_executable_extensions; do
26892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26893 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26904 LLVMGXX
=$ac_cv_path_LLVMGXX
26905 if test -n "$LLVMGXX"; then
26906 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26907 echo "${ECHO_T}$LLVMGXX" >&6; }
26909 { echo "$as_me:$LINENO: result: no" >&5
26910 echo "${ECHO_T}no" >&6; }
26915 if test -z "$LLVMGCC"; then
26916 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26917 LLVMGCCCOMMAND
="$LLVMGCC"
26919 if test -z "$LLVMGXX"; then
26920 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26921 LLVMGXXCOMMAND
="$LLVMGXX"
26928 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
26930 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
26935 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26936 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26949 if test "$GCC" != "yes" && test "$ICC" != "yes"
26951 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26952 echo "$as_me: error: gcc|icc required but not found" >&2;}
26953 { (exit 1); exit 1; }; }
26956 if test "$GXX" != "yes" && test "$IXX" != "yes"
26958 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26959 echo "$as_me: error: g++|icc required but not found" >&2;}
26960 { (exit 1); exit 1; }; }
26963 if test "$GCC" = "yes"
26965 cat >conftest.
$ac_ext <<_ACEOF
26966 #if !defined(__GNUC__) || __GNUC__ < 3
26967 #error Unsupported GCC version
26971 rm -f conftest.
$ac_objext
26972 if { (ac_try
="$ac_compile"
26973 case "(($ac_try" in
26974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26975 *) ac_try_echo=$ac_try;;
26977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26978 (eval "$ac_compile") 2>conftest.er1
26980 grep -v '^ *+' conftest.er1 >conftest.err
26982 cat conftest.err >&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); } &&
26985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26986 { (case "(($ac_try" in
26987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26988 *) ac_try_echo
=$ac_try;;
26990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26991 (eval "$ac_try") 2>&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); }; } &&
26995 { ac_try
='test -s conftest.$ac_objext'
26996 { (case "(($ac_try" in
26997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26998 *) ac_try_echo=$ac_try;;
27000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001 (eval "$ac_try") 2>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.$ac_ext >&5
27010 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
27011 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
27012 { (exit 1); exit 1; }; }
27015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27018 if test -z "$llvm_cv_gnu_make_command"
27020 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
27021 echo "$as_me: error: GNU Make required but not found" >&2;}
27022 { (exit 1); exit 1; }; }
27025 { echo "$as_me:$LINENO: result: ok" >&5
27026 echo "${ECHO_T}ok" >&6; }
27030 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
27031 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
27032 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
27033 echo $ECHO_N "(cached) $ECHO_C" >&6
27035 ac_check_lib_save_LIBS=$LIBS
27037 cat >conftest.$ac_ext <<_ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27044 /* Override any GCC internal prototype to avoid an error.
27045 Use char because int might match the return type of a GCC
27046 builtin and then its argument prototype would still apply. */
27054 return elf_begin ();
27059 rm -f conftest.$ac_objext conftest$ac_exeext
27060 if { (ac_try="$ac_link"
27061 case "(($ac_try" in
27062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27063 *) ac_try_echo
=$ac_try;;
27065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27066 (eval "$ac_link") 2>conftest.er1
27068 grep -v '^ *+' conftest.er1
>conftest.err
27070 cat conftest.err
>&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } &&
27073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27074 { (case "(($ac_try" in
27075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27076 *) ac_try_echo=$ac_try;;
27078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27079 (eval "$ac_try") 2>&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); }; } &&
27083 { ac_try='test -s conftest$ac_exeext'
27084 { (case "(($ac_try" in
27085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27086 *) ac_try_echo
=$ac_try;;
27088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27089 (eval "$ac_try") 2>&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); }; }; then
27093 ac_cv_lib_elf_elf_begin
=yes
27095 echo "$as_me: failed program was:" >&5
27096 sed 's/^/| /' conftest.
$ac_ext >&5
27098 ac_cv_lib_elf_elf_begin
=no
27101 rm -f core conftest.err conftest.
$ac_objext \
27102 conftest
$ac_exeext conftest.
$ac_ext
27103 LIBS
=$ac_check_lib_save_LIBS
27105 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
27106 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
27107 if test $ac_cv_lib_elf_elf_begin = yes; then
27108 cat >>confdefs.h
<<_ACEOF
27109 #define HAVE_LIBELF 1
27117 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27118 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27119 if test "${ac_cv_lib_m_sin+set}" = set; then
27120 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 ac_check_lib_save_LIBS
=$LIBS
27124 cat >conftest.
$ac_ext <<_ACEOF
27127 cat confdefs.h
>>conftest.
$ac_ext
27128 cat >>conftest.
$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27131 /* Override any GCC internal prototype to avoid an error.
27132 Use char because int might match the return type of a GCC
27133 builtin and then its argument prototype would still apply. */
27146 rm -f conftest.
$ac_objext conftest
$ac_exeext
27147 if { (ac_try
="$ac_link"
27148 case "(($ac_try" in
27149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27150 *) ac_try_echo=$ac_try;;
27152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27153 (eval "$ac_link") 2>conftest.er1
27155 grep -v '^ *+' conftest.er1 >conftest.err
27157 cat conftest.err >&5
27158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159 (exit $ac_status); } &&
27160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27161 { (case "(($ac_try" in
27162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27163 *) ac_try_echo
=$ac_try;;
27165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27166 (eval "$ac_try") 2>&5
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); }; } &&
27170 { ac_try
='test -s conftest$ac_exeext'
27171 { (case "(($ac_try" in
27172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_try") 2>&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); }; }; then
27180 ac_cv_lib_m_sin=yes
27182 echo "$as_me: failed program was:" >&5
27183 sed 's/^/| /' conftest.$ac_ext >&5
27188 rm -f core conftest.err conftest.$ac_objext \
27189 conftest$ac_exeext conftest.$ac_ext
27190 LIBS=$ac_check_lib_save_LIBS
27192 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27193 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27194 if test $ac_cv_lib_m_sin = yes; then
27195 cat >>confdefs.h <<_ACEOF
27196 #define HAVE_LIBM 1
27203 if test "$llvm_cv_os_type" = "MingW" ; then
27205 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
27206 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
27207 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27210 ac_check_lib_save_LIBS=$LIBS
27211 LIBS="-limagehlp $LIBS"
27212 cat >conftest.$ac_ext <<_ACEOF
27215 cat confdefs.h >>conftest.$ac_ext
27216 cat >>conftest.$ac_ext <<_ACEOF
27217 /* end confdefs.h. */
27228 rm -f conftest.$ac_objext conftest$ac_exeext
27229 if { (ac_try="$ac_link"
27230 case "(($ac_try" in
27231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27232 *) ac_try_echo
=$ac_try;;
27234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27235 (eval "$ac_link") 2>conftest.er1
27237 grep -v '^ *+' conftest.er1
>conftest.err
27239 cat conftest.err
>&5
27240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27241 (exit $ac_status); } &&
27242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27243 { (case "(($ac_try" in
27244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27245 *) ac_try_echo=$ac_try;;
27247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27248 (eval "$ac_try") 2>&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); }; } &&
27252 { ac_try='test -s conftest$ac_exeext'
27253 { (case "(($ac_try" in
27254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27255 *) ac_try_echo
=$ac_try;;
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_try") 2>&5
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); }; }; then
27262 ac_cv_lib_imagehlp_main
=yes
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.
$ac_ext >&5
27267 ac_cv_lib_imagehlp_main
=no
27270 rm -f core conftest.err conftest.
$ac_objext \
27271 conftest
$ac_exeext conftest.
$ac_ext
27272 LIBS
=$ac_check_lib_save_LIBS
27274 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27275 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27276 if test $ac_cv_lib_imagehlp_main = yes; then
27277 cat >>confdefs.h
<<_ACEOF
27278 #define HAVE_LIBIMAGEHLP 1
27281 LIBS
="-limagehlp $LIBS"
27286 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27287 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27288 if test "${ac_cv_lib_psapi_main+set}" = set; then
27289 echo $ECHO_N "(cached) $ECHO_C" >&6
27291 ac_check_lib_save_LIBS
=$LIBS
27292 LIBS
="-lpsapi $LIBS"
27293 cat >conftest.
$ac_ext <<_ACEOF
27296 cat confdefs.h
>>conftest.
$ac_ext
27297 cat >>conftest.
$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27309 rm -f conftest.
$ac_objext conftest
$ac_exeext
27310 if { (ac_try
="$ac_link"
27311 case "(($ac_try" in
27312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27313 *) ac_try_echo=$ac_try;;
27315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27316 (eval "$ac_link") 2>conftest.er1
27318 grep -v '^ *+' conftest.er1 >conftest.err
27320 cat conftest.err >&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } &&
27323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27324 { (case "(($ac_try" in
27325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27326 *) ac_try_echo
=$ac_try;;
27328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27329 (eval "$ac_try") 2>&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); }; } &&
27333 { ac_try
='test -s conftest$ac_exeext'
27334 { (case "(($ac_try" in
27335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27336 *) ac_try_echo=$ac_try;;
27338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27339 (eval "$ac_try") 2>&5
27341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27342 (exit $ac_status); }; }; then
27343 ac_cv_lib_psapi_main=yes
27345 echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.$ac_ext >&5
27348 ac_cv_lib_psapi_main=no
27351 rm -f core conftest.err conftest.$ac_objext \
27352 conftest$ac_exeext conftest.$ac_ext
27353 LIBS=$ac_check_lib_save_LIBS
27355 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27356 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27357 if test $ac_cv_lib_psapi_main = yes; then
27358 cat >>confdefs.h <<_ACEOF
27359 #define HAVE_LIBPSAPI 1
27362 LIBS="-lpsapi $LIBS"
27368 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27369 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27370 if test "${ac_cv_search_dlopen+set}" = set; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27373 ac_func_search_save_LIBS=$LIBS
27374 cat >conftest.$ac_ext <<_ACEOF
27377 cat confdefs.h >>conftest.$ac_ext
27378 cat >>conftest.$ac_ext <<_ACEOF
27379 /* end confdefs.h. */
27381 /* Override any GCC internal prototype to avoid an error.
27382 Use char because int might match the return type of a GCC
27383 builtin and then its argument prototype would still apply. */
27396 for ac_lib in '' dl; do
27397 if test -z "$ac_lib"; then
27398 ac_res="none required"
27401 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27403 rm -f conftest.$ac_objext conftest$ac_exeext
27404 if { (ac_try="$ac_link"
27405 case "(($ac_try" in
27406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27407 *) ac_try_echo
=$ac_try;;
27409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27410 (eval "$ac_link") 2>conftest.er1
27412 grep -v '^ *+' conftest.er1
>conftest.err
27414 cat conftest.err
>&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); } &&
27417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27418 { (case "(($ac_try" in
27419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27420 *) ac_try_echo=$ac_try;;
27422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27423 (eval "$ac_try") 2>&5
27425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); }; } &&
27427 { ac_try='test -s conftest$ac_exeext'
27428 { (case "(($ac_try" in
27429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27430 *) ac_try_echo
=$ac_try;;
27432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27433 (eval "$ac_try") 2>&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 ac_cv_search_dlopen
=$ac_res
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.
$ac_ext >&5
27445 rm -f core conftest.err conftest.
$ac_objext \
27447 if test "${ac_cv_search_dlopen+set}" = set; then
27451 if test "${ac_cv_search_dlopen+set}" = set; then
27454 ac_cv_search_dlopen
=no
27456 rm conftest.
$ac_ext
27457 LIBS
=$ac_func_search_save_LIBS
27459 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27460 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27461 ac_res
=$ac_cv_search_dlopen
27462 if test "$ac_res" != no
; then
27463 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27465 cat >>confdefs.h
<<\_ACEOF
27466 #define HAVE_DLOPEN 1
27470 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27471 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27475 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
27476 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
27477 if test "${ac_cv_search_ffi_call+set}" = set; then
27478 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 ac_func_search_save_LIBS
=$LIBS
27481 cat >conftest.
$ac_ext <<_ACEOF
27484 cat confdefs.h
>>conftest.
$ac_ext
27485 cat >>conftest.
$ac_ext <<_ACEOF
27486 /* end confdefs.h. */
27488 /* Override any GCC internal prototype to avoid an error.
27489 Use char because int might match the return type of a GCC
27490 builtin and then its argument prototype would still apply. */
27498 return ffi_call ();
27503 for ac_lib
in '' ffi
; do
27504 if test -z "$ac_lib"; then
27505 ac_res
="none required"
27508 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27510 rm -f conftest.
$ac_objext conftest
$ac_exeext
27511 if { (ac_try
="$ac_link"
27512 case "(($ac_try" in
27513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27514 *) ac_try_echo=$ac_try;;
27516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27517 (eval "$ac_link") 2>conftest.er1
27519 grep -v '^ *+' conftest.er1 >conftest.err
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } &&
27524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27525 { (case "(($ac_try" in
27526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27527 *) ac_try_echo
=$ac_try;;
27529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27530 (eval "$ac_try") 2>&5
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); }; } &&
27534 { ac_try
='test -s conftest$ac_exeext'
27535 { (case "(($ac_try" in
27536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27537 *) ac_try_echo=$ac_try;;
27539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27540 (eval "$ac_try") 2>&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); }; }; then
27544 ac_cv_search_ffi_call=$ac_res
27546 echo "$as_me: failed program was:" >&5
27547 sed 's/^/| /' conftest.$ac_ext >&5
27552 rm -f core conftest.err conftest.$ac_objext \
27554 if test "${ac_cv_search_ffi_call+set}" = set; then
27558 if test "${ac_cv_search_ffi_call+set}" = set; then
27561 ac_cv_search_ffi_call=no
27563 rm conftest.$ac_ext
27564 LIBS=$ac_func_search_save_LIBS
27566 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
27567 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
27568 ac_res=$ac_cv_search_ffi_call
27569 if test "$ac_res" != no; then
27570 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27572 cat >>confdefs.h <<\_ACEOF
27573 #define HAVE_FFI_CALL 1
27577 { echo "$as_me:$LINENO: WARNING: libffi not found - disabling external calls from interpreter" >&5
27578 echo "$as_me: WARNING: libffi not found - disabling external calls from interpreter" >&2;}
27582 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27583 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27584 if test "${ac_cv_search_mallinfo+set}" = set; then
27585 echo $ECHO_N "(cached) $ECHO_C" >&6
27587 ac_func_search_save_LIBS=$LIBS
27588 cat >conftest.$ac_ext <<_ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27595 /* Override any GCC internal prototype to avoid an error.
27596 Use char because int might match the return type of a GCC
27597 builtin and then its argument prototype would still apply. */
27605 return mallinfo ();
27610 for ac_lib in '' malloc; do
27611 if test -z "$ac_lib"; then
27612 ac_res="none required"
27615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27617 rm -f conftest.$ac_objext conftest$ac_exeext
27618 if { (ac_try="$ac_link"
27619 case "(($ac_try" in
27620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27621 *) ac_try_echo
=$ac_try;;
27623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27624 (eval "$ac_link") 2>conftest.er1
27626 grep -v '^ *+' conftest.er1
>conftest.err
27628 cat conftest.err
>&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); } &&
27631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27632 { (case "(($ac_try" in
27633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27634 *) ac_try_echo=$ac_try;;
27636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27637 (eval "$ac_try") 2>&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); }; } &&
27641 { ac_try='test -s conftest$ac_exeext'
27642 { (case "(($ac_try" in
27643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27644 *) ac_try_echo
=$ac_try;;
27646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27647 (eval "$ac_try") 2>&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; }; then
27651 ac_cv_search_mallinfo
=$ac_res
27653 echo "$as_me: failed program was:" >&5
27654 sed 's/^/| /' conftest.
$ac_ext >&5
27659 rm -f core conftest.err conftest.
$ac_objext \
27661 if test "${ac_cv_search_mallinfo+set}" = set; then
27665 if test "${ac_cv_search_mallinfo+set}" = set; then
27668 ac_cv_search_mallinfo
=no
27670 rm conftest.
$ac_ext
27671 LIBS
=$ac_func_search_save_LIBS
27673 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27674 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27675 ac_res
=$ac_cv_search_mallinfo
27676 if test "$ac_res" != no
; then
27677 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27679 cat >>confdefs.h
<<\_ACEOF
27680 #define HAVE_MALLINFO 1
27686 if test "$ENABLE_THREADS" -eq 1 ; then
27688 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27689 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27690 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27691 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 ac_check_lib_save_LIBS
=$LIBS
27694 LIBS
="-lpthread $LIBS"
27695 cat >conftest.
$ac_ext <<_ACEOF
27698 cat confdefs.h
>>conftest.
$ac_ext
27699 cat >>conftest.
$ac_ext <<_ACEOF
27700 /* end confdefs.h. */
27702 /* Override any GCC internal prototype to avoid an error.
27703 Use char because int might match the return type of a GCC
27704 builtin and then its argument prototype would still apply. */
27708 char pthread_mutex_init ();
27712 return pthread_mutex_init ();
27717 rm -f conftest.
$ac_objext conftest
$ac_exeext
27718 if { (ac_try
="$ac_link"
27719 case "(($ac_try" in
27720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27721 *) ac_try_echo=$ac_try;;
27723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27724 (eval "$ac_link") 2>conftest.er1
27726 grep -v '^ *+' conftest.er1 >conftest.err
27728 cat conftest.err >&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } &&
27731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27732 { (case "(($ac_try" in
27733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27734 *) ac_try_echo
=$ac_try;;
27736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27737 (eval "$ac_try") 2>&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; } &&
27741 { ac_try
='test -s conftest$ac_exeext'
27742 { (case "(($ac_try" in
27743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27744 *) ac_try_echo=$ac_try;;
27746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27747 (eval "$ac_try") 2>&5
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); }; }; then
27751 ac_cv_lib_pthread_pthread_mutex_init=yes
27753 echo "$as_me: failed program was:" >&5
27754 sed 's/^/| /' conftest.$ac_ext >&5
27756 ac_cv_lib_pthread_pthread_mutex_init=no
27759 rm -f core conftest.err conftest.$ac_objext \
27760 conftest$ac_exeext conftest.$ac_ext
27761 LIBS=$ac_check_lib_save_LIBS
27763 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27764 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27765 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27766 cat >>confdefs.h <<_ACEOF
27767 #define HAVE_LIBPTHREAD 1
27770 LIBS="-lpthread $LIBS"
27774 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27775 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27776 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27777 echo $ECHO_N "(cached) $ECHO_C" >&6
27779 ac_func_search_save_LIBS=$LIBS
27780 cat >conftest.$ac_ext <<_ACEOF
27783 cat confdefs.h >>conftest.$ac_ext
27784 cat >>conftest.$ac_ext <<_ACEOF
27785 /* end confdefs.h. */
27787 /* Override any GCC internal prototype to avoid an error.
27788 Use char because int might match the return type of a GCC
27789 builtin and then its argument prototype would still apply. */
27793 char pthread_mutex_lock ();
27797 return pthread_mutex_lock ();
27802 for ac_lib in '' pthread; do
27803 if test -z "$ac_lib"; then
27804 ac_res="none required"
27807 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27809 rm -f conftest.$ac_objext conftest$ac_exeext
27810 if { (ac_try="$ac_link"
27811 case "(($ac_try" in
27812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27813 *) ac_try_echo
=$ac_try;;
27815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27816 (eval "$ac_link") 2>conftest.er1
27818 grep -v '^ *+' conftest.er1
>conftest.err
27820 cat conftest.err
>&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } &&
27823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27824 { (case "(($ac_try" in
27825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27826 *) ac_try_echo=$ac_try;;
27828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27829 (eval "$ac_try") 2>&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); }; } &&
27833 { ac_try='test -s conftest$ac_exeext'
27834 { (case "(($ac_try" in
27835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27836 *) ac_try_echo
=$ac_try;;
27838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27839 (eval "$ac_try") 2>&5
27841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27842 (exit $ac_status); }; }; then
27843 ac_cv_search_pthread_mutex_lock
=$ac_res
27845 echo "$as_me: failed program was:" >&5
27846 sed 's/^/| /' conftest.
$ac_ext >&5
27851 rm -f core conftest.err conftest.
$ac_objext \
27853 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27857 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27860 ac_cv_search_pthread_mutex_lock
=no
27862 rm conftest.
$ac_ext
27863 LIBS
=$ac_func_search_save_LIBS
27865 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27866 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27867 ac_res
=$ac_cv_search_pthread_mutex_lock
27868 if test "$ac_res" != no
; then
27869 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27871 cat >>confdefs.h
<<\_ACEOF
27872 #define HAVE_PTHREAD_MUTEX_LOCK 1
27880 # Check whether --with-udis86 was given.
27881 if test "${with_udis86+set}" = set; then
27882 withval
=$with_udis86;
27887 *) LDFLAGS
="$LDFLAGS -L${withval}" ;;
27890 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27891 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27892 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27893 echo $ECHO_N "(cached) $ECHO_C" >&6
27895 ac_check_lib_save_LIBS
=$LIBS
27896 LIBS
="-ludis86 $LIBS"
27897 cat >conftest.
$ac_ext <<_ACEOF
27900 cat confdefs.h
>>conftest.
$ac_ext
27901 cat >>conftest.
$ac_ext <<_ACEOF
27902 /* end confdefs.h. */
27904 /* Override any GCC internal prototype to avoid an error.
27905 Use char because int might match the return type of a GCC
27906 builtin and then its argument prototype would still apply. */
27919 rm -f conftest.
$ac_objext conftest
$ac_exeext
27920 if { (ac_try
="$ac_link"
27921 case "(($ac_try" in
27922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27923 *) ac_try_echo=$ac_try;;
27925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27926 (eval "$ac_link") 2>conftest.er1
27928 grep -v '^ *+' conftest.er1 >conftest.err
27930 cat conftest.err >&5
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); } &&
27933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27934 { (case "(($ac_try" in
27935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27936 *) ac_try_echo
=$ac_try;;
27938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27939 (eval "$ac_try") 2>&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); }; } &&
27943 { ac_try
='test -s conftest$ac_exeext'
27944 { (case "(($ac_try" in
27945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27946 *) ac_try_echo=$ac_try;;
27948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27949 (eval "$ac_try") 2>&5
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); }; }; then
27953 ac_cv_lib_udis86_ud_init=yes
27955 echo "$as_me: failed program was:" >&5
27956 sed 's/^/| /' conftest.$ac_ext >&5
27958 ac_cv_lib_udis86_ud_init=no
27961 rm -f core conftest.err conftest.$ac_objext \
27962 conftest$ac_exeext conftest.$ac_ext
27963 LIBS=$ac_check_lib_save_LIBS
27965 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27966 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27967 if test $ac_cv_lib_udis86_ud_init = yes; then
27968 cat >>confdefs.h <<_ACEOF
27969 #define HAVE_LIBUDIS86 1
27972 LIBS="-ludis86 $LIBS"
27976 echo "Error! You need to have libudis86 around."
27988 cat >>confdefs.h <<_ACEOF
27989 #define USE_UDIS86 $USE_UDIS86
27999 ac_header_dirent=no
28000 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
28001 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
28002 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
28003 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
28004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28005 echo $ECHO_N "(cached) $ECHO_C" >&6
28007 cat >conftest.$ac_ext <<_ACEOF
28010 cat confdefs.h >>conftest.$ac_ext
28011 cat >>conftest.$ac_ext <<_ACEOF
28012 /* end confdefs.h. */
28013 #include <sys/types.h>
28025 rm -f conftest.$ac_objext
28026 if { (ac_try="$ac_compile"
28027 case "(($ac_try" in
28028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28029 *) ac_try_echo
=$ac_try;;
28031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28032 (eval "$ac_compile") 2>conftest.er1
28034 grep -v '^ *+' conftest.er1
>conftest.err
28036 cat conftest.err
>&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); } &&
28039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28040 { (case "(($ac_try" in
28041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28042 *) ac_try_echo=$ac_try;;
28044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28045 (eval "$ac_try") 2>&5
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); }; } &&
28049 { ac_try='test -s conftest.$ac_objext'
28050 { (case "(($ac_try" in
28051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28052 *) ac_try_echo
=$ac_try;;
28054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28055 (eval "$ac_try") 2>&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); }; }; then
28059 eval "$as_ac_Header=yes"
28061 echo "$as_me: failed program was:" >&5
28062 sed 's/^/| /' conftest.
$ac_ext >&5
28064 eval "$as_ac_Header=no"
28067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28069 ac_res
=`eval echo '${'$as_ac_Header'}'`
28070 { echo "$as_me:$LINENO: result: $ac_res" >&5
28071 echo "${ECHO_T}$ac_res" >&6; }
28072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28073 cat >>confdefs.h
<<_ACEOF
28074 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
28077 ac_header_dirent
=$ac_hdr; break
28081 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
28082 if test $ac_header_dirent = dirent.h
; then
28083 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28084 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28085 if test "${ac_cv_search_opendir+set}" = set; then
28086 echo $ECHO_N "(cached) $ECHO_C" >&6
28088 ac_func_search_save_LIBS
=$LIBS
28089 cat >conftest.
$ac_ext <<_ACEOF
28092 cat confdefs.h
>>conftest.
$ac_ext
28093 cat >>conftest.
$ac_ext <<_ACEOF
28094 /* end confdefs.h. */
28096 /* Override any GCC internal prototype to avoid an error.
28097 Use char because int might match the return type of a GCC
28098 builtin and then its argument prototype would still apply. */
28111 for ac_lib
in '' dir
; do
28112 if test -z "$ac_lib"; then
28113 ac_res
="none required"
28116 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28118 rm -f conftest.
$ac_objext conftest
$ac_exeext
28119 if { (ac_try
="$ac_link"
28120 case "(($ac_try" in
28121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28122 *) ac_try_echo=$ac_try;;
28124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28125 (eval "$ac_link") 2>conftest.er1
28127 grep -v '^ *+' conftest.er1 >conftest.err
28129 cat conftest.err >&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } &&
28132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28133 { (case "(($ac_try" in
28134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28135 *) ac_try_echo
=$ac_try;;
28137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28138 (eval "$ac_try") 2>&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; } &&
28142 { ac_try
='test -s conftest$ac_exeext'
28143 { (case "(($ac_try" in
28144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_try") 2>&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; }; then
28152 ac_cv_search_opendir=$ac_res
28154 echo "$as_me: failed program was:" >&5
28155 sed 's/^/| /' conftest.$ac_ext >&5
28160 rm -f core conftest.err conftest.$ac_objext \
28162 if test "${ac_cv_search_opendir+set}" = set; then
28166 if test "${ac_cv_search_opendir+set}" = set; then
28169 ac_cv_search_opendir=no
28171 rm conftest.$ac_ext
28172 LIBS=$ac_func_search_save_LIBS
28174 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28175 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28176 ac_res=$ac_cv_search_opendir
28177 if test "$ac_res" != no; then
28178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28183 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28184 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28185 if test "${ac_cv_search_opendir+set}" = set; then
28186 echo $ECHO_N "(cached) $ECHO_C" >&6
28188 ac_func_search_save_LIBS=$LIBS
28189 cat >conftest.$ac_ext <<_ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28196 /* Override any GCC internal prototype to avoid an error.
28197 Use char because int might match the return type of a GCC
28198 builtin and then its argument prototype would still apply. */
28211 for ac_lib in '' x; do
28212 if test -z "$ac_lib"; then
28213 ac_res="none required"
28216 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28218 rm -f conftest.$ac_objext conftest$ac_exeext
28219 if { (ac_try="$ac_link"
28220 case "(($ac_try" in
28221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28222 *) ac_try_echo
=$ac_try;;
28224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28225 (eval "$ac_link") 2>conftest.er1
28227 grep -v '^ *+' conftest.er1
>conftest.err
28229 cat conftest.err
>&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); } &&
28232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28233 { (case "(($ac_try" in
28234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28235 *) ac_try_echo=$ac_try;;
28237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28238 (eval "$ac_try") 2>&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; } &&
28242 { ac_try='test -s conftest$ac_exeext'
28243 { (case "(($ac_try" in
28244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28245 *) ac_try_echo
=$ac_try;;
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_try") 2>&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; }; then
28252 ac_cv_search_opendir
=$ac_res
28254 echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.
$ac_ext >&5
28260 rm -f core conftest.err conftest.
$ac_objext \
28262 if test "${ac_cv_search_opendir+set}" = set; then
28266 if test "${ac_cv_search_opendir+set}" = set; then
28269 ac_cv_search_opendir
=no
28271 rm conftest.
$ac_ext
28272 LIBS
=$ac_func_search_save_LIBS
28274 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28275 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28276 ac_res
=$ac_cv_search_opendir
28277 if test "$ac_res" != no
; then
28278 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28284 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28285 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28286 if test "${ac_cv_header_mmap_anon+set}" = set; then
28287 echo $ECHO_N "(cached) $ECHO_C" >&6
28290 ac_cpp
='$CPP $CPPFLAGS'
28291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28295 cat >conftest.
$ac_ext <<_ACEOF
28298 cat confdefs.h
>>conftest.
$ac_ext
28299 cat >>conftest.
$ac_ext <<_ACEOF
28300 /* end confdefs.h. */
28301 #include <sys/mman.h>
28302 #include <unistd.h>
28307 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28312 rm -f conftest.
$ac_objext
28313 if { (ac_try
="$ac_compile"
28314 case "(($ac_try" in
28315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28316 *) ac_try_echo=$ac_try;;
28318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28319 (eval "$ac_compile") 2>conftest.er1
28321 grep -v '^ *+' conftest.er1 >conftest.err
28323 cat conftest.err >&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); } &&
28326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28327 { (case "(($ac_try" in
28328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28329 *) ac_try_echo
=$ac_try;;
28331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28332 (eval "$ac_try") 2>&5
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); }; } &&
28336 { ac_try
='test -s conftest.$ac_objext'
28337 { (case "(($ac_try" in
28338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28339 *) ac_try_echo=$ac_try;;
28341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28342 (eval "$ac_try") 2>&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; }; then
28346 ac_cv_header_mmap_anon=yes
28348 echo "$as_me: failed program was:" >&5
28349 sed 's/^/| /' conftest.$ac_ext >&5
28351 ac_cv_header_mmap_anon=no
28354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28356 ac_cpp='$CPP $CPPFLAGS'
28357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28363 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28364 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28365 if test "$ac_cv_header_mmap_anon" = yes; then
28367 cat >>confdefs.h <<\_ACEOF
28368 #define HAVE_MMAP_ANONYMOUS 1
28373 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28374 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28375 if test "${ac_cv_header_stat_broken+set}" = set; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28378 cat >conftest.$ac_ext <<_ACEOF
28381 cat confdefs.h >>conftest.$ac_ext
28382 cat >>conftest.$ac_ext <<_ACEOF
28383 /* end confdefs.h. */
28384 #include <sys/types.h>
28385 #include <sys/stat.h>
28387 #if defined S_ISBLK && defined S_IFDIR
28388 # if S_ISBLK (S_IFDIR)
28393 #if defined S_ISBLK && defined S_IFCHR
28394 # if S_ISBLK (S_IFCHR)
28399 #if defined S_ISLNK && defined S_IFREG
28400 # if S_ISLNK (S_IFREG)
28405 #if defined S_ISSOCK && defined S_IFREG
28406 # if S_ISSOCK (S_IFREG)
28412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28413 $EGREP "You lose" >/dev/null 2>&1; then
28414 ac_cv_header_stat_broken=yes
28416 ac_cv_header_stat_broken=no
28421 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28422 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28423 if test $ac_cv_header_stat_broken = yes; then
28425 cat >>confdefs.h <<\_ACEOF
28426 #define STAT_MACROS_BROKEN 1
28431 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28432 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28433 if test "${ac_cv_header_stdc+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 cat >conftest.$ac_ext <<_ACEOF
28439 cat confdefs.h >>conftest.$ac_ext
28440 cat >>conftest.$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28442 #include <stdlib.h>
28443 #include <stdarg.h>
28444 #include <string.h>
28455 rm -f conftest.$ac_objext
28456 if { (ac_try="$ac_compile"
28457 case "(($ac_try" in
28458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28459 *) ac_try_echo
=$ac_try;;
28461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28462 (eval "$ac_compile") 2>conftest.er1
28464 grep -v '^ *+' conftest.er1
>conftest.err
28466 cat conftest.err
>&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } &&
28469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28470 { (case "(($ac_try" in
28471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28472 *) ac_try_echo=$ac_try;;
28474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28475 (eval "$ac_try") 2>&5
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; } &&
28479 { ac_try='test -s conftest.$ac_objext'
28480 { (case "(($ac_try" in
28481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28482 *) ac_try_echo
=$ac_try;;
28484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28485 (eval "$ac_try") 2>&5
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); }; }; then
28489 ac_cv_header_stdc
=yes
28491 echo "$as_me: failed program was:" >&5
28492 sed 's/^/| /' conftest.
$ac_ext >&5
28494 ac_cv_header_stdc
=no
28497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28499 if test $ac_cv_header_stdc = yes; then
28500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28501 cat >conftest.
$ac_ext <<_ACEOF
28504 cat confdefs.h
>>conftest.
$ac_ext
28505 cat >>conftest.
$ac_ext <<_ACEOF
28506 /* end confdefs.h. */
28507 #include <string.h>
28510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28511 $EGREP "memchr" >/dev
/null
2>&1; then
28514 ac_cv_header_stdc
=no
28520 if test $ac_cv_header_stdc = yes; then
28521 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28522 cat >conftest.
$ac_ext <<_ACEOF
28525 cat confdefs.h
>>conftest.
$ac_ext
28526 cat >>conftest.
$ac_ext <<_ACEOF
28527 /* end confdefs.h. */
28528 #include <stdlib.h>
28531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28532 $EGREP "free" >/dev
/null
2>&1; then
28535 ac_cv_header_stdc
=no
28541 if test $ac_cv_header_stdc = yes; then
28542 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28543 if test "$cross_compiling" = yes; then
28546 cat >conftest.
$ac_ext <<_ACEOF
28549 cat confdefs.h
>>conftest.
$ac_ext
28550 cat >>conftest.
$ac_ext <<_ACEOF
28551 /* end confdefs.h. */
28553 #include <stdlib.h>
28554 #if ((' ' & 0x0FF) == 0x020)
28555 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28556 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28558 # define ISLOWER(c) \
28559 (('a' <= (c) && (c) <= 'i') \
28560 || ('j' <= (c) && (c) <= 'r') \
28561 || ('s' <= (c) && (c) <= 'z'))
28562 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28565 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28570 for (i = 0; i < 256; i++)
28571 if (XOR (islower (i), ISLOWER (i))
28572 || toupper (i) != TOUPPER (i))
28577 rm -f conftest
$ac_exeext
28578 if { (ac_try
="$ac_link"
28579 case "(($ac_try" in
28580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28581 *) ac_try_echo=$ac_try;;
28583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28584 (eval "$ac_link") 2>&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28588 { (case "(($ac_try" in
28589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28590 *) ac_try_echo
=$ac_try;;
28592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28593 (eval "$ac_try") 2>&5
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; }; then
28599 echo "$as_me: program exited with status $ac_status" >&5
28600 echo "$as_me: failed program was:" >&5
28601 sed 's/^/| /' conftest.
$ac_ext >&5
28603 ( exit $ac_status )
28604 ac_cv_header_stdc
=no
28606 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28612 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28613 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28614 if test $ac_cv_header_stdc = yes; then
28616 cat >>confdefs.h
<<\_ACEOF
28617 #define STDC_HEADERS 1
28622 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28623 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28624 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28627 cat >conftest.
$ac_ext <<_ACEOF
28630 cat confdefs.h
>>conftest.
$ac_ext
28631 cat >>conftest.
$ac_ext <<_ACEOF
28632 /* end confdefs.h. */
28633 #include <sys/types.h>
28634 #include <sys/wait.h>
28635 #ifndef WEXITSTATUS
28636 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28639 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28647 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28652 rm -f conftest.
$ac_objext
28653 if { (ac_try
="$ac_compile"
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_compile") 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_objext'
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_header_sys_wait_h=yes
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28691 ac_cv_header_sys_wait_h=no
28694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28696 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28697 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28698 if test $ac_cv_header_sys_wait_h = yes; then
28700 cat >>confdefs.h <<\_ACEOF
28701 #define HAVE_SYS_WAIT_H 1
28706 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28707 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28708 if test "${ac_cv_header_time+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 cat >conftest.$ac_ext <<_ACEOF
28714 cat confdefs.h >>conftest.$ac_ext
28715 cat >>conftest.$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28717 #include <sys/types.h>
28718 #include <sys/time.h>
28724 if ((struct tm *) 0)
28730 rm -f conftest.$ac_objext
28731 if { (ac_try="$ac_compile"
28732 case "(($ac_try" in
28733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28734 *) ac_try_echo
=$ac_try;;
28736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28737 (eval "$ac_compile") 2>conftest.er1
28739 grep -v '^ *+' conftest.er1
>conftest.err
28741 cat conftest.err
>&5
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); } &&
28744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28745 { (case "(($ac_try" in
28746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28747 *) ac_try_echo=$ac_try;;
28749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28750 (eval "$ac_try") 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; } &&
28754 { ac_try='test -s conftest.$ac_objext'
28755 { (case "(($ac_try" in
28756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28757 *) ac_try_echo
=$ac_try;;
28759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28760 (eval "$ac_try") 2>&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; }; then
28764 ac_cv_header_time
=yes
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.
$ac_ext >&5
28769 ac_cv_header_time
=no
28772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28774 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28775 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28776 if test $ac_cv_header_time = yes; then
28778 cat >>confdefs.h
<<\_ACEOF
28779 #define TIME_WITH_SYS_TIME 1
28791 for ac_header
in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28793 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28794 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28795 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28797 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28798 echo $ECHO_N "(cached) $ECHO_C" >&6
28800 ac_res
=`eval echo '${'$as_ac_Header'}'`
28801 { echo "$as_me:$LINENO: result: $ac_res" >&5
28802 echo "${ECHO_T}$ac_res" >&6; }
28804 # Is the header compilable?
28805 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28807 cat >conftest.
$ac_ext <<_ACEOF
28810 cat confdefs.h
>>conftest.
$ac_ext
28811 cat >>conftest.
$ac_ext <<_ACEOF
28812 /* end confdefs.h. */
28813 $ac_includes_default
28814 #include <$ac_header>
28816 rm -f conftest.
$ac_objext
28817 if { (ac_try
="$ac_compile"
28818 case "(($ac_try" in
28819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28820 *) ac_try_echo=$ac_try;;
28822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28823 (eval "$ac_compile") 2>conftest.er1
28825 grep -v '^ *+' conftest.er1 >conftest.err
28827 cat conftest.err >&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28831 { (case "(($ac_try" in
28832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28833 *) ac_try_echo
=$ac_try;;
28835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28836 (eval "$ac_try") 2>&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); }; } &&
28840 { ac_try
='test -s conftest.$ac_objext'
28841 { (case "(($ac_try" in
28842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28843 *) ac_try_echo=$ac_try;;
28845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28846 (eval "$ac_try") 2>&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; }; then
28850 ac_header_compiler=yes
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.$ac_ext >&5
28855 ac_header_compiler=no
28858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28859 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28860 echo "${ECHO_T}$ac_header_compiler" >&6; }
28862 # Is the header present?
28863 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28865 cat >conftest.$ac_ext <<_ACEOF
28868 cat confdefs.h >>conftest.$ac_ext
28869 cat >>conftest.$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28871 #include <$ac_header>
28873 if { (ac_try="$ac_cpp conftest.$ac_ext"
28874 case "(($ac_try" in
28875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28876 *) ac_try_echo
=$ac_try;;
28878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28881 grep -v '^ *+' conftest.er1
>conftest.err
28883 cat conftest.err
>&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); } >/dev
/null
; then
28886 if test -s conftest.err
; then
28887 ac_cpp_err
=$ac_c_preproc_warn_flag
28888 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28895 if test -z "$ac_cpp_err"; then
28896 ac_header_preproc
=yes
28898 echo "$as_me: failed program was:" >&5
28899 sed 's/^/| /' conftest.
$ac_ext >&5
28901 ac_header_preproc
=no
28904 rm -f conftest.err conftest.
$ac_ext
28905 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28906 echo "${ECHO_T}$ac_header_preproc" >&6; }
28908 # So? What about this header?
28909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28915 ac_header_preproc
=yes
28918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28922 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28924 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28925 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28931 ## ----------------------------------- ##
28932 ## Report this to llvmbugs@cs.uiuc.edu ##
28933 ## ----------------------------------- ##
28935 ) |
sed "s/^/$as_me: WARNING: /" >&2
28938 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28940 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28941 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 eval "$as_ac_Header=\$ac_header_preproc"
28945 ac_res
=`eval echo '${'$as_ac_Header'}'`
28946 { echo "$as_me:$LINENO: result: $ac_res" >&5
28947 echo "${ECHO_T}$ac_res" >&6; }
28950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28951 cat >>confdefs.h
<<_ACEOF
28952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28965 for ac_header
in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28967 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28968 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28969 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28971 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28974 ac_res
=`eval echo '${'$as_ac_Header'}'`
28975 { echo "$as_me:$LINENO: result: $ac_res" >&5
28976 echo "${ECHO_T}$ac_res" >&6; }
28978 # Is the header compilable?
28979 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28981 cat >conftest.
$ac_ext <<_ACEOF
28984 cat confdefs.h
>>conftest.
$ac_ext
28985 cat >>conftest.
$ac_ext <<_ACEOF
28986 /* end confdefs.h. */
28987 $ac_includes_default
28988 #include <$ac_header>
28990 rm -f conftest.
$ac_objext
28991 if { (ac_try
="$ac_compile"
28992 case "(($ac_try" in
28993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28994 *) ac_try_echo=$ac_try;;
28996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28997 (eval "$ac_compile") 2>conftest.er1
28999 grep -v '^ *+' conftest.er1 >conftest.err
29001 cat conftest.err >&5
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); } &&
29004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29005 { (case "(($ac_try" in
29006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29007 *) ac_try_echo
=$ac_try;;
29009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29010 (eval "$ac_try") 2>&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); }; } &&
29014 { ac_try
='test -s conftest.$ac_objext'
29015 { (case "(($ac_try" in
29016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29017 *) ac_try_echo=$ac_try;;
29019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29020 (eval "$ac_try") 2>&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); }; }; then
29024 ac_header_compiler=yes
29026 echo "$as_me: failed program was:" >&5
29027 sed 's/^/| /' conftest.$ac_ext >&5
29029 ac_header_compiler=no
29032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29033 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29034 echo "${ECHO_T}$ac_header_compiler" >&6; }
29036 # Is the header present?
29037 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29039 cat >conftest.$ac_ext <<_ACEOF
29042 cat confdefs.h >>conftest.$ac_ext
29043 cat >>conftest.$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29045 #include <$ac_header>
29047 if { (ac_try="$ac_cpp conftest.$ac_ext"
29048 case "(($ac_try" in
29049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29050 *) ac_try_echo
=$ac_try;;
29052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29055 grep -v '^ *+' conftest.er1
>conftest.err
29057 cat conftest.err
>&5
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); } >/dev
/null
; then
29060 if test -s conftest.err
; then
29061 ac_cpp_err
=$ac_c_preproc_warn_flag
29062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29069 if test -z "$ac_cpp_err"; then
29070 ac_header_preproc
=yes
29072 echo "$as_me: failed program was:" >&5
29073 sed 's/^/| /' conftest.
$ac_ext >&5
29075 ac_header_preproc
=no
29078 rm -f conftest.err conftest.
$ac_ext
29079 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29080 echo "${ECHO_T}$ac_header_preproc" >&6; }
29082 # So? What about this header?
29083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29089 ac_header_preproc
=yes
29092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29105 ## ----------------------------------- ##
29106 ## Report this to llvmbugs@cs.uiuc.edu ##
29107 ## ----------------------------------- ##
29109 ) |
sed "s/^/$as_me: WARNING: /" >&2
29112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29114 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29115 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 eval "$as_ac_Header=\$ac_header_preproc"
29119 ac_res
=`eval echo '${'$as_ac_Header'}'`
29120 { echo "$as_me:$LINENO: result: $ac_res" >&5
29121 echo "${ECHO_T}$ac_res" >&6; }
29124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29125 cat >>confdefs.h
<<_ACEOF
29126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29134 for ac_header
in windows.h
29136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29140 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29141 echo $ECHO_N "(cached) $ECHO_C" >&6
29143 ac_res
=`eval echo '${'$as_ac_Header'}'`
29144 { echo "$as_me:$LINENO: result: $ac_res" >&5
29145 echo "${ECHO_T}$ac_res" >&6; }
29147 # Is the header compilable?
29148 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29150 cat >conftest.
$ac_ext <<_ACEOF
29153 cat confdefs.h
>>conftest.
$ac_ext
29154 cat >>conftest.
$ac_ext <<_ACEOF
29155 /* end confdefs.h. */
29156 $ac_includes_default
29157 #include <$ac_header>
29159 rm -f conftest.
$ac_objext
29160 if { (ac_try
="$ac_compile"
29161 case "(($ac_try" in
29162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29163 *) ac_try_echo=$ac_try;;
29165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29166 (eval "$ac_compile") 2>conftest.er1
29168 grep -v '^ *+' conftest.er1 >conftest.err
29170 cat conftest.err >&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); } &&
29173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29174 { (case "(($ac_try" in
29175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29176 *) ac_try_echo
=$ac_try;;
29178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29179 (eval "$ac_try") 2>&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); }; } &&
29183 { ac_try
='test -s conftest.$ac_objext'
29184 { (case "(($ac_try" in
29185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_try") 2>&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; }; then
29193 ac_header_compiler=yes
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29198 ac_header_compiler=no
29201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29202 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29203 echo "${ECHO_T}$ac_header_compiler" >&6; }
29205 # Is the header present?
29206 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29208 cat >conftest.$ac_ext <<_ACEOF
29211 cat confdefs.h >>conftest.$ac_ext
29212 cat >>conftest.$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29214 #include <$ac_header>
29216 if { (ac_try="$ac_cpp conftest.$ac_ext"
29217 case "(($ac_try" in
29218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29219 *) ac_try_echo
=$ac_try;;
29221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29224 grep -v '^ *+' conftest.er1
>conftest.err
29226 cat conftest.err
>&5
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); } >/dev
/null
; then
29229 if test -s conftest.err
; then
29230 ac_cpp_err
=$ac_c_preproc_warn_flag
29231 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29238 if test -z "$ac_cpp_err"; then
29239 ac_header_preproc
=yes
29241 echo "$as_me: failed program was:" >&5
29242 sed 's/^/| /' conftest.
$ac_ext >&5
29244 ac_header_preproc
=no
29247 rm -f conftest.err conftest.
$ac_ext
29248 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29249 echo "${ECHO_T}$ac_header_preproc" >&6; }
29251 # So? What about this header?
29252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29258 ac_header_preproc
=yes
29261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29274 ## ----------------------------------- ##
29275 ## Report this to llvmbugs@cs.uiuc.edu ##
29276 ## ----------------------------------- ##
29278 ) |
sed "s/^/$as_me: WARNING: /" >&2
29281 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29283 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29284 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 eval "$as_ac_Header=\$ac_header_preproc"
29288 ac_res
=`eval echo '${'$as_ac_Header'}'`
29289 { echo "$as_me:$LINENO: result: $ac_res" >&5
29290 echo "${ECHO_T}$ac_res" >&6; }
29293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29294 cat >>confdefs.h
<<_ACEOF
29295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29306 for ac_header
in sys
/mman.h sys
/param.h sys
/resource.h sys
/time.h
29308 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29309 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29310 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29312 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29313 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 ac_res
=`eval echo '${'$as_ac_Header'}'`
29316 { echo "$as_me:$LINENO: result: $ac_res" >&5
29317 echo "${ECHO_T}$ac_res" >&6; }
29319 # Is the header compilable?
29320 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29322 cat >conftest.
$ac_ext <<_ACEOF
29325 cat confdefs.h
>>conftest.
$ac_ext
29326 cat >>conftest.
$ac_ext <<_ACEOF
29327 /* end confdefs.h. */
29328 $ac_includes_default
29329 #include <$ac_header>
29331 rm -f conftest.
$ac_objext
29332 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
29340 grep -v '^ *+' conftest.er1 >conftest.err
29342 cat conftest.err >&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); } &&
29345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29346 { (case "(($ac_try" in
29347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29348 *) ac_try_echo
=$ac_try;;
29350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29351 (eval "$ac_try") 2>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; } &&
29355 { ac_try
='test -s conftest.$ac_objext'
29356 { (case "(($ac_try" in
29357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29358 *) ac_try_echo=$ac_try;;
29360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29361 (eval "$ac_try") 2>&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); }; }; then
29365 ac_header_compiler=yes
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29370 ac_header_compiler=no
29373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29374 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29375 echo "${ECHO_T}$ac_header_compiler" >&6; }
29377 # Is the header present?
29378 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29380 cat >conftest.$ac_ext <<_ACEOF
29383 cat confdefs.h >>conftest.$ac_ext
29384 cat >>conftest.$ac_ext <<_ACEOF
29385 /* end confdefs.h. */
29386 #include <$ac_header>
29388 if { (ac_try="$ac_cpp conftest.$ac_ext"
29389 case "(($ac_try" in
29390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29391 *) ac_try_echo
=$ac_try;;
29393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29394 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29396 grep -v '^ *+' conftest.er1
>conftest.err
29398 cat conftest.err
>&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); } >/dev
/null
; then
29401 if test -s conftest.err
; then
29402 ac_cpp_err
=$ac_c_preproc_warn_flag
29403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29410 if test -z "$ac_cpp_err"; then
29411 ac_header_preproc
=yes
29413 echo "$as_me: failed program was:" >&5
29414 sed 's/^/| /' conftest.
$ac_ext >&5
29416 ac_header_preproc
=no
29419 rm -f conftest.err conftest.
$ac_ext
29420 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29421 echo "${ECHO_T}$ac_header_preproc" >&6; }
29423 # So? What about this header?
29424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29430 ac_header_preproc
=yes
29433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29446 ## ----------------------------------- ##
29447 ## Report this to llvmbugs@cs.uiuc.edu ##
29448 ## ----------------------------------- ##
29450 ) |
sed "s/^/$as_me: WARNING: /" >&2
29453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29455 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29456 echo $ECHO_N "(cached) $ECHO_C" >&6
29458 eval "$as_ac_Header=\$ac_header_preproc"
29460 ac_res
=`eval echo '${'$as_ac_Header'}'`
29461 { echo "$as_me:$LINENO: result: $ac_res" >&5
29462 echo "${ECHO_T}$ac_res" >&6; }
29465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29466 cat >>confdefs.h
<<_ACEOF
29467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29477 for ac_header
in sys
/types.h malloc
/malloc.h mach
/mach.h
29479 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29483 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29484 echo $ECHO_N "(cached) $ECHO_C" >&6
29486 ac_res
=`eval echo '${'$as_ac_Header'}'`
29487 { echo "$as_me:$LINENO: result: $ac_res" >&5
29488 echo "${ECHO_T}$ac_res" >&6; }
29490 # Is the header compilable?
29491 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29493 cat >conftest.
$ac_ext <<_ACEOF
29496 cat confdefs.h
>>conftest.
$ac_ext
29497 cat >>conftest.
$ac_ext <<_ACEOF
29498 /* end confdefs.h. */
29499 $ac_includes_default
29500 #include <$ac_header>
29502 rm -f conftest.
$ac_objext
29503 if { (ac_try
="$ac_compile"
29504 case "(($ac_try" in
29505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29506 *) ac_try_echo=$ac_try;;
29508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29509 (eval "$ac_compile") 2>conftest.er1
29511 grep -v '^ *+' conftest.er1 >conftest.err
29513 cat conftest.err >&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); } &&
29516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29517 { (case "(($ac_try" in
29518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29519 *) ac_try_echo
=$ac_try;;
29521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29522 (eval "$ac_try") 2>&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; } &&
29526 { ac_try
='test -s conftest.$ac_objext'
29527 { (case "(($ac_try" in
29528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29529 *) ac_try_echo=$ac_try;;
29531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_try") 2>&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); }; }; then
29536 ac_header_compiler=yes
29538 echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.$ac_ext >&5
29541 ac_header_compiler=no
29544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29545 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29546 echo "${ECHO_T}$ac_header_compiler" >&6; }
29548 # Is the header present?
29549 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29551 cat >conftest.$ac_ext <<_ACEOF
29554 cat confdefs.h >>conftest.$ac_ext
29555 cat >>conftest.$ac_ext <<_ACEOF
29556 /* end confdefs.h. */
29557 #include <$ac_header>
29559 if { (ac_try="$ac_cpp conftest.$ac_ext"
29560 case "(($ac_try" in
29561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29562 *) ac_try_echo
=$ac_try;;
29564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29567 grep -v '^ *+' conftest.er1
>conftest.err
29569 cat conftest.err
>&5
29570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29571 (exit $ac_status); } >/dev
/null
; then
29572 if test -s conftest.err
; then
29573 ac_cpp_err
=$ac_c_preproc_warn_flag
29574 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29581 if test -z "$ac_cpp_err"; then
29582 ac_header_preproc
=yes
29584 echo "$as_me: failed program was:" >&5
29585 sed 's/^/| /' conftest.
$ac_ext >&5
29587 ac_header_preproc
=no
29590 rm -f conftest.err conftest.
$ac_ext
29591 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29592 echo "${ECHO_T}$ac_header_preproc" >&6; }
29594 # So? What about this header?
29595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29601 ac_header_preproc
=yes
29604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29617 ## ----------------------------------- ##
29618 ## Report this to llvmbugs@cs.uiuc.edu ##
29619 ## ----------------------------------- ##
29621 ) |
sed "s/^/$as_me: WARNING: /" >&2
29624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29626 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29627 echo $ECHO_N "(cached) $ECHO_C" >&6
29629 eval "$as_ac_Header=\$ac_header_preproc"
29631 ac_res
=`eval echo '${'$as_ac_Header'}'`
29632 { echo "$as_me:$LINENO: result: $ac_res" >&5
29633 echo "${ECHO_T}$ac_res" >&6; }
29636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29637 cat >>confdefs.h
<<_ACEOF
29638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29645 if test "$ENABLE_THREADS" -eq 1 ; then
29647 for ac_header
in pthread.h
29649 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29650 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29653 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29654 echo $ECHO_N "(cached) $ECHO_C" >&6
29656 ac_res
=`eval echo '${'$as_ac_Header'}'`
29657 { echo "$as_me:$LINENO: result: $ac_res" >&5
29658 echo "${ECHO_T}$ac_res" >&6; }
29660 # Is the header compilable?
29661 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29663 cat >conftest.
$ac_ext <<_ACEOF
29666 cat confdefs.h
>>conftest.
$ac_ext
29667 cat >>conftest.
$ac_ext <<_ACEOF
29668 /* end confdefs.h. */
29669 $ac_includes_default
29670 #include <$ac_header>
29672 rm -f conftest.
$ac_objext
29673 if { (ac_try
="$ac_compile"
29674 case "(($ac_try" in
29675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29676 *) ac_try_echo=$ac_try;;
29678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29679 (eval "$ac_compile") 2>conftest.er1
29681 grep -v '^ *+' conftest.er1 >conftest.err
29683 cat conftest.err >&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } &&
29686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29687 { (case "(($ac_try" in
29688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29689 *) ac_try_echo
=$ac_try;;
29691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29692 (eval "$ac_try") 2>&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); }; } &&
29696 { ac_try
='test -s conftest.$ac_objext'
29697 { (case "(($ac_try" in
29698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29699 *) ac_try_echo=$ac_try;;
29701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29702 (eval "$ac_try") 2>&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); }; }; then
29706 ac_header_compiler=yes
29708 echo "$as_me: failed program was:" >&5
29709 sed 's/^/| /' conftest.$ac_ext >&5
29711 ac_header_compiler=no
29714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29715 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29716 echo "${ECHO_T}$ac_header_compiler" >&6; }
29718 # Is the header present?
29719 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29721 cat >conftest.$ac_ext <<_ACEOF
29724 cat confdefs.h >>conftest.$ac_ext
29725 cat >>conftest.$ac_ext <<_ACEOF
29726 /* end confdefs.h. */
29727 #include <$ac_header>
29729 if { (ac_try="$ac_cpp conftest.$ac_ext"
29730 case "(($ac_try" in
29731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29732 *) ac_try_echo
=$ac_try;;
29734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29737 grep -v '^ *+' conftest.er1
>conftest.err
29739 cat conftest.err
>&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); } >/dev
/null
; then
29742 if test -s conftest.err
; then
29743 ac_cpp_err
=$ac_c_preproc_warn_flag
29744 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29751 if test -z "$ac_cpp_err"; then
29752 ac_header_preproc
=yes
29754 echo "$as_me: failed program was:" >&5
29755 sed 's/^/| /' conftest.
$ac_ext >&5
29757 ac_header_preproc
=no
29760 rm -f conftest.err conftest.
$ac_ext
29761 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29762 echo "${ECHO_T}$ac_header_preproc" >&6; }
29764 # So? What about this header?
29765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29771 ac_header_preproc
=yes
29774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29787 ## ----------------------------------- ##
29788 ## Report this to llvmbugs@cs.uiuc.edu ##
29789 ## ----------------------------------- ##
29791 ) |
sed "s/^/$as_me: WARNING: /" >&2
29794 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29796 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29799 eval "$as_ac_Header=\$ac_header_preproc"
29801 ac_res
=`eval echo '${'$as_ac_Header'}'`
29802 { echo "$as_me:$LINENO: result: $ac_res" >&5
29803 echo "${ECHO_T}$ac_res" >&6; }
29806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29807 cat >>confdefs.h
<<_ACEOF
29808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29826 for ac_header
in ffi.h ffi
/ffi.h
29828 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29829 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29832 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29835 ac_res
=`eval echo '${'$as_ac_Header'}'`
29836 { echo "$as_me:$LINENO: result: $ac_res" >&5
29837 echo "${ECHO_T}$ac_res" >&6; }
29839 # Is the header compilable?
29840 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29841 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29842 cat >conftest.
$ac_ext <<_ACEOF
29845 cat confdefs.h
>>conftest.
$ac_ext
29846 cat >>conftest.
$ac_ext <<_ACEOF
29847 /* end confdefs.h. */
29848 $ac_includes_default
29849 #include <$ac_header>
29851 rm -f conftest.
$ac_objext
29852 if { (ac_try
="$ac_compile"
29853 case "(($ac_try" in
29854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29855 *) ac_try_echo=$ac_try;;
29857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29858 (eval "$ac_compile") 2>conftest.er1
29860 grep -v '^ *+' conftest.er1 >conftest.err
29862 cat conftest.err >&5
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); } &&
29865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29866 { (case "(($ac_try" in
29867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29868 *) ac_try_echo
=$ac_try;;
29870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29871 (eval "$ac_try") 2>&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); }; } &&
29875 { ac_try
='test -s conftest.$ac_objext'
29876 { (case "(($ac_try" in
29877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29878 *) ac_try_echo=$ac_try;;
29880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29881 (eval "$ac_try") 2>&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29885 ac_header_compiler=yes
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29890 ac_header_compiler=no
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29895 echo "${ECHO_T}$ac_header_compiler" >&6; }
29897 # Is the header present?
29898 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29900 cat >conftest.$ac_ext <<_ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29906 #include <$ac_header>
29908 if { (ac_try="$ac_cpp conftest.$ac_ext"
29909 case "(($ac_try" in
29910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29911 *) ac_try_echo
=$ac_try;;
29913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29916 grep -v '^ *+' conftest.er1
>conftest.err
29918 cat conftest.err
>&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); } >/dev
/null
; then
29921 if test -s conftest.err
; then
29922 ac_cpp_err
=$ac_c_preproc_warn_flag
29923 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29930 if test -z "$ac_cpp_err"; then
29931 ac_header_preproc
=yes
29933 echo "$as_me: failed program was:" >&5
29934 sed 's/^/| /' conftest.
$ac_ext >&5
29936 ac_header_preproc
=no
29939 rm -f conftest.err conftest.
$ac_ext
29940 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29941 echo "${ECHO_T}$ac_header_preproc" >&6; }
29943 # So? What about this header?
29944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29950 ac_header_preproc
=yes
29953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29966 ## ----------------------------------- ##
29967 ## Report this to llvmbugs@cs.uiuc.edu ##
29968 ## ----------------------------------- ##
29970 ) |
sed "s/^/$as_me: WARNING: /" >&2
29973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29975 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29976 echo $ECHO_N "(cached) $ECHO_C" >&6
29978 eval "$as_ac_Header=\$ac_header_preproc"
29980 ac_res
=`eval echo '${'$as_ac_Header'}'`
29981 { echo "$as_me:$LINENO: result: $ac_res" >&5
29982 echo "${ECHO_T}$ac_res" >&6; }
29985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29986 cat >>confdefs.h
<<_ACEOF
29987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29997 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
29998 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
29999 if test "${ac_cv_huge_val_sanity+set}" = set; then
30000 echo $ECHO_N "(cached) $ECHO_C" >&6
30004 ac_cpp
='$CXXCPP $CPPFLAGS'
30005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30010 if test "$cross_compiling" = yes; then
30011 ac_cv_huge_val_sanity
=yes
30013 cat >conftest.
$ac_ext <<_ACEOF
30016 cat confdefs.h
>>conftest.
$ac_ext
30017 cat >>conftest.
$ac_ext <<_ACEOF
30018 /* end confdefs.h. */
30023 double x = HUGE_VAL; return x != x;
30028 rm -f conftest
$ac_exeext
30029 if { (ac_try
="$ac_link"
30030 case "(($ac_try" in
30031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30032 *) ac_try_echo=$ac_try;;
30034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30035 (eval "$ac_link") 2>&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30039 { (case "(($ac_try" in
30040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30041 *) ac_try_echo
=$ac_try;;
30043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30044 (eval "$ac_try") 2>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; }; then
30048 ac_cv_huge_val_sanity
=yes
30050 echo "$as_me: program exited with status $ac_status" >&5
30051 echo "$as_me: failed program was:" >&5
30052 sed 's/^/| /' conftest.
$ac_ext >&5
30054 ( exit $ac_status )
30055 ac_cv_huge_val_sanity
=no
30057 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30062 ac_cpp
='$CPP $CPPFLAGS'
30063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30069 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
30070 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
30071 HUGE_VAL_SANITY
=$ac_cv_huge_val_sanity
30074 { echo "$as_me:$LINENO: checking for pid_t" >&5
30075 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
30076 if test "${ac_cv_type_pid_t+set}" = set; then
30077 echo $ECHO_N "(cached) $ECHO_C" >&6
30079 cat >conftest.
$ac_ext <<_ACEOF
30082 cat confdefs.h
>>conftest.
$ac_ext
30083 cat >>conftest.
$ac_ext <<_ACEOF
30084 /* end confdefs.h. */
30085 $ac_includes_default
30086 typedef pid_t ac__type_new_;
30090 if ((ac__type_new_ *) 0)
30092 if (sizeof (ac__type_new_))
30098 rm -f conftest.
$ac_objext
30099 if { (ac_try
="$ac_compile"
30100 case "(($ac_try" in
30101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30102 *) ac_try_echo=$ac_try;;
30104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30105 (eval "$ac_compile") 2>conftest.er1
30107 grep -v '^ *+' conftest.er1 >conftest.err
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } &&
30112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30113 { (case "(($ac_try" in
30114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30115 *) ac_try_echo
=$ac_try;;
30117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30118 (eval "$ac_try") 2>&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); }; } &&
30122 { ac_try
='test -s conftest.$ac_objext'
30123 { (case "(($ac_try" in
30124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30125 *) ac_try_echo=$ac_try;;
30127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30128 (eval "$ac_try") 2>&5
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); }; }; then
30132 ac_cv_type_pid_t=yes
30134 echo "$as_me: failed program was:" >&5
30135 sed 's/^/| /' conftest.$ac_ext >&5
30137 ac_cv_type_pid_t=no
30140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30142 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30143 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
30144 if test $ac_cv_type_pid_t = yes; then
30148 cat >>confdefs.h <<_ACEOF
30154 { echo "$as_me:$LINENO: checking for size_t" >&5
30155 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
30156 if test "${ac_cv_type_size_t+set}" = set; then
30157 echo $ECHO_N "(cached) $ECHO_C" >&6
30159 cat >conftest.$ac_ext <<_ACEOF
30162 cat confdefs.h >>conftest.$ac_ext
30163 cat >>conftest.$ac_ext <<_ACEOF
30164 /* end confdefs.h. */
30165 $ac_includes_default
30166 typedef size_t ac__type_new_;
30170 if ((ac__type_new_ *) 0)
30172 if (sizeof (ac__type_new_))
30178 rm -f conftest.$ac_objext
30179 if { (ac_try="$ac_compile"
30180 case "(($ac_try" in
30181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30182 *) ac_try_echo
=$ac_try;;
30184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30185 (eval "$ac_compile") 2>conftest.er1
30187 grep -v '^ *+' conftest.er1
>conftest.err
30189 cat conftest.err
>&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); } &&
30192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30193 { (case "(($ac_try" in
30194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30195 *) ac_try_echo=$ac_try;;
30197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30198 (eval "$ac_try") 2>&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); }; } &&
30202 { ac_try='test -s conftest.$ac_objext'
30203 { (case "(($ac_try" in
30204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30205 *) ac_try_echo
=$ac_try;;
30207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30208 (eval "$ac_try") 2>&5
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); }; }; then
30212 ac_cv_type_size_t
=yes
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.
$ac_ext >&5
30217 ac_cv_type_size_t
=no
30220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30222 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30223 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
30224 if test $ac_cv_type_size_t = yes; then
30228 cat >>confdefs.h
<<_ACEOF
30229 #define size_t unsigned int
30234 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
30235 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
30236 if test "${ac_cv_type_signal+set}" = set; then
30237 echo $ECHO_N "(cached) $ECHO_C" >&6
30239 cat >conftest.
$ac_ext <<_ACEOF
30242 cat confdefs.h
>>conftest.
$ac_ext
30243 cat >>conftest.
$ac_ext <<_ACEOF
30244 /* end confdefs.h. */
30245 #include <sys/types.h>
30246 #include <signal.h>
30251 return *(signal (0, 0)) (0) == 1;
30256 rm -f conftest.
$ac_objext
30257 if { (ac_try
="$ac_compile"
30258 case "(($ac_try" in
30259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30260 *) ac_try_echo=$ac_try;;
30262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30263 (eval "$ac_compile") 2>conftest.er1
30265 grep -v '^ *+' conftest.er1 >conftest.err
30267 cat conftest.err >&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); } &&
30270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30271 { (case "(($ac_try" in
30272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30273 *) ac_try_echo
=$ac_try;;
30275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30276 (eval "$ac_try") 2>&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); }; } &&
30280 { ac_try
='test -s conftest.$ac_objext'
30281 { (case "(($ac_try" in
30282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30283 *) ac_try_echo=$ac_try;;
30285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30286 (eval "$ac_try") 2>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; }; then
30290 ac_cv_type_signal=int
30292 echo "$as_me: failed program was:" >&5
30293 sed 's/^/| /' conftest.$ac_ext >&5
30295 ac_cv_type_signal=void
30298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30300 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
30301 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
30303 cat >>confdefs.h <<_ACEOF
30304 #define RETSIGTYPE $ac_cv_type_signal
30308 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
30309 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
30310 if test "${ac_cv_struct_tm+set}" = set; then
30311 echo $ECHO_N "(cached) $ECHO_C" >&6
30313 cat >conftest.$ac_ext <<_ACEOF
30316 cat confdefs.h >>conftest.$ac_ext
30317 cat >>conftest.$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30319 #include <sys/types.h>
30325 struct tm *tp; tp->tm_sec;
30330 rm -f conftest.$ac_objext
30331 if { (ac_try="$ac_compile"
30332 case "(($ac_try" in
30333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30334 *) ac_try_echo
=$ac_try;;
30336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30337 (eval "$ac_compile") 2>conftest.er1
30339 grep -v '^ *+' conftest.er1
>conftest.err
30341 cat conftest.err
>&5
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); } &&
30344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30345 { (case "(($ac_try" in
30346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30347 *) ac_try_echo=$ac_try;;
30349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30350 (eval "$ac_try") 2>&5
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); }; } &&
30354 { ac_try='test -s conftest.$ac_objext'
30355 { (case "(($ac_try" in
30356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30357 *) ac_try_echo
=$ac_try;;
30359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30360 (eval "$ac_try") 2>&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); }; }; then
30364 ac_cv_struct_tm
=time.h
30366 echo "$as_me: failed program was:" >&5
30367 sed 's/^/| /' conftest.
$ac_ext >&5
30369 ac_cv_struct_tm
=sys
/time.h
30372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30374 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
30375 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
30376 if test $ac_cv_struct_tm = sys
/time.h
; then
30378 cat >>confdefs.h
<<\_ACEOF
30379 #define TM_IN_SYS_TIME 1
30384 { echo "$as_me:$LINENO: checking for int64_t" >&5
30385 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
30386 if test "${ac_cv_type_int64_t+set}" = set; then
30387 echo $ECHO_N "(cached) $ECHO_C" >&6
30389 cat >conftest.
$ac_ext <<_ACEOF
30392 cat confdefs.h
>>conftest.
$ac_ext
30393 cat >>conftest.
$ac_ext <<_ACEOF
30394 /* end confdefs.h. */
30395 $ac_includes_default
30396 typedef int64_t ac__type_new_;
30400 if ((ac__type_new_ *) 0)
30402 if (sizeof (ac__type_new_))
30408 rm -f conftest.
$ac_objext
30409 if { (ac_try
="$ac_compile"
30410 case "(($ac_try" in
30411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30412 *) ac_try_echo=$ac_try;;
30414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30415 (eval "$ac_compile") 2>conftest.er1
30417 grep -v '^ *+' conftest.er1 >conftest.err
30419 cat conftest.err >&5
30420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30421 (exit $ac_status); } &&
30422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30423 { (case "(($ac_try" in
30424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30425 *) ac_try_echo
=$ac_try;;
30427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30428 (eval "$ac_try") 2>&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); }; } &&
30432 { ac_try
='test -s conftest.$ac_objext'
30433 { (case "(($ac_try" in
30434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30435 *) ac_try_echo=$ac_try;;
30437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30438 (eval "$ac_try") 2>&5
30440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30441 (exit $ac_status); }; }; then
30442 ac_cv_type_int64_t=yes
30444 echo "$as_me: failed program was:" >&5
30445 sed 's/^/| /' conftest.$ac_ext >&5
30447 ac_cv_type_int64_t=no
30450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30452 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
30453 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
30454 if test $ac_cv_type_int64_t = yes; then
30456 cat >>confdefs.h <<_ACEOF
30457 #define HAVE_INT64_T 1
30462 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
30463 echo "$as_me: error: Type int64_t required but not found" >&2;}
30464 { (exit 1); exit 1; }; }
30467 { echo "$as_me:$LINENO: checking for uint64_t" >&5
30468 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
30469 if test "${ac_cv_type_uint64_t+set}" = set; then
30470 echo $ECHO_N "(cached) $ECHO_C" >&6
30472 cat >conftest.$ac_ext <<_ACEOF
30475 cat confdefs.h >>conftest.$ac_ext
30476 cat >>conftest.$ac_ext <<_ACEOF
30477 /* end confdefs.h. */
30478 $ac_includes_default
30479 typedef uint64_t ac__type_new_;
30483 if ((ac__type_new_ *) 0)
30485 if (sizeof (ac__type_new_))
30491 rm -f conftest.$ac_objext
30492 if { (ac_try="$ac_compile"
30493 case "(($ac_try" in
30494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30495 *) ac_try_echo
=$ac_try;;
30497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30498 (eval "$ac_compile") 2>conftest.er1
30500 grep -v '^ *+' conftest.er1
>conftest.err
30502 cat conftest.err
>&5
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); } &&
30505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30506 { (case "(($ac_try" in
30507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30508 *) ac_try_echo=$ac_try;;
30510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30511 (eval "$ac_try") 2>&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); }; } &&
30515 { ac_try='test -s conftest.$ac_objext'
30516 { (case "(($ac_try" in
30517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30518 *) ac_try_echo
=$ac_try;;
30520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30521 (eval "$ac_try") 2>&5
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; }; then
30525 ac_cv_type_uint64_t
=yes
30527 echo "$as_me: failed program was:" >&5
30528 sed 's/^/| /' conftest.
$ac_ext >&5
30530 ac_cv_type_uint64_t
=no
30533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30535 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
30536 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
30537 if test $ac_cv_type_uint64_t = yes; then
30539 cat >>confdefs.h
<<_ACEOF
30540 #define HAVE_UINT64_T 1
30545 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
30546 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
30547 if test "${ac_cv_type_u_int64_t+set}" = set; then
30548 echo $ECHO_N "(cached) $ECHO_C" >&6
30550 cat >conftest.
$ac_ext <<_ACEOF
30553 cat confdefs.h
>>conftest.
$ac_ext
30554 cat >>conftest.
$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30556 $ac_includes_default
30557 typedef u_int64_t ac__type_new_;
30561 if ((ac__type_new_ *) 0)
30563 if (sizeof (ac__type_new_))
30569 rm -f conftest.
$ac_objext
30570 if { (ac_try
="$ac_compile"
30571 case "(($ac_try" in
30572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30573 *) ac_try_echo=$ac_try;;
30575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30576 (eval "$ac_compile") 2>conftest.er1
30578 grep -v '^ *+' conftest.er1 >conftest.err
30580 cat conftest.err >&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); } &&
30583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30584 { (case "(($ac_try" in
30585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30586 *) ac_try_echo
=$ac_try;;
30588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30589 (eval "$ac_try") 2>&5
30591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30592 (exit $ac_status); }; } &&
30593 { ac_try
='test -s conftest.$ac_objext'
30594 { (case "(($ac_try" in
30595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30596 *) ac_try_echo=$ac_try;;
30598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30599 (eval "$ac_try") 2>&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; }; then
30603 ac_cv_type_u_int64_t=yes
30605 echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.$ac_ext >&5
30608 ac_cv_type_u_int64_t=no
30611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30613 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
30614 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
30615 if test $ac_cv_type_u_int64_t = yes; then
30617 cat >>confdefs.h <<_ACEOF
30618 #define HAVE_U_INT64_T 1
30623 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
30624 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
30625 { (exit 1); exit 1; }; }
30639 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30641 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30645 echo $ECHO_N "(cached) $ECHO_C" >&6
30647 cat >conftest.$ac_ext <<_ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30655 #define $ac_func innocuous_$ac_func
30657 /* System header to define __stub macros and hopefully few prototypes,
30658 which can conflict with char $ac_func (); below.
30659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30660 <limits.h> exists even on freestanding compilers. */
30663 # include <limits.h>
30665 # include <assert.h>
30670 /* Override any GCC internal prototype to avoid an error.
30671 Use char because int might match the return type of a GCC
30672 builtin and then its argument prototype would still apply. */
30677 /* The GNU C library defines this for functions which it implements
30678 to always fail with ENOSYS. Some functions are actually named
30679 something starting with __ and the normal name is an alias. */
30680 #if defined __stub_$ac_func || defined __stub___$ac_func
30687 return $ac_func ();
30692 rm -f conftest.$ac_objext conftest$ac_exeext
30693 if { (ac_try="$ac_link"
30694 case "(($ac_try" in
30695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30696 *) ac_try_echo
=$ac_try;;
30698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30699 (eval "$ac_link") 2>conftest.er1
30701 grep -v '^ *+' conftest.er1
>conftest.err
30703 cat conftest.err
>&5
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); } &&
30706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30707 { (case "(($ac_try" in
30708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30709 *) ac_try_echo=$ac_try;;
30711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30712 (eval "$ac_try") 2>&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; } &&
30716 { ac_try='test -s conftest$ac_exeext'
30717 { (case "(($ac_try" in
30718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30719 *) ac_try_echo
=$ac_try;;
30721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722 (eval "$ac_try") 2>&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; }; then
30726 eval "$as_ac_var=yes"
30728 echo "$as_me: failed program was:" >&5
30729 sed 's/^/| /' conftest.
$ac_ext >&5
30731 eval "$as_ac_var=no"
30734 rm -f core conftest.err conftest.
$ac_objext \
30735 conftest
$ac_exeext conftest.
$ac_ext
30737 ac_res
=`eval echo '${'$as_ac_var'}'`
30738 { echo "$as_me:$LINENO: result: $ac_res" >&5
30739 echo "${ECHO_T}$ac_res" >&6; }
30740 if test `eval echo '${'$as_ac_var'}'` = yes; then
30741 cat >>confdefs.h
<<_ACEOF
30742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30752 for ac_func
in powf fmodf strtof round
30754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30757 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30758 echo $ECHO_N "(cached) $ECHO_C" >&6
30760 cat >conftest.
$ac_ext <<_ACEOF
30763 cat confdefs.h
>>conftest.
$ac_ext
30764 cat >>conftest.
$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30768 #define $ac_func innocuous_$ac_func
30770 /* System header to define __stub macros and hopefully few prototypes,
30771 which can conflict with char $ac_func (); below.
30772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30773 <limits.h> exists even on freestanding compilers. */
30776 # include <limits.h>
30778 # include <assert.h>
30783 /* Override any GCC internal prototype to avoid an error.
30784 Use char because int might match the return type of a GCC
30785 builtin and then its argument prototype would still apply. */
30790 /* The GNU C library defines this for functions which it implements
30791 to always fail with ENOSYS. Some functions are actually named
30792 something starting with __ and the normal name is an alias. */
30793 #if defined __stub_$ac_func || defined __stub___$ac_func
30800 return $ac_func ();
30805 rm -f conftest.
$ac_objext conftest
$ac_exeext
30806 if { (ac_try
="$ac_link"
30807 case "(($ac_try" in
30808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30809 *) ac_try_echo=$ac_try;;
30811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30812 (eval "$ac_link") 2>conftest.er1
30814 grep -v '^ *+' conftest.er1 >conftest.err
30816 cat conftest.err >&5
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); } &&
30819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30820 { (case "(($ac_try" in
30821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30822 *) ac_try_echo
=$ac_try;;
30824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30825 (eval "$ac_try") 2>&5
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; } &&
30829 { ac_try
='test -s conftest$ac_exeext'
30830 { (case "(($ac_try" in
30831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30832 *) ac_try_echo=$ac_try;;
30834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30835 (eval "$ac_try") 2>&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); }; }; then
30839 eval "$as_ac_var=yes"
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.$ac_ext >&5
30844 eval "$as_ac_var=no"
30847 rm -f core conftest.err conftest.$ac_objext \
30848 conftest$ac_exeext conftest.$ac_ext
30850 ac_res=`eval echo '${'$as_ac_var'}'`
30851 { echo "$as_me:$LINENO: result: $ac_res" >&5
30852 echo "${ECHO_T}$ac_res" >&6; }
30853 if test `eval echo '${'$as_ac_var'}'` = yes; then
30854 cat >>confdefs.h <<_ACEOF
30855 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30866 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
30868 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30869 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30871 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30872 echo $ECHO_N "(cached) $ECHO_C" >&6
30874 cat >conftest.$ac_ext <<_ACEOF
30877 cat confdefs.h >>conftest.$ac_ext
30878 cat >>conftest.$ac_ext <<_ACEOF
30879 /* end confdefs.h. */
30880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30882 #define $ac_func innocuous_$ac_func
30884 /* System header to define __stub macros and hopefully few prototypes,
30885 which can conflict with char $ac_func (); below.
30886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30887 <limits.h> exists even on freestanding compilers. */
30890 # include <limits.h>
30892 # include <assert.h>
30897 /* Override any GCC internal prototype to avoid an error.
30898 Use char because int might match the return type of a GCC
30899 builtin and then its argument prototype would still apply. */
30904 /* The GNU C library defines this for functions which it implements
30905 to always fail with ENOSYS. Some functions are actually named
30906 something starting with __ and the normal name is an alias. */
30907 #if defined __stub_$ac_func || defined __stub___$ac_func
30914 return $ac_func ();
30919 rm -f conftest.$ac_objext conftest$ac_exeext
30920 if { (ac_try="$ac_link"
30921 case "(($ac_try" in
30922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30923 *) ac_try_echo
=$ac_try;;
30925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30926 (eval "$ac_link") 2>conftest.er1
30928 grep -v '^ *+' conftest.er1
>conftest.err
30930 cat conftest.err
>&5
30931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932 (exit $ac_status); } &&
30933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30934 { (case "(($ac_try" in
30935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30936 *) ac_try_echo=$ac_try;;
30938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30939 (eval "$ac_try") 2>&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; } &&
30943 { ac_try='test -s conftest$ac_exeext'
30944 { (case "(($ac_try" in
30945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30946 *) ac_try_echo
=$ac_try;;
30948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30949 (eval "$ac_try") 2>&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); }; }; then
30953 eval "$as_ac_var=yes"
30955 echo "$as_me: failed program was:" >&5
30956 sed 's/^/| /' conftest.
$ac_ext >&5
30958 eval "$as_ac_var=no"
30961 rm -f core conftest.err conftest.
$ac_objext \
30962 conftest
$ac_exeext conftest.
$ac_ext
30964 ac_res
=`eval echo '${'$as_ac_var'}'`
30965 { echo "$as_me:$LINENO: result: $ac_res" >&5
30966 echo "${ECHO_T}$ac_res" >&6; }
30967 if test `eval echo '${'$as_ac_var'}'` = yes; then
30968 cat >>confdefs.h
<<_ACEOF
30969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30978 for ac_func
in isatty mkdtemp mkstemp
30980 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30983 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30986 cat >conftest.
$ac_ext <<_ACEOF
30989 cat confdefs.h
>>conftest.
$ac_ext
30990 cat >>conftest.
$ac_ext <<_ACEOF
30991 /* end confdefs.h. */
30992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30994 #define $ac_func innocuous_$ac_func
30996 /* System header to define __stub macros and hopefully few prototypes,
30997 which can conflict with char $ac_func (); below.
30998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30999 <limits.h> exists even on freestanding compilers. */
31002 # include <limits.h>
31004 # include <assert.h>
31009 /* Override any GCC internal prototype to avoid an error.
31010 Use char because int might match the return type of a GCC
31011 builtin and then its argument prototype would still apply. */
31016 /* The GNU C library defines this for functions which it implements
31017 to always fail with ENOSYS. Some functions are actually named
31018 something starting with __ and the normal name is an alias. */
31019 #if defined __stub_$ac_func || defined __stub___$ac_func
31026 return $ac_func ();
31031 rm -f conftest.
$ac_objext conftest
$ac_exeext
31032 if { (ac_try
="$ac_link"
31033 case "(($ac_try" in
31034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31035 *) ac_try_echo=$ac_try;;
31037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31038 (eval "$ac_link") 2>conftest.er1
31040 grep -v '^ *+' conftest.er1 >conftest.err
31042 cat conftest.err >&5
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); } &&
31045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31046 { (case "(($ac_try" in
31047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31048 *) ac_try_echo
=$ac_try;;
31050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31051 (eval "$ac_try") 2>&5
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; } &&
31055 { ac_try
='test -s conftest$ac_exeext'
31056 { (case "(($ac_try" in
31057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31058 *) ac_try_echo=$ac_try;;
31060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31061 (eval "$ac_try") 2>&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); }; }; then
31065 eval "$as_ac_var=yes"
31067 echo "$as_me: failed program was:" >&5
31068 sed 's/^/| /' conftest.$ac_ext >&5
31070 eval "$as_ac_var=no"
31073 rm -f core conftest.err conftest.$ac_objext \
31074 conftest$ac_exeext conftest.$ac_ext
31076 ac_res=`eval echo '${'$as_ac_var'}'`
31077 { echo "$as_me:$LINENO: result: $ac_res" >&5
31078 echo "${ECHO_T}$ac_res" >&6; }
31079 if test `eval echo '${'$as_ac_var'}'` = yes; then
31080 cat >>confdefs.h <<_ACEOF
31081 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31094 for ac_func in mktemp realpath sbrk setrlimit strdup strerror strerror_r
31096 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31102 cat >conftest.$ac_ext <<_ACEOF
31105 cat confdefs.h >>conftest.$ac_ext
31106 cat >>conftest.$ac_ext <<_ACEOF
31107 /* end confdefs.h. */
31108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31110 #define $ac_func innocuous_$ac_func
31112 /* System header to define __stub macros and hopefully few prototypes,
31113 which can conflict with char $ac_func (); below.
31114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31115 <limits.h> exists even on freestanding compilers. */
31118 # include <limits.h>
31120 # include <assert.h>
31125 /* Override any GCC internal prototype to avoid an error.
31126 Use char because int might match the return type of a GCC
31127 builtin and then its argument prototype would still apply. */
31132 /* The GNU C library defines this for functions which it implements
31133 to always fail with ENOSYS. Some functions are actually named
31134 something starting with __ and the normal name is an alias. */
31135 #if defined __stub_$ac_func || defined __stub___$ac_func
31142 return $ac_func ();
31147 rm -f conftest.$ac_objext conftest$ac_exeext
31148 if { (ac_try="$ac_link"
31149 case "(($ac_try" in
31150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31151 *) ac_try_echo
=$ac_try;;
31153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31154 (eval "$ac_link") 2>conftest.er1
31156 grep -v '^ *+' conftest.er1
>conftest.err
31158 cat conftest.err
>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); } &&
31161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31162 { (case "(($ac_try" in
31163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31164 *) ac_try_echo=$ac_try;;
31166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31167 (eval "$ac_try") 2>&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; } &&
31171 { ac_try='test -s conftest$ac_exeext'
31172 { (case "(($ac_try" in
31173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31174 *) ac_try_echo
=$ac_try;;
31176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31177 (eval "$ac_try") 2>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; }; then
31181 eval "$as_ac_var=yes"
31183 echo "$as_me: failed program was:" >&5
31184 sed 's/^/| /' conftest.
$ac_ext >&5
31186 eval "$as_ac_var=no"
31189 rm -f core conftest.err conftest.
$ac_objext \
31190 conftest
$ac_exeext conftest.
$ac_ext
31192 ac_res
=`eval echo '${'$as_ac_var'}'`
31193 { echo "$as_me:$LINENO: result: $ac_res" >&5
31194 echo "${ECHO_T}$ac_res" >&6; }
31195 if test `eval echo '${'$as_ac_var'}'` = yes; then
31196 cat >>confdefs.h
<<_ACEOF
31197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31207 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
31209 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31212 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31213 echo $ECHO_N "(cached) $ECHO_C" >&6
31215 cat >conftest.
$ac_ext <<_ACEOF
31218 cat confdefs.h
>>conftest.
$ac_ext
31219 cat >>conftest.
$ac_ext <<_ACEOF
31220 /* end confdefs.h. */
31221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31223 #define $ac_func innocuous_$ac_func
31225 /* System header to define __stub macros and hopefully few prototypes,
31226 which can conflict with char $ac_func (); below.
31227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31228 <limits.h> exists even on freestanding compilers. */
31231 # include <limits.h>
31233 # include <assert.h>
31238 /* Override any GCC internal prototype to avoid an error.
31239 Use char because int might match the return type of a GCC
31240 builtin and then its argument prototype would still apply. */
31245 /* The GNU C library defines this for functions which it implements
31246 to always fail with ENOSYS. Some functions are actually named
31247 something starting with __ and the normal name is an alias. */
31248 #if defined __stub_$ac_func || defined __stub___$ac_func
31255 return $ac_func ();
31260 rm -f conftest.
$ac_objext conftest
$ac_exeext
31261 if { (ac_try
="$ac_link"
31262 case "(($ac_try" in
31263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31264 *) ac_try_echo=$ac_try;;
31266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31267 (eval "$ac_link") 2>conftest.er1
31269 grep -v '^ *+' conftest.er1 >conftest.err
31271 cat conftest.err >&5
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); } &&
31274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31275 { (case "(($ac_try" in
31276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31277 *) ac_try_echo
=$ac_try;;
31279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31280 (eval "$ac_try") 2>&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); }; } &&
31284 { ac_try
='test -s conftest$ac_exeext'
31285 { (case "(($ac_try" in
31286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31287 *) ac_try_echo=$ac_try;;
31289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31290 (eval "$ac_try") 2>&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; }; then
31294 eval "$as_ac_var=yes"
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.$ac_ext >&5
31299 eval "$as_ac_var=no"
31302 rm -f core conftest.err conftest.$ac_objext \
31303 conftest$ac_exeext conftest.$ac_ext
31305 ac_res=`eval echo '${'$as_ac_var'}'`
31306 { echo "$as_me:$LINENO: result: $ac_res" >&5
31307 echo "${ECHO_T}$ac_res" >&6; }
31308 if test `eval echo '${'$as_ac_var'}'` = yes; then
31309 cat >>confdefs.h <<_ACEOF
31310 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31320 for ac_func in setjmp longjmp sigsetjmp siglongjmp
31322 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31326 echo $ECHO_N "(cached) $ECHO_C" >&6
31328 cat >conftest.$ac_ext <<_ACEOF
31331 cat confdefs.h >>conftest.$ac_ext
31332 cat >>conftest.$ac_ext <<_ACEOF
31333 /* end confdefs.h. */
31334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31336 #define $ac_func innocuous_$ac_func
31338 /* System header to define __stub macros and hopefully few prototypes,
31339 which can conflict with char $ac_func (); below.
31340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31341 <limits.h> exists even on freestanding compilers. */
31344 # include <limits.h>
31346 # include <assert.h>
31351 /* Override any GCC internal prototype to avoid an error.
31352 Use char because int might match the return type of a GCC
31353 builtin and then its argument prototype would still apply. */
31358 /* The GNU C library defines this for functions which it implements
31359 to always fail with ENOSYS. Some functions are actually named
31360 something starting with __ and the normal name is an alias. */
31361 #if defined __stub_$ac_func || defined __stub___$ac_func
31368 return $ac_func ();
31373 rm -f conftest.$ac_objext conftest$ac_exeext
31374 if { (ac_try="$ac_link"
31375 case "(($ac_try" in
31376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31377 *) ac_try_echo
=$ac_try;;
31379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31380 (eval "$ac_link") 2>conftest.er1
31382 grep -v '^ *+' conftest.er1
>conftest.err
31384 cat conftest.err
>&5
31385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31386 (exit $ac_status); } &&
31387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31388 { (case "(($ac_try" in
31389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31390 *) ac_try_echo=$ac_try;;
31392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31393 (eval "$ac_try") 2>&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); }; } &&
31397 { ac_try='test -s conftest$ac_exeext'
31398 { (case "(($ac_try" in
31399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31400 *) ac_try_echo
=$ac_try;;
31402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31403 (eval "$ac_try") 2>&5
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); }; }; then
31407 eval "$as_ac_var=yes"
31409 echo "$as_me: failed program was:" >&5
31410 sed 's/^/| /' conftest.
$ac_ext >&5
31412 eval "$as_ac_var=no"
31415 rm -f core conftest.err conftest.
$ac_objext \
31416 conftest
$ac_exeext conftest.
$ac_ext
31418 ac_res
=`eval echo '${'$as_ac_var'}'`
31419 { echo "$as_me:$LINENO: result: $ac_res" >&5
31420 echo "${ECHO_T}$ac_res" >&6; }
31421 if test `eval echo '${'$as_ac_var'}'` = yes; then
31422 cat >>confdefs.h
<<_ACEOF
31423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31429 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
31430 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
31431 if test "${llvm_cv_c_printf_a+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 ac_cpp
='$CPP $CPPFLAGS'
31436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31440 if test "$cross_compiling" = yes; then
31441 llvmac_cv_c_printf_a
=no
31443 cat >conftest.
$ac_ext <<_ACEOF
31447 cat confdefs.h
>>conftest.
$ac_ext
31448 cat >>conftest.
$ac_ext <<_ACEOF
31449 /* end confdefs.h. */
31452 #include <stdlib.h>
31458 volatile double A, B;
31462 sprintf(Buffer, "%a", A);
31466 if (A != 0x1.999999999999ap-4)
31473 rm -f conftest
$ac_exeext
31474 if { (ac_try
="$ac_link"
31475 case "(($ac_try" in
31476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31477 *) ac_try_echo=$ac_try;;
31479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31480 (eval "$ac_link") 2>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31484 { (case "(($ac_try" in
31485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31486 *) ac_try_echo
=$ac_try;;
31488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31489 (eval "$ac_try") 2>&5
31491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31492 (exit $ac_status); }; }; then
31493 llvm_cv_c_printf_a
=yes
31495 echo "$as_me: program exited with status $ac_status" >&5
31496 echo "$as_me: failed program was:" >&5
31497 sed 's/^/| /' conftest.
$ac_ext >&5
31499 ( exit $ac_status )
31500 llvmac_cv_c_printf_a
=no
31502 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31507 ac_cpp
='$CPP $CPPFLAGS'
31508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31513 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
31514 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
31515 if test "$llvm_cv_c_printf_a" = "yes"; then
31517 cat >>confdefs.h
<<\_ACEOF
31518 #define HAVE_PRINTF_A 1
31523 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
31524 # for constant arguments. Useless!
31525 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
31526 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
31527 if test "${ac_cv_working_alloca_h+set}" = set; then
31528 echo $ECHO_N "(cached) $ECHO_C" >&6
31530 cat >conftest.
$ac_ext <<_ACEOF
31533 cat confdefs.h
>>conftest.
$ac_ext
31534 cat >>conftest.
$ac_ext <<_ACEOF
31535 /* end confdefs.h. */
31536 #include <alloca.h>
31540 char *p = (char *) alloca (2 * sizeof (int));
31546 rm -f conftest.
$ac_objext conftest
$ac_exeext
31547 if { (ac_try
="$ac_link"
31548 case "(($ac_try" in
31549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31550 *) ac_try_echo=$ac_try;;
31552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31553 (eval "$ac_link") 2>conftest.er1
31555 grep -v '^ *+' conftest.er1 >conftest.err
31557 cat conftest.err >&5
31558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31559 (exit $ac_status); } &&
31560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31561 { (case "(($ac_try" in
31562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31563 *) ac_try_echo
=$ac_try;;
31565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31566 (eval "$ac_try") 2>&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); }; } &&
31570 { ac_try
='test -s conftest$ac_exeext'
31571 { (case "(($ac_try" in
31572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31573 *) ac_try_echo=$ac_try;;
31575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31576 (eval "$ac_try") 2>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); }; }; then
31580 ac_cv_working_alloca_h=yes
31582 echo "$as_me: failed program was:" >&5
31583 sed 's/^/| /' conftest.$ac_ext >&5
31585 ac_cv_working_alloca_h=no
31588 rm -f core conftest.err conftest.$ac_objext \
31589 conftest$ac_exeext conftest.$ac_ext
31591 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31592 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
31593 if test $ac_cv_working_alloca_h = yes; then
31595 cat >>confdefs.h <<\_ACEOF
31596 #define HAVE_ALLOCA_H 1
31601 { echo "$as_me:$LINENO: checking for alloca" >&5
31602 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
31603 if test "${ac_cv_func_alloca_works+set}" = set; then
31604 echo $ECHO_N "(cached) $ECHO_C" >&6
31606 cat >conftest.$ac_ext <<_ACEOF
31609 cat confdefs.h >>conftest.$ac_ext
31610 cat >>conftest.$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31613 # define alloca __builtin_alloca
31616 # include <malloc.h>
31617 # define alloca _alloca
31620 # include <alloca.h>
31625 # ifndef alloca /* predefined by HP cc +Olibcalls */
31636 char *p = (char *) alloca (1);
31642 rm -f conftest.$ac_objext conftest$ac_exeext
31643 if { (ac_try="$ac_link"
31644 case "(($ac_try" in
31645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31646 *) ac_try_echo
=$ac_try;;
31648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31649 (eval "$ac_link") 2>conftest.er1
31651 grep -v '^ *+' conftest.er1
>conftest.err
31653 cat conftest.err
>&5
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); } &&
31656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31657 { (case "(($ac_try" in
31658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31659 *) ac_try_echo=$ac_try;;
31661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31662 (eval "$ac_try") 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; } &&
31666 { ac_try='test -s conftest$ac_exeext'
31667 { (case "(($ac_try" in
31668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31669 *) ac_try_echo
=$ac_try;;
31671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31672 (eval "$ac_try") 2>&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); }; }; then
31676 ac_cv_func_alloca_works
=yes
31678 echo "$as_me: failed program was:" >&5
31679 sed 's/^/| /' conftest.
$ac_ext >&5
31681 ac_cv_func_alloca_works
=no
31684 rm -f core conftest.err conftest.
$ac_objext \
31685 conftest
$ac_exeext conftest.
$ac_ext
31687 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31688 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31690 if test $ac_cv_func_alloca_works = yes; then
31692 cat >>confdefs.h
<<\_ACEOF
31693 #define HAVE_ALLOCA 1
31697 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
31698 # that cause trouble. Some versions do not even contain alloca or
31699 # contain a buggy version. If you still want to use their alloca,
31700 # use ar to extract alloca.o from them instead of compiling alloca.c.
31702 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
31704 cat >>confdefs.h
<<\_ACEOF
31709 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31710 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
31711 if test "${ac_cv_os_cray+set}" = set; then
31712 echo $ECHO_N "(cached) $ECHO_C" >&6
31714 cat >conftest.
$ac_ext <<_ACEOF
31717 cat confdefs.h
>>conftest.
$ac_ext
31718 cat >>conftest.
$ac_ext <<_ACEOF
31719 /* end confdefs.h. */
31720 #if defined CRAY && ! defined CRAY2
31727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31728 $EGREP "webecray" >/dev
/null
2>&1; then
31736 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31737 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31738 if test $ac_cv_os_cray = yes; then
31739 for ac_func
in _getb67 GETB67 getb67
; do
31740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31743 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31744 echo $ECHO_N "(cached) $ECHO_C" >&6
31746 cat >conftest.
$ac_ext <<_ACEOF
31749 cat confdefs.h
>>conftest.
$ac_ext
31750 cat >>conftest.
$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31754 #define $ac_func innocuous_$ac_func
31756 /* System header to define __stub macros and hopefully few prototypes,
31757 which can conflict with char $ac_func (); below.
31758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31759 <limits.h> exists even on freestanding compilers. */
31762 # include <limits.h>
31764 # include <assert.h>
31769 /* Override any GCC internal prototype to avoid an error.
31770 Use char because int might match the return type of a GCC
31771 builtin and then its argument prototype would still apply. */
31776 /* The GNU C library defines this for functions which it implements
31777 to always fail with ENOSYS. Some functions are actually named
31778 something starting with __ and the normal name is an alias. */
31779 #if defined __stub_$ac_func || defined __stub___$ac_func
31786 return $ac_func ();
31791 rm -f conftest.
$ac_objext conftest
$ac_exeext
31792 if { (ac_try
="$ac_link"
31793 case "(($ac_try" in
31794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31795 *) ac_try_echo=$ac_try;;
31797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31798 (eval "$ac_link") 2>conftest.er1
31800 grep -v '^ *+' conftest.er1 >conftest.err
31802 cat conftest.err >&5
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); } &&
31805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31806 { (case "(($ac_try" in
31807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31808 *) ac_try_echo
=$ac_try;;
31810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31811 (eval "$ac_try") 2>&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); }; } &&
31815 { ac_try
='test -s conftest$ac_exeext'
31816 { (case "(($ac_try" in
31817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31818 *) ac_try_echo=$ac_try;;
31820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31821 (eval "$ac_try") 2>&5
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; }; then
31825 eval "$as_ac_var=yes"
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.$ac_ext >&5
31830 eval "$as_ac_var=no"
31833 rm -f core conftest.err conftest.$ac_objext \
31834 conftest$ac_exeext conftest.$ac_ext
31836 ac_res=`eval echo '${'$as_ac_var'}'`
31837 { echo "$as_me:$LINENO: result: $ac_res" >&5
31838 echo "${ECHO_T}$ac_res" >&6; }
31839 if test `eval echo '${'$as_ac_var'}'` = yes; then
31841 cat >>confdefs.h <<_ACEOF
31842 #define CRAY_STACKSEG_END $ac_func
31851 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31852 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31853 if test "${ac_cv_c_stack_direction+set}" = set; then
31854 echo $ECHO_N "(cached) $ECHO_C" >&6
31856 if test "$cross_compiling" = yes; then
31857 ac_cv_c_stack_direction=0
31859 cat >conftest.$ac_ext <<_ACEOF
31862 cat confdefs.h >>conftest.$ac_ext
31863 cat >>conftest.$ac_ext <<_ACEOF
31864 /* end confdefs.h. */
31865 $ac_includes_default
31867 find_stack_direction ()
31869 static char *addr = 0;
31874 return find_stack_direction ();
31877 return (&dummy > addr) ? 1 : -1;
31883 return find_stack_direction () < 0;
31886 rm -f conftest$ac_exeext
31887 if { (ac_try="$ac_link"
31888 case "(($ac_try" in
31889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31890 *) ac_try_echo
=$ac_try;;
31892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31893 (eval "$ac_link") 2>&5
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31897 { (case "(($ac_try" in
31898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31899 *) ac_try_echo=$ac_try;;
31901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31902 (eval "$ac_try") 2>&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); }; }; then
31906 ac_cv_c_stack_direction=1
31908 echo "$as_me: program exited with status $ac_status" >&5
31909 echo "$as_me: failed program was:" >&5
31910 sed 's/^/| /' conftest.$ac_ext >&5
31912 ( exit $ac_status )
31913 ac_cv_c_stack_direction=-1
31915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31920 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31921 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31923 cat >>confdefs.h <<_ACEOF
31924 #define STACK_DIRECTION $ac_cv_c_stack_direction
31931 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
31932 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
31933 if test "${ac_cv_func_rand48+set}" = set; then
31934 echo $ECHO_N "(cached) $ECHO_C" >&6
31937 ac_cpp='$CXXCPP $CPPFLAGS'
31938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31942 cat >conftest.$ac_ext <<_ACEOF
31945 cat confdefs.h >>conftest.$ac_ext
31946 cat >>conftest.$ac_ext <<_ACEOF
31947 /* end confdefs.h. */
31948 #include <stdlib.h>
31952 srand48(0);lrand48();drand48();
31957 rm -f conftest.$ac_objext
31958 if { (ac_try="$ac_compile"
31959 case "(($ac_try" in
31960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31961 *) ac_try_echo
=$ac_try;;
31963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31964 (eval "$ac_compile") 2>conftest.er1
31966 grep -v '^ *+' conftest.er1
>conftest.err
31968 cat conftest.err
>&5
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); } &&
31971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31972 { (case "(($ac_try" in
31973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31974 *) ac_try_echo=$ac_try;;
31976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31977 (eval "$ac_try") 2>&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); }; } &&
31981 { ac_try='test -s conftest.$ac_objext'
31982 { (case "(($ac_try" in
31983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31984 *) ac_try_echo
=$ac_try;;
31986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31987 (eval "$ac_try") 2>&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; }; then
31991 ac_cv_func_rand48
=yes
31993 echo "$as_me: failed program was:" >&5
31994 sed 's/^/| /' conftest.
$ac_ext >&5
31996 ac_cv_func_rand48
=no
31999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32001 ac_cpp
='$CPP $CPPFLAGS'
32002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32007 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
32008 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
32010 if test "$ac_cv_func_rand48" = "yes" ; then
32012 cat >>confdefs.h
<<\_ACEOF
32013 #define HAVE_RAND48 1
32019 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
32020 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
32021 if test "${ac_cv_cxx_namespaces+set}" = set; then
32022 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 ac_cpp
='$CXXCPP $CPPFLAGS'
32026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32030 cat >conftest.
$ac_ext <<_ACEOF
32033 cat confdefs.h
>>conftest.
$ac_ext
32034 cat >>conftest.
$ac_ext <<_ACEOF
32035 /* end confdefs.h. */
32036 namespace Outer { namespace Inner { int i = 0; }}
32040 using namespace Outer::Inner; return i;
32045 rm -f conftest.
$ac_objext
32046 if { (ac_try
="$ac_compile"
32047 case "(($ac_try" in
32048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32049 *) ac_try_echo=$ac_try;;
32051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32052 (eval "$ac_compile") 2>conftest.er1
32054 grep -v '^ *+' conftest.er1 >conftest.err
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32060 { (case "(($ac_try" in
32061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32062 *) ac_try_echo
=$ac_try;;
32064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32065 (eval "$ac_try") 2>&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; } &&
32069 { ac_try
='test -s conftest.$ac_objext'
32070 { (case "(($ac_try" in
32071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_try") 2>&5
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 (exit $ac_status); }; }; then
32079 ac_cv_cxx_namespaces=yes
32081 echo "$as_me: failed program was:" >&5
32082 sed 's/^/| /' conftest.$ac_ext >&5
32084 ac_cv_cxx_namespaces=no
32087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32089 ac_cpp='$CPP $CPPFLAGS'
32090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32096 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
32097 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
32098 if test "$ac_cv_cxx_namespaces" = yes; then
32100 cat >>confdefs.h <<\_ACEOF
32101 #define HAVE_NAMESPACES
32106 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
32107 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
32108 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
32109 echo $ECHO_N "(cached) $ECHO_C" >&6
32113 ac_cpp='$CXXCPP $CPPFLAGS'
32114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32118 cat >conftest.$ac_ext <<_ACEOF
32121 cat confdefs.h >>conftest.$ac_ext
32122 cat >>conftest.$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32124 #include <iterator>
32125 #ifdef HAVE_NAMESPACES
32126 using namespace std;
32131 iterator<int,int,int> t; return 0;
32136 rm -f conftest.$ac_objext
32137 if { (ac_try="$ac_compile"
32138 case "(($ac_try" in
32139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32140 *) ac_try_echo
=$ac_try;;
32142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32143 (eval "$ac_compile") 2>conftest.er1
32145 grep -v '^ *+' conftest.er1
>conftest.err
32147 cat conftest.err
>&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); } &&
32150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32151 { (case "(($ac_try" in
32152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32153 *) ac_try_echo=$ac_try;;
32155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32156 (eval "$ac_try") 2>&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); }; } &&
32160 { ac_try='test -s conftest.$ac_objext'
32161 { (case "(($ac_try" in
32162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32163 *) ac_try_echo
=$ac_try;;
32165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32166 (eval "$ac_try") 2>&5
32168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32169 (exit $ac_status); }; }; then
32170 ac_cv_cxx_have_std_iterator
=yes
32172 echo "$as_me: failed program was:" >&5
32173 sed 's/^/| /' conftest.
$ac_ext >&5
32175 ac_cv_cxx_have_std_iterator
=no
32178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32180 ac_cpp
='$CPP $CPPFLAGS'
32181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32187 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
32188 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32189 if test "$ac_cv_cxx_have_std_iterator" = yes
32192 cat >>confdefs.h
<<\_ACEOF
32193 #define HAVE_STD_ITERATOR 1
32198 cat >>confdefs.h
<<\_ACEOF
32199 #define HAVE_STD_ITERATOR 0
32204 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
32205 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
32206 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32207 echo $ECHO_N "(cached) $ECHO_C" >&6
32211 ac_cpp
='$CXXCPP $CPPFLAGS'
32212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32216 cat >conftest.
$ac_ext <<_ACEOF
32219 cat confdefs.h
>>conftest.
$ac_ext
32220 cat >>conftest.
$ac_ext <<_ACEOF
32221 /* end confdefs.h. */
32222 #include <iterator>
32223 #ifdef HAVE_NAMESPACES
32224 using namespace std;
32229 bidirectional_iterator<int,int> t; return 0;
32234 rm -f conftest.
$ac_objext
32235 if { (ac_try
="$ac_compile"
32236 case "(($ac_try" in
32237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32238 *) ac_try_echo=$ac_try;;
32240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32241 (eval "$ac_compile") 2>conftest.er1
32243 grep -v '^ *+' conftest.er1 >conftest.err
32245 cat conftest.err >&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); } &&
32248 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32249 { (case "(($ac_try" in
32250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32251 *) ac_try_echo
=$ac_try;;
32253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32254 (eval "$ac_try") 2>&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); }; } &&
32258 { ac_try
='test -s conftest.$ac_objext'
32259 { (case "(($ac_try" in
32260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32261 *) ac_try_echo=$ac_try;;
32263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32264 (eval "$ac_try") 2>&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); }; }; then
32268 ac_cv_cxx_have_bi_iterator=yes
32270 echo "$as_me: failed program was:" >&5
32271 sed 's/^/| /' conftest.$ac_ext >&5
32273 ac_cv_cxx_have_bi_iterator=no
32276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32278 ac_cpp='$CPP $CPPFLAGS'
32279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32285 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
32286 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32287 if test "$ac_cv_cxx_have_bi_iterator" = yes
32290 cat >>confdefs.h <<\_ACEOF
32291 #define HAVE_BI_ITERATOR 1
32296 cat >>confdefs.h <<\_ACEOF
32297 #define HAVE_BI_ITERATOR 0
32302 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
32303 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
32304 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 ac_cpp='$CXXCPP $CPPFLAGS'
32310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32314 cat >conftest.$ac_ext <<_ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32320 #include <iterator>
32321 #ifdef HAVE_NAMESPACES
32322 using namespace std;
32327 forward_iterator<int,int> t; return 0;
32332 rm -f conftest.$ac_objext
32333 if { (ac_try="$ac_compile"
32334 case "(($ac_try" in
32335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32336 *) ac_try_echo
=$ac_try;;
32338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32339 (eval "$ac_compile") 2>conftest.er1
32341 grep -v '^ *+' conftest.er1
>conftest.err
32343 cat conftest.err
>&5
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); } &&
32346 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32347 { (case "(($ac_try" in
32348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32349 *) ac_try_echo=$ac_try;;
32351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32352 (eval "$ac_try") 2>&5
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); }; } &&
32356 { ac_try='test -s conftest.$ac_objext'
32357 { (case "(($ac_try" in
32358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32359 *) ac_try_echo
=$ac_try;;
32361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32362 (eval "$ac_try") 2>&5
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); }; }; then
32366 ac_cv_cxx_have_fwd_iterator
=yes
32368 echo "$as_me: failed program was:" >&5
32369 sed 's/^/| /' conftest.
$ac_ext >&5
32371 ac_cv_cxx_have_fwd_iterator
=no
32374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32376 ac_cpp
='$CPP $CPPFLAGS'
32377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32383 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
32384 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32385 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32388 cat >>confdefs.h
<<\_ACEOF
32389 #define HAVE_FWD_ITERATOR 1
32394 cat >>confdefs.h
<<\_ACEOF
32395 #define HAVE_FWD_ITERATOR 0
32401 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
32402 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
32403 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32404 echo $ECHO_N "(cached) $ECHO_C" >&6
32407 ac_cpp
='$CXXCPP $CPPFLAGS'
32408 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32409 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32410 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32412 cat >conftest.
$ac_ext <<_ACEOF
32415 cat confdefs.h
>>conftest.
$ac_ext
32416 cat >>conftest.
$ac_ext <<_ACEOF
32417 /* end confdefs.h. */
32427 rm -f conftest.
$ac_objext
32428 if { (ac_try
="$ac_compile"
32429 case "(($ac_try" in
32430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32431 *) ac_try_echo=$ac_try;;
32433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32434 (eval "$ac_compile") 2>conftest.er1
32436 grep -v '^ *+' conftest.er1 >conftest.err
32438 cat conftest.err >&5
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); } &&
32441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32442 { (case "(($ac_try" in
32443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32444 *) ac_try_echo
=$ac_try;;
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_try") 2>&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); }; } &&
32451 { ac_try
='test -s conftest.$ac_objext'
32452 { (case "(($ac_try" in
32453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32454 *) ac_try_echo=$ac_try;;
32456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32457 (eval "$ac_try") 2>&5
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; }; then
32461 ac_cv_func_isnan_in_math_h=yes
32463 echo "$as_me: failed program was:" >&5
32464 sed 's/^/| /' conftest.$ac_ext >&5
32466 ac_cv_func_isnan_in_math_h=no
32469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32471 ac_cpp='$CPP $CPPFLAGS'
32472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32477 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
32478 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32481 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32483 cat >>confdefs.h <<\_ACEOF
32484 #define HAVE_ISNAN_IN_MATH_H 1
32489 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
32490 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
32491 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32495 ac_cpp='$CXXCPP $CPPFLAGS'
32496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32500 cat >conftest.$ac_ext <<_ACEOF
32503 cat confdefs.h >>conftest.$ac_ext
32504 cat >>conftest.$ac_ext <<_ACEOF
32505 /* end confdefs.h. */
32515 rm -f conftest.$ac_objext
32516 if { (ac_try="$ac_compile"
32517 case "(($ac_try" in
32518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32519 *) ac_try_echo
=$ac_try;;
32521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32522 (eval "$ac_compile") 2>conftest.er1
32524 grep -v '^ *+' conftest.er1
>conftest.err
32526 cat conftest.err
>&5
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); } &&
32529 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32530 { (case "(($ac_try" in
32531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32532 *) ac_try_echo=$ac_try;;
32534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32535 (eval "$ac_try") 2>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; } &&
32539 { ac_try='test -s conftest.$ac_objext'
32540 { (case "(($ac_try" in
32541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32542 *) ac_try_echo
=$ac_try;;
32544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32545 (eval "$ac_try") 2>&5
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; }; then
32549 ac_cv_func_isnan_in_cmath
=yes
32551 echo "$as_me: failed program was:" >&5
32552 sed 's/^/| /' conftest.
$ac_ext >&5
32554 ac_cv_func_isnan_in_cmath
=no
32557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32559 ac_cpp
='$CPP $CPPFLAGS'
32560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32565 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
32566 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32568 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32570 cat >>confdefs.h
<<\_ACEOF
32571 #define HAVE_ISNAN_IN_CMATH 1
32576 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
32577 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
32578 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32579 echo $ECHO_N "(cached) $ECHO_C" >&6
32582 ac_cpp
='$CXXCPP $CPPFLAGS'
32583 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32587 cat >conftest.
$ac_ext <<_ACEOF
32590 cat confdefs.h
>>conftest.
$ac_ext
32591 cat >>conftest.
$ac_ext <<_ACEOF
32592 /* end confdefs.h. */
32597 float f; std::isnan(f);
32602 rm -f conftest.
$ac_objext
32603 if { (ac_try
="$ac_compile"
32604 case "(($ac_try" in
32605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32606 *) ac_try_echo=$ac_try;;
32608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32609 (eval "$ac_compile") 2>conftest.er1
32611 grep -v '^ *+' conftest.er1 >conftest.err
32613 cat conftest.err >&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); } &&
32616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32617 { (case "(($ac_try" in
32618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32619 *) ac_try_echo
=$ac_try;;
32621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32622 (eval "$ac_try") 2>&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); }; } &&
32626 { ac_try
='test -s conftest.$ac_objext'
32627 { (case "(($ac_try" in
32628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32629 *) ac_try_echo=$ac_try;;
32631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32632 (eval "$ac_try") 2>&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); }; }; then
32636 ac_cv_func_std_isnan_in_cmath=yes
32638 echo "$as_me: failed program was:" >&5
32639 sed 's/^/| /' conftest.$ac_ext >&5
32641 ac_cv_func_std_isnan_in_cmath=no
32644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32646 ac_cpp='$CPP $CPPFLAGS'
32647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32652 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
32653 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32655 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32657 cat >>confdefs.h <<\_ACEOF
32658 #define HAVE_STD_ISNAN_IN_CMATH 1
32664 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
32665 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
32666 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32667 echo $ECHO_N "(cached) $ECHO_C" >&6
32670 ac_cpp='$CXXCPP $CPPFLAGS'
32671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32675 cat >conftest.$ac_ext <<_ACEOF
32678 cat confdefs.h >>conftest.$ac_ext
32679 cat >>conftest.$ac_ext <<_ACEOF
32680 /* end confdefs.h. */
32690 rm -f conftest.$ac_objext
32691 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
32699 grep -v '^ *+' conftest.er1
>conftest.err
32701 cat conftest.err
>&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } &&
32704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32705 { (case "(($ac_try" in
32706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32707 *) ac_try_echo=$ac_try;;
32709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32710 (eval "$ac_try") 2>&5
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; } &&
32714 { ac_try='test -s conftest.$ac_objext'
32715 { (case "(($ac_try" in
32716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32717 *) ac_try_echo
=$ac_try;;
32719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32720 (eval "$ac_try") 2>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; }; then
32724 ac_cv_func_isinf_in_math_h
=yes
32726 echo "$as_me: failed program was:" >&5
32727 sed 's/^/| /' conftest.
$ac_ext >&5
32729 ac_cv_func_isinf_in_math_h
=no
32732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32734 ac_cpp
='$CPP $CPPFLAGS'
32735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32740 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
32741 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
32743 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
32745 cat >>confdefs.h
<<\_ACEOF
32746 #define HAVE_ISINF_IN_MATH_H 1
32751 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
32752 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
32753 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
32754 echo $ECHO_N "(cached) $ECHO_C" >&6
32757 ac_cpp
='$CXXCPP $CPPFLAGS'
32758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32762 cat >conftest.
$ac_ext <<_ACEOF
32765 cat confdefs.h
>>conftest.
$ac_ext
32766 cat >>conftest.
$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32777 rm -f conftest.
$ac_objext
32778 if { (ac_try
="$ac_compile"
32779 case "(($ac_try" in
32780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32781 *) ac_try_echo=$ac_try;;
32783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32784 (eval "$ac_compile") 2>conftest.er1
32786 grep -v '^ *+' conftest.er1 >conftest.err
32788 cat conftest.err >&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); } &&
32791 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32792 { (case "(($ac_try" in
32793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32794 *) ac_try_echo
=$ac_try;;
32796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32797 (eval "$ac_try") 2>&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); }; } &&
32801 { ac_try
='test -s conftest.$ac_objext'
32802 { (case "(($ac_try" in
32803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32804 *) ac_try_echo=$ac_try;;
32806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32807 (eval "$ac_try") 2>&5
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); }; }; then
32811 ac_cv_func_isinf_in_cmath=yes
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.$ac_ext >&5
32816 ac_cv_func_isinf_in_cmath=no
32819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32821 ac_cpp='$CPP $CPPFLAGS'
32822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32827 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
32828 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
32830 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
32832 cat >>confdefs.h <<\_ACEOF
32833 #define HAVE_ISINF_IN_CMATH 1
32838 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
32839 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
32840 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
32841 echo $ECHO_N "(cached) $ECHO_C" >&6
32844 ac_cpp='$CXXCPP $CPPFLAGS'
32845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32849 cat >conftest.$ac_ext <<_ACEOF
32852 cat confdefs.h >>conftest.$ac_ext
32853 cat >>conftest.$ac_ext <<_ACEOF
32854 /* end confdefs.h. */
32859 float f; std::isinf(f)}
32864 rm -f conftest.$ac_objext
32865 if { (ac_try="$ac_compile"
32866 case "(($ac_try" in
32867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32868 *) ac_try_echo
=$ac_try;;
32870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32871 (eval "$ac_compile") 2>conftest.er1
32873 grep -v '^ *+' conftest.er1
>conftest.err
32875 cat conftest.err
>&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); } &&
32878 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32879 { (case "(($ac_try" in
32880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32881 *) ac_try_echo=$ac_try;;
32883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32884 (eval "$ac_try") 2>&5
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; } &&
32888 { ac_try='test -s conftest.$ac_objext'
32889 { (case "(($ac_try" in
32890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32891 *) ac_try_echo
=$ac_try;;
32893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32894 (eval "$ac_try") 2>&5
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; }; then
32898 ac_cv_func_std_isinf_in_cmath
=yes
32900 echo "$as_me: failed program was:" >&5
32901 sed 's/^/| /' conftest.
$ac_ext >&5
32903 ac_cv_func_std_isinf_in_cmath
=no
32906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32908 ac_cpp
='$CPP $CPPFLAGS'
32909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32914 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
32915 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
32917 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
32919 cat >>confdefs.h
<<\_ACEOF
32920 #define HAVE_STD_ISINF_IN_CMATH 1
32925 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
32926 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
32927 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
32928 echo $ECHO_N "(cached) $ECHO_C" >&6
32931 ac_cpp
='$CXXCPP $CPPFLAGS'
32932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32936 cat >conftest.
$ac_ext <<_ACEOF
32939 cat confdefs.h
>>conftest.
$ac_ext
32940 cat >>conftest.
$ac_ext <<_ACEOF
32941 /* end confdefs.h. */
32942 #include <ieeefp.h>
32946 float f; finite(f);
32951 rm -f conftest.
$ac_objext
32952 if { (ac_try
="$ac_compile"
32953 case "(($ac_try" in
32954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32955 *) ac_try_echo=$ac_try;;
32957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32958 (eval "$ac_compile") 2>conftest.er1
32960 grep -v '^ *+' conftest.er1 >conftest.err
32962 cat conftest.err >&5
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); } &&
32965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32966 { (case "(($ac_try" in
32967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32968 *) ac_try_echo
=$ac_try;;
32970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32971 (eval "$ac_try") 2>&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); }; } &&
32975 { ac_try
='test -s conftest.$ac_objext'
32976 { (case "(($ac_try" in
32977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32978 *) ac_try_echo=$ac_try;;
32980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32981 (eval "$ac_try") 2>&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); }; }; then
32985 ac_cv_func_finite_in_ieeefp_h=yes
32987 echo "$as_me: failed program was:" >&5
32988 sed 's/^/| /' conftest.$ac_ext >&5
32990 ac_cv_func_finite_in_ieeefp_h=no
32993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33001 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
33002 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
33004 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
33006 cat >>confdefs.h <<\_ACEOF
33007 #define HAVE_FINITE_IN_IEEEFP_H 1
33014 if test "$llvm_cv_platform_type" = "Unix" ; then
33017 for ac_header in stdlib.h unistd.h
33019 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
33020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 ac_res=`eval echo '${'$as_ac_Header'}'`
33027 { echo "$as_me:$LINENO: result: $ac_res" >&5
33028 echo "${ECHO_T}$ac_res" >&6; }
33030 # Is the header compilable?
33031 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
33032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33033 cat >conftest.$ac_ext <<_ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33039 $ac_includes_default
33040 #include <$ac_header>
33042 rm -f conftest.$ac_objext
33043 if { (ac_try="$ac_compile"
33044 case "(($ac_try" in
33045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33046 *) ac_try_echo
=$ac_try;;
33048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33049 (eval "$ac_compile") 2>conftest.er1
33051 grep -v '^ *+' conftest.er1
>conftest.err
33053 cat conftest.err
>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } &&
33056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33057 { (case "(($ac_try" in
33058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33059 *) ac_try_echo=$ac_try;;
33061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33062 (eval "$ac_try") 2>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; } &&
33066 { ac_try='test -s conftest.$ac_objext'
33067 { (case "(($ac_try" in
33068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33069 *) ac_try_echo
=$ac_try;;
33071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33072 (eval "$ac_try") 2>&5
33074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075 (exit $ac_status); }; }; then
33076 ac_header_compiler
=yes
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.
$ac_ext >&5
33081 ac_header_compiler
=no
33084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33085 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33086 echo "${ECHO_T}$ac_header_compiler" >&6; }
33088 # Is the header present?
33089 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33090 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33091 cat >conftest.
$ac_ext <<_ACEOF
33094 cat confdefs.h
>>conftest.
$ac_ext
33095 cat >>conftest.
$ac_ext <<_ACEOF
33096 /* end confdefs.h. */
33097 #include <$ac_header>
33099 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33100 case "(($ac_try" in
33101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33102 *) ac_try_echo=$ac_try;;
33104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33107 grep -v '^ *+' conftest.er1 >conftest.err
33109 cat conftest.err >&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); } >/dev/null; then
33112 if test -s conftest.err; then
33113 ac_cpp_err=$ac_c_preproc_warn_flag
33114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33121 if test -z "$ac_cpp_err"; then
33122 ac_header_preproc=yes
33124 echo "$as_me: failed program was:" >&5
33125 sed 's/^/| /' conftest.$ac_ext >&5
33127 ac_header_preproc=no
33130 rm -f conftest.err conftest.$ac_ext
33131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33132 echo "${ECHO_T}$ac_header_preproc" >&6; }
33134 # So? What about this header?
33135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33141 ac_header_preproc=yes
33144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33157 ## ----------------------------------- ##
33158 ## Report this to llvmbugs@cs.uiuc.edu ##
33159 ## ----------------------------------- ##
33161 ) | sed "s/^/$as_me: WARNING: /" >&2
33164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33167 echo $ECHO_N "(cached) $ECHO_C" >&6
33169 eval "$as_ac_Header=\$ac_header_preproc"
33171 ac_res=`eval echo '${'$as_ac_Header'}'`
33172 { echo "$as_me:$LINENO: result: $ac_res" >&5
33173 echo "${ECHO_T}$ac_res" >&6; }
33176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33177 cat >>confdefs.h <<_ACEOF
33178 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
33186 for ac_func in getpagesize
33188 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
33189 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33191 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 cat >conftest.$ac_ext <<_ACEOF
33197 cat confdefs.h >>conftest.$ac_ext
33198 cat >>conftest.$ac_ext <<_ACEOF
33199 /* end confdefs.h. */
33200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33202 #define $ac_func innocuous_$ac_func
33204 /* System header to define __stub macros and hopefully few prototypes,
33205 which can conflict with char $ac_func (); below.
33206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33207 <limits.h> exists even on freestanding compilers. */
33210 # include <limits.h>
33212 # include <assert.h>
33217 /* Override any GCC internal prototype to avoid an error.
33218 Use char because int might match the return type of a GCC
33219 builtin and then its argument prototype would still apply. */
33224 /* The GNU C library defines this for functions which it implements
33225 to always fail with ENOSYS. Some functions are actually named
33226 something starting with __ and the normal name is an alias. */
33227 #if defined __stub_$ac_func || defined __stub___$ac_func
33234 return $ac_func ();
33239 rm -f conftest.$ac_objext conftest$ac_exeext
33240 if { (ac_try="$ac_link"
33241 case "(($ac_try" in
33242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33243 *) ac_try_echo
=$ac_try;;
33245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33246 (eval "$ac_link") 2>conftest.er1
33248 grep -v '^ *+' conftest.er1
>conftest.err
33250 cat conftest.err
>&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); } &&
33253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33254 { (case "(($ac_try" in
33255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33256 *) ac_try_echo=$ac_try;;
33258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33259 (eval "$ac_try") 2>&5
33261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33262 (exit $ac_status); }; } &&
33263 { ac_try='test -s conftest$ac_exeext'
33264 { (case "(($ac_try" in
33265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33266 *) ac_try_echo
=$ac_try;;
33268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33269 (eval "$ac_try") 2>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); }; }; then
33273 eval "$as_ac_var=yes"
33275 echo "$as_me: failed program was:" >&5
33276 sed 's/^/| /' conftest.
$ac_ext >&5
33278 eval "$as_ac_var=no"
33281 rm -f core conftest.err conftest.
$ac_objext \
33282 conftest
$ac_exeext conftest.
$ac_ext
33284 ac_res
=`eval echo '${'$as_ac_var'}'`
33285 { echo "$as_me:$LINENO: result: $ac_res" >&5
33286 echo "${ECHO_T}$ac_res" >&6; }
33287 if test `eval echo '${'$as_ac_var'}'` = yes; then
33288 cat >>confdefs.h
<<_ACEOF
33289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33295 { echo "$as_me:$LINENO: checking for working mmap" >&5
33296 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33297 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33298 echo $ECHO_N "(cached) $ECHO_C" >&6
33300 if test "$cross_compiling" = yes; then
33301 ac_cv_func_mmap_fixed_mapped
=no
33303 cat >conftest.
$ac_ext <<_ACEOF
33306 cat confdefs.h
>>conftest.
$ac_ext
33307 cat >>conftest.
$ac_ext <<_ACEOF
33308 /* end confdefs.h. */
33309 $ac_includes_default
33310 /* malloc might have been renamed as rpl_malloc. */
33313 /* Thanks to Mike Haertel and Jim Avera for this test.
33314 Here is a matrix of mmap possibilities:
33315 mmap private not fixed
33316 mmap private fixed at somewhere currently unmapped
33317 mmap private fixed at somewhere already mapped
33318 mmap shared not fixed
33319 mmap shared fixed at somewhere currently unmapped
33320 mmap shared fixed at somewhere already mapped
33321 For private mappings, we should verify that changes cannot be read()
33322 back from the file, nor mmap's back from the file at a different
33323 address. (There have been systems where private was not correctly
33324 implemented like the infamous i386 svr4.0, and systems where the
33325 VM page cache was not coherent with the file system buffer cache
33326 like early versions of FreeBSD and possibly contemporary NetBSD.)
33327 For shared mappings, we should conversely verify that changes get
33328 propagated back to all the places they're supposed to be.
33330 Grep wants private fixed already mapped.
33331 The main things grep needs to know about mmap are:
33332 * does it exist and is it safe to write into the mmap'd area
33333 * how to use it (BSD variants) */
33336 #include <sys/mman.h>
33338 #if !STDC_HEADERS && !HAVE_STDLIB_H
33342 /* This mess was copied from the GNU getpagesize.h. */
33343 #if !HAVE_GETPAGESIZE
33344 /* Assume that all systems that can run configure have sys/param.h. */
33345 # if !HAVE_SYS_PARAM_H
33346 # define HAVE_SYS_PARAM_H 1
33349 # ifdef _SC_PAGESIZE
33350 # define getpagesize() sysconf(_SC_PAGESIZE)
33351 # else /* no _SC_PAGESIZE */
33352 # if HAVE_SYS_PARAM_H
33353 # include <sys/param.h>
33354 # ifdef EXEC_PAGESIZE
33355 # define getpagesize() EXEC_PAGESIZE
33356 # else /* no EXEC_PAGESIZE */
33358 # define getpagesize() NBPG * CLSIZE
33361 # endif /* no CLSIZE */
33362 # else /* no NBPG */
33364 # define getpagesize() NBPC
33365 # else /* no NBPC */
33367 # define getpagesize() PAGESIZE
33368 # endif /* PAGESIZE */
33369 # endif /* no NBPC */
33370 # endif /* no NBPG */
33371 # endif /* no EXEC_PAGESIZE */
33372 # else /* no HAVE_SYS_PARAM_H */
33373 # define getpagesize() 8192 /* punt totally */
33374 # endif /* no HAVE_SYS_PARAM_H */
33375 # endif /* no _SC_PAGESIZE */
33377 #endif /* no HAVE_GETPAGESIZE */
33382 char *data, *data2, *data3;
33386 pagesize = getpagesize ();
33388 /* First, make a file with some known garbage in it. */
33389 data = (char *) malloc (pagesize);
33392 for (i = 0; i < pagesize; ++i)
33393 *(data + i) = rand ();
33395 fd = creat ("conftest.mmap", 0600);
33398 if (write (fd, data, pagesize) != pagesize)
33402 /* Next, try to mmap the file at a fixed address which already has
33403 something else allocated at it. If we can, also make sure that
33404 we see the same garbage. */
33405 fd = open ("conftest.mmap", O_RDWR);
33408 data2 = (char *) malloc (2 * pagesize);
33411 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33412 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33413 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33415 for (i = 0; i < pagesize; ++i)
33416 if (*(data + i) != *(data2 + i))
33419 /* Finally, make sure that changes to the mapped area do not
33420 percolate back to the file as seen by read(). (This is a bug on
33421 some variants of i386 svr4.0.) */
33422 for (i = 0; i < pagesize; ++i)
33423 *(data2 + i) = *(data2 + i) + 1;
33424 data3 = (char *) malloc (pagesize);
33427 if (read (fd, data3, pagesize) != pagesize)
33429 for (i = 0; i < pagesize; ++i)
33430 if (*(data + i) != *(data3 + i))
33436 rm -f conftest
$ac_exeext
33437 if { (ac_try
="$ac_link"
33438 case "(($ac_try" in
33439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33440 *) ac_try_echo=$ac_try;;
33442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33443 (eval "$ac_link") 2>&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33447 { (case "(($ac_try" in
33448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33449 *) ac_try_echo
=$ac_try;;
33451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33452 (eval "$ac_try") 2>&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; }; then
33456 ac_cv_func_mmap_fixed_mapped
=yes
33458 echo "$as_me: program exited with status $ac_status" >&5
33459 echo "$as_me: failed program was:" >&5
33460 sed 's/^/| /' conftest.
$ac_ext >&5
33462 ( exit $ac_status )
33463 ac_cv_func_mmap_fixed_mapped
=no
33465 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33470 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33471 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33472 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33474 cat >>confdefs.h
<<\_ACEOF
33475 #define HAVE_MMAP 1
33479 rm -f conftest.mmap
33481 { echo "$as_me:$LINENO: checking for mmap of files" >&5
33482 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
33483 if test "${ac_cv_func_mmap_file+set}" = set; then
33484 echo $ECHO_N "(cached) $ECHO_C" >&6
33487 ac_cpp
='$CPP $CPPFLAGS'
33488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33492 if test "$cross_compiling" = yes; then
33493 ac_cv_func_mmap_file
=no
33495 cat >conftest.
$ac_ext <<_ACEOF
33499 cat confdefs.h
>>conftest.
$ac_ext
33500 cat >>conftest.
$ac_ext <<_ACEOF
33501 /* end confdefs.h. */
33503 #include <sys/types.h>
33504 #include <sys/mman.h>
33512 fd = creat ("foo",0777);
33513 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33515 return (fd != (int) MAP_FAILED);
33520 rm -f conftest
$ac_exeext
33521 if { (ac_try
="$ac_link"
33522 case "(($ac_try" in
33523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33524 *) ac_try_echo=$ac_try;;
33526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33527 (eval "$ac_link") 2>&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33531 { (case "(($ac_try" in
33532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33533 *) ac_try_echo
=$ac_try;;
33535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33536 (eval "$ac_try") 2>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }; then
33540 ac_cv_func_mmap_file
=yes
33542 echo "$as_me: program exited with status $ac_status" >&5
33543 echo "$as_me: failed program was:" >&5
33544 sed 's/^/| /' conftest.
$ac_ext >&5
33546 ( exit $ac_status )
33547 ac_cv_func_mmap_file
=no
33549 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33554 ac_cpp
='$CPP $CPPFLAGS'
33555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33561 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
33562 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33563 if test "$ac_cv_func_mmap_file" = yes; then
33565 cat >>confdefs.h
<<\_ACEOF
33566 #define HAVE_MMAP_FILE
33573 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
33574 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
33575 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33576 echo $ECHO_N "(cached) $ECHO_C" >&6
33578 if test "$llvm_cv_os_type" = "Interix" ; then
33579 ac_cv_need_dev_zero_for_mmap
=yes
33581 ac_cv_need_dev_zero_for_mmap
=no
33585 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
33586 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33587 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33589 cat >>confdefs.h
<<\_ACEOF
33590 #define NEED_DEV_ZERO_FOR_MMAP 1
33595 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
33597 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
33598 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
33600 if test "$ac_cv_func_mmap_file" = "no"
33602 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
33603 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
33609 for ac_func
in __dso_handle
33611 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33612 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33614 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33615 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 cat >conftest.
$ac_ext <<_ACEOF
33620 cat confdefs.h
>>conftest.
$ac_ext
33621 cat >>conftest.
$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33625 #define $ac_func innocuous_$ac_func
33627 /* System header to define __stub macros and hopefully few prototypes,
33628 which can conflict with char $ac_func (); below.
33629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33630 <limits.h> exists even on freestanding compilers. */
33633 # include <limits.h>
33635 # include <assert.h>
33640 /* Override any GCC internal prototype to avoid an error.
33641 Use char because int might match the return type of a GCC
33642 builtin and then its argument prototype would still apply. */
33647 /* The GNU C library defines this for functions which it implements
33648 to always fail with ENOSYS. Some functions are actually named
33649 something starting with __ and the normal name is an alias. */
33650 #if defined __stub_$ac_func || defined __stub___$ac_func
33657 return $ac_func ();
33662 rm -f conftest.
$ac_objext conftest
$ac_exeext
33663 if { (ac_try
="$ac_link"
33664 case "(($ac_try" in
33665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33666 *) ac_try_echo=$ac_try;;
33668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33669 (eval "$ac_link") 2>conftest.er1
33671 grep -v '^ *+' conftest.er1 >conftest.err
33673 cat conftest.err >&5
33674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33675 (exit $ac_status); } &&
33676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33677 { (case "(($ac_try" in
33678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33679 *) ac_try_echo
=$ac_try;;
33681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33682 (eval "$ac_try") 2>&5
33684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33685 (exit $ac_status); }; } &&
33686 { ac_try
='test -s conftest$ac_exeext'
33687 { (case "(($ac_try" in
33688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33689 *) ac_try_echo=$ac_try;;
33691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33692 (eval "$ac_try") 2>&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); }; }; then
33696 eval "$as_ac_var=yes"
33698 echo "$as_me: failed program was:" >&5
33699 sed 's/^/| /' conftest.$ac_ext >&5
33701 eval "$as_ac_var=no"
33704 rm -f core conftest.err conftest.$ac_objext \
33705 conftest$ac_exeext conftest.$ac_ext
33707 ac_res=`eval echo '${'$as_ac_var'}'`
33708 { echo "$as_me:$LINENO: result: $ac_res" >&5
33709 echo "${ECHO_T}$ac_res" >&6; }
33710 if test `eval echo '${'$as_ac_var'}'` = yes; then
33711 cat >>confdefs.h <<_ACEOF
33712 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
33719 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
33720 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
33721 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
33722 echo $ECHO_N "(cached) $ECHO_C" >&6
33724 llvm_cv_llvmgcc_sanity="no"
33725 if test -x "$LLVMGCC" ; then
33726 cp /dev/null conftest.c
33727 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
33728 grep 'target datalayout =' > /dev/null 2>&1
33729 if test $? -eq 0 ; then
33730 llvm_cv_llvmgcc_sanity="yes"
33735 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
33736 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
33738 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
33739 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
33740 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
33741 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1
`
33742 LLVMCC1=$llvmcc1path
33744 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus
`
33745 LLVMCC1PLUS=$llvmcc1pluspath
33747 llvmgccdir=`echo "$llvmcc1path" |
sed 's,/libexec/.*,,'`
33748 LLVMGCCDIR=$llvmgccdir
33750 llvmgcclibexec=`echo "$llvmcc1path" |
sed 's,/cc1,,'`
33751 LLVMGCCLIBEXEC=$llvmgcclibexec
33753 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 |
sed 's/^\([0-9.]*\).*/\1/'`
33754 llvmgccmajvers=`echo $llvmgccversion |
sed 's/^\([0-9]\).*/\1/'`
33755 LLVMGCC_VERSION=$llvmgccversion
33757 LLVMGCC_MAJVERS=$llvmgccmajvers
33759 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 |
grep '^Configured with:' |
sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
33760 LLVMGCC_LANGS=$llvmgcclangs
33762 { echo "$as_me:$LINENO: result: ok" >&5
33763 echo "${ECHO_T}ok" >&6; }
33766 SHLIBEXT=$libltdl_cv_shlibext
33769 # Translate the various configuration directories and other basic
33770 # information into substitutions that will end up in Makefile.config.in
33771 # that these configured values can be used by the makefiles
33772 if test "${prefix}" = "NONE" ; then
33773 prefix="/usr/local"
33775 eval LLVM_PREFIX="${prefix}";
33776 eval LLVM_BINDIR="${prefix}/bin";
33777 eval LLVM_LIBDIR="${prefix}/lib";
33778 eval LLVM_DATADIR="${prefix}/share/llvm";
33779 eval LLVM_DOCSDIR="${prefix}/docs/llvm";
33780 eval LLVM_ETCDIR="${prefix}/etc/llvm";
33781 eval LLVM_INCLUDEDIR="${prefix}/include";
33782 eval LLVM_INFODIR="${prefix}/info";
33783 eval LLVM_MANDIR="${prefix}/man";
33784 LLVM_CONFIGTIME=`date`
33796 # Place the various directores into the config.h file as #defines so that we
33797 # can know about the installation paths within LLVM.
33799 cat >>confdefs.h <<_ACEOF
33800 #define LLVM_PREFIX "$LLVM_PREFIX"
33804 cat >>confdefs.h <<_ACEOF
33805 #define LLVM_BINDIR "$LLVM_BINDIR"
33809 cat >>confdefs.h <<_ACEOF
33810 #define LLVM_LIBDIR "$LLVM_LIBDIR"
33814 cat >>confdefs.h <<_ACEOF
33815 #define LLVM_DATADIR "$LLVM_DATADIR"
33819 cat >>confdefs.h <<_ACEOF
33820 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
33824 cat >>confdefs.h <<_ACEOF
33825 #define LLVM_ETCDIR "$LLVM_ETCDIR"
33829 cat >>confdefs.h <<_ACEOF
33830 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
33834 cat >>confdefs.h <<_ACEOF
33835 #define LLVM_INFODIR "$LLVM_INFODIR"
33839 cat >>confdefs.h <<_ACEOF
33840 #define LLVM_MANDIR "$LLVM_MANDIR"
33844 cat >>confdefs.h <<_ACEOF
33845 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
33849 cat >>confdefs.h <<_ACEOF
33850 #define LLVM_HOSTTRIPLE "$host"
33854 # Determine which bindings to build.
33855 if test "$BINDINGS_TO_BUILD" = auto ; then
33856 BINDINGS_TO_BUILD=""
33857 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
33858 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
33861 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
33864 # This isn't really configurey, but it avoids having to repeat the list in
33869 # Do any work necessary to ensure that bindings have what they need.
33870 binding_prereqs_failed=0
33871 for a_binding in $BINDINGS_TO_BUILD ; do
33872 case "$a_binding" in
33874 if test "x$OCAMLC" = x ; then
33875 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
33876 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
33877 binding_prereqs_failed=1
33879 if test "x$OCAMLDEP" = x ; then
33880 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
33881 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
33882 binding_prereqs_failed=1
33884 if test "x$OCAMLOPT" = x ; then
33885 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
33886 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
33888 if test "x$with_ocaml_libdir" != xauto ; then
33889 OCAML_LIBDIR=$with_ocaml_libdir
33892 ocaml_stdlib="`"$OCAMLC" -where`"
33893 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
33895 # ocaml stdlib is beneath our prefix; use stdlib
33896 OCAML_LIBDIR=$ocaml_stdlib
33899 # ocaml stdlib is outside our prefix; use libdir/ocaml
33900 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
33907 if test "$binding_prereqs_failed" = 1 ; then
33908 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
33909 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
33910 { (exit 1); exit 1; }; }
33913 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
33914 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
33915 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
33916 echo $ECHO_N "(cached) $ECHO_C" >&6
33919 ac_cpp='$CXXCPP $CPPFLAGS'
33920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33924 oldcxxflags="$CXXFLAGS"
33925 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
33926 cat >conftest.$ac_ext <<_ACEOF
33929 cat confdefs.h >>conftest.$ac_ext
33930 cat >>conftest.$ac_ext <<_ACEOF
33931 /* end confdefs.h. */
33941 rm -f conftest.$ac_objext
33942 if { (ac_try="$ac_compile"
33943 case "(($ac_try" in
33944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33945 *) ac_try_echo
=$ac_try;;
33947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33948 (eval "$ac_compile") 2>conftest.er1
33950 grep -v '^ *+' conftest.er1
>conftest.err
33952 cat conftest.err
>&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); } &&
33955 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33956 { (case "(($ac_try" in
33957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33958 *) ac_try_echo=$ac_try;;
33960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33961 (eval "$ac_try") 2>&5
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; } &&
33965 { ac_try='test -s conftest.$ac_objext'
33966 { (case "(($ac_try" in
33967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33968 *) ac_try_echo
=$ac_try;;
33970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33971 (eval "$ac_try") 2>&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); }; }; then
33975 llvm_cv_cxx_visibility_inlines_hidden
=yes
33977 echo "$as_me: failed program was:" >&5
33978 sed 's/^/| /' conftest.
$ac_ext >&5
33980 llvm_cv_cxx_visibility_inlines_hidden
=no
33983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33984 CXXFLAGS
="$oldcxxflags"
33986 ac_cpp
='$CPP $CPPFLAGS'
33987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33993 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
33994 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
33995 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
33996 ENABLE_VISIBILITY_INLINES_HIDDEN
=1
33999 ENABLE_VISIBILITY_INLINES_HIDDEN
=0
34004 if test "$llvm_cv_link_use_r" = "yes" ; then
34011 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
34012 RDYNAMIC
="-Wl,-export-dynamic"
34019 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
34021 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
34023 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator.h"
34026 ac_config_files
="$ac_config_files Makefile.config"
34029 ac_config_files
="$ac_config_files llvm.spec"
34032 ac_config_files
="$ac_config_files docs/doxygen.cfg"
34035 ac_config_files
="$ac_config_files tools/llvmc/plugins/Base/Base.td"
34038 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
34041 ac_config_commands
="$ac_config_commands setup"
34043 ac_config_commands
="$ac_config_commands Makefile"
34046 ac_config_commands
="$ac_config_commands Makefile.common"
34049 ac_config_commands
="$ac_config_commands examples/Makefile"
34052 ac_config_commands
="$ac_config_commands lib/Makefile"
34055 ac_config_commands
="$ac_config_commands runtime/Makefile"
34058 ac_config_commands
="$ac_config_commands test/Makefile"
34061 ac_config_commands
="$ac_config_commands test/Makefile.tests"
34064 ac_config_commands
="$ac_config_commands unittests/Makefile"
34067 ac_config_commands
="$ac_config_commands tools/Makefile"
34070 ac_config_commands
="$ac_config_commands utils/Makefile"
34073 ac_config_commands
="$ac_config_commands projects/Makefile"
34076 ac_config_commands
="$ac_config_commands bindings/Makefile"
34079 ac_config_commands
="$ac_config_commands bindings/ocaml/Makefile.ocaml"
34083 cat >confcache
<<\_ACEOF
34084 # This file is a shell script that caches the results of configure
34085 # tests run on this system so they can be shared between configure
34086 # scripts and configure runs, see configure's option --config-cache.
34087 # It is not useful on other systems. If it contains results you don't
34088 # want to keep, you may remove or edit it.
34090 # config.status only pays attention to the cache file if you give it
34091 # the --recheck option to rerun configure.
34093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34095 # following values.
34099 # The following way of writing the cache mishandles newlines in values,
34100 # but we know of no workaround that is simple, portable, and efficient.
34101 # So, we kill variables containing newlines.
34102 # Ultrix sh set writes to stderr and can't be redirected directly,
34103 # and sets the high bit in the cache file unless we assign to the vars.
34105 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34106 eval ac_val
=\$
$ac_var
34110 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
34111 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
34114 _ | IFS | as_nl
) ;; #(
34115 *) $as_unset $ac_var ;;
34121 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34122 *${as_nl}ac_space
=\
*)
34123 # `set' does not quote correctly, so add quotes (double-quote
34124 # substitution turns \\\\ into \\, and sed turns \\ into \).
34127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34130 # `set' quotes correctly as required by POSIX, so do not add quotes.
34131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34140 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34142 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34144 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
34145 if test -w "$cache_file"; then
34146 test "x$cache_file" != "x/dev/null" &&
34147 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
34148 echo "$as_me: updating cache $cache_file" >&6;}
34149 cat confcache
>$cache_file
34151 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
34152 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34157 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34158 # Let make expand exec_prefix.
34159 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34161 DEFS
=-DHAVE_CONFIG_H
34165 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34166 # 1. Remove the extension, and $U if already installed.
34167 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
34168 ac_i
=`echo "$ac_i" | sed "$ac_script"`
34169 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34170 # will be set to the directory where LIBOBJS objects are built.
34171 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34172 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
34174 LIBOBJS
=$ac_libobjs
34176 LTLIBOBJS
=$ac_ltlibobjs
34179 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
34180 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
34181 Usually this means the macro was only invoked conditionally." >&5
34182 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
34183 Usually this means the macro was only invoked conditionally." >&2;}
34184 { (exit 1); exit 1; }; }
34186 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
34187 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34188 Usually this means the macro was only invoked conditionally." >&5
34189 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34190 Usually this means the macro was only invoked conditionally." >&2;}
34191 { (exit 1); exit 1; }; }
34194 : ${CONFIG_STATUS=./config.status}
34195 ac_clean_files_save
=$ac_clean_files
34196 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34197 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34198 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34199 cat >$CONFIG_STATUS <<_ACEOF
34201 # Generated by $as_me.
34202 # Run this file to recreate the current configuration.
34203 # Compiler output produced by configure, useful for debugging
34204 # configure, is in config.log if it exists.
34207 ac_cs_recheck=false
34209 SHELL=\${CONFIG_SHELL-$SHELL}
34212 cat >>$CONFIG_STATUS <<\_ACEOF
34213 ## --------------------- ##
34214 ## M4sh Initialization. ##
34215 ## --------------------- ##
34217 # Be Bourne compatible
34218 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34221 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34222 # is contrary to our usage. Disable this feature.
34223 alias -g '${1+"$@"}'='"$@"'
34224 setopt NO_GLOB_SUBST
34226 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
34228 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
34229 DUALCASE
=1; export DUALCASE
# for MKS sh
34233 # Avoid depending upon Character Ranges.
34234 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34235 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34236 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34237 as_cr_digits
='0123456789'
34238 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34240 # The user is always right.
34241 if test "${PATH_SEPARATOR+set}" != set; then
34242 echo "#! /bin/sh" >conf$$.sh
34243 echo "exit 0" >>conf$$.sh
34245 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34253 # Support unset when possible.
34254 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34262 # We need space, tab and new line, in precisely that order. Quoting is
34263 # there to prevent editors from complaining about space-tab.
34264 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34265 # splitting by setting IFS to empty value.)
34270 # Find who we are. Look in the path if we contain no directory separator.
34272 *[\\/]* ) as_myself
=$0 ;;
34273 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34274 for as_dir
in $PATH
34277 test -z "$as_dir" && as_dir
=.
34278 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34284 # We did not find ourselves, most probably we were run as `sh COMMAND'
34285 # in which case we are not to be found in the path.
34286 if test "x$as_myself" = x
; then
34289 if test ! -f "$as_myself"; then
34290 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34291 { (exit 1); exit 1; }
34294 # Work around bugs in pre-3.0 UWIN ksh.
34295 for as_var
in ENV MAIL MAILPATH
34296 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34304 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34305 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34306 LC_TELEPHONE LC_TIME
34308 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34309 eval $as_var=C
; export $as_var
34311 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34315 # Required to use basename.
34316 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34317 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34323 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34324 as_basename
=basename
34330 # Name of the executable.
34331 as_me
=`$as_basename -- "$0" ||
34332 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34333 X"$0" : 'X\(//\)$' \| \
34334 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34336 sed '/^.*\/\([^/][^/]*\)\/*$/{
34355 as_lineno_1
=$LINENO
34356 as_lineno_2
=$LINENO
34357 test "x$as_lineno_1" != "x$as_lineno_2" &&
34358 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
34360 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34361 # uniformly replaced by the line number. The first 'sed' inserts a
34362 # line-number line after each line using $LINENO; the second 'sed'
34363 # does the real work. The second script uses 'N' to pair each
34364 # line-number line with the line containing $LINENO, and appends
34365 # trailing '-' during substitution so that $LINENO is not a special
34366 # case at line end.
34367 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34368 # scripts with optimization help from Paolo Bonzini. Blame Lee
34369 # E. McMahon (1931-1989) for sed's syntax. :-)
34381 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34384 ' >$as_me.lineno
&&
34385 chmod +x
"$as_me.lineno" ||
34386 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34387 { (exit 1); exit 1; }; }
34389 # Don't try to exec as it changes $[0], causing all sort of problems
34390 # (the dirname of $[0] is not the place where we might find the
34391 # original and so on. Autoconf is especially sensitive to this).
34392 .
"./$as_me.lineno"
34393 # Exit status is that of the last command.
34398 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
34404 ECHO_C
= ECHO_N
= ECHO_T
=
34405 case `echo -n x` in
34407 case `echo 'x\c'` in
34408 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
34415 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34416 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34422 rm -f conf$$ conf$$.exe conf$$.
file
34423 if test -d conf$$.dir
; then
34424 rm -f conf$$.dir
/conf$$.
file
34430 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34432 # ... but there are two gotchas:
34433 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34434 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34435 # In both cases, we have to default to `cp -p'.
34436 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
34438 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34443 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
34444 rmdir conf$$.dir
2>/dev
/null
34446 if mkdir
-p .
2>/dev
/null
; then
34449 test -d .
/-p && rmdir .
/-p
34453 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
34454 # systems may use methods other than mode bits to determine executability.
34455 cat >conf$$.
file <<_ASEOF
34459 chmod +x conf$$.
file
34460 if test -x conf$$.
file >/dev
/null
2>&1; then
34461 as_executable_p
="test -x"
34467 # Sed expression to map a string onto a valid CPP name.
34468 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34470 # Sed expression to map a string onto a valid variable name.
34471 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34476 # Save the log message, to keep $[0] and so on meaningful, and to
34477 # report actual input values of CONFIG_FILES etc. instead of their
34478 # values after options handling.
34480 This file was extended by llvm $as_me 2.6svn, which was
34481 generated by GNU Autoconf 2.60. Invocation command line was
34483 CONFIG_FILES = $CONFIG_FILES
34484 CONFIG_HEADERS = $CONFIG_HEADERS
34485 CONFIG_LINKS = $CONFIG_LINKS
34486 CONFIG_COMMANDS = $CONFIG_COMMANDS
34489 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34494 cat >>$CONFIG_STATUS <<_ACEOF
34495 # Files that config.status was made for.
34496 config_files="$ac_config_files"
34497 config_headers="$ac_config_headers"
34498 config_commands="$ac_config_commands"
34502 cat >>$CONFIG_STATUS <<\_ACEOF
34504 \`$as_me' instantiates files from templates according to the
34505 current configuration.
34507 Usage: $0 [OPTIONS] [FILE]...
34509 -h, --help print this help, then exit
34510 -V, --version print version number, then exit
34511 -q, --quiet do not print progress messages
34512 -d, --debug don't remove temporary files
34513 --recheck update $as_me by reconfiguring in the same conditions
34514 --file=FILE[:TEMPLATE]
34515 instantiate the configuration file FILE
34516 --header=FILE[:TEMPLATE]
34517 instantiate the configuration header FILE
34519 Configuration files:
34522 Configuration headers:
34525 Configuration commands:
34528 Report bugs to <bug-autoconf@gnu.org>."
34531 cat >>$CONFIG_STATUS <<_ACEOF
34533 llvm config.status 2.6svn
34534 configured by $0, generated by GNU Autoconf 2.60,
34535 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34537 Copyright (C) 2006 Free Software Foundation, Inc.
34538 This config.status script is free software; the Free Software Foundation
34539 gives unlimited permission to copy, distribute and modify it."
34546 cat >>$CONFIG_STATUS <<\_ACEOF
34547 # If no file are specified by the user, then we need to provide default
34548 # value. By we need to know if files were specified by the user.
34554 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34555 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34566 # Handling of the options.
34567 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34569 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34570 echo "$ac_cs_version"; exit ;;
34571 --debug |
--debu |
--deb |
--de |
--d |
-d )
34573 --file |
--fil |
--fi |
--f )
34575 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34576 ac_need_defaults
=false
;;
34577 --header |
--heade |
--head |
--hea )
34579 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34580 ac_need_defaults
=false
;;
34582 # Conflict between --help and --header
34583 { echo "$as_me: error: ambiguous option: $1
34584 Try \`$0 --help' for more information." >&2
34585 { (exit 1); exit 1; }; };;
34586 --help |
--hel |
-h )
34587 echo "$ac_cs_usage"; exit ;;
34588 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34589 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34592 # This is an error.
34593 -*) { echo "$as_me: error: unrecognized option: $1
34594 Try \`$0 --help' for more information." >&2
34595 { (exit 1); exit 1; }; } ;;
34597 *) ac_config_targets
="$ac_config_targets $1"
34598 ac_need_defaults
=false
;;
34604 ac_configure_extra_args
=
34606 if $ac_cs_silent; then
34608 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34612 cat >>$CONFIG_STATUS <<_ACEOF
34613 if \$ac_cs_recheck; then
34614 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34615 CONFIG_SHELL=$SHELL
34616 export CONFIG_SHELL
34617 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34621 cat >>$CONFIG_STATUS <<\_ACEOF
34625 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34626 ## Running $as_me. ##
34632 cat >>$CONFIG_STATUS <<_ACEOF
34636 llvm_src="${srcdir}"
34640 cat >>$CONFIG_STATUS <<\_ACEOF
34642 # Handling of arguments.
34643 for ac_config_target
in $ac_config_targets
34645 case $ac_config_target in
34646 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34647 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34648 "include/llvm/ADT/iterator.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator.h" ;;
34649 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34650 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34651 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34652 "tools/llvmc/plugins/Base/Base.td") CONFIG_FILES
="$CONFIG_FILES tools/llvmc/plugins/Base/Base.td" ;;
34653 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34654 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34655 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34656 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34657 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34658 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34659 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34660 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34661 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34662 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
34663 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34664 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34665 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34666 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
34667 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
34669 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34670 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34671 { (exit 1); exit 1; }; };;
34676 # If the user did not use the arguments to specify the items to instantiate,
34677 # then the envvar interface is used. Set only those that are not.
34678 # We use the long form for the default assignment because of an extremely
34679 # bizarre bug on SunOS 4.1.3.
34680 if $ac_need_defaults; then
34681 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34682 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34683 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34686 # Have a temporary directory for convenience. Make it in the build tree
34687 # simply because there is no reason against having it here, and in addition,
34688 # creating and moving files from /tmp can sometimes cause problems.
34689 # Hook for its removal unless debugging.
34690 # Note that there is a small window in which the directory will not be cleaned:
34691 # after its creation but before its name has been assigned to `$tmp'.
34695 trap 'exit_status=$?
34696 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34698 trap '{ (exit 1); exit 1; }' 1 2 13 15
34700 # Create a (secure) tmp directory for tmp files.
34703 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34704 test -n "$tmp" && test -d "$tmp"
34707 tmp
=.
/conf$$
-$RANDOM
34708 (umask 077 && mkdir
"$tmp")
34711 echo "$me: cannot create a temporary directory in ." >&2
34712 { (exit 1); exit 1; }
34716 # Set up the sed scripts for CONFIG_FILES section.
34719 # No need to generate the scripts if there are no CONFIG_FILES.
34720 # This happens for instance when ./config.status config.h
34721 if test -n "$CONFIG_FILES"; then
34728 for ac_last_try
in false false false false false
:; do
34729 cat >conf$
$subs.
sed <<_ACEOF
34730 SHELL!$SHELL$ac_delim
34731 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34732 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34733 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34734 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34735 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34736 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34737 exec_prefix!$exec_prefix$ac_delim
34738 prefix!$prefix$ac_delim
34739 program_transform_name!$program_transform_name$ac_delim
34740 bindir!$bindir$ac_delim
34741 sbindir!$sbindir$ac_delim
34742 libexecdir!$libexecdir$ac_delim
34743 datarootdir!$datarootdir$ac_delim
34744 datadir!$datadir$ac_delim
34745 sysconfdir!$sysconfdir$ac_delim
34746 sharedstatedir!$sharedstatedir$ac_delim
34747 localstatedir!$localstatedir$ac_delim
34748 includedir!$includedir$ac_delim
34749 oldincludedir!$oldincludedir$ac_delim
34750 docdir!$docdir$ac_delim
34751 infodir!$infodir$ac_delim
34752 htmldir!$htmldir$ac_delim
34753 dvidir!$dvidir$ac_delim
34754 pdfdir!$pdfdir$ac_delim
34755 psdir!$psdir$ac_delim
34756 libdir!$libdir$ac_delim
34757 localedir!$localedir$ac_delim
34758 mandir!$mandir$ac_delim
34759 DEFS!$DEFS$ac_delim
34760 ECHO_C!$ECHO_C$ac_delim
34761 ECHO_N!$ECHO_N$ac_delim
34762 ECHO_T!$ECHO_T$ac_delim
34763 LIBS!$LIBS$ac_delim
34764 build_alias!$build_alias$ac_delim
34765 host_alias!$host_alias$ac_delim
34766 target_alias!$target_alias$ac_delim
34767 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34768 subdirs!$subdirs$ac_delim
34769 build!$build$ac_delim
34770 build_cpu!$build_cpu$ac_delim
34771 build_vendor!$build_vendor$ac_delim
34772 build_os!$build_os$ac_delim
34773 host!$host$ac_delim
34774 host_cpu!$host_cpu$ac_delim
34775 host_vendor!$host_vendor$ac_delim
34776 host_os!$host_os$ac_delim
34777 target!$target$ac_delim
34778 target_cpu!$target_cpu$ac_delim
34779 target_vendor!$target_vendor$ac_delim
34780 target_os!$target_os$ac_delim
34782 LINKALL!$LINKALL$ac_delim
34783 NOLINKALL!$NOLINKALL$ac_delim
34784 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34785 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34786 ARCH!$ARCH$ac_delim
34787 ENDIAN!$ENDIAN$ac_delim
34789 CFLAGS!$CFLAGS$ac_delim
34790 LDFLAGS!$LDFLAGS$ac_delim
34791 CPPFLAGS!$CPPFLAGS$ac_delim
34792 ac_ct_CC!$ac_ct_CC$ac_delim
34793 EXEEXT!$EXEEXT$ac_delim
34794 OBJEXT!$OBJEXT$ac_delim
34796 GREP!$GREP$ac_delim
34797 EGREP!$EGREP$ac_delim
34798 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
34799 BUILD_CC!$BUILD_CC$ac_delim
34800 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
34801 BUILD_CXX!$BUILD_CXX$ac_delim
34802 CVSBUILD!$CVSBUILD$ac_delim
34803 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
34804 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
34805 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
34806 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
34807 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
34808 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
34810 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
34811 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
34812 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
34813 ENABLE_PIC!$ENABLE_PIC$ac_delim
34814 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
34815 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
34816 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
34817 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
34819 CXXFLAGS!$CXXFLAGS$ac_delim
34820 ac_ct_CXX!$ac_ct_CXX$ac_delim
34822 ifGNUmake!$ifGNUmake$ac_delim
34823 LN_S!$LN_S$ac_delim
34826 DATE!$DATE$ac_delim
34829 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34831 elif $ac_last_try; then
34832 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34833 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34834 { (exit 1); exit 1; }; }
34836 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34840 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34841 if test -n "$ac_eof"; then
34842 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34843 ac_eof
=`expr $ac_eof + 1`
34846 cat >>$CONFIG_STATUS <<_ACEOF
34847 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34848 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34851 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34852 s/^/s,@/; s/!/@,|#_!!_#|/
34855 s/'"$ac_delim"'$/,g/; t
34857 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34858 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34859 rm -f conf$
$subs.
sed
34860 cat >>$CONFIG_STATUS <<_ACEOF
34866 for ac_last_try
in false false false false false
:; do
34867 cat >conf$
$subs.
sed <<_ACEOF
34868 FIND!$FIND$ac_delim
34869 MKDIR!$MKDIR$ac_delim
34871 RANLIB!$RANLIB$ac_delim
34875 BINPWD!$BINPWD$ac_delim
34876 GRAPHVIZ!$GRAPHVIZ$ac_delim
34879 DOTTY!$DOTTY$ac_delim
34880 PERL!$PERL$ac_delim
34881 HAVE_PERL!$HAVE_PERL$ac_delim
34882 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34883 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34884 INSTALL_DATA!$INSTALL_DATA$ac_delim
34885 BZIP2!$BZIP2$ac_delim
34886 DOXYGEN!$DOXYGEN$ac_delim
34887 GROFF!$GROFF$ac_delim
34888 GZIP!$GZIP$ac_delim
34889 POD2HTML!$POD2HTML$ac_delim
34890 POD2MAN!$POD2MAN$ac_delim
34891 RUNTEST!$RUNTEST$ac_delim
34892 TCLSH!$TCLSH$ac_delim
34894 OCAMLC!$OCAMLC$ac_delim
34895 OCAMLOPT!$OCAMLOPT$ac_delim
34896 OCAMLDEP!$OCAMLDEP$ac_delim
34897 OCAMLDOC!$OCAMLDOC$ac_delim
34899 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
34900 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
34901 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
34902 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
34903 LIBADD_DL!$LIBADD_DL$ac_delim
34904 ECHO!$ECHO$ac_delim
34906 STRIP!$STRIP$ac_delim
34907 CXXCPP!$CXXCPP$ac_delim
34909 FFLAGS!$FFLAGS$ac_delim
34910 ac_ct_F77!$ac_ct_F77$ac_delim
34911 LIBTOOL!$LIBTOOL$ac_delim
34912 LLVMGCC!$LLVMGCC$ac_delim
34913 LLVMGXX!$LLVMGXX$ac_delim
34914 LLVMGCCCOMMAND!$LLVMGCCCOMMAND$ac_delim
34915 LLVMGXXCOMMAND!$LLVMGXXCOMMAND$ac_delim
34916 USE_UDIS86!$USE_UDIS86$ac_delim
34917 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
34918 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
34919 ALLOCA!$ALLOCA$ac_delim
34920 MMAP_FILE!$MMAP_FILE$ac_delim
34921 LLVMCC1!$LLVMCC1$ac_delim
34922 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
34923 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
34924 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
34925 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
34926 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
34927 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
34928 SHLIBEXT!$SHLIBEXT$ac_delim
34929 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
34930 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
34931 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
34932 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
34933 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
34934 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
34935 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
34936 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
34937 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
34938 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
34939 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
34940 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
34941 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
34942 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
34943 RPATH!$RPATH$ac_delim
34944 RDYNAMIC!$RDYNAMIC$ac_delim
34945 LIBOBJS!$LIBOBJS$ac_delim
34946 LTLIBOBJS!$LTLIBOBJS$ac_delim
34949 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
34951 elif $ac_last_try; then
34952 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34953 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34954 { (exit 1); exit 1; }; }
34956 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34960 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34961 if test -n "$ac_eof"; then
34962 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34963 ac_eof
=`expr $ac_eof + 1`
34966 cat >>$CONFIG_STATUS <<_ACEOF
34967 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34971 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34972 s/^/s,@/; s/!/@,|#_!!_#|/
34975 s/'"$ac_delim"'$/,g/; t
34977 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34978 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34979 rm -f conf$
$subs.
sed
34980 cat >>$CONFIG_STATUS <<_ACEOF
34987 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34988 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34989 # trailing colons and then remove the whole line if VPATH becomes empty
34990 # (actually we leave an empty line to preserve line numbers).
34991 if test "x$srcdir" = x.
; then
34992 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34993 s/:*\$(srcdir):*/:/
34994 s/:*\${srcdir}:*/:/
34996 s/^\([^=]*=[ ]*\):*/\1/
35002 cat >>$CONFIG_STATUS <<\_ACEOF
35003 fi # test -n "$CONFIG_FILES"
35006 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
35009 :[FHLC
]) ac_mode
=$ac_tag; continue;;
35011 case $ac_mode$ac_tag in
35013 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
35014 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
35015 { (exit 1); exit 1; }; };;
35016 :[FH
]-) ac_tag
=-:-;;
35017 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
35034 -) ac_f
="$tmp/stdin";;
35035 *) # Look for the file first in the build tree, then in the source tree
35036 # (if the path is not absolute). The absolute path cannot be DOS-style,
35037 # because $ac_f cannot contain `:'.
35041 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
35043 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
35044 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
35045 { (exit 1); exit 1; }; };;
35047 ac_file_inputs
="$ac_file_inputs $ac_f"
35050 # Let's still pretend it is `configure' which instantiates (i.e., don't
35051 # use $as_me), people would be surprised to read:
35052 # /* config.h. Generated by config.status. */
35053 configure_input
="Generated from "`IFS=:
35054 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
35055 if test x
"$ac_file" != x-
; then
35056 configure_input
="$ac_file. $configure_input"
35057 { echo "$as_me:$LINENO: creating $ac_file" >&5
35058 echo "$as_me: creating $ac_file" >&6;}
35062 *:-:* |
*:-) cat >"$tmp/stdin";;
35067 ac_dir
=`$as_dirname -- "$ac_file" ||
35068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35069 X"$ac_file" : 'X\(//\)[^/]' \| \
35070 X"$ac_file" : 'X\(//\)$' \| \
35071 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35077 /^X\(\/\/\)[^/].*/{
35092 -*) as_dir
=.
/$as_dir;;
35094 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35098 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35099 *) as_qdir
=$as_dir;;
35101 as_dirs
="'$as_qdir' $as_dirs"
35102 as_dir
=`$as_dirname -- "$as_dir" ||
35103 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35104 X"$as_dir" : 'X\(//\)[^/]' \| \
35105 X"$as_dir" : 'X\(//\)$' \| \
35106 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35112 /^X\(\/\/\)[^/].*/{
35125 test -d "$as_dir" && break
35127 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35128 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35129 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35130 { (exit 1); exit 1; }; }; }
35134 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35136 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35137 # A ".." for each directory in $ac_dir_suffix.
35138 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35139 case $ac_top_builddir_sub in
35140 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35141 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35144 ac_abs_top_builddir
=$ac_pwd
35145 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35146 # for backward compatibility:
35147 ac_top_builddir
=$ac_top_build_prefix
35150 .
) # We are building in place.
35152 ac_top_srcdir
=$ac_top_builddir_sub
35153 ac_abs_top_srcdir
=$ac_pwd ;;
35154 [\\/]* | ?
:[\\/]* ) # Absolute name.
35155 ac_srcdir
=$srcdir$ac_dir_suffix;
35156 ac_top_srcdir
=$srcdir
35157 ac_abs_top_srcdir
=$srcdir ;;
35158 *) # Relative name.
35159 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35160 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35161 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35163 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35173 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35174 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
35178 cat >>$CONFIG_STATUS <<\_ACEOF
35179 # If the template does not know about datarootdir, expand it.
35180 # FIXME: This hack should be removed a few years after 2.60.
35181 ac_datarootdir_hack
=; ac_datarootdir_seen
=
35183 case `sed -n '/datarootdir/ {
35192 ' $ac_file_inputs` in
35193 *datarootdir
*) ac_datarootdir_seen
=yes;;
35194 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
35195 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35196 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35198 cat >>$CONFIG_STATUS <<_ACEOF
35199 ac_datarootdir_hack='
35200 s&@datadir@&$datadir&g
35201 s&@docdir@&$docdir&g
35202 s&@infodir@&$infodir&g
35203 s&@localedir@&$localedir&g
35204 s&@mandir@&$mandir&g
35205 s&\\\${datarootdir}&$datarootdir&g' ;;
35209 # Neutralize VPATH when `$srcdir' = `.'.
35210 # Shell code in configure.ac might set extrasub.
35211 # FIXME: do we really want to maintain this feature?
35212 cat >>$CONFIG_STATUS <<_ACEOF
35216 cat >>$CONFIG_STATUS <<\_ACEOF
35218 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
35219 s
&@configure_input@
&$configure_input&;t t
35220 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
35221 s
&@srcdir@
&$ac_srcdir&;t t
35222 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
35223 s
&@top_srcdir@
&$ac_top_srcdir&;t t
35224 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
35225 s
&@builddir@
&$ac_builddir&;t t
35226 s
&@abs_builddir@
&$ac_abs_builddir&;t t
35227 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
35228 s
&@INSTALL@
&$ac_INSTALL&;t t
35229 $ac_datarootdir_hack
35230 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
35232 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35233 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
35234 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
35235 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
35236 which seems to be undefined. Please make sure it is defined." >&5
35237 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
35238 which seems to be undefined. Please make sure it is defined." >&2;}
35242 -) cat "$tmp/out"; rm -f "$tmp/out";;
35243 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35252 # Transform confdefs.h into a sed script `conftest.defines', that
35253 # substitutes the proper values into config.h.in to produce config.h.
35254 rm -f conftest.defines conftest.
tail
35255 # First, append a space to every undef/define line, to ease matching.
35256 echo 's/$/ /' >conftest.defines
35257 # Then, protect against being on the right side of a sed subst, or in
35258 # an unquoted here document, in config.status. If some macros were
35259 # called several times there might be several #defines for the same
35260 # symbol, which is useless. But do not sort them, since the last
35261 # AC_DEFINE must be honored.
35262 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
35263 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35264 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35265 # PARAMS is the parameter list in the macro definition--in most cases, it's
35266 # just an empty string.
35267 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35268 ac_dB
='\\)[ (].*,\\1define\\2'
35276 s/^[ ]*#[ ]*define[ ][ ]*//
35281 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35282 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35283 ' >>conftest.defines
35285 # Remove the space that was appended to ease matching.
35286 # Then replace #undef with comments. This is necessary, for
35287 # example, in the case of _POSIX_SOURCE, which is predefined and required
35288 # on some systems where configure will not decide to define it.
35289 # (The regexp can be short, since the line contains either #define or #undef.)
35291 s,^[ #]*u.*,/* & */,' >>conftest.defines
35293 # Break up conftest.defines:
35294 ac_max_sed_lines
=50
35296 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35297 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35298 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35300 ac_in
='$ac_file_inputs'
35301 ac_out
='"$tmp/out1"'
35302 ac_nxt
='"$tmp/out2"'
35306 # Write a here document:
35307 cat >>$CONFIG_STATUS <<_ACEOF
35308 # First, check the format of the line:
35309 cat >"\$tmp/defines.sed" <<\\CEOF
35310 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35311 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35315 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
35317 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35318 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
35319 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
35320 grep . conftest.
tail >/dev
/null ||
break
35321 rm -f conftest.defines
35322 mv conftest.
tail conftest.defines
35324 rm -f conftest.defines conftest.
tail
35326 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35327 cat >>$CONFIG_STATUS <<\_ACEOF
35328 if test x
"$ac_file" != x-
; then
35329 echo "/* $configure_input */" >"$tmp/config.h"
35330 cat "$ac_result" >>"$tmp/config.h"
35331 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
35332 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35333 echo "$as_me: $ac_file is unchanged" >&6;}
35336 mv "$tmp/config.h" $ac_file
35339 echo "/* $configure_input */"
35345 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35346 echo "$as_me: executing $ac_file commands" >&6;}
35351 case $ac_file$ac_mode in
35352 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
35353 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
35354 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
35355 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
35356 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
35357 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
35358 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
35359 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
35360 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
35361 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
35362 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
35363 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
35364 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
35365 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
35366 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
35367 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
35368 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
35369 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
35370 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
35371 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
35372 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
35373 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
35374 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
35375 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
35376 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
35377 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
35383 { (exit 0); exit 0; }
35385 chmod +x
$CONFIG_STATUS
35386 ac_clean_files
=$ac_clean_files_save
35389 # configure is writing to config.log, and then calls config.status.
35390 # config.status does its own redirection, appending to config.log.
35391 # Unfortunately, on DOS this fails, as config.log is still kept open
35392 # by configure, so config.status won't be able to write to it; its
35393 # output is simply discarded. So we exec the FD to /dev/null,
35394 # effectively closing config.log, so it can be properly (re)opened and
35395 # appended to by config.status. When coming back to configure, we
35396 # need to make the FD available again.
35397 if test "$no_create" != yes; then
35399 ac_config_status_args
=
35400 test "$silent" = yes &&
35401 ac_config_status_args
="$ac_config_status_args --quiet"
35403 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
35405 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35406 # would make configure fail if this is the last instruction.
35407 $ac_cs_success ||
{ (exit 1); exit 1; }
35411 # CONFIG_SUBDIRS section.
35413 if test "$no_recursion" != yes; then
35415 # Remove --cache-file and --srcdir arguments so they do not pile up.
35416 ac_sub_configure_args
=
35418 eval "set x $ac_configure_args"
35422 if test -n "$ac_prev"; then
35427 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
35428 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
35429 ac_prev
=cache_file
;;
35430 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
35431 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
35434 --config-cache |
-C)
35436 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
35438 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
35440 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
35442 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
35446 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35448 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
35452 # Always prepend --prefix to ensure using the same prefix
35453 # in subdir configurations.
35454 ac_arg
="--prefix=$prefix"
35456 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35458 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
35461 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
35463 # Do not complain, so a configure script can configure whichever
35464 # parts of a large source tree are present.
35465 test -d "$srcdir/$ac_dir" ||
continue
35467 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
35468 echo "$as_me:$LINENO: $ac_msg" >&5
35472 -*) as_dir
=.
/$as_dir;;
35474 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35478 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35479 *) as_qdir
=$as_dir;;
35481 as_dirs
="'$as_qdir' $as_dirs"
35482 as_dir
=`$as_dirname -- "$as_dir" ||
35483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35484 X"$as_dir" : 'X\(//\)[^/]' \| \
35485 X"$as_dir" : 'X\(//\)$' \| \
35486 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35492 /^X\(\/\/\)[^/].*/{
35505 test -d "$as_dir" && break
35507 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35508 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35509 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35510 { (exit 1); exit 1; }; }; }
35514 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35516 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35517 # A ".." for each directory in $ac_dir_suffix.
35518 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35519 case $ac_top_builddir_sub in
35520 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35521 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35524 ac_abs_top_builddir
=$ac_pwd
35525 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35526 # for backward compatibility:
35527 ac_top_builddir
=$ac_top_build_prefix
35530 .
) # We are building in place.
35532 ac_top_srcdir
=$ac_top_builddir_sub
35533 ac_abs_top_srcdir
=$ac_pwd ;;
35534 [\\/]* | ?
:[\\/]* ) # Absolute name.
35535 ac_srcdir
=$srcdir$ac_dir_suffix;
35536 ac_top_srcdir
=$srcdir
35537 ac_abs_top_srcdir
=$srcdir ;;
35538 *) # Relative name.
35539 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35540 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35541 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35543 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35548 # Check for guested configure; otherwise get Cygnus style configure.
35549 if test -f "$ac_srcdir/configure.gnu"; then
35550 ac_sub_configure
=$ac_srcdir/configure.gnu
35551 elif test -f "$ac_srcdir/configure"; then
35552 ac_sub_configure
=$ac_srcdir/configure
35553 elif test -f "$ac_srcdir/configure.in"; then
35554 # This should be Cygnus configure.
35555 ac_sub_configure
=$ac_aux_dir/configure
35557 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35558 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35562 # The recursion is here.
35563 if test -n "$ac_sub_configure"; then
35564 # Make the cache file name correct relative to the subdirectory.
35565 case $cache_file in
35566 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35567 *) # Relative name.
35568 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35571 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35572 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35573 # The eval makes quoting arguments work.
35574 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35575 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35576 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35577 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35578 { (exit 1); exit 1; }; }