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 additional 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
5014 if test -n "$LLVMGCC"; then
5015 LLVMGCCCOMMAND="$LLVMGCC"
5018 if test -n "$LLVMGXX"; then
5019 LLVMGXXCOMMAND="$LLVMGXX"
5022 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
5023 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
5024 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
5025 { (exit 1); exit 1; }; };
5028 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
5029 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
5030 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
5031 { (exit 1); exit 1; }; };
5035 # Check whether --with-extra-options was given.
5036 if test "${with_extra_options+set}" = set; then
5037 withval=$with_extra_options;
5043 default) EXTRA_OPTIONS= ;;
5044 *) EXTRA_OPTIONS=$withval ;;
5046 EXTRA_OPTIONS=$EXTRA_OPTIONS
5049 # Check whether --enable-bindings was given.
5050 if test "${enable_bindings+set}" = set; then
5051 enableval=$enable_bindings;
5056 BINDINGS_TO_BUILD=""
5057 case "$enableval" in
5058 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5059 all ) BINDINGS_TO_BUILD="ocaml" ;;
5060 none | no) BINDINGS_TO_BUILD="" ;;
5061 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5062 case "$a_binding" in
5063 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5064 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5065 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5066 { (exit 1); exit 1; }; } ;;
5073 # Check whether --with-ocaml-libdir was given.
5074 if test "${with_ocaml_libdir+set}" = set; then
5075 withval=$with_ocaml_libdir;
5081 auto) with_ocaml_libdir="$withval" ;;
5082 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5083 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5084 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5085 { (exit 1); exit 1; }; } ;;
5089 # Check whether --with-binutils-include was given.
5090 if test "${with_binutils_include+set}" = set; then
5091 withval=$with_binutils_include;
5097 default) WITH_BINUTILS_INCDIR=default ;;
5098 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5099 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5100 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5101 { (exit 1); exit 1; }; } ;;
5103 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5104 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5106 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5107 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5108 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5109 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5110 { (exit 1); exit 1; }; };
5116 ac_cpp='$CPP $CPPFLAGS'
5117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5120 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5121 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5122 # On Suns, sometimes $CPP names a directory.
5123 if test -n "$CPP" && test -d "$CPP"; then
5126 if test -z "$CPP"; then
5127 if test "${ac_cv_prog_CPP+set}" = set; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 # Double quotes because CPP needs to be expanded
5131 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5134 for ac_c_preproc_warn_flag in '' yes
5136 # Use a header file that comes with gcc, so configuring glibc
5137 # with a fresh cross-compiler works.
5138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5139 # <limits.h> exists even on freestanding compilers.
5140 # On the NeXT, cc -E runs the code through the compiler's parser,
5141 # not just through cpp. "Syntax error" is here to catch this case.
5142 cat >conftest.$ac_ext <<_ACEOF
5145 cat confdefs.h >>conftest.$ac_ext
5146 cat >>conftest.$ac_ext <<_ACEOF
5147 /* end confdefs.h. */
5149 # include <limits.h>
5151 # include <assert.h>
5155 if { (ac_try="$ac_cpp conftest.$ac_ext"
5157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5158 *) ac_try_echo
=$ac_try;;
5160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5163 grep -v '^ *+' conftest.er1
>conftest.err
5165 cat conftest.err
>&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } >/dev
/null
; then
5168 if test -s conftest.err
; then
5169 ac_cpp_err
=$ac_c_preproc_warn_flag
5170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5177 if test -z "$ac_cpp_err"; then
5180 echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.
$ac_ext >&5
5183 # Broken: fails on valid input.
5187 rm -f conftest.err conftest.
$ac_ext
5189 # OK, works on sane cases. Now check whether nonexistent headers
5190 # can be detected and how.
5191 cat >conftest.
$ac_ext <<_ACEOF
5194 cat confdefs.h
>>conftest.
$ac_ext
5195 cat >>conftest.
$ac_ext <<_ACEOF
5196 /* end confdefs.h. */
5197 #include <ac_nonexistent.h>
5199 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5207 grep -v '^ *+' conftest.er1 >conftest.err
5209 cat conftest.err >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } >/dev/null; then
5212 if test -s conftest.err; then
5213 ac_cpp_err=$ac_c_preproc_warn_flag
5214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5221 if test -z "$ac_cpp_err"; then
5222 # Broken: success on invalid input.
5225 echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.$ac_ext >&5
5228 # Passes both tests.
5233 rm -f conftest.err conftest.$ac_ext
5236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5237 rm -f conftest.err conftest.
$ac_ext
5238 if $ac_preproc_ok; then
5250 { echo "$as_me:$LINENO: result: $CPP" >&5
5251 echo "${ECHO_T}$CPP" >&6; }
5253 for ac_c_preproc_warn_flag
in '' yes
5255 # Use a header file that comes with gcc, so configuring glibc
5256 # with a fresh cross-compiler works.
5257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5258 # <limits.h> exists even on freestanding compilers.
5259 # On the NeXT, cc -E runs the code through the compiler's parser,
5260 # not just through cpp. "Syntax error" is here to catch this case.
5261 cat >conftest.
$ac_ext <<_ACEOF
5264 cat confdefs.h
>>conftest.
$ac_ext
5265 cat >>conftest.
$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5268 # include <limits.h>
5270 # include <assert.h>
5274 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5277 *) ac_try_echo=$ac_try;;
5279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5280 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5282 grep -v '^ *+' conftest.er1 >conftest.err
5284 cat conftest.err >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } >/dev/null; then
5287 if test -s conftest.err; then
5288 ac_cpp_err=$ac_c_preproc_warn_flag
5289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5296 if test -z "$ac_cpp_err"; then
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5302 # Broken: fails on valid input.
5306 rm -f conftest.err conftest.$ac_ext
5308 # OK, works on sane cases. Now check whether nonexistent headers
5309 # can be detected and how.
5310 cat >conftest.$ac_ext <<_ACEOF
5313 cat confdefs.h >>conftest.$ac_ext
5314 cat >>conftest.$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5316 #include <ac_nonexistent.h>
5318 if { (ac_try="$ac_cpp conftest.$ac_ext"
5320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5321 *) ac_try_echo
=$ac_try;;
5323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5326 grep -v '^ *+' conftest.er1
>conftest.err
5328 cat conftest.err
>&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } >/dev
/null
; then
5331 if test -s conftest.err
; then
5332 ac_cpp_err
=$ac_c_preproc_warn_flag
5333 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5340 if test -z "$ac_cpp_err"; then
5341 # Broken: success on invalid input.
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.
$ac_ext >&5
5347 # Passes both tests.
5352 rm -f conftest.err conftest.
$ac_ext
5355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5356 rm -f conftest.err conftest.
$ac_ext
5357 if $ac_preproc_ok; then
5360 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5361 See \`config.log' for more details." >&5
5362 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5363 See \`config.log' for more details." >&2;}
5364 { (exit 1); exit 1; }; }
5368 ac_cpp
='$CPP $CPPFLAGS'
5369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5374 ac_cpp
='$CPP $CPPFLAGS'
5375 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5376 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5377 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5378 if test -n "$ac_tool_prefix"; then
5381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5382 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5385 if test "${ac_cv_prog_CC+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 if test -n "$CC"; then
5389 ac_cv_prog_CC
="$CC" # Let the user override the test.
5391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5395 test -z "$as_dir" && as_dir
=.
5396 for ac_exec_ext
in '' $ac_executable_extensions; do
5397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5398 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 if test -n "$CC"; then
5410 { echo "$as_me:$LINENO: result: $CC" >&5
5411 echo "${ECHO_T}$CC" >&6; }
5413 { echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6; }
5418 test -n "$CC" && break
5421 if test -z "$CC"; then
5425 # Extract the first word of "$ac_prog", so it can be a program name with args.
5426 set dummy
$ac_prog; ac_word
=$2
5427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 if test -n "$ac_ct_CC"; then
5433 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_ac_ct_CC
="$ac_prog"
5443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5453 if test -n "$ac_ct_CC"; then
5454 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5455 echo "${ECHO_T}$ac_ct_CC" >&6; }
5457 { echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6; }
5462 test -n "$ac_ct_CC" && break
5465 if test "x$ac_ct_CC" = x
; then
5468 case $cross_compiling:$ac_tool_warned in
5470 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5471 whose name does not start with the host triplet. If you think this
5472 configuration is useful to you, please write to autoconf@gnu.org." >&5
5473 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5476 ac_tool_warned
=yes ;;
5483 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5484 See \`config.log' for more details." >&5
5485 echo "$as_me: error: no acceptable C compiler found in \$PATH
5486 See \`config.log' for more details." >&2;}
5487 { (exit 1); exit 1; }; }
5489 # Provide some information about the compiler.
5490 echo "$as_me:$LINENO: checking for C compiler version" >&5
5491 ac_compiler
=`set X $ac_compile; echo $2`
5492 { (ac_try
="$ac_compiler --version >&5"
5494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5495 *) ac_try_echo=$ac_try;;
5497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5498 (eval "$ac_compiler --version >&5") 2>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); }
5502 { (ac_try="$ac_compiler -v >&5"
5504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5505 *) ac_try_echo
=$ac_try;;
5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5508 (eval "$ac_compiler -v >&5") 2>&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); }
5512 { (ac_try
="$ac_compiler -V >&5"
5514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5515 *) ac_try_echo=$ac_try;;
5517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5518 (eval "$ac_compiler -V >&5") 2>&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }
5523 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5524 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5525 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 cat >conftest.$ac_ext <<_ACEOF
5531 cat confdefs.h >>conftest.$ac_ext
5532 cat >>conftest.$ac_ext <<_ACEOF
5533 /* end confdefs.h. */
5546 rm -f conftest.$ac_objext
5547 if { (ac_try="$ac_compile"
5549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5550 *) ac_try_echo
=$ac_try;;
5552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5553 (eval "$ac_compile") 2>conftest.er1
5555 grep -v '^ *+' conftest.er1
>conftest.err
5557 cat conftest.err
>&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); } &&
5560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5561 { (case "(($ac_try" in
5562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5563 *) ac_try_echo=$ac_try;;
5565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5566 (eval "$ac_try") 2>&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; } &&
5570 { ac_try='test -s conftest.$ac_objext'
5571 { (case "(($ac_try" in
5572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5573 *) ac_try_echo
=$ac_try;;
5575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5576 (eval "$ac_try") 2>&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); }; }; then
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.
$ac_ext >&5
5588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5589 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5592 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5593 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5594 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5595 ac_test_CFLAGS
=${CFLAGS+set}
5596 ac_save_CFLAGS
=$CFLAGS
5597 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5598 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5599 if test "${ac_cv_prog_cc_g+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 ac_save_c_werror_flag
=$ac_c_werror_flag
5603 ac_c_werror_flag
=yes
5606 cat >conftest.
$ac_ext <<_ACEOF
5609 cat confdefs.h
>>conftest.
$ac_ext
5610 cat >>conftest.
$ac_ext <<_ACEOF
5611 /* end confdefs.h. */
5621 rm -f conftest.
$ac_objext
5622 if { (ac_try
="$ac_compile"
5624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5625 *) ac_try_echo=$ac_try;;
5627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5628 (eval "$ac_compile") 2>conftest.er1
5630 grep -v '^ *+' conftest.er1 >conftest.err
5632 cat conftest.err >&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } &&
5635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5636 { (case "(($ac_try" in
5637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5638 *) ac_try_echo
=$ac_try;;
5640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5641 (eval "$ac_try") 2>&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); }; } &&
5645 { ac_try
='test -s conftest.$ac_objext'
5646 { (case "(($ac_try" in
5647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5648 *) ac_try_echo=$ac_try;;
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$ac_try") 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; }; then
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.$ac_ext >&5
5661 cat >conftest.$ac_ext <<_ACEOF
5664 cat confdefs.h >>conftest.$ac_ext
5665 cat >>conftest.$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5676 rm -f conftest.$ac_objext
5677 if { (ac_try="$ac_compile"
5679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5680 *) ac_try_echo
=$ac_try;;
5682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5683 (eval "$ac_compile") 2>conftest.er1
5685 grep -v '^ *+' conftest.er1
>conftest.err
5687 cat conftest.err
>&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); } &&
5690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5691 { (case "(($ac_try" in
5692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5693 *) ac_try_echo=$ac_try;;
5695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5696 (eval "$ac_try") 2>&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); }; } &&
5700 { ac_try='test -s conftest.$ac_objext'
5701 { (case "(($ac_try" in
5702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5703 *) ac_try_echo
=$ac_try;;
5705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5706 (eval "$ac_try") 2>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; }; then
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.
$ac_ext >&5
5715 ac_c_werror_flag
=$ac_save_c_werror_flag
5717 cat >conftest.
$ac_ext <<_ACEOF
5720 cat confdefs.h
>>conftest.
$ac_ext
5721 cat >>conftest.
$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5732 rm -f conftest.
$ac_objext
5733 if { (ac_try
="$ac_compile"
5735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5736 *) ac_try_echo=$ac_try;;
5738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5739 (eval "$ac_compile") 2>conftest.er1
5741 grep -v '^ *+' conftest.er1 >conftest.err
5743 cat conftest.err >&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); } &&
5746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5747 { (case "(($ac_try" in
5748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5749 *) ac_try_echo
=$ac_try;;
5751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5752 (eval "$ac_try") 2>&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); }; } &&
5756 { ac_try
='test -s conftest.$ac_objext'
5757 { (case "(($ac_try" in
5758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5759 *) ac_try_echo=$ac_try;;
5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5762 (eval "$ac_try") 2>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; }; then
5768 echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.$ac_ext >&5
5774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5781 ac_c_werror_flag=$ac_save_c_werror_flag
5783 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5784 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5785 if test "$ac_test_CFLAGS" = set; then
5786 CFLAGS=$ac_save_CFLAGS
5787 elif test $ac_cv_prog_cc_g = yes; then
5788 if test "$GCC" = yes; then
5794 if test "$GCC" = yes; then
5800 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5801 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5802 if test "${ac_cv_prog_cc_c89+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 ac_cv_prog_cc_c89=no
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5815 #include <sys/types.h>
5816 #include <sys/stat.h>
5817 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5818 struct buf { int x; };
5819 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5820 static char *e (p, i)
5826 static char *f (char * (*g) (char **, int), char **p, ...)
5831 s = g (p, va_arg (v,int));
5836 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5837 function prototypes and stuff, but not '\xHH' hex character constants.
5838 These don't provoke an error unfortunately, instead are silently treated
5839 as 'x'. The following induces an error, until -std is added to get
5840 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5841 array size at least. It's necessary to write '\x00'==0 to get something
5842 that's true only with -std. */
5843 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5845 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5846 inside strings and character constants. */
5848 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5850 int test (int i, double x);
5851 struct s1 {int (*f) (int a);};
5852 struct s2 {int (*f) (double a);};
5853 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5859 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5864 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5865 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5867 CC="$ac_save_CC $ac_arg"
5868 rm -f conftest.$ac_objext
5869 if { (ac_try="$ac_compile"
5871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5872 *) ac_try_echo
=$ac_try;;
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_compile") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1
>conftest.err
5879 cat conftest.err
>&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } &&
5882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5883 { (case "(($ac_try" in
5884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5885 *) ac_try_echo=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_try") 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; } &&
5892 { ac_try='test -s conftest.$ac_objext'
5893 { (case "(($ac_try" in
5894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5895 *) ac_try_echo
=$ac_try;;
5897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5898 (eval "$ac_try") 2>&5
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); }; }; then
5902 ac_cv_prog_cc_c89
=$ac_arg
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.
$ac_ext >&5
5910 rm -f core conftest.err conftest.
$ac_objext
5911 test "x$ac_cv_prog_cc_c89" != "xno" && break
5913 rm -f conftest.
$ac_ext
5918 case "x$ac_cv_prog_cc_c89" in
5920 { echo "$as_me:$LINENO: result: none needed" >&5
5921 echo "${ECHO_T}none needed" >&6; } ;;
5923 { echo "$as_me:$LINENO: result: unsupported" >&5
5924 echo "${ECHO_T}unsupported" >&6; } ;;
5926 CC
="$CC $ac_cv_prog_cc_c89"
5927 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5928 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5933 ac_cpp
='$CPP $CPPFLAGS'
5934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5939 ac_cpp
='$CXXCPP $CPPFLAGS'
5940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5943 if test -z "$CXX"; then
5944 if test -n "$CCC"; then
5947 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5951 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_CXX+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 if test -n "$CXX"; then
5958 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir
=.
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 if test -n "$CXX"; then
5979 { echo "$as_me:$LINENO: result: $CXX" >&5
5980 echo "${ECHO_T}$CXX" >&6; }
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5987 test -n "$CXX" && break
5990 if test -z "$CXX"; then
5994 # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 set dummy
$ac_prog; ac_word
=$2
5996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5998 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 if test -n "$ac_ct_CXX"; then
6002 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir
=.
6009 for ac_exec_ext
in '' $ac_executable_extensions; do
6010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6011 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6022 if test -n "$ac_ct_CXX"; then
6023 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6024 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6026 { echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6; }
6031 test -n "$ac_ct_CXX" && break
6034 if test "x$ac_ct_CXX" = x
; then
6037 case $cross_compiling:$ac_tool_warned in
6039 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6040 whose name does not start with the host triplet. If you think this
6041 configuration is useful to you, please write to autoconf@gnu.org." >&5
6042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6043 whose name does not start with the host triplet. If you think this
6044 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6045 ac_tool_warned
=yes ;;
6053 # Provide some information about the compiler.
6054 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6055 ac_compiler
=`set X $ac_compile; echo $2`
6056 { (ac_try
="$ac_compiler --version >&5"
6058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6059 *) ac_try_echo=$ac_try;;
6061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6062 (eval "$ac_compiler --version >&5") 2>&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); }
6066 { (ac_try="$ac_compiler -v >&5"
6068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6069 *) ac_try_echo
=$ac_try;;
6071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6072 (eval "$ac_compiler -v >&5") 2>&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }
6076 { (ac_try
="$ac_compiler -V >&5"
6078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6079 *) ac_try_echo=$ac_try;;
6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082 (eval "$ac_compiler -V >&5") 2>&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }
6087 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6088 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6089 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 cat >conftest.$ac_ext <<_ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6110 rm -f conftest.$ac_objext
6111 if { (ac_try="$ac_compile"
6113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6114 *) ac_try_echo
=$ac_try;;
6116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6117 (eval "$ac_compile") 2>conftest.er1
6119 grep -v '^ *+' conftest.er1
>conftest.err
6121 cat conftest.err
>&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } &&
6124 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6125 { (case "(($ac_try" in
6126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6127 *) ac_try_echo=$ac_try;;
6129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6130 (eval "$ac_try") 2>&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); }; } &&
6134 { ac_try='test -s conftest.$ac_objext'
6135 { (case "(($ac_try" in
6136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6137 *) ac_try_echo
=$ac_try;;
6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6140 (eval "$ac_try") 2>&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); }; }; then
6146 echo "$as_me: failed program was:" >&5
6147 sed 's/^/| /' conftest.
$ac_ext >&5
6152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6153 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6156 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6157 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6158 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6159 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6160 ac_save_CXXFLAGS
=$CXXFLAGS
6161 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6162 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6163 if test "${ac_cv_prog_cxx_g+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6167 ac_cxx_werror_flag
=yes
6170 cat >conftest.
$ac_ext <<_ACEOF
6173 cat confdefs.h
>>conftest.
$ac_ext
6174 cat >>conftest.
$ac_ext <<_ACEOF
6175 /* end confdefs.h. */
6185 rm -f conftest.
$ac_objext
6186 if { (ac_try
="$ac_compile"
6188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6189 *) ac_try_echo=$ac_try;;
6191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6192 (eval "$ac_compile") 2>conftest.er1
6194 grep -v '^ *+' conftest.er1 >conftest.err
6196 cat conftest.err >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); } &&
6199 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6200 { (case "(($ac_try" in
6201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6202 *) ac_try_echo
=$ac_try;;
6204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6205 (eval "$ac_try") 2>&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; } &&
6209 { ac_try
='test -s conftest.$ac_objext'
6210 { (case "(($ac_try" in
6211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_try") 2>&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); }; }; then
6219 ac_cv_prog_cxx_g=yes
6221 echo "$as_me: failed program was:" >&5
6222 sed 's/^/| /' conftest.$ac_ext >&5
6225 cat >conftest.$ac_ext <<_ACEOF
6228 cat confdefs.h >>conftest.$ac_ext
6229 cat >>conftest.$ac_ext <<_ACEOF
6230 /* end confdefs.h. */
6240 rm -f conftest.$ac_objext
6241 if { (ac_try="$ac_compile"
6243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6244 *) ac_try_echo
=$ac_try;;
6246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6247 (eval "$ac_compile") 2>conftest.er1
6249 grep -v '^ *+' conftest.er1
>conftest.err
6251 cat conftest.err
>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } &&
6254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6255 { (case "(($ac_try" in
6256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6257 *) ac_try_echo=$ac_try;;
6259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6260 (eval "$ac_try") 2>&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try='test -s conftest.$ac_objext'
6265 { (case "(($ac_try" in
6266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6267 *) ac_try_echo
=$ac_try;;
6269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6270 (eval "$ac_try") 2>&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }; then
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.
$ac_ext >&5
6279 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6281 cat >conftest.
$ac_ext <<_ACEOF
6284 cat confdefs.h
>>conftest.
$ac_ext
6285 cat >>conftest.
$ac_ext <<_ACEOF
6286 /* end confdefs.h. */
6296 rm -f conftest.
$ac_objext
6297 if { (ac_try
="$ac_compile"
6299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6300 *) ac_try_echo=$ac_try;;
6302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6303 (eval "$ac_compile") 2>conftest.er1
6305 grep -v '^ *+' conftest.er1 >conftest.err
6307 cat conftest.err >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } &&
6310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6311 { (case "(($ac_try" in
6312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6313 *) ac_try_echo
=$ac_try;;
6315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6316 (eval "$ac_try") 2>&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); }; } &&
6320 { ac_try
='test -s conftest.$ac_objext'
6321 { (case "(($ac_try" in
6322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6323 *) ac_try_echo=$ac_try;;
6325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6326 (eval "$ac_try") 2>&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); }; }; then
6330 ac_cv_prog_cxx_g=yes
6332 echo "$as_me: failed program was:" >&5
6333 sed 's/^/| /' conftest.$ac_ext >&5
6338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6345 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6347 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6348 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6349 if test "$ac_test_CXXFLAGS" = set; then
6350 CXXFLAGS=$ac_save_CXXFLAGS
6351 elif test $ac_cv_prog_cxx_g = yes; then
6352 if test "$GXX" = yes; then
6358 if test "$GXX" = yes; then
6365 ac_cpp='$CPP $CPPFLAGS'
6366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6371 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6372 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6373 if test "${lt_cv_path_NM+set}" = set; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 if test -n "$NM"; then
6377 # Let the user override the test.
6380 lt_nm_to_check="${ac_tool_prefix}nm"
6381 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6382 lt_nm_to_check="$lt_nm_to_check nm"
6384 for lt_tmp_nm in $lt_nm_to_check; do
6385 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6386 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6388 test -z "$ac_dir" && ac_dir=.
6389 tmp_nm="$ac_dir/$lt_tmp_nm"
6390 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6391 # Check to see if the nm accepts a BSD-compat flag.
6392 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6393 # nm: unknown option "B" ignored
6394 # Tru64's nm complains that
/dev
/null is an invalid object
file
6395 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6396 */dev
/null
* |
*'Invalid file or object type'*)
6397 lt_cv_path_NM
="$tmp_nm -B"
6401 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6403 lt_cv_path_NM
="$tmp_nm -p"
6407 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6408 continue # so that we can try to find one that supports BSD flags
6417 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6420 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6421 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6426 { echo "$as_me:$LINENO: checking for GNU make" >&5
6427 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6428 if test "${llvm_cv_gnu_make_command+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 llvm_cv_gnu_make_command
=''
6432 for a
in "$MAKE" make gmake gnumake
; do
6433 if test -z "$a" ; then continue ; fi ;
6434 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6436 llvm_cv_gnu_make_command
=$a ;
6441 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6442 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6443 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6447 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6448 echo "${ECHO_T}\"Not found\"" >&6; };
6452 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6453 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6455 if test "$LN_S" = "ln -s"; then
6456 { echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6; }
6459 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6460 echo "${ECHO_T}no, using $LN_S" >&6; }
6463 # Extract the first word of "cmp", so it can be a program name with args.
6464 set dummy
cmp; ac_word
=$2
6465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6467 if test "${ac_cv_path_CMP+set}" = set; then
6468 echo $ECHO_N "(cached) $ECHO_C" >&6
6472 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6479 test -z "$as_dir" && as_dir
=.
6480 for ac_exec_ext
in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6495 if test -n "$CMP"; then
6496 { echo "$as_me:$LINENO: result: $CMP" >&5
6497 echo "${ECHO_T}$CMP" >&6; }
6499 { echo "$as_me:$LINENO: result: no" >&5
6500 echo "${ECHO_T}no" >&6; }
6504 # Extract the first word of "cp", so it can be a program name with args.
6505 set dummy
cp; ac_word
=$2
6506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6508 if test "${ac_cv_path_CP+set}" = set; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6520 test -z "$as_dir" && as_dir
=.
6521 for ac_exec_ext
in '' $ac_executable_extensions; do
6522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6523 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6536 if test -n "$CP"; then
6537 { echo "$as_me:$LINENO: result: $CP" >&5
6538 echo "${ECHO_T}$CP" >&6; }
6540 { echo "$as_me:$LINENO: result: no" >&5
6541 echo "${ECHO_T}no" >&6; }
6545 # Extract the first word of "date", so it can be a program name with args.
6546 set dummy
date; ac_word
=$2
6547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6549 if test "${ac_cv_path_DATE+set}" = set; then
6550 echo $ECHO_N "(cached) $ECHO_C" >&6
6554 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6561 test -z "$as_dir" && as_dir
=.
6562 for ac_exec_ext
in '' $ac_executable_extensions; do
6563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6564 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6576 DATE
=$ac_cv_path_DATE
6577 if test -n "$DATE"; then
6578 { echo "$as_me:$LINENO: result: $DATE" >&5
6579 echo "${ECHO_T}$DATE" >&6; }
6581 { echo "$as_me:$LINENO: result: no" >&5
6582 echo "${ECHO_T}no" >&6; }
6586 # Extract the first word of "find", so it can be a program name with args.
6587 set dummy
find; ac_word
=$2
6588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6590 if test "${ac_cv_path_FIND+set}" = set; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir
=.
6603 for ac_exec_ext
in '' $ac_executable_extensions; do
6604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6605 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6617 FIND
=$ac_cv_path_FIND
6618 if test -n "$FIND"; then
6619 { echo "$as_me:$LINENO: result: $FIND" >&5
6620 echo "${ECHO_T}$FIND" >&6; }
6622 { echo "$as_me:$LINENO: result: no" >&5
6623 echo "${ECHO_T}no" >&6; }
6627 # Extract the first word of "grep", so it can be a program name with args.
6628 set dummy
grep; ac_word
=$2
6629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6631 if test "${ac_cv_path_GREP+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir
=.
6644 for ac_exec_ext
in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6658 GREP
=$ac_cv_path_GREP
6659 if test -n "$GREP"; then
6660 { echo "$as_me:$LINENO: result: $GREP" >&5
6661 echo "${ECHO_T}$GREP" >&6; }
6663 { echo "$as_me:$LINENO: result: no" >&5
6664 echo "${ECHO_T}no" >&6; }
6668 # Extract the first word of "mkdir", so it can be a program name with args.
6669 set dummy mkdir
; ac_word
=$2
6670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6672 if test "${ac_cv_path_MKDIR+set}" = set; then
6673 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir
=.
6685 for ac_exec_ext
in '' $ac_executable_extensions; do
6686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6687 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6699 MKDIR
=$ac_cv_path_MKDIR
6700 if test -n "$MKDIR"; then
6701 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6702 echo "${ECHO_T}$MKDIR" >&6; }
6704 { echo "$as_me:$LINENO: result: no" >&5
6705 echo "${ECHO_T}no" >&6; }
6709 # Extract the first word of "mv", so it can be a program name with args.
6710 set dummy
mv; ac_word
=$2
6711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6713 if test "${ac_cv_path_MV+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6725 test -z "$as_dir" && as_dir
=.
6726 for ac_exec_ext
in '' $ac_executable_extensions; do
6727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6728 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6741 if test -n "$MV"; then
6742 { echo "$as_me:$LINENO: result: $MV" >&5
6743 echo "${ECHO_T}$MV" >&6; }
6745 { echo "$as_me:$LINENO: result: no" >&5
6746 echo "${ECHO_T}no" >&6; }
6750 if test -n "$ac_tool_prefix"; then
6751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6752 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6755 if test "${ac_cv_prog_RANLIB+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 if test -n "$RANLIB"; then
6759 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6765 test -z "$as_dir" && as_dir
=.
6766 for ac_exec_ext
in '' $ac_executable_extensions; do
6767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6768 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 RANLIB
=$ac_cv_prog_RANLIB
6779 if test -n "$RANLIB"; then
6780 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6781 echo "${ECHO_T}$RANLIB" >&6; }
6783 { echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6; }
6789 if test -z "$ac_cv_prog_RANLIB"; then
6790 ac_ct_RANLIB
=$RANLIB
6791 # Extract the first word of "ranlib", so it can be a program name with args.
6792 set dummy ranlib
; ac_word
=$2
6793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6795 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 if test -n "$ac_ct_RANLIB"; then
6799 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir
=.
6806 for ac_exec_ext
in '' $ac_executable_extensions; do
6807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6808 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6818 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6819 if test -n "$ac_ct_RANLIB"; then
6820 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6821 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6827 if test "x$ac_ct_RANLIB" = x
; then
6830 case $cross_compiling:$ac_tool_warned in
6832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6833 whose name does not start with the host triplet. If you think this
6834 configuration is useful to you, please write to autoconf@gnu.org." >&5
6835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6836 whose name does not start with the host triplet. If you think this
6837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6838 ac_tool_warned
=yes ;;
6840 RANLIB
=$ac_ct_RANLIB
6843 RANLIB
="$ac_cv_prog_RANLIB"
6846 # Extract the first word of "rm", so it can be a program name with args.
6847 set dummy
rm; ac_word
=$2
6848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6850 if test "${ac_cv_path_RM+set}" = set; then
6851 echo $ECHO_N "(cached) $ECHO_C" >&6
6855 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6862 test -z "$as_dir" && as_dir
=.
6863 for ac_exec_ext
in '' $ac_executable_extensions; do
6864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6865 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6873 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6878 if test -n "$RM"; then
6879 { echo "$as_me:$LINENO: result: $RM" >&5
6880 echo "${ECHO_T}$RM" >&6; }
6882 { echo "$as_me:$LINENO: result: no" >&5
6883 echo "${ECHO_T}no" >&6; }
6887 # Extract the first word of "sed", so it can be a program name with args.
6888 set dummy
sed; ac_word
=$2
6889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6891 if test "${ac_cv_path_SED+set}" = set; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6896 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
6899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir
=.
6904 for ac_exec_ext
in '' $ac_executable_extensions; do
6905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6906 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
6907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
6919 if test -n "$SED"; then
6920 { echo "$as_me:$LINENO: result: $SED" >&5
6921 echo "${ECHO_T}$SED" >&6; }
6923 { echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6; }
6928 # Extract the first word of "tar", so it can be a program name with args.
6929 set dummy
tar; ac_word
=$2
6930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6932 if test "${ac_cv_path_TAR+set}" = set; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6937 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
6940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir
=.
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
6948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
6960 if test -n "$TAR"; then
6961 { echo "$as_me:$LINENO: result: $TAR" >&5
6962 echo "${ECHO_T}$TAR" >&6; }
6964 { echo "$as_me:$LINENO: result: no" >&5
6965 echo "${ECHO_T}no" >&6; }
6969 # Extract the first word of "pwd", so it can be a program name with args.
6970 set dummy
pwd; ac_word
=$2
6971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6973 if test "${ac_cv_path_BINPWD+set}" = set; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
6981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir
=.
6986 for ac_exec_ext
in '' $ac_executable_extensions; do
6987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6988 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
6989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6996 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
7000 BINPWD
=$ac_cv_path_BINPWD
7001 if test -n "$BINPWD"; then
7002 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7003 echo "${ECHO_T}$BINPWD" >&6; }
7005 { echo "$as_me:$LINENO: result: no" >&5
7006 echo "${ECHO_T}no" >&6; }
7011 # Extract the first word of "Graphviz", so it can be a program name with args.
7012 set dummy Graphviz
; ac_word
=$2
7013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7015 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7027 test -z "$as_dir" && as_dir
=.
7028 for ac_exec_ext
in '' $ac_executable_extensions; do
7029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7030 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7042 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7043 if test -n "$GRAPHVIZ"; then
7044 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7045 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7047 { echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6; }
7052 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7054 cat >>confdefs.h
<<\_ACEOF
7055 #define HAVE_GRAPHVIZ 1
7058 if test "$llvm_cv_os_type" = "MingW" ; then
7059 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7062 cat >>confdefs.h
<<_ACEOF
7063 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7067 # Extract the first word of "dot", so it can be a program name with args.
7068 set dummy dot
; ac_word
=$2
7069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7071 if test "${ac_cv_path_DOT+set}" = set; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7076 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7083 test -z "$as_dir" && as_dir
=.
7084 for ac_exec_ext
in '' $ac_executable_extensions; do
7085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7086 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7099 if test -n "$DOT"; then
7100 { echo "$as_me:$LINENO: result: $DOT" >&5
7101 echo "${ECHO_T}$DOT" >&6; }
7103 { echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6; }
7108 if test "$DOT" != "echo dot" ; then
7110 cat >>confdefs.h
<<\_ACEOF
7114 if test "$llvm_cv_os_type" = "MingW" ; then
7115 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7118 cat >>confdefs.h
<<_ACEOF
7119 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7123 for ac_prog
in gv gsview32
7125 # Extract the first word of "$ac_prog", so it can be a program name with args.
7126 set dummy
$ac_prog; ac_word
=$2
7127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7129 if test "${ac_cv_path_GV+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir
=.
7142 for ac_exec_ext
in '' $ac_executable_extensions; do
7143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7144 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 if test -n "$GV"; then
7157 { echo "$as_me:$LINENO: result: $GV" >&5
7158 echo "${ECHO_T}$GV" >&6; }
7160 { echo "$as_me:$LINENO: result: no" >&5
7161 echo "${ECHO_T}no" >&6; }
7165 test -n "$GV" && break
7167 test -n "$GV" || GV
="echo gv"
7169 if test "$GV" != "echo gv" ; then
7171 cat >>confdefs.h
<<\_ACEOF
7175 if test "$llvm_cv_os_type" = "MingW" ; then
7176 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7179 cat >>confdefs.h
<<_ACEOF
7180 #define LLVM_PATH_GV "$GV${EXEEXT}"
7184 # Extract the first word of "dotty", so it can be a program name with args.
7185 set dummy dotty
; ac_word
=$2
7186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7188 if test "${ac_cv_path_DOTTY+set}" = set; then
7189 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir
=.
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7203 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7215 DOTTY
=$ac_cv_path_DOTTY
7216 if test -n "$DOTTY"; then
7217 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7218 echo "${ECHO_T}$DOTTY" >&6; }
7220 { echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6; }
7225 if test "$DOTTY" != "echo dotty" ; then
7227 cat >>confdefs.h
<<\_ACEOF
7228 #define HAVE_DOTTY 1
7231 if test "$llvm_cv_os_type" = "MingW" ; then
7232 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7235 cat >>confdefs.h
<<_ACEOF
7236 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7242 # Extract the first word of "perl", so it can be a program name with args.
7243 set dummy perl
; ac_word
=$2
7244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7246 if test "${ac_cv_path_PERL+set}" = set; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7258 test -z "$as_dir" && as_dir
=.
7259 for ac_exec_ext
in '' $ac_executable_extensions; do
7260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7261 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7273 PERL
=$ac_cv_path_PERL
7274 if test -n "$PERL"; then
7275 { echo "$as_me:$LINENO: result: $PERL" >&5
7276 echo "${ECHO_T}$PERL" >&6; }
7278 { echo "$as_me:$LINENO: result: no" >&5
7279 echo "${ECHO_T}no" >&6; }
7283 if test "$PERL" != "none"; then
7284 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7285 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7286 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7287 { echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6; }
7291 { echo "$as_me:$LINENO: result: not found" >&5
7292 echo "${ECHO_T}not found" >&6; }
7297 if test x
"$PERL" = xnone
; then
7300 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7301 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7302 { (exit 1); exit 1; }; }
7308 # Find a good install program. We prefer a C program (faster),
7309 # so one script is as good as another. But avoid the broken or
7310 # incompatible versions:
7311 # SysV /etc/install, /usr/sbin/install
7312 # SunOS /usr/etc/install
7313 # IRIX /sbin/install
7315 # AmigaOS /C/install, which installs bootblocks on floppy discs
7316 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7317 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7318 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7319 # OS/2's system install, which has a completely different semantic
7320 # ./install, which can be erroneously created by make from ./install.sh.
7321 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7322 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7323 if test -z "$INSTALL"; then
7324 if test "${ac_cv_path_install+set}" = set; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7331 test -z "$as_dir" && as_dir
=.
7332 # Account for people who put trailing slashes in PATH elements.
7334 .
/ | .
// |
/cC
/* | \
7335 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7336 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7339 # OSF1 and SCO ODT 3.0 have their own names for install.
7340 # Don't use installbsd from OSF since it installs stuff as root
7342 for ac_prog
in ginstall scoinst
install; do
7343 for ac_exec_ext
in '' $ac_executable_extensions; do
7344 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7345 if test $ac_prog = install &&
7346 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7347 # AIX install. It has an incompatible calling convention.
7349 elif test $ac_prog = install &&
7350 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7351 # program-specific install script used by HP pwplus--don't use.
7354 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7367 if test "${ac_cv_path_install+set}" = set; then
7368 INSTALL
=$ac_cv_path_install
7370 # As a last resort, use the slow shell script. Don't cache a
7371 # value for INSTALL within a source directory, because that will
7372 # break other packages using the cache if that directory is
7373 # removed, or if the value is a relative name.
7374 INSTALL
=$ac_install_sh
7377 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7378 echo "${ECHO_T}$INSTALL" >&6; }
7380 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7381 # It thinks the first close brace ends the variable substitution.
7382 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7386 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7389 # Extract the first word of "bzip2", so it can be a program name with args.
7390 set dummy
bzip2; ac_word
=$2
7391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7393 if test "${ac_cv_path_BZIP2+set}" = set; then
7394 echo $ECHO_N "(cached) $ECHO_C" >&6
7398 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7405 test -z "$as_dir" && as_dir
=.
7406 for ac_exec_ext
in '' $ac_executable_extensions; do
7407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7408 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 BZIP2
=$ac_cv_path_BZIP2
7420 if test -n "$BZIP2"; then
7421 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7422 echo "${ECHO_T}$BZIP2" >&6; }
7424 { echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6; }
7429 # Extract the first word of "doxygen", so it can be a program name with args.
7430 set dummy doxygen
; ac_word
=$2
7431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7433 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7438 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir
=.
7446 for ac_exec_ext
in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 DOXYGEN
=$ac_cv_path_DOXYGEN
7460 if test -n "$DOXYGEN"; then
7461 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7462 echo "${ECHO_T}$DOXYGEN" >&6; }
7464 { echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6; }
7469 # Extract the first word of "groff", so it can be a program name with args.
7470 set dummy
groff; ac_word
=$2
7471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7473 if test "${ac_cv_path_GROFF+set}" = set; then
7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7478 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7485 test -z "$as_dir" && as_dir
=.
7486 for ac_exec_ext
in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 GROFF
=$ac_cv_path_GROFF
7500 if test -n "$GROFF"; then
7501 { echo "$as_me:$LINENO: result: $GROFF" >&5
7502 echo "${ECHO_T}$GROFF" >&6; }
7504 { echo "$as_me:$LINENO: result: no" >&5
7505 echo "${ECHO_T}no" >&6; }
7509 # Extract the first word of "gzip", so it can be a program name with args.
7510 set dummy
gzip; ac_word
=$2
7511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7513 if test "${ac_cv_path_GZIP+set}" = set; then
7514 echo $ECHO_N "(cached) $ECHO_C" >&6
7518 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir
=.
7526 for ac_exec_ext
in '' $ac_executable_extensions; do
7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7528 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 GZIP
=$ac_cv_path_GZIP
7540 if test -n "$GZIP"; then
7541 { echo "$as_me:$LINENO: result: $GZIP" >&5
7542 echo "${ECHO_T}$GZIP" >&6; }
7544 { echo "$as_me:$LINENO: result: no" >&5
7545 echo "${ECHO_T}no" >&6; }
7549 # Extract the first word of "pod2html", so it can be a program name with args.
7550 set dummy pod2html
; ac_word
=$2
7551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7553 if test "${ac_cv_path_POD2HTML+set}" = set; then
7554 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir
=.
7566 for ac_exec_ext
in '' $ac_executable_extensions; do
7567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7568 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 POD2HTML
=$ac_cv_path_POD2HTML
7580 if test -n "$POD2HTML"; then
7581 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7582 echo "${ECHO_T}$POD2HTML" >&6; }
7584 { echo "$as_me:$LINENO: result: no" >&5
7585 echo "${ECHO_T}no" >&6; }
7589 # Extract the first word of "pod2man", so it can be a program name with args.
7590 set dummy pod2man
; ac_word
=$2
7591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7593 if test "${ac_cv_path_POD2MAN+set}" = set; then
7594 echo $ECHO_N "(cached) $ECHO_C" >&6
7598 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir
=.
7606 for ac_exec_ext
in '' $ac_executable_extensions; do
7607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7608 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 POD2MAN
=$ac_cv_path_POD2MAN
7620 if test -n "$POD2MAN"; then
7621 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7622 echo "${ECHO_T}$POD2MAN" >&6; }
7624 { echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6; }
7629 # Extract the first word of "runtest", so it can be a program name with args.
7630 set dummy runtest
; ac_word
=$2
7631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7633 if test "${ac_cv_path_RUNTEST+set}" = set; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7638 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7645 test -z "$as_dir" && as_dir
=.
7646 for ac_exec_ext
in '' $ac_executable_extensions; do
7647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7648 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 RUNTEST
=$ac_cv_path_RUNTEST
7660 if test -n "$RUNTEST"; then
7661 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7662 echo "${ECHO_T}$RUNTEST" >&6; }
7664 { echo "$as_me:$LINENO: result: no" >&5
7665 echo "${ECHO_T}no" >&6; }
7671 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7672 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7674 # Check whether --with-tclinclude was given.
7675 if test "${with_tclinclude+set}" = set; then
7676 withval
=$with_tclinclude; with_tclinclude
=${withval}
7681 if test "${ac_cv_path_tclsh+set}" = set; then
7682 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 if test x
"${with_tclinclude}" != x
; then
7686 if test -f ${with_tclinclude}/tclsh
; then
7687 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7688 elif test -f ${with_tclinclude}/src
/tclsh
; then
7689 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7691 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7692 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7693 { (exit 1); exit 1; }; }
7697 if test x
"${ac_cv_path_tclsh}" = x
; then
7698 { echo "$as_me:$LINENO: result: none" >&5
7699 echo "${ECHO_T}none" >&6; }
7700 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
7702 # Extract the first word of "$ac_prog", so it can be a program name with args.
7703 set dummy
$ac_prog; ac_word
=$2
7704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7706 if test "${ac_cv_path_TCLSH+set}" = set; then
7707 echo $ECHO_N "(cached) $ECHO_C" >&6
7711 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir
=.
7719 for ac_exec_ext
in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 TCLSH
=$ac_cv_path_TCLSH
7733 if test -n "$TCLSH"; then
7734 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7735 echo "${ECHO_T}$TCLSH" >&6; }
7737 { echo "$as_me:$LINENO: result: no" >&5
7738 echo "${ECHO_T}no" >&6; }
7742 test -n "$TCLSH" && break
7745 if test x
"${TCLSH}" = x
; then
7746 ac_cv_path_tclsh
='';
7748 ac_cv_path_tclsh
="${TCLSH}";
7751 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7752 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7753 TCLSH="${ac_cv_path_tclsh}"
7759 # Extract the first word of "zip", so it can be a program name with args.
7760 set dummy zip; ac_word=$2
7761 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7762 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7763 if test "${ac_cv_path_ZIP+set}" = set; then
7764 echo $ECHO_N "(cached
) $ECHO_C" >&6
7768 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7779 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7790 if test -n "$ZIP"; then
7791 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7792 echo "${ECHO_T}$ZIP" >&6; }
7794 { echo "$as_me:$LINENO: result
: no
" >&5
7795 echo "${ECHO_T}no
" >&6; }
7799 for ac_prog in ocamlc
7801 # Extract the first word of "$ac_prog", so it can be a program name with args.
7802 set dummy $ac_prog; ac_word=$2
7803 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7804 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7805 if test "${ac_cv_path_OCAMLC+set}" = set; then
7806 echo $ECHO_N "(cached
) $ECHO_C" >&6
7810 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 test -z "$as_dir" && as_dir=.
7818 for ac_exec_ext in '' $ac_executable_extensions; do
7819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7820 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7821 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7831 OCAMLC=$ac_cv_path_OCAMLC
7832 if test -n "$OCAMLC"; then
7833 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
7834 echo "${ECHO_T}$OCAMLC" >&6; }
7836 { echo "$as_me:$LINENO: result
: no
" >&5
7837 echo "${ECHO_T}no
" >&6; }
7841 test -n "$OCAMLC" && break
7844 for ac_prog in ocamlopt
7846 # Extract the first word of "$ac_prog", so it can be a program name with args.
7847 set dummy $ac_prog; ac_word=$2
7848 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7849 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7850 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
7851 echo $ECHO_N "(cached
) $ECHO_C" >&6
7855 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7865 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
7866 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7876 OCAMLOPT=$ac_cv_path_OCAMLOPT
7877 if test -n "$OCAMLOPT"; then
7878 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
7879 echo "${ECHO_T}$OCAMLOPT" >&6; }
7881 { echo "$as_me:$LINENO: result
: no
" >&5
7882 echo "${ECHO_T}no
" >&6; }
7886 test -n "$OCAMLOPT" && break
7889 for ac_prog in ocamldep
7891 # Extract the first word of "$ac_prog", so it can be a program name with args.
7892 set dummy $ac_prog; ac_word=$2
7893 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7894 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7895 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
7896 echo $ECHO_N "(cached
) $ECHO_C" >&6
7900 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
7903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907 test -z "$as_dir" && as_dir=.
7908 for ac_exec_ext in '' $ac_executable_extensions; do
7909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7910 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
7911 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7921 OCAMLDEP=$ac_cv_path_OCAMLDEP
7922 if test -n "$OCAMLDEP"; then
7923 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
7924 echo "${ECHO_T}$OCAMLDEP" >&6; }
7926 { echo "$as_me:$LINENO: result
: no
" >&5
7927 echo "${ECHO_T}no
" >&6; }
7931 test -n "$OCAMLDEP" && break
7934 for ac_prog in ocamldoc
7936 # Extract the first word of "$ac_prog", so it can be a program name with args.
7937 set dummy $ac_prog; ac_word=$2
7938 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7939 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7940 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
7941 echo $ECHO_N "(cached
) $ECHO_C" >&6
7945 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7955 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
7956 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7966 OCAMLDOC=$ac_cv_path_OCAMLDOC
7967 if test -n "$OCAMLDOC"; then
7968 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
7969 echo "${ECHO_T}$OCAMLDOC" >&6; }
7971 { echo "$as_me:$LINENO: result
: no
" >&5
7972 echo "${ECHO_T}no
" >&6; }
7976 test -n "$OCAMLDOC" && break
7979 for ac_prog in gas as
7981 # Extract the first word of "$ac_prog", so it can be a program name with args.
7982 set dummy $ac_prog; ac_word=$2
7983 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7984 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7985 if test "${ac_cv_path_GAS+set}" = set; then
7986 echo $ECHO_N "(cached
) $ECHO_C" >&6
7990 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8000 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
8001 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8012 if test -n "$GAS"; then
8013 { echo "$as_me:$LINENO: result
: $GAS" >&5
8014 echo "${ECHO_T}$GAS" >&6; }
8016 { echo "$as_me:$LINENO: result
: no
" >&5
8017 echo "${ECHO_T}no
" >&6; }
8021 test -n "$GAS" && break
8025 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
8026 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
8027 if test "${llvm_cv_link_use_r+set}" = set; then
8028 echo $ECHO_N "(cached
) $ECHO_C" >&6
8031 ac_cpp='$CPP $CPPFLAGS'
8032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8037 CFLAGS="$CFLAGS -Wl,-R.
"
8038 cat >conftest.$ac_ext <<_ACEOF
8041 cat confdefs.h >>conftest.$ac_ext
8042 cat >>conftest.$ac_ext <<_ACEOF
8043 /* end confdefs.h. */
8048 int main() { return 0; }
8053 rm -f conftest.$ac_objext conftest$ac_exeext
8054 if { (ac_try="$ac_link"
8056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8057 *) ac_try_echo=$ac_try;;
8059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8060 (eval "$ac_link") 2>conftest.er1
8062 grep -v '^ *+' conftest.er1 >conftest.err
8064 cat conftest.err >&5
8065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8066 (exit $ac_status); } &&
8067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8068 { (case "(($ac_try" in
8069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8070 *) ac_try_echo=$ac_try;;
8072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8073 (eval "$ac_try") 2>&5
8075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8076 (exit $ac_status); }; } &&
8077 { ac_try='test -s conftest$ac_exeext'
8078 { (case "(($ac_try" in
8079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8080 *) ac_try_echo=$ac_try;;
8082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8083 (eval "$ac_try") 2>&5
8085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8086 (exit $ac_status); }; }; then
8087 llvm_cv_link_use_r=yes
8089 echo "$as_me: failed program was
:" >&5
8090 sed 's/^/| /' conftest.$ac_ext >&5
8092 llvm_cv_link_use_r=no
8095 rm -f core conftest.err conftest.$ac_objext \
8096 conftest$ac_exeext conftest.$ac_ext
8099 ac_cpp='$CPP $CPPFLAGS'
8100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8106 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
8107 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8108 if test "$llvm_cv_link_use_r" = yes ; then
8110 cat >>confdefs.h <<\_ACEOF
8111 #define HAVE_LINK_R 1
8117 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-export-dynamic option
" >&5
8118 echo $ECHO_N "checking
for compiler
-Wl,-export-dynamic option...
$ECHO_C" >&6; }
8119 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
8120 echo $ECHO_N "(cached
) $ECHO_C" >&6
8123 ac_cpp='$CPP $CPPFLAGS'
8124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8129 CFLAGS="$CFLAGS -Wl,-export-dynamic"
8130 cat >conftest.$ac_ext <<_ACEOF
8133 cat confdefs.h >>conftest.$ac_ext
8134 cat >>conftest.$ac_ext <<_ACEOF
8135 /* end confdefs.h. */
8140 int main() { return 0; }
8145 rm -f conftest.$ac_objext conftest$ac_exeext
8146 if { (ac_try="$ac_link"
8148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8149 *) ac_try_echo=$ac_try;;
8151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8152 (eval "$ac_link") 2>conftest.er1
8154 grep -v '^ *+' conftest.er1 >conftest.err
8156 cat conftest.err >&5
8157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8158 (exit $ac_status); } &&
8159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8160 { (case "(($ac_try" in
8161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8162 *) ac_try_echo=$ac_try;;
8164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8165 (eval "$ac_try") 2>&5
8167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8168 (exit $ac_status); }; } &&
8169 { ac_try='test -s conftest$ac_exeext'
8170 { (case "(($ac_try" in
8171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8172 *) ac_try_echo=$ac_try;;
8174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8175 (eval "$ac_try") 2>&5
8177 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8178 (exit $ac_status); }; }; then
8179 llvm_cv_link_use_export_dynamic=yes
8181 echo "$as_me: failed program was
:" >&5
8182 sed 's/^/| /' conftest.$ac_ext >&5
8184 llvm_cv_link_use_export_dynamic=no
8187 rm -f core conftest.err conftest.$ac_objext \
8188 conftest$ac_exeext conftest.$ac_ext
8191 ac_cpp='$CPP $CPPFLAGS'
8192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8198 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_export_dynamic" >&5
8199 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
8200 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
8202 cat >>confdefs.h <<\_ACEOF
8203 #define HAVE_LINK_EXPORT_DYNAMIC 1
8211 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8212 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8213 if test "${ac_cv_c_const+set}" = set; then
8214 echo $ECHO_N "(cached
) $ECHO_C" >&6
8216 cat >conftest.$ac_ext <<_ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8226 /* FIXME: Include the comments suggested by Paul. */
8228 /* Ultrix mips cc rejects this. */
8229 typedef int charset[2];
8231 /* SunOS 4.1.1 cc rejects this. */
8232 char const *const *ccp;
8234 /* NEC SVR4.0.2 mips cc rejects this. */
8235 struct point {int x, y;};
8236 static struct point const zero = {0,0};
8237 /* AIX XL C 1.02.0.0 rejects this.
8238 It does not let you subtract one const X* pointer from another in
8239 an arm of an if-expression whose if-part is not a constant
8241 const char *g = "string
";
8242 ccp = &g + (g ? g-g : 0);
8243 /* HPUX 7.0 cc rejects these. */
8246 ccp = (char const *const *) p;
8247 { /* SCO 3.2v4 cc rejects this. */
8249 char const *s = 0 ? (char *) 0 : (char const *) 0;
8254 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8256 const int *foo = &x[0];
8259 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8260 typedef const int *iptr;
8264 { /* AIX XL C 1.02.0.0 rejects this saying
8265 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8266 struct s { int j; const int *ap[3]; };
8267 struct s *b; b->j = 5;
8269 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8273 return !x[0] && !zero.x;
8280 rm -f conftest.$ac_objext
8281 if { (ac_try="$ac_compile"
8283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8284 *) ac_try_echo=$ac_try;;
8286 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8287 (eval "$ac_compile") 2>conftest.er1
8289 grep -v '^ *+' conftest.er1 >conftest.err
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8293 (exit $ac_status); } &&
8294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8295 { (case "(($ac_try" in
8296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8297 *) ac_try_echo=$ac_try;;
8299 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8300 (eval "$ac_try") 2>&5
8302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8303 (exit $ac_status); }; } &&
8304 { ac_try='test -s conftest.$ac_objext'
8305 { (case "(($ac_try" in
8306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8307 *) ac_try_echo=$ac_try;;
8309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8310 (eval "$ac_try") 2>&5
8312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8313 (exit $ac_status); }; }; then
8316 echo "$as_me: failed program was
:" >&5
8317 sed 's/^/| /' conftest.$ac_ext >&5
8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8324 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8325 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8326 if test $ac_cv_c_const = no; then
8328 cat >>confdefs.h <<\_ACEOF
8340 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8341 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8342 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8343 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8344 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8345 echo $ECHO_N "(cached
) $ECHO_C" >&6
8347 cat >conftest.$ac_ext <<_ACEOF
8350 cat confdefs.h >>conftest.$ac_ext
8351 cat >>conftest.$ac_ext <<_ACEOF
8352 /* end confdefs.h. */
8353 #include <sys/types.h>
8365 rm -f conftest.$ac_objext
8366 if { (ac_try="$ac_compile"
8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_compile") 2>conftest.er1
8374 grep -v '^ *+' conftest.er1 >conftest.err
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8378 (exit $ac_status); } &&
8379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8380 { (case "(($ac_try" in
8381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382 *) ac_try_echo=$ac_try;;
8384 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8385 (eval "$ac_try") 2>&5
8387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8388 (exit $ac_status); }; } &&
8389 { ac_try='test -s conftest.$ac_objext'
8390 { (case "(($ac_try" in
8391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8392 *) ac_try_echo=$ac_try;;
8394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8395 (eval "$ac_try") 2>&5
8397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8398 (exit $ac_status); }; }; then
8399 eval "$as_ac_Header=yes"
8401 echo "$as_me: failed program was
:" >&5
8402 sed 's/^/| /' conftest.$ac_ext >&5
8404 eval "$as_ac_Header=no
"
8407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8409 ac_res=`eval echo '${'$as_ac_Header'}'`
8410 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8411 echo "${ECHO_T}$ac_res" >&6; }
8412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8413 cat >>confdefs.h <<_ACEOF
8414 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8417 ac_header_dirent=$ac_hdr; break
8421 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8422 if test $ac_header_dirent = dirent.h; then
8423 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8424 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8425 if test "${ac_cv_search_opendir+set}" = set; then
8426 echo $ECHO_N "(cached
) $ECHO_C" >&6
8428 ac_func_search_save_LIBS=$LIBS
8429 cat >conftest.$ac_ext <<_ACEOF
8432 cat confdefs.h >>conftest.$ac_ext
8433 cat >>conftest.$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8436 /* Override any GCC internal prototype to avoid an error.
8437 Use char because int might match the return type of a GCC
8438 builtin and then its argument prototype would still apply. */
8451 for ac_lib in '' dir; do
8452 if test -z "$ac_lib"; then
8453 ac_res="none required
"
8456 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8458 rm -f conftest.$ac_objext conftest$ac_exeext
8459 if { (ac_try="$ac_link"
8461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8462 *) ac_try_echo=$ac_try;;
8464 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8465 (eval "$ac_link") 2>conftest.er1
8467 grep -v '^ *+' conftest.er1 >conftest.err
8469 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8471 (exit $ac_status); } &&
8472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8473 { (case "(($ac_try" in
8474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8475 *) ac_try_echo=$ac_try;;
8477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8478 (eval "$ac_try") 2>&5
8480 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8481 (exit $ac_status); }; } &&
8482 { ac_try='test -s conftest$ac_exeext'
8483 { (case "(($ac_try" in
8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485 *) ac_try_echo=$ac_try;;
8487 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8488 (eval "$ac_try") 2>&5
8490 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8491 (exit $ac_status); }; }; then
8492 ac_cv_search_opendir=$ac_res
8494 echo "$as_me: failed program was
:" >&5
8495 sed 's/^/| /' conftest.$ac_ext >&5
8500 rm -f core conftest.err conftest.$ac_objext \
8502 if test "${ac_cv_search_opendir+set}" = set; then
8506 if test "${ac_cv_search_opendir+set}" = set; then
8509 ac_cv_search_opendir=no
8512 LIBS=$ac_func_search_save_LIBS
8514 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8515 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8516 ac_res=$ac_cv_search_opendir
8517 if test "$ac_res" != no; then
8518 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8523 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8524 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8525 if test "${ac_cv_search_opendir+set}" = set; then
8526 echo $ECHO_N "(cached
) $ECHO_C" >&6
8528 ac_func_search_save_LIBS=$LIBS
8529 cat >conftest.$ac_ext <<_ACEOF
8532 cat confdefs.h >>conftest.$ac_ext
8533 cat >>conftest.$ac_ext <<_ACEOF
8534 /* end confdefs.h. */
8536 /* Override any GCC internal prototype to avoid an error.
8537 Use char because int might match the return type of a GCC
8538 builtin and then its argument prototype would still apply. */
8551 for ac_lib in '' x; do
8552 if test -z "$ac_lib"; then
8553 ac_res="none required
"
8556 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8558 rm -f conftest.$ac_objext conftest$ac_exeext
8559 if { (ac_try="$ac_link"
8561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8562 *) ac_try_echo=$ac_try;;
8564 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8565 (eval "$ac_link") 2>conftest.er1
8567 grep -v '^ *+' conftest.er1 >conftest.err
8569 cat conftest.err >&5
8570 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8571 (exit $ac_status); } &&
8572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8573 { (case "(($ac_try" in
8574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8575 *) ac_try_echo=$ac_try;;
8577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8578 (eval "$ac_try") 2>&5
8580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8581 (exit $ac_status); }; } &&
8582 { ac_try='test -s conftest$ac_exeext'
8583 { (case "(($ac_try" in
8584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8585 *) ac_try_echo=$ac_try;;
8587 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8588 (eval "$ac_try") 2>&5
8590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8591 (exit $ac_status); }; }; then
8592 ac_cv_search_opendir=$ac_res
8594 echo "$as_me: failed program was
:" >&5
8595 sed 's/^/| /' conftest.$ac_ext >&5
8600 rm -f core conftest.err conftest.$ac_objext \
8602 if test "${ac_cv_search_opendir+set}" = set; then
8606 if test "${ac_cv_search_opendir+set}" = set; then
8609 ac_cv_search_opendir=no
8612 LIBS=$ac_func_search_save_LIBS
8614 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8615 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8616 ac_res=$ac_cv_search_opendir
8617 if test "$ac_res" != no; then
8618 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8625 for ac_header in dlfcn.h
8627 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8628 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8629 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8630 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8631 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8632 echo $ECHO_N "(cached
) $ECHO_C" >&6
8634 ac_res=`eval echo '${'$as_ac_Header'}'`
8635 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8636 echo "${ECHO_T}$ac_res" >&6; }
8638 # Is the header compilable?
8639 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8640 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8641 cat >conftest.$ac_ext <<_ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8647 $ac_includes_default
8648 #include <$ac_header>
8650 rm -f conftest.$ac_objext
8651 if { (ac_try="$ac_compile"
8653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8654 *) ac_try_echo=$ac_try;;
8656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8657 (eval "$ac_compile") 2>conftest.er1
8659 grep -v '^ *+' conftest.er1 >conftest.err
8661 cat conftest.err >&5
8662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8663 (exit $ac_status); } &&
8664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8665 { (case "(($ac_try" in
8666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8667 *) ac_try_echo=$ac_try;;
8669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8670 (eval "$ac_try") 2>&5
8672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8673 (exit $ac_status); }; } &&
8674 { ac_try='test -s conftest.$ac_objext'
8675 { (case "(($ac_try" in
8676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8677 *) ac_try_echo=$ac_try;;
8679 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8680 (eval "$ac_try") 2>&5
8682 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8683 (exit $ac_status); }; }; then
8684 ac_header_compiler=yes
8686 echo "$as_me: failed program was
:" >&5
8687 sed 's/^/| /' conftest.$ac_ext >&5
8689 ac_header_compiler=no
8692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8693 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8694 echo "${ECHO_T}$ac_header_compiler" >&6; }
8696 # Is the header present?
8697 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8698 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8699 cat >conftest.$ac_ext <<_ACEOF
8702 cat confdefs.h >>conftest.$ac_ext
8703 cat >>conftest.$ac_ext <<_ACEOF
8704 /* end confdefs.h. */
8705 #include <$ac_header>
8707 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8710 *) ac_try_echo=$ac_try;;
8712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8713 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8715 grep -v '^ *+' conftest.er1 >conftest.err
8717 cat conftest.err >&5
8718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8719 (exit $ac_status); } >/dev/null; then
8720 if test -s conftest.err; then
8721 ac_cpp_err=$ac_c_preproc_warn_flag
8722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8729 if test -z "$ac_cpp_err"; then
8730 ac_header_preproc=yes
8732 echo "$as_me: failed program was
:" >&5
8733 sed 's/^/| /' conftest.$ac_ext >&5
8735 ac_header_preproc=no
8738 rm -f conftest.err conftest.$ac_ext
8739 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8740 echo "${ECHO_T}$ac_header_preproc" >&6; }
8742 # So? What about this header?
8743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8745 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8746 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8747 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8749 ac_header_preproc=yes
8752 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8753 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8754 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8755 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8756 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8757 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8758 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8759 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8760 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8762 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8763 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8765 ## ----------------------------------- ##
8766 ## Report this to llvmbugs@cs.uiuc.edu ##
8767 ## ----------------------------------- ##
8769 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8772 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8773 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8774 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8775 echo $ECHO_N "(cached
) $ECHO_C" >&6
8777 eval "$as_ac_Header=\
$ac_header_preproc"
8779 ac_res=`eval echo '${'$as_ac_Header'}'`
8780 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8781 echo "${ECHO_T}$ac_res" >&6; }
8784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8785 cat >>confdefs.h <<_ACEOF
8786 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8793 # Check whether --enable-ltdl-install was given.
8794 if test "${enable_ltdl_install+set}" = set; then
8795 enableval=$enable_ltdl_install;
8801 if test x"${enable_ltdl_install-no}" != xno; then
8803 INSTALL_LTDL_FALSE='#'
8805 INSTALL_LTDL_TRUE='#'
8811 if test x"${enable_ltdl_convenience-no}" != xno; then
8812 CONVENIENCE_LTDL_TRUE=
8813 CONVENIENCE_LTDL_FALSE='#'
8815 CONVENIENCE_LTDL_TRUE='#'
8816 CONVENIENCE_LTDL_FALSE=
8820 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8821 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8823 libname_spec='lib$name'
8831 shlibpath_overrides_runpath=unknown
8833 dynamic_linker="$host_os ld.so
"
8834 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8835 if test "$GCC" = yes; then
8836 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8837 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8838 # if the path contains ";" then we assume it to be the separator
8839 # otherwise default to the standard path separator (i.e. ":") - it is
8840 # assumed that no part of a normal pathname contains ";" but that should
8841 # okay in the real world where ";" in dirpaths is itself problematic.
8842 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8844 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8847 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8849 need_lib_prefix=unknown
8850 hardcode_into_libs=no
8852 # when you set need_version to no, make sure it does not cause -set_version
8853 # flags to be left without arguments
8854 need_version=unknown
8859 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8860 shlibpath_var=LIBPATH
8862 # AIX 3 has no versioning support, so we append a major version to the name.
8863 soname_spec='${libname}${release}${shared_ext}$major'
8870 hardcode_into_libs=yes
8871 if test "$host_cpu" = ia64; then
8872 # AIX 5 supports IA64
8873 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8874 shlibpath_var=LD_LIBRARY_PATH
8876 # With GCC up to 2.95.x, collect2 would create an import file
8877 # for dependence libraries. The import file would start with
8878 # the line `#! .'. This would cause the generated library to
8879 # depend on `.', always an invalid library. This was fixed in
8880 # development snapshots of GCC prior to 3.0.
8882 aix4 | aix4.[01] | aix4.[01].*)
8883 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8885 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8892 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8893 # soname into executable. Probably we can add versioning support to
8894 # collect2, so additional links can be useful in future.
8895 if test "$aix_use_runtimelinking" = yes; then
8896 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8897 # instead of lib<name>.a to let people know that these are not
8898 # typical AIX shared libraries.
8899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8901 # We preserve .a as extension for shared libraries through AIX4.2
8902 # and later when we are not doing run time linking.
8903 library_names_spec='${libname}${release}.a $libname.a'
8904 soname_spec='${libname}${release}${shared_ext}$major'
8906 shlibpath_var=LIBPATH
8911 library_names_spec='$libname.ixlibrary $libname.a'
8912 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8913 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'
8917 library_names_spec='${libname}${shared_ext}'
8918 dynamic_linker="$host_os ld.so
"
8919 shlibpath_var=LIBRARY_PATH
8925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8926 soname_spec='${libname}${release}${shared_ext}$major'
8927 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8928 shlibpath_var=LD_LIBRARY_PATH
8929 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8930 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8931 # the default ld.so.conf also contains /usr/contrib/lib and
8932 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8933 # libtool to hard-code these into programs
8936 cygwin* | mingw* | pw32*)
8937 version_type=windows
8942 case $GCC,$host_os in
8943 yes,cygwin* | yes,mingw* | yes,pw32*)
8944 library_names_spec='$libname.dll.a'
8945 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8946 postinstall_cmds='base_file=`basename \${file}`~
8947 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8948 dldir=$destdir/`dirname \$dlpath`~
8949 test -d \$dldir || mkdir -p \$dldir~
8950 $install_prog $dir/$dlname \$dldir/$dlname~
8951 chmod a+x \$dldir/$dlname'
8952 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8953 dlpath=$dir/\$dldll~
8955 shlibpath_overrides_runpath=yes
8959 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8960 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8961 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8964 # MinGW DLLs use traditional 'lib' prefix
8965 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8966 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8967 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8968 # It is most probably a Windows format PATH printed by
8969 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8970 # path with ; separators, and with drive letters. We can handle the
8971 # drive letters (cygwin fileutils understands them), so leave them,
8972 # especially as we might pass files found there to a mingw objdump,
8973 # which wouldn't understand a cygwinified path. Ahh.
8974 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8976 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8980 # pw32 DLLs use 'pw' prefix rather than 'lib'
8981 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8987 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8990 dynamic_linker='Win32 ld.exe'
8991 # FIXME: first we should search . and the directory the executable is in
8995 darwin* | rhapsody*)
8996 dynamic_linker="$host_os dyld
"
9000 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9001 soname_spec='${libname}${release}${major}$shared_ext'
9002 shlibpath_overrides_runpath=yes
9003 shlibpath_var=DYLD_LIBRARY_PATH
9004 shrext_cmds='.dylib'
9005 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9006 if test "$GCC" = yes; then
9007 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
"`
9009 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9011 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9019 soname_spec='${libname}${release}${shared_ext}$major'
9020 shlibpath_var=LD_LIBRARY_PATH
9031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9032 soname_spec='${libname}${release}${shared_ext}$major'
9033 shlibpath_var=LD_LIBRARY_PATH
9034 shlibpath_overrides_runpath=no
9035 hardcode_into_libs=yes
9036 dynamic_linker='GNU ld.so'
9039 freebsd* | dragonfly*)
9040 # DragonFly does not have aout. When/if they implement a new
9041 # versioning mechanism, adjust this.
9042 if test -x /usr/bin/objformat; then
9043 objformat=`/usr/bin/objformat`
9046 freebsd[123]*) objformat=aout ;;
9050 version_type=freebsd-$objformat
9051 case $version_type in
9053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9058 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9062 shlibpath_var=LD_LIBRARY_PATH
9065 shlibpath_overrides_runpath=yes
9067 freebsd3.[01]* | freebsdelf3.[01]*)
9068 shlibpath_overrides_runpath=yes
9069 hardcode_into_libs=yes
9071 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9072 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9073 shlibpath_overrides_runpath=no
9074 hardcode_into_libs=yes
9076 freebsd*) # from 4.6 on
9077 shlibpath_overrides_runpath=yes
9078 hardcode_into_libs=yes
9087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9088 soname_spec='${libname}${release}${shared_ext}$major'
9089 shlibpath_var=LD_LIBRARY_PATH
9090 hardcode_into_libs=yes
9093 hpux9* | hpux10* | hpux11*)
9094 # Give a soname corresponding to the major version so that dld.sl refuses to
9095 # link against other versions.
9102 hardcode_into_libs=yes
9103 dynamic_linker="$host_os dld.so
"
9104 shlibpath_var=LD_LIBRARY_PATH
9105 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9107 soname_spec='${libname}${release}${shared_ext}$major'
9108 if test "X
$HPUX_IA64_MODE" = X32; then
9109 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
9111 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
9113 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9117 hardcode_into_libs=yes
9118 dynamic_linker="$host_os dld.sl
"
9119 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9120 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9122 soname_spec='${libname}${release}${shared_ext}$major'
9123 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
9124 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9128 dynamic_linker="$host_os dld.sl
"
9129 shlibpath_var=SHLIB_PATH
9130 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9132 soname_spec='${libname}${release}${shared_ext}$major'
9135 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9136 postinstall_cmds='chmod 555 $lib'
9143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9144 soname_spec='${libname}${release}${shared_ext}$major'
9145 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9146 shlibpath_var=LD_LIBRARY_PATH
9147 shlibpath_overrides_runpath=no
9148 hardcode_into_libs=yes
9151 irix5* | irix6* | nonstopux*)
9153 nonstopux*) version_type=nonstopux ;;
9155 if test "$lt_cv_prog_gnu_ld" = yes; then
9163 soname_spec='${libname}${release}${shared_ext}$major'
9164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9166 irix5* | nonstopux*)
9170 case $LD in # libtool.m4 will add one of these switches to LD
9171 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9172 libsuff= shlibsuff= libmagic=32-bit;;
9173 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9174 libsuff=32 shlibsuff=N32 libmagic=N32;;
9175 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9176 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9177 *) libsuff= shlibsuff= libmagic=never-match;;
9181 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9182 shlibpath_overrides_runpath=no
9183 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9184 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
9185 hardcode_into_libs=yes
9188 # No shared lib support for Linux oldld, aout, or coff.
9189 linux*oldld* | linux*aout* | linux*coff*)
9193 # This must be Linux ELF.
9198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9199 soname_spec='${libname}${release}${shared_ext}$major'
9200 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
9201 shlibpath_var=LD_LIBRARY_PATH
9202 shlibpath_overrides_runpath=no
9203 # This implies no fast_install, which is unacceptable.
9204 # Some rework will be needed to allow for fast_install
9205 # before this can be enabled.
9206 hardcode_into_libs=yes
9208 # Append ld.so.conf contents to the search path
9209 if test -f /etc/ld.so.conf; then
9210 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' ' '`
9211 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9214 # We used to test for /lib/ld.so.1 and disable shared libraries on
9215 # powerpc, because MkLinux only supported shared libraries with the
9216 # GNU dynamic linker. Since this was broken with cross compilers,
9217 # most powerpc-linux boxes support dynamic linking these days and
9218 # people can always --disable-shared, the test was removed, and we
9219 # assume the GNU/Linux dynamic linker is in use.
9220 dynamic_linker='GNU/Linux ld.so'
9227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9228 soname_spec='${libname}${release}${shared_ext}$major'
9229 shlibpath_var=LD_LIBRARY_PATH
9230 shlibpath_overrides_runpath=no
9231 hardcode_into_libs=yes
9232 dynamic_linker='GNU ld.so'
9239 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9241 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9242 dynamic_linker='NetBSD (a.out) ld.so'
9244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9245 soname_spec='${libname}${release}${shared_ext}$major'
9246 dynamic_linker='NetBSD ld.elf_so'
9248 shlibpath_var=LD_LIBRARY_PATH
9249 shlibpath_overrides_runpath=yes
9250 hardcode_into_libs=yes
9255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9256 shlibpath_var=LD_LIBRARY_PATH
9257 shlibpath_overrides_runpath=yes
9264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9265 soname_spec='${libname}${release}${shared_ext}$major'
9266 shlibpath_var=LD_LIBRARY_PATH
9267 shlibpath_overrides_runpath=yes
9272 sys_lib_dlsearch_path_spec="/usr
/lib
"
9274 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9276 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9277 *) need_version=no ;;
9279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9280 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9281 shlibpath_var=LD_LIBRARY_PATH
9282 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9284 openbsd2.[89] | openbsd2.[89].*)
9285 shlibpath_overrides_runpath=no
9288 shlibpath_overrides_runpath=yes
9292 shlibpath_overrides_runpath=yes
9297 libname_spec='$name'
9300 library_names_spec='$libname${shared_ext} $libname.a'
9301 dynamic_linker='OS/2 ld.exe'
9302 shlibpath_var=LIBPATH
9305 osf3* | osf4* | osf5*)
9309 soname_spec='${libname}${release}${shared_ext}$major'
9310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9311 shlibpath_var=LD_LIBRARY_PATH
9312 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9313 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9321 soname_spec='${libname}${release}${shared_ext}$major'
9322 shlibpath_var=LD_LIBRARY_PATH
9323 shlibpath_overrides_runpath=yes
9324 hardcode_into_libs=yes
9325 # ldd complains unless libraries are executable
9326 postinstall_cmds='chmod +x $lib'
9331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9332 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9333 shlibpath_var=LD_LIBRARY_PATH
9334 shlibpath_overrides_runpath=yes
9335 if test "$with_gnu_ld" = yes; then
9343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9344 soname_spec='${libname}${release}${shared_ext}$major'
9345 shlibpath_var=LD_LIBRARY_PATH
9346 case $host_vendor in
9348 shlibpath_overrides_runpath=no
9350 export_dynamic_flag_spec='${wl}-Blargedynsym'
9351 runpath_var=LD_RUN_PATH
9359 shlibpath_overrides_runpath=no
9360 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9366 if test -d /usr/nec ;then
9368 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9369 soname_spec='$libname${shared_ext}.$major'
9370 shlibpath_var=LD_LIBRARY_PATH
9374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9375 version_type=freebsd-elf
9378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9379 soname_spec='${libname}${release}${shared_ext}$major'
9380 shlibpath_var=LD_LIBRARY_PATH
9381 hardcode_into_libs=yes
9382 if test "$with_gnu_ld" = yes; then
9383 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9384 shlibpath_overrides_runpath=no
9386 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9387 shlibpath_overrides_runpath=yes
9390 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9394 sys_lib_dlsearch_path_spec='/usr/lib'
9399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9400 soname_spec='${libname}${release}${shared_ext}$major'
9401 shlibpath_var=LD_LIBRARY_PATH
9408 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9409 echo "${ECHO_T}$dynamic_linker" >&6; }
9410 test "$dynamic_linker" = no && can_build_shared=no
9412 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9413 if test "$GCC" = yes; then
9414 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9418 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9419 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9420 if test "${libltdl_cv_shlibext+set}" = set; then
9421 echo $ECHO_N "(cached
) $ECHO_C" >&6
9425 eval libltdl_cv_shlibext=$shrext_cmds
9428 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9429 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9430 if test -n "$libltdl_cv_shlibext"; then
9432 cat >>confdefs.h <<_ACEOF
9433 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9439 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9440 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9441 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9442 echo $ECHO_N "(cached
) $ECHO_C" >&6
9444 libltdl_cv_shlibpath_var="$shlibpath_var"
9446 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9447 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9448 if test -n "$libltdl_cv_shlibpath_var"; then
9450 cat >>confdefs.h <<_ACEOF
9451 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9457 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9458 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9459 if test "${libltdl_cv_sys_search_path+set}" = set; then
9460 echo $ECHO_N "(cached
) $ECHO_C" >&6
9462 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9464 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9465 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9466 if test -n "$libltdl_cv_sys_search_path"; then
9468 for dir in $libltdl_cv_sys_search_path; do
9469 if test -z "$sys_search_path"; then
9470 sys_search_path="$dir"
9472 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9476 cat >>confdefs.h <<_ACEOF
9477 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9482 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9483 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9484 if test "${libltdl_cv_objdir+set}" = set; then
9485 echo $ECHO_N "(cached
) $ECHO_C" >&6
9487 libltdl_cv_objdir="$objdir"
9488 if test -n "$objdir"; then
9491 rm -f .libs 2>/dev/null
9492 mkdir .libs 2>/dev/null
9493 if test -d .libs; then
9494 libltdl_cv_objdir=.libs
9496 # MS-DOS does not allow filenames that begin with a dot.
9497 libltdl_cv_objdir=_libs
9499 rmdir .libs 2>/dev/null
9503 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9504 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9506 cat >>confdefs.h <<_ACEOF
9507 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9515 # Check for command to grab the raw symbol name followed by C symbol from nm.
9516 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9517 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9518 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9519 echo $ECHO_N "(cached
) $ECHO_C" >&6
9522 # These are sane defaults that work on at least a few old systems.
9523 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9525 # Character class describing NM global symbol codes.
9526 symcode='[BCDEGRST]'
9528 # Regexp to match symbols that can be accessed directly from C.
9529 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9531 # Transform an extracted symbol line into a proper C declaration
9532 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9534 # Transform an extracted symbol line into symbol name and symbol address
9535 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'"
9537 # Define system-specific variables.
9542 cygwin* | mingw* | pw32*)
9543 symcode='[ABCDGISTW]'
9545 hpux*) # Its linker distinguishes data from code symbols
9546 if test "$host_cpu" = ia64; then
9547 symcode='[ABCDEGRST]'
9549 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9550 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'"
9553 if test "$host_cpu" = ia64; then
9554 symcode='[ABCDGIRSTW]'
9555 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9556 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'"
9560 symcode='[BCDEGRST]'
9563 symcode='[BCDEGQRST]'
9574 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9582 # Handle CRLF in mingw tool chain
9586 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9590 # If we're using GNU nm, then use its standard symbol codes.
9591 case `$NM -V 2>&1` in
9592 *GNU* | *'with BFD'*)
9593 symcode='[ABCDGIRSTW]' ;;
9596 # Try without a prefix undercore, then with it.
9597 for ac_symprfx in "" "_
"; do
9599 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9600 symxfrm="\\1 $ac_symprfx\\2 \\2"
9602 # Write the raw and C identifiers.
9603 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9605 # Check to see that the pipe works correctly.
9609 cat > conftest.$ac_ext <<EOF
9614 void nm_test_func(){}
9618 int main(){nm_test_var='a';nm_test_func();return(0);}
9621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9622 (eval $ac_compile) 2>&5
9624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9625 (exit $ac_status); }; then
9626 # Now try to grab the symbols.
9628 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9629 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9631 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9632 (exit $ac_status); } && test -s "$nlist"; then
9633 # Try sorting and uniquifying the output.
9634 if sort "$nlist" | uniq > "$nlist"T; then
9635 mv -f "$nlist"T "$nlist"
9640 # Make sure that we snagged all the symbols we need.
9641 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9642 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9643 cat <<EOF > conftest.$ac_ext
9649 # Now generate the symbol file.
9650 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9652 cat <<EOF >> conftest.$ac_ext
9653 #if defined (__STDC__) && __STDC__
9654 # define lt_ptr_t void *
9656 # define lt_ptr_t char *
9660 /* The mapping between symbol names and symbols. */
9665 lt_preloaded_symbols[] =
9668 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9669 cat <<\EOF >> conftest.$ac_ext
9677 # Now try linking the two files.
9678 mv conftest.$ac_objext conftstm.$ac_objext
9679 lt_save_LIBS="$LIBS"
9680 lt_save_CFLAGS="$CFLAGS"
9681 LIBS="conftstm.
$ac_objext"
9682 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9684 (eval $ac_link) 2>&5
9686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9687 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9690 LIBS="$lt_save_LIBS"
9691 CFLAGS="$lt_save_CFLAGS"
9693 echo "cannot
find nm_test_func
in $nlist" >&5
9696 echo "cannot
find nm_test_var
in $nlist" >&5
9699 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9702 echo "$progname: failed program was
:" >&5
9703 cat conftest.$ac_ext >&5
9705 rm -f conftest* conftst*
9707 # Do not use the global_symbol_pipe unless it works.
9708 if test "$pipe_works" = yes; then
9711 lt_cv_sys_global_symbol_pipe=
9717 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9718 lt_cv_sys_global_symbol_to_cdecl=
9720 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9721 { echo "$as_me:$LINENO: result
: failed
" >&5
9722 echo "${ECHO_T}failed
" >&6; }
9724 { echo "$as_me:$LINENO: result
: ok
" >&5
9725 echo "${ECHO_T}ok
" >&6; }
9729 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9730 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9731 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9732 echo $ECHO_N "(cached
) $ECHO_C" >&6
9734 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9735 libltdl_cv_preloaded_symbols=yes
9737 libltdl_cv_preloaded_symbols=no
9741 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9742 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9743 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9745 cat >>confdefs.h <<\_ACEOF
9746 #define HAVE_PRELOADED_SYMBOLS 1
9754 ac_cpp='$CPP $CPPFLAGS'
9755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9760 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9761 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9762 if test "${ac_cv_func_shl_load+set}" = set; then
9763 echo $ECHO_N "(cached
) $ECHO_C" >&6
9765 cat >conftest.$ac_ext <<_ACEOF
9768 cat confdefs.h >>conftest.$ac_ext
9769 cat >>conftest.$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9771 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9773 #define shl_load innocuous_shl_load
9775 /* System header to define __stub macros and hopefully few prototypes,
9776 which can conflict with char shl_load (); below.
9777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9778 <limits.h> exists even on freestanding compilers. */
9781 # include <limits.h>
9783 # include <assert.h>
9788 /* Override any GCC internal prototype to avoid an error.
9789 Use char because int might match the return type of a GCC
9790 builtin and then its argument prototype would still apply. */
9795 /* The GNU C library defines this for functions which it implements
9796 to always fail with ENOSYS. Some functions are actually named
9797 something starting with __ and the normal name is an alias. */
9798 #if defined __stub_shl_load || defined __stub___shl_load
9810 rm -f conftest.$ac_objext conftest$ac_exeext
9811 if { (ac_try="$ac_link"
9813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9814 *) ac_try_echo=$ac_try;;
9816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9817 (eval "$ac_link") 2>conftest.er1
9819 grep -v '^ *+' conftest.er1 >conftest.err
9821 cat conftest.err >&5
9822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9823 (exit $ac_status); } &&
9824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9825 { (case "(($ac_try" in
9826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9827 *) ac_try_echo=$ac_try;;
9829 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9830 (eval "$ac_try") 2>&5
9832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9833 (exit $ac_status); }; } &&
9834 { ac_try='test -s conftest$ac_exeext'
9835 { (case "(($ac_try" in
9836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837 *) ac_try_echo=$ac_try;;
9839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9840 (eval "$ac_try") 2>&5
9842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9843 (exit $ac_status); }; }; then
9844 ac_cv_func_shl_load=yes
9846 echo "$as_me: failed program was
:" >&5
9847 sed 's/^/| /' conftest.$ac_ext >&5
9849 ac_cv_func_shl_load=no
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9855 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9856 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9857 if test $ac_cv_func_shl_load = yes; then
9859 cat >>confdefs.h <<\_ACEOF
9860 #define HAVE_SHL_LOAD 1
9864 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9865 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9866 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9867 echo $ECHO_N "(cached
) $ECHO_C" >&6
9869 ac_check_lib_save_LIBS=$LIBS
9871 cat >conftest.$ac_ext <<_ACEOF
9874 cat confdefs.h >>conftest.$ac_ext
9875 cat >>conftest.$ac_ext <<_ACEOF
9876 /* end confdefs.h. */
9878 /* Override any GCC internal prototype to avoid an error.
9879 Use char because int might match the return type of a GCC
9880 builtin and then its argument prototype would still apply. */
9893 rm -f conftest.$ac_objext conftest$ac_exeext
9894 if { (ac_try="$ac_link"
9896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9897 *) ac_try_echo=$ac_try;;
9899 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9900 (eval "$ac_link") 2>conftest.er1
9902 grep -v '^ *+' conftest.er1 >conftest.err
9904 cat conftest.err >&5
9905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9906 (exit $ac_status); } &&
9907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9908 { (case "(($ac_try" in
9909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9910 *) ac_try_echo=$ac_try;;
9912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9913 (eval "$ac_try") 2>&5
9915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9916 (exit $ac_status); }; } &&
9917 { ac_try='test -s conftest$ac_exeext'
9918 { (case "(($ac_try" in
9919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9920 *) ac_try_echo=$ac_try;;
9922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9923 (eval "$ac_try") 2>&5
9925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9926 (exit $ac_status); }; }; then
9927 ac_cv_lib_dld_shl_load=yes
9929 echo "$as_me: failed program was
:" >&5
9930 sed 's/^/| /' conftest.$ac_ext >&5
9932 ac_cv_lib_dld_shl_load=no
9935 rm -f core conftest.err conftest.$ac_objext \
9936 conftest$ac_exeext conftest.$ac_ext
9937 LIBS=$ac_check_lib_save_LIBS
9939 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9940 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9941 if test $ac_cv_lib_dld_shl_load = yes; then
9943 cat >>confdefs.h <<\_ACEOF
9944 #define HAVE_SHL_LOAD 1
9947 LIBADD_DL="$LIBADD_DL -ldld"
9949 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9950 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9951 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9952 echo $ECHO_N "(cached
) $ECHO_C" >&6
9954 ac_check_lib_save_LIBS=$LIBS
9956 cat >conftest.$ac_ext <<_ACEOF
9959 cat confdefs.h >>conftest.$ac_ext
9960 cat >>conftest.$ac_ext <<_ACEOF
9961 /* end confdefs.h. */
9963 /* Override any GCC internal prototype to avoid an error.
9964 Use char because int might match the return type of a GCC
9965 builtin and then its argument prototype would still apply. */
9978 rm -f conftest.$ac_objext conftest$ac_exeext
9979 if { (ac_try="$ac_link"
9981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9982 *) ac_try_echo=$ac_try;;
9984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9985 (eval "$ac_link") 2>conftest.er1
9987 grep -v '^ *+' conftest.er1 >conftest.err
9989 cat conftest.err >&5
9990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9991 (exit $ac_status); } &&
9992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9993 { (case "(($ac_try" in
9994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9995 *) ac_try_echo=$ac_try;;
9997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9998 (eval "$ac_try") 2>&5
10000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10001 (exit $ac_status); }; } &&
10002 { ac_try='test -s conftest$ac_exeext'
10003 { (case "(($ac_try" in
10004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10005 *) ac_try_echo=$ac_try;;
10007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10008 (eval "$ac_try") 2>&5
10010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10011 (exit $ac_status); }; }; then
10012 ac_cv_lib_dl_dlopen=yes
10014 echo "$as_me: failed program was
:" >&5
10015 sed 's/^/| /' conftest.$ac_ext >&5
10017 ac_cv_lib_dl_dlopen=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 LIBS=$ac_check_lib_save_LIBS
10024 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
10025 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10026 if test $ac_cv_lib_dl_dlopen = yes; then
10028 cat >>confdefs.h <<\_ACEOF
10029 #define HAVE_LIBDL 1
10032 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
10034 cat >conftest.$ac_ext <<_ACEOF
10037 cat confdefs.h >>conftest.$ac_ext
10038 cat >>conftest.$ac_ext <<_ACEOF
10039 /* end confdefs.h. */
10041 # include <dlfcn.h>
10052 rm -f conftest.$ac_objext conftest$ac_exeext
10053 if { (ac_try="$ac_link"
10054 case "(($ac_try" in
10055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10056 *) ac_try_echo=$ac_try;;
10058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10059 (eval "$ac_link") 2>conftest.er1
10061 grep -v '^ *+' conftest.er1 >conftest.err
10063 cat conftest.err >&5
10064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10065 (exit $ac_status); } &&
10066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10067 { (case "(($ac_try" in
10068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10069 *) ac_try_echo=$ac_try;;
10071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10072 (eval "$ac_try") 2>&5
10074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10075 (exit $ac_status); }; } &&
10076 { ac_try='test -s conftest$ac_exeext'
10077 { (case "(($ac_try" in
10078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10079 *) ac_try_echo=$ac_try;;
10081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10082 (eval "$ac_try") 2>&5
10084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10085 (exit $ac_status); }; }; then
10087 cat >>confdefs.h <<\_ACEOF
10088 #define HAVE_LIBDL 1
10090 libltdl_cv_func_dlopen="yes"
10092 echo "$as_me: failed program was
:" >&5
10093 sed 's/^/| /' conftest.$ac_ext >&5
10095 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
10096 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
10097 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10098 echo $ECHO_N "(cached
) $ECHO_C" >&6
10100 ac_check_lib_save_LIBS=$LIBS
10101 LIBS="-lsvld $LIBS"
10102 cat >conftest.$ac_ext <<_ACEOF
10105 cat confdefs.h >>conftest.$ac_ext
10106 cat >>conftest.$ac_ext <<_ACEOF
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10124 rm -f conftest.$ac_objext conftest$ac_exeext
10125 if { (ac_try="$ac_link"
10126 case "(($ac_try" in
10127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10128 *) ac_try_echo=$ac_try;;
10130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10131 (eval "$ac_link") 2>conftest.er1
10133 grep -v '^ *+' conftest.er1 >conftest.err
10135 cat conftest.err >&5
10136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10137 (exit $ac_status); } &&
10138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10139 { (case "(($ac_try" in
10140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10141 *) ac_try_echo=$ac_try;;
10143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10144 (eval "$ac_try") 2>&5
10146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10147 (exit $ac_status); }; } &&
10148 { ac_try='test -s conftest$ac_exeext'
10149 { (case "(($ac_try" in
10150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10151 *) ac_try_echo=$ac_try;;
10153 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10154 (eval "$ac_try") 2>&5
10156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10157 (exit $ac_status); }; }; then
10158 ac_cv_lib_svld_dlopen=yes
10160 echo "$as_me: failed program was
:" >&5
10161 sed 's/^/| /' conftest.$ac_ext >&5
10163 ac_cv_lib_svld_dlopen=no
10166 rm -f core conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168 LIBS=$ac_check_lib_save_LIBS
10170 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
10171 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10172 if test $ac_cv_lib_svld_dlopen = yes; then
10174 cat >>confdefs.h <<\_ACEOF
10175 #define HAVE_LIBDL 1
10178 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10180 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
10181 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
10182 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10183 echo $ECHO_N "(cached
) $ECHO_C" >&6
10185 ac_check_lib_save_LIBS=$LIBS
10187 cat >conftest.$ac_ext <<_ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10204 return dld_link ();
10209 rm -f conftest.$ac_objext conftest$ac_exeext
10210 if { (ac_try="$ac_link"
10211 case "(($ac_try" in
10212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10213 *) ac_try_echo=$ac_try;;
10215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10216 (eval "$ac_link") 2>conftest.er1
10218 grep -v '^ *+' conftest.er1 >conftest.err
10220 cat conftest.err >&5
10221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10222 (exit $ac_status); } &&
10223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10224 { (case "(($ac_try" in
10225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10226 *) ac_try_echo=$ac_try;;
10228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10229 (eval "$ac_try") 2>&5
10231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10232 (exit $ac_status); }; } &&
10233 { ac_try='test -s conftest$ac_exeext'
10234 { (case "(($ac_try" in
10235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10236 *) ac_try_echo=$ac_try;;
10238 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10239 (eval "$ac_try") 2>&5
10241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10242 (exit $ac_status); }; }; then
10243 ac_cv_lib_dld_dld_link=yes
10245 echo "$as_me: failed program was
:" >&5
10246 sed 's/^/| /' conftest.$ac_ext >&5
10248 ac_cv_lib_dld_dld_link=no
10251 rm -f core conftest.err conftest.$ac_objext \
10252 conftest$ac_exeext conftest.$ac_ext
10253 LIBS=$ac_check_lib_save_LIBS
10255 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10256 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10257 if test $ac_cv_lib_dld_dld_link = yes; then
10259 cat >>confdefs.h <<\_ACEOF
10263 LIBADD_DL="$LIBADD_DL -ldld"
10265 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10266 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10267 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10268 echo $ECHO_N "(cached
) $ECHO_C" >&6
10270 cat >conftest.$ac_ext <<_ACEOF
10273 cat confdefs.h >>conftest.$ac_ext
10274 cat >>conftest.$ac_ext <<_ACEOF
10275 /* end confdefs.h. */
10276 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10278 #define _dyld_func_lookup innocuous__dyld_func_lookup
10280 /* System header to define __stub macros and hopefully few prototypes,
10281 which can conflict with char _dyld_func_lookup (); below.
10282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10283 <limits.h> exists even on freestanding compilers. */
10286 # include <limits.h>
10288 # include <assert.h>
10291 #undef _dyld_func_lookup
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10299 char _dyld_func_lookup ();
10300 /* The GNU C library defines this for functions which it implements
10301 to always fail with ENOSYS. Some functions are actually named
10302 something starting with __ and the normal name is an alias. */
10303 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10310 return _dyld_func_lookup ();
10315 rm -f conftest.$ac_objext conftest$ac_exeext
10316 if { (ac_try="$ac_link"
10317 case "(($ac_try" in
10318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10319 *) ac_try_echo=$ac_try;;
10321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10322 (eval "$ac_link") 2>conftest.er1
10324 grep -v '^ *+' conftest.er1 >conftest.err
10326 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10328 (exit $ac_status); } &&
10329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10330 { (case "(($ac_try" in
10331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10332 *) ac_try_echo=$ac_try;;
10334 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10335 (eval "$ac_try") 2>&5
10337 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10338 (exit $ac_status); }; } &&
10339 { ac_try='test -s conftest$ac_exeext'
10340 { (case "(($ac_try" in
10341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10342 *) ac_try_echo=$ac_try;;
10344 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10345 (eval "$ac_try") 2>&5
10347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10348 (exit $ac_status); }; }; then
10349 ac_cv_func__dyld_func_lookup=yes
10351 echo "$as_me: failed program was
:" >&5
10352 sed 's/^/| /' conftest.$ac_ext >&5
10354 ac_cv_func__dyld_func_lookup=no
10357 rm -f core conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10360 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10361 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10362 if test $ac_cv_func__dyld_func_lookup = yes; then
10364 cat >>confdefs.h <<\_ACEOF
10365 #define HAVE_DYLD 1
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10391 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10393 lt_save_LIBS="$LIBS"
10394 LIBS="$LIBS $LIBADD_DL"
10396 for ac_func in dlerror
10398 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10399 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10400 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10401 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10402 echo $ECHO_N "(cached
) $ECHO_C" >&6
10404 cat >conftest.$ac_ext <<_ACEOF
10407 cat confdefs.h >>conftest.$ac_ext
10408 cat >>conftest.$ac_ext <<_ACEOF
10409 /* end confdefs.h. */
10410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10412 #define $ac_func innocuous_$ac_func
10414 /* System header to define __stub macros and hopefully few prototypes,
10415 which can conflict with char $ac_func (); below.
10416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10417 <limits.h> exists even on freestanding compilers. */
10420 # include <limits.h>
10422 # include <assert.h>
10427 /* Override any GCC internal prototype to avoid an error.
10428 Use char because int might match the return type of a GCC
10429 builtin and then its argument prototype would still apply. */
10434 /* The GNU C library defines this for functions which it implements
10435 to always fail with ENOSYS. Some functions are actually named
10436 something starting with __ and the normal name is an alias. */
10437 #if defined __stub_$ac_func || defined __stub___$ac_func
10444 return $ac_func ();
10449 rm -f conftest.$ac_objext conftest$ac_exeext
10450 if { (ac_try="$ac_link"
10451 case "(($ac_try" in
10452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10453 *) ac_try_echo=$ac_try;;
10455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10456 (eval "$ac_link") 2>conftest.er1
10458 grep -v '^ *+' conftest.er1 >conftest.err
10460 cat conftest.err >&5
10461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10462 (exit $ac_status); } &&
10463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10464 { (case "(($ac_try" in
10465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10466 *) ac_try_echo=$ac_try;;
10468 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10469 (eval "$ac_try") 2>&5
10471 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10472 (exit $ac_status); }; } &&
10473 { ac_try='test -s conftest$ac_exeext'
10474 { (case "(($ac_try" in
10475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10476 *) ac_try_echo=$ac_try;;
10478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10479 (eval "$ac_try") 2>&5
10481 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10482 (exit $ac_status); }; }; then
10483 eval "$as_ac_var=yes"
10485 echo "$as_me: failed program was
:" >&5
10486 sed 's/^/| /' conftest.$ac_ext >&5
10488 eval "$as_ac_var=no
"
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10494 ac_res=`eval echo '${'$as_ac_var'}'`
10495 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10496 echo "${ECHO_T}$ac_res" >&6; }
10497 if test `eval echo '${'$as_ac_var'}'` = yes; then
10498 cat >>confdefs.h <<_ACEOF
10499 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10505 LIBS="$lt_save_LIBS"
10508 ac_cpp='$CPP $CPPFLAGS'
10509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10515 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10516 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10517 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10518 echo $ECHO_N "(cached
) $ECHO_C" >&6
10520 ac_cv_sys_symbol_underscore=no
10521 cat > conftest.$ac_ext <<EOF
10522 void nm_test_func(){}
10523 int main(){nm_test_func;return 0;}
10525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10526 (eval $ac_compile) 2>&5
10528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10529 (exit $ac_status); }; then
10530 # Now try to grab the symbols.
10531 ac_nlist=conftest.nm
10532 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10533 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10535 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10536 (exit $ac_status); } && test -s "$ac_nlist"; then
10537 # See whether the symbols have a leading underscore.
10538 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10539 ac_cv_sys_symbol_underscore=yes
10541 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10544 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10548 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10551 echo "configure
: failed program was
:" >&5
10557 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10558 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10561 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10562 if test x"$libltdl_cv_func_dlopen" = xyes ||
10563 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10564 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10565 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10566 if test "${libltdl_cv_need_uscore+set}" = set; then
10567 echo $ECHO_N "(cached
) $ECHO_C" >&6
10569 libltdl_cv_need_uscore=unknown
10571 LIBS="$LIBS $LIBADD_DL"
10572 if test "$cross_compiling" = yes; then :
10573 libltdl_cv_need_uscore=cross
10575 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10576 lt_status=$lt_dlunknown
10577 cat > conftest.$ac_ext <<EOF
10578 #line 10578 "configure
"
10579 #include "confdefs.h
"
10588 # define LT_DLGLOBAL RTLD_GLOBAL
10591 # define LT_DLGLOBAL DL_GLOBAL
10593 # define LT_DLGLOBAL 0
10597 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10598 find out it does not work in some platform. */
10599 #ifndef LT_DLLAZY_OR_NOW
10601 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10604 # define LT_DLLAZY_OR_NOW DL_LAZY
10607 # define LT_DLLAZY_OR_NOW RTLD_NOW
10610 # define LT_DLLAZY_OR_NOW DL_NOW
10612 # define LT_DLLAZY_OR_NOW 0
10620 extern "C
" void exit (int);
10623 void fnord() { int i=42;}
10626 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10627 int status = $lt_dlunknown;
10631 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10632 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10633 /* dlclose (self); */
10641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10642 (eval $ac_link) 2>&5
10644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10645 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10646 (./conftest; exit; ) >&5 2>/dev/null
10648 case x$lt_status in
10649 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10650 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10651 x$lt_dlunknown|x*) ;;
10654 # compilation failed
10663 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10664 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10668 if test x"$libltdl_cv_need_uscore" = xyes; then
10670 cat >>confdefs.h <<\_ACEOF
10671 #define NEED_USCORE 1
10677 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10678 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10679 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10680 echo $ECHO_N "(cached
) $ECHO_C" >&6
10682 # PORTME does your system automatically load deplibs for dlopen?
10683 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10684 # For now, we just catch OSes we know something about -- in the
10685 # future, we'll try test this programmatically.
10686 libltdl_cv_sys_dlopen_deplibs=unknown
10688 aix3*|aix4.1.*|aix4.2.*)
10689 # Unknown whether this is true for these versions of AIX, but
10690 # we want this `case' here to explicitly catch those versions.
10691 libltdl_cv_sys_dlopen_deplibs=unknown
10694 libltdl_cv_sys_dlopen_deplibs=yes
10697 # Assuming the user has installed a libdl from somewhere, this is true
10698 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10699 libltdl_cv_sys_dlopen_deplibs=yes
10701 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10702 # GNU and its variants, using gnu ld.so (Glibc)
10703 libltdl_cv_sys_dlopen_deplibs=yes
10706 libltdl_cv_sys_dlopen_deplibs=yes
10709 libltdl_cv_sys_dlopen_deplibs=yes
10711 irix[12345]*|irix6.[01]*)
10712 # Catch all versions of IRIX before 6.2, and indicate that we don't
10713 # know how it worked for any of those versions.
10714 libltdl_cv_sys_dlopen_deplibs=unknown
10717 # The case above catches anything before 6.2, and it's known that
10718 # at 6.2 and later dlopen does load deplibs.
10719 libltdl_cv_sys_dlopen_deplibs=yes
10722 libltdl_cv_sys_dlopen_deplibs=yes
10725 libltdl_cv_sys_dlopen_deplibs=yes
10728 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10729 # it did *not* use an RPATH in a shared library to find objects the
10730 # library depends on, so we explictly say `no'.
10731 libltdl_cv_sys_dlopen_deplibs=no
10733 osf5.0|osf5.0a|osf5.1)
10734 # dlopen *does* load deplibs and with the right loader patch applied
10735 # it even uses RPATH in a shared library to search for shared objects
10736 # that the library depends on, but there's no easy way to know if that
10737 # patch is installed. Since this is the case, all we can really
10738 # say is unknown -- it depends on the patch being installed. If
10739 # it is, this changes to `yes'. Without it, it would be `no'.
10740 libltdl_cv_sys_dlopen_deplibs=unknown
10743 # the two cases above should catch all versions of osf <= 5.1. Read
10744 # the comments above for what we know about them.
10745 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10746 # is used to find them so we can finally say `yes'.
10747 libltdl_cv_sys_dlopen_deplibs=yes
10750 libltdl_cv_sys_dlopen_deplibs=yes
10752 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10753 libltdl_cv_sys_dlopen_deplibs=yes
10758 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10759 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10760 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10762 cat >>confdefs.h <<\_ACEOF
10763 #define LTDL_DLOPEN_DEPLIBS 1
10769 for ac_header in argz.h
10771 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10772 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10773 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10774 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10775 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10776 echo $ECHO_N "(cached
) $ECHO_C" >&6
10778 ac_res=`eval echo '${'$as_ac_Header'}'`
10779 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10780 echo "${ECHO_T}$ac_res" >&6; }
10782 # Is the header compilable?
10783 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10784 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10785 cat >conftest.$ac_ext <<_ACEOF
10788 cat confdefs.h >>conftest.$ac_ext
10789 cat >>conftest.$ac_ext <<_ACEOF
10790 /* end confdefs.h. */
10791 $ac_includes_default
10792 #include <$ac_header>
10794 rm -f conftest.$ac_objext
10795 if { (ac_try="$ac_compile"
10796 case "(($ac_try" in
10797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10798 *) ac_try_echo=$ac_try;;
10800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10801 (eval "$ac_compile") 2>conftest.er1
10803 grep -v '^ *+' conftest.er1 >conftest.err
10805 cat conftest.err >&5
10806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10807 (exit $ac_status); } &&
10808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10809 { (case "(($ac_try" in
10810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10811 *) ac_try_echo=$ac_try;;
10813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10814 (eval "$ac_try") 2>&5
10816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10817 (exit $ac_status); }; } &&
10818 { ac_try='test -s conftest.$ac_objext'
10819 { (case "(($ac_try" in
10820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10821 *) ac_try_echo=$ac_try;;
10823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10824 (eval "$ac_try") 2>&5
10826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10827 (exit $ac_status); }; }; then
10828 ac_header_compiler=yes
10830 echo "$as_me: failed program was
:" >&5
10831 sed 's/^/| /' conftest.$ac_ext >&5
10833 ac_header_compiler=no
10836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10837 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10838 echo "${ECHO_T}$ac_header_compiler" >&6; }
10840 # Is the header present?
10841 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10842 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10843 cat >conftest.$ac_ext <<_ACEOF
10846 cat confdefs.h >>conftest.$ac_ext
10847 cat >>conftest.$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10849 #include <$ac_header>
10851 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10852 case "(($ac_try" in
10853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10854 *) ac_try_echo=$ac_try;;
10856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10857 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10859 grep -v '^ *+' conftest.er1 >conftest.err
10861 cat conftest.err >&5
10862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10863 (exit $ac_status); } >/dev/null; then
10864 if test -s conftest.err; then
10865 ac_cpp_err=$ac_c_preproc_warn_flag
10866 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10873 if test -z "$ac_cpp_err"; then
10874 ac_header_preproc=yes
10876 echo "$as_me: failed program was
:" >&5
10877 sed 's/^/| /' conftest.$ac_ext >&5
10879 ac_header_preproc=no
10882 rm -f conftest.err conftest.$ac_ext
10883 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10884 echo "${ECHO_T}$ac_header_preproc" >&6; }
10886 # So? What about this header?
10887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10889 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10890 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10891 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10892 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10893 ac_header_preproc=yes
10896 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10897 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10898 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10899 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10900 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10901 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10902 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10903 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10904 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10906 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10907 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10909 ## ----------------------------------- ##
10910 ## Report this to llvmbugs@cs.uiuc.edu ##
10911 ## ----------------------------------- ##
10913 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10916 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10917 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10918 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10919 echo $ECHO_N "(cached
) $ECHO_C" >&6
10921 eval "$as_ac_Header=\
$ac_header_preproc"
10923 ac_res=`eval echo '${'$as_ac_Header'}'`
10924 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10925 echo "${ECHO_T}$ac_res" >&6; }
10928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10929 cat >>confdefs.h <<_ACEOF
10930 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10938 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10939 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10940 if test "${ac_cv_type_error_t+set}" = set; then
10941 echo $ECHO_N "(cached
) $ECHO_C" >&6
10943 cat >conftest.$ac_ext <<_ACEOF
10946 cat confdefs.h >>conftest.$ac_ext
10947 cat >>conftest.$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10953 typedef error_t ac__type_new_;
10957 if ((ac__type_new_ *) 0)
10959 if (sizeof (ac__type_new_))
10965 rm -f conftest.$ac_objext
10966 if { (ac_try="$ac_compile"
10967 case "(($ac_try" in
10968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10969 *) ac_try_echo=$ac_try;;
10971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10972 (eval "$ac_compile") 2>conftest.er1
10974 grep -v '^ *+' conftest.er1 >conftest.err
10976 cat conftest.err >&5
10977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10978 (exit $ac_status); } &&
10979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10980 { (case "(($ac_try" in
10981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10982 *) ac_try_echo=$ac_try;;
10984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10985 (eval "$ac_try") 2>&5
10987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10988 (exit $ac_status); }; } &&
10989 { ac_try='test -s conftest.$ac_objext'
10990 { (case "(($ac_try" in
10991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10992 *) ac_try_echo=$ac_try;;
10994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10995 (eval "$ac_try") 2>&5
10997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10998 (exit $ac_status); }; }; then
10999 ac_cv_type_error_t=yes
11001 echo "$as_me: failed program was
:" >&5
11002 sed 's/^/| /' conftest.$ac_ext >&5
11004 ac_cv_type_error_t=no
11007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11009 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
11010 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
11011 if test $ac_cv_type_error_t = yes; then
11013 cat >>confdefs.h <<_ACEOF
11014 #define HAVE_ERROR_T 1
11020 cat >>confdefs.h <<\_ACEOF
11021 #define error_t int
11032 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
11034 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11035 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11036 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11037 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11038 echo $ECHO_N "(cached
) $ECHO_C" >&6
11040 cat >conftest.$ac_ext <<_ACEOF
11043 cat confdefs.h >>conftest.$ac_ext
11044 cat >>conftest.$ac_ext <<_ACEOF
11045 /* end confdefs.h. */
11046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11048 #define $ac_func innocuous_$ac_func
11050 /* System header to define __stub macros and hopefully few prototypes,
11051 which can conflict with char $ac_func (); below.
11052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11053 <limits.h> exists even on freestanding compilers. */
11056 # include <limits.h>
11058 # include <assert.h>
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11070 /* The GNU C library defines this for functions which it implements
11071 to always fail with ENOSYS. Some functions are actually named
11072 something starting with __ and the normal name is an alias. */
11073 #if defined __stub_$ac_func || defined __stub___$ac_func
11080 return $ac_func ();
11085 rm -f conftest.$ac_objext conftest$ac_exeext
11086 if { (ac_try="$ac_link"
11087 case "(($ac_try" in
11088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11089 *) ac_try_echo=$ac_try;;
11091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11092 (eval "$ac_link") 2>conftest.er1
11094 grep -v '^ *+' conftest.er1 >conftest.err
11096 cat conftest.err >&5
11097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11098 (exit $ac_status); } &&
11099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11100 { (case "(($ac_try" in
11101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11102 *) ac_try_echo=$ac_try;;
11104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11105 (eval "$ac_try") 2>&5
11107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11108 (exit $ac_status); }; } &&
11109 { ac_try='test -s conftest$ac_exeext'
11110 { (case "(($ac_try" in
11111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11112 *) ac_try_echo=$ac_try;;
11114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11115 (eval "$ac_try") 2>&5
11117 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11118 (exit $ac_status); }; }; then
11119 eval "$as_ac_var=yes"
11121 echo "$as_me: failed program was
:" >&5
11122 sed 's/^/| /' conftest.$ac_ext >&5
11124 eval "$as_ac_var=no
"
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11130 ac_res=`eval echo '${'$as_ac_var'}'`
11131 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11132 echo "${ECHO_T}$ac_res" >&6; }
11133 if test `eval echo '${'$as_ac_var'}'` = yes; then
11134 cat >>confdefs.h <<_ACEOF
11135 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11168 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11171 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11172 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11173 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11174 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11175 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11176 echo $ECHO_N "(cached
) $ECHO_C" >&6
11178 ac_res=`eval echo '${'$as_ac_Header'}'`
11179 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11180 echo "${ECHO_T}$ac_res" >&6; }
11182 # Is the header compilable?
11183 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11184 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11185 cat >conftest.$ac_ext <<_ACEOF
11188 cat confdefs.h >>conftest.$ac_ext
11189 cat >>conftest.$ac_ext <<_ACEOF
11190 /* end confdefs.h. */
11191 $ac_includes_default
11192 #include <$ac_header>
11194 rm -f conftest.$ac_objext
11195 if { (ac_try="$ac_compile"
11196 case "(($ac_try" in
11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11198 *) ac_try_echo=$ac_try;;
11200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11201 (eval "$ac_compile") 2>conftest.er1
11203 grep -v '^ *+' conftest.er1 >conftest.err
11205 cat conftest.err >&5
11206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11207 (exit $ac_status); } &&
11208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11209 { (case "(($ac_try" in
11210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11211 *) ac_try_echo=$ac_try;;
11213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11214 (eval "$ac_try") 2>&5
11216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11217 (exit $ac_status); }; } &&
11218 { ac_try='test -s conftest.$ac_objext'
11219 { (case "(($ac_try" in
11220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11221 *) ac_try_echo=$ac_try;;
11223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11224 (eval "$ac_try") 2>&5
11226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11227 (exit $ac_status); }; }; then
11228 ac_header_compiler=yes
11230 echo "$as_me: failed program was
:" >&5
11231 sed 's/^/| /' conftest.$ac_ext >&5
11233 ac_header_compiler=no
11236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11237 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11238 echo "${ECHO_T}$ac_header_compiler" >&6; }
11240 # Is the header present?
11241 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11242 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11243 cat >conftest.$ac_ext <<_ACEOF
11246 cat confdefs.h >>conftest.$ac_ext
11247 cat >>conftest.$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249 #include <$ac_header>
11251 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11252 case "(($ac_try" in
11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254 *) ac_try_echo=$ac_try;;
11256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11257 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11259 grep -v '^ *+' conftest.er1 >conftest.err
11261 cat conftest.err >&5
11262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11263 (exit $ac_status); } >/dev/null; then
11264 if test -s conftest.err; then
11265 ac_cpp_err=$ac_c_preproc_warn_flag
11266 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11273 if test -z "$ac_cpp_err"; then
11274 ac_header_preproc=yes
11276 echo "$as_me: failed program was
:" >&5
11277 sed 's/^/| /' conftest.$ac_ext >&5
11279 ac_header_preproc=no
11282 rm -f conftest.err conftest.$ac_ext
11283 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11284 echo "${ECHO_T}$ac_header_preproc" >&6; }
11286 # So? What about this header?
11287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11289 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11290 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11291 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11293 ac_header_preproc=yes
11296 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11297 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11298 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11299 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11300 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11301 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11302 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11303 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11304 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11306 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11307 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11309 ## ----------------------------------- ##
11310 ## Report this to llvmbugs@cs.uiuc.edu ##
11311 ## ----------------------------------- ##
11313 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11316 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11317 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11318 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11319 echo $ECHO_N "(cached
) $ECHO_C" >&6
11321 eval "$as_ac_Header=\
$ac_header_preproc"
11323 ac_res=`eval echo '${'$as_ac_Header'}'`
11324 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11325 echo "${ECHO_T}$ac_res" >&6; }
11328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11329 cat >>confdefs.h <<_ACEOF
11330 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11341 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11343 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11344 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11345 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11346 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11347 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11348 echo $ECHO_N "(cached
) $ECHO_C" >&6
11350 ac_res=`eval echo '${'$as_ac_Header'}'`
11351 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11352 echo "${ECHO_T}$ac_res" >&6; }
11354 # Is the header compilable?
11355 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11356 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11357 cat >conftest.$ac_ext <<_ACEOF
11360 cat confdefs.h >>conftest.$ac_ext
11361 cat >>conftest.$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11363 $ac_includes_default
11364 #include <$ac_header>
11366 rm -f conftest.$ac_objext
11367 if { (ac_try="$ac_compile"
11368 case "(($ac_try" in
11369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11370 *) ac_try_echo=$ac_try;;
11372 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11373 (eval "$ac_compile") 2>conftest.er1
11375 grep -v '^ *+' conftest.er1 >conftest.err
11377 cat conftest.err >&5
11378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11379 (exit $ac_status); } &&
11380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11381 { (case "(($ac_try" in
11382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11383 *) ac_try_echo=$ac_try;;
11385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11386 (eval "$ac_try") 2>&5
11388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11389 (exit $ac_status); }; } &&
11390 { ac_try='test -s conftest.$ac_objext'
11391 { (case "(($ac_try" in
11392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11393 *) ac_try_echo=$ac_try;;
11395 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11396 (eval "$ac_try") 2>&5
11398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11399 (exit $ac_status); }; }; then
11400 ac_header_compiler=yes
11402 echo "$as_me: failed program was
:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 ac_header_compiler=no
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11409 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11410 echo "${ECHO_T}$ac_header_compiler" >&6; }
11412 # Is the header present?
11413 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11414 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11415 cat >conftest.$ac_ext <<_ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11421 #include <$ac_header>
11423 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11424 case "(($ac_try" in
11425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11426 *) ac_try_echo=$ac_try;;
11428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11429 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11431 grep -v '^ *+' conftest.er1 >conftest.err
11433 cat conftest.err >&5
11434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11435 (exit $ac_status); } >/dev/null; then
11436 if test -s conftest.err; then
11437 ac_cpp_err=$ac_c_preproc_warn_flag
11438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11445 if test -z "$ac_cpp_err"; then
11446 ac_header_preproc=yes
11448 echo "$as_me: failed program was
:" >&5
11449 sed 's/^/| /' conftest.$ac_ext >&5
11451 ac_header_preproc=no
11454 rm -f conftest.err conftest.$ac_ext
11455 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11456 echo "${ECHO_T}$ac_header_preproc" >&6; }
11458 # So? What about this header?
11459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11461 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11462 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11463 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11465 ac_header_preproc=yes
11468 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11469 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11470 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11471 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11472 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11473 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11474 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11475 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11476 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11478 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11479 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11481 ## ----------------------------------- ##
11482 ## Report this to llvmbugs@cs.uiuc.edu ##
11483 ## ----------------------------------- ##
11485 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11488 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11489 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11490 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11491 echo $ECHO_N "(cached
) $ECHO_C" >&6
11493 eval "$as_ac_Header=\
$ac_header_preproc"
11495 ac_res=`eval echo '${'$as_ac_Header'}'`
11496 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11497 echo "${ECHO_T}$ac_res" >&6; }
11500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11501 cat >>confdefs.h <<_ACEOF
11502 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11511 for ac_header in string.h strings.h
11513 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11514 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11515 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11516 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11517 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11518 echo $ECHO_N "(cached
) $ECHO_C" >&6
11520 ac_res=`eval echo '${'$as_ac_Header'}'`
11521 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11522 echo "${ECHO_T}$ac_res" >&6; }
11524 # Is the header compilable?
11525 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11526 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11527 cat >conftest.$ac_ext <<_ACEOF
11530 cat confdefs.h >>conftest.$ac_ext
11531 cat >>conftest.$ac_ext <<_ACEOF
11532 /* end confdefs.h. */
11533 $ac_includes_default
11534 #include <$ac_header>
11536 rm -f conftest.$ac_objext
11537 if { (ac_try="$ac_compile"
11538 case "(($ac_try" in
11539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11540 *) ac_try_echo=$ac_try;;
11542 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11543 (eval "$ac_compile") 2>conftest.er1
11545 grep -v '^ *+' conftest.er1 >conftest.err
11547 cat conftest.err >&5
11548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11549 (exit $ac_status); } &&
11550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11551 { (case "(($ac_try" in
11552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11553 *) ac_try_echo=$ac_try;;
11555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11556 (eval "$ac_try") 2>&5
11558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11559 (exit $ac_status); }; } &&
11560 { ac_try='test -s conftest.$ac_objext'
11561 { (case "(($ac_try" in
11562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11563 *) ac_try_echo=$ac_try;;
11565 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11566 (eval "$ac_try") 2>&5
11568 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11569 (exit $ac_status); }; }; then
11570 ac_header_compiler=yes
11572 echo "$as_me: failed program was
:" >&5
11573 sed 's/^/| /' conftest.$ac_ext >&5
11575 ac_header_compiler=no
11578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11579 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11580 echo "${ECHO_T}$ac_header_compiler" >&6; }
11582 # Is the header present?
11583 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11584 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11585 cat >conftest.$ac_ext <<_ACEOF
11588 cat confdefs.h >>conftest.$ac_ext
11589 cat >>conftest.$ac_ext <<_ACEOF
11590 /* end confdefs.h. */
11591 #include <$ac_header>
11593 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11594 case "(($ac_try" in
11595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11596 *) ac_try_echo=$ac_try;;
11598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11599 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11601 grep -v '^ *+' conftest.er1 >conftest.err
11603 cat conftest.err >&5
11604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11605 (exit $ac_status); } >/dev/null; then
11606 if test -s conftest.err; then
11607 ac_cpp_err=$ac_c_preproc_warn_flag
11608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11615 if test -z "$ac_cpp_err"; then
11616 ac_header_preproc=yes
11618 echo "$as_me: failed program was
:" >&5
11619 sed 's/^/| /' conftest.$ac_ext >&5
11621 ac_header_preproc=no
11624 rm -f conftest.err conftest.$ac_ext
11625 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11626 echo "${ECHO_T}$ac_header_preproc" >&6; }
11628 # So? What about this header?
11629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11631 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11632 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11633 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11635 ac_header_preproc=yes
11638 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11639 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11640 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11641 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11642 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11643 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11644 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11645 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11646 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11648 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11649 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11651 ## ----------------------------------- ##
11652 ## Report this to llvmbugs@cs.uiuc.edu ##
11653 ## ----------------------------------- ##
11655 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11658 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11659 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11660 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11661 echo $ECHO_N "(cached
) $ECHO_C" >&6
11663 eval "$as_ac_Header=\
$ac_header_preproc"
11665 ac_res=`eval echo '${'$as_ac_Header'}'`
11666 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11667 echo "${ECHO_T}$ac_res" >&6; }
11670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11671 cat >>confdefs.h <<_ACEOF
11672 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11682 for ac_func in strchr index
11684 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11685 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11686 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11687 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11688 echo $ECHO_N "(cached
) $ECHO_C" >&6
11690 cat >conftest.$ac_ext <<_ACEOF
11693 cat confdefs.h >>conftest.$ac_ext
11694 cat >>conftest.$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11698 #define $ac_func innocuous_$ac_func
11700 /* System header to define __stub macros and hopefully few prototypes,
11701 which can conflict with char $ac_func (); below.
11702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11703 <limits.h> exists even on freestanding compilers. */
11706 # include <limits.h>
11708 # include <assert.h>
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11720 /* The GNU C library defines this for functions which it implements
11721 to always fail with ENOSYS. Some functions are actually named
11722 something starting with __ and the normal name is an alias. */
11723 #if defined __stub_$ac_func || defined __stub___$ac_func
11730 return $ac_func ();
11735 rm -f conftest.$ac_objext conftest$ac_exeext
11736 if { (ac_try="$ac_link"
11737 case "(($ac_try" in
11738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11739 *) ac_try_echo=$ac_try;;
11741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11742 (eval "$ac_link") 2>conftest.er1
11744 grep -v '^ *+' conftest.er1 >conftest.err
11746 cat conftest.err >&5
11747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11748 (exit $ac_status); } &&
11749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11750 { (case "(($ac_try" in
11751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11752 *) ac_try_echo=$ac_try;;
11754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11755 (eval "$ac_try") 2>&5
11757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11758 (exit $ac_status); }; } &&
11759 { ac_try='test -s conftest$ac_exeext'
11760 { (case "(($ac_try" in
11761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11762 *) ac_try_echo=$ac_try;;
11764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11765 (eval "$ac_try") 2>&5
11767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11768 (exit $ac_status); }; }; then
11769 eval "$as_ac_var=yes"
11771 echo "$as_me: failed program was
:" >&5
11772 sed 's/^/| /' conftest.$ac_ext >&5
11774 eval "$as_ac_var=no
"
11777 rm -f core conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11780 ac_res=`eval echo '${'$as_ac_var'}'`
11781 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11782 echo "${ECHO_T}$ac_res" >&6; }
11783 if test `eval echo '${'$as_ac_var'}'` = yes; then
11784 cat >>confdefs.h <<_ACEOF
11785 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11793 for ac_func in strrchr rindex
11795 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11796 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11797 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11798 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11799 echo $ECHO_N "(cached
) $ECHO_C" >&6
11801 cat >conftest.$ac_ext <<_ACEOF
11804 cat confdefs.h >>conftest.$ac_ext
11805 cat >>conftest.$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11809 #define $ac_func innocuous_$ac_func
11811 /* System header to define __stub macros and hopefully few prototypes,
11812 which can conflict with char $ac_func (); below.
11813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11814 <limits.h> exists even on freestanding compilers. */
11817 # include <limits.h>
11819 # include <assert.h>
11824 /* Override any GCC internal prototype to avoid an error.
11825 Use char because int might match the return type of a GCC
11826 builtin and then its argument prototype would still apply. */
11831 /* The GNU C library defines this for functions which it implements
11832 to always fail with ENOSYS. Some functions are actually named
11833 something starting with __ and the normal name is an alias. */
11834 #if defined __stub_$ac_func || defined __stub___$ac_func
11841 return $ac_func ();
11846 rm -f conftest.$ac_objext conftest$ac_exeext
11847 if { (ac_try="$ac_link"
11848 case "(($ac_try" in
11849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11850 *) ac_try_echo=$ac_try;;
11852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11853 (eval "$ac_link") 2>conftest.er1
11855 grep -v '^ *+' conftest.er1 >conftest.err
11857 cat conftest.err >&5
11858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11859 (exit $ac_status); } &&
11860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11861 { (case "(($ac_try" in
11862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11863 *) ac_try_echo=$ac_try;;
11865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11866 (eval "$ac_try") 2>&5
11868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11869 (exit $ac_status); }; } &&
11870 { ac_try='test -s conftest$ac_exeext'
11871 { (case "(($ac_try" in
11872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11873 *) ac_try_echo=$ac_try;;
11875 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11876 (eval "$ac_try") 2>&5
11878 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 eval "$as_ac_var=yes"
11882 echo "$as_me: failed program was
:" >&5
11883 sed 's/^/| /' conftest.$ac_ext >&5
11885 eval "$as_ac_var=no
"
11888 rm -f core conftest.err conftest.$ac_objext \
11889 conftest$ac_exeext conftest.$ac_ext
11891 ac_res=`eval echo '${'$as_ac_var'}'`
11892 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11893 echo "${ECHO_T}$ac_res" >&6; }
11894 if test `eval echo '${'$as_ac_var'}'` = yes; then
11895 cat >>confdefs.h <<_ACEOF
11896 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11904 for ac_func in memcpy bcopy
11906 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11907 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11908 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11909 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11910 echo $ECHO_N "(cached
) $ECHO_C" >&6
11912 cat >conftest.$ac_ext <<_ACEOF
11915 cat confdefs.h >>conftest.$ac_ext
11916 cat >>conftest.$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11920 #define $ac_func innocuous_$ac_func
11922 /* System header to define __stub macros and hopefully few prototypes,
11923 which can conflict with char $ac_func (); below.
11924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11925 <limits.h> exists even on freestanding compilers. */
11928 # include <limits.h>
11930 # include <assert.h>
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11942 /* The GNU C library defines this for functions which it implements
11943 to always fail with ENOSYS. Some functions are actually named
11944 something starting with __ and the normal name is an alias. */
11945 #if defined __stub_$ac_func || defined __stub___$ac_func
11952 return $ac_func ();
11957 rm -f conftest.$ac_objext conftest$ac_exeext
11958 if { (ac_try="$ac_link"
11959 case "(($ac_try" in
11960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11961 *) ac_try_echo=$ac_try;;
11963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11964 (eval "$ac_link") 2>conftest.er1
11966 grep -v '^ *+' conftest.er1 >conftest.err
11968 cat conftest.err >&5
11969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11970 (exit $ac_status); } &&
11971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11972 { (case "(($ac_try" in
11973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11974 *) ac_try_echo=$ac_try;;
11976 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11977 (eval "$ac_try") 2>&5
11979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11980 (exit $ac_status); }; } &&
11981 { ac_try='test -s conftest$ac_exeext'
11982 { (case "(($ac_try" in
11983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11984 *) ac_try_echo=$ac_try;;
11986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11987 (eval "$ac_try") 2>&5
11989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11990 (exit $ac_status); }; }; then
11991 eval "$as_ac_var=yes"
11993 echo "$as_me: failed program was
:" >&5
11994 sed 's/^/| /' conftest.$ac_ext >&5
11996 eval "$as_ac_var=no
"
11999 rm -f core conftest.err conftest.$ac_objext \
12000 conftest$ac_exeext conftest.$ac_ext
12002 ac_res=`eval echo '${'$as_ac_var'}'`
12003 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12004 echo "${ECHO_T}$ac_res" >&6; }
12005 if test `eval echo '${'$as_ac_var'}'` = yes; then
12006 cat >>confdefs.h <<_ACEOF
12007 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12015 for ac_func in memmove strcmp
12017 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12018 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12019 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12020 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12021 echo $ECHO_N "(cached
) $ECHO_C" >&6
12023 cat >conftest.$ac_ext <<_ACEOF
12026 cat confdefs.h >>conftest.$ac_ext
12027 cat >>conftest.$ac_ext <<_ACEOF
12028 /* end confdefs.h. */
12029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12031 #define $ac_func innocuous_$ac_func
12033 /* System header to define __stub macros and hopefully few prototypes,
12034 which can conflict with char $ac_func (); below.
12035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12036 <limits.h> exists even on freestanding compilers. */
12039 # include <limits.h>
12041 # include <assert.h>
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12053 /* The GNU C library defines this for functions which it implements
12054 to always fail with ENOSYS. Some functions are actually named
12055 something starting with __ and the normal name is an alias. */
12056 #if defined __stub_$ac_func || defined __stub___$ac_func
12063 return $ac_func ();
12068 rm -f conftest.$ac_objext conftest$ac_exeext
12069 if { (ac_try="$ac_link"
12070 case "(($ac_try" in
12071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12072 *) ac_try_echo=$ac_try;;
12074 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12075 (eval "$ac_link") 2>conftest.er1
12077 grep -v '^ *+' conftest.er1 >conftest.err
12079 cat conftest.err >&5
12080 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12081 (exit $ac_status); } &&
12082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12083 { (case "(($ac_try" in
12084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12085 *) ac_try_echo=$ac_try;;
12087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12088 (eval "$ac_try") 2>&5
12090 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12091 (exit $ac_status); }; } &&
12092 { ac_try='test -s conftest$ac_exeext'
12093 { (case "(($ac_try" in
12094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12095 *) ac_try_echo=$ac_try;;
12097 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12098 (eval "$ac_try") 2>&5
12100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12101 (exit $ac_status); }; }; then
12102 eval "$as_ac_var=yes"
12104 echo "$as_me: failed program was
:" >&5
12105 sed 's/^/| /' conftest.$ac_ext >&5
12107 eval "$as_ac_var=no
"
12110 rm -f core conftest.err conftest.$ac_objext \
12111 conftest$ac_exeext conftest.$ac_ext
12113 ac_res=`eval echo '${'$as_ac_var'}'`
12114 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12115 echo "${ECHO_T}$ac_res" >&6; }
12116 if test `eval echo '${'$as_ac_var'}'` = yes; then
12117 cat >>confdefs.h <<_ACEOF
12118 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12127 for ac_func in closedir opendir readdir
12129 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12130 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12131 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12132 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12133 echo $ECHO_N "(cached
) $ECHO_C" >&6
12135 cat >conftest.$ac_ext <<_ACEOF
12138 cat confdefs.h >>conftest.$ac_ext
12139 cat >>conftest.$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12143 #define $ac_func innocuous_$ac_func
12145 /* System header to define __stub macros and hopefully few prototypes,
12146 which can conflict with char $ac_func (); below.
12147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12148 <limits.h> exists even on freestanding compilers. */
12151 # include <limits.h>
12153 # include <assert.h>
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12165 /* The GNU C library defines this for functions which it implements
12166 to always fail with ENOSYS. Some functions are actually named
12167 something starting with __ and the normal name is an alias. */
12168 #if defined __stub_$ac_func || defined __stub___$ac_func
12175 return $ac_func ();
12180 rm -f conftest.$ac_objext conftest$ac_exeext
12181 if { (ac_try="$ac_link"
12182 case "(($ac_try" in
12183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12184 *) ac_try_echo=$ac_try;;
12186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12187 (eval "$ac_link") 2>conftest.er1
12189 grep -v '^ *+' conftest.er1 >conftest.err
12191 cat conftest.err >&5
12192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12193 (exit $ac_status); } &&
12194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12195 { (case "(($ac_try" in
12196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12197 *) ac_try_echo=$ac_try;;
12199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12200 (eval "$ac_try") 2>&5
12202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12203 (exit $ac_status); }; } &&
12204 { ac_try='test -s conftest$ac_exeext'
12205 { (case "(($ac_try" in
12206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12207 *) ac_try_echo=$ac_try;;
12209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12210 (eval "$ac_try") 2>&5
12212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12213 (exit $ac_status); }; }; then
12214 eval "$as_ac_var=yes"
12216 echo "$as_me: failed program was
:" >&5
12217 sed 's/^/| /' conftest.$ac_ext >&5
12219 eval "$as_ac_var=no
"
12222 rm -f core conftest.err conftest.$ac_objext \
12223 conftest$ac_exeext conftest.$ac_ext
12225 ac_res=`eval echo '${'$as_ac_var'}'`
12226 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12227 echo "${ECHO_T}$ac_res" >&6; }
12228 if test `eval echo '${'$as_ac_var'}'` = yes; then
12229 cat >>confdefs.h <<_ACEOF
12230 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12237 # Check whether --enable-shared was given.
12238 if test "${enable_shared+set}" = set; then
12239 enableval=$enable_shared; p=${PACKAGE-default}
12241 yes) enable_shared=yes ;;
12242 no) enable_shared=no ;;
12245 # Look at the argument we got. We use all the common list separators.
12246 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12247 for pkg in $enableval; do
12249 if test "X
$pkg" = "X
$p"; then
12261 # Check whether --enable-static was given.
12262 if test "${enable_static+set}" = set; then
12263 enableval=$enable_static; p=${PACKAGE-default}
12265 yes) enable_static=yes ;;
12266 no) enable_static=no ;;
12269 # Look at the argument we got. We use all the common list separators.
12270 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12271 for pkg in $enableval; do
12273 if test "X
$pkg" = "X
$p"; then
12285 # Check whether --enable-fast-install was given.
12286 if test "${enable_fast_install+set}" = set; then
12287 enableval=$enable_fast_install; p=${PACKAGE-default}
12289 yes) enable_fast_install=yes ;;
12290 no) enable_fast_install=no ;;
12292 enable_fast_install=no
12293 # Look at the argument we got. We use all the common list separators.
12294 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12295 for pkg in $enableval; do
12297 if test "X
$pkg" = "X
$p"; then
12298 enable_fast_install=yes
12305 enable_fast_install=yes
12309 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12310 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12311 if test "${lt_cv_path_SED+set}" = set; then
12312 echo $ECHO_N "(cached
) $ECHO_C" >&6
12314 # Loop through the user's path and test for sed and gsed.
12315 # Then use that list of sed's as ones to test for truncation.
12316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12317 for as_dir in $PATH
12320 test -z "$as_dir" && as_dir=.
12321 for lt_ac_prog in sed gsed; do
12322 for ac_exec_ext in '' $ac_executable_extensions; do
12323 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12324 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12331 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12332 # along with /bin/sed that truncates output.
12333 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12334 test ! -f $lt_ac_sed && continue
12335 cat /dev/null > conftest.in
12337 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12338 # Check for GNU sed and select it if it is found.
12339 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12340 lt_cv_path_SED=$lt_ac_sed
12344 cat conftest.in conftest.in >conftest.tmp
12345 mv conftest.tmp conftest.in
12346 cp conftest.in conftest.nl
12348 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12349 cmp -s conftest.out conftest.nl || break
12350 # 10000 chars as input seems more than enough
12351 test $lt_ac_count -gt 10 && break
12352 lt_ac_count=`expr $lt_ac_count + 1`
12353 if test $lt_ac_count -gt $lt_ac_max; then
12354 lt_ac_max=$lt_ac_count
12355 lt_cv_path_SED=$lt_ac_sed
12362 SED=$lt_cv_path_SED
12363 { echo "$as_me:$LINENO: result
: $SED" >&5
12364 echo "${ECHO_T}$SED" >&6; }
12367 # Check whether --with-gnu-ld was given.
12368 if test "${with_gnu_ld+set}" = set; then
12369 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12375 if test "$GCC" = yes; then
12376 # Check if gcc -print-prog-name=ld gives a path.
12377 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12378 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12381 # gcc leaves a trailing carriage return which upsets mingw
12382 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12384 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12387 # Accept absolute paths.
12389 re_direlt='/[^/][^/]*/\.\./'
12390 # Canonicalize the pathname of ld
12391 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12392 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12393 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12395 test -z "$LD" && LD="$ac_prog"
12398 # If it fails, then pretend we aren't using GCC.
12402 # If it is relative, then search for the first ld in PATH.
12403 with_gnu_ld=unknown
12406 elif test "$with_gnu_ld" = yes; then
12407 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12408 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12410 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12411 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12413 if test "${lt_cv_path_LD+set}" = set; then
12414 echo $ECHO_N "(cached
) $ECHO_C" >&6
12416 if test -z "$LD"; then
12417 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12418 for ac_dir in $PATH; do
12420 test -z "$ac_dir" && ac_dir=.
12421 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12422 lt_cv_path_LD="$ac_dir/$ac_prog"
12423 # Check to see if the program is GNU ld. I'd rather use --version,
12424 # but apparently some variants of GNU ld only accept -v.
12425 # Break only if it was the GNU/non-GNU ld that we prefer.
12426 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12427 *GNU* | *'with BFD'*)
12428 test "$with_gnu_ld" != no && break
12431 test "$with_gnu_ld" != yes && break
12438 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12442 LD="$lt_cv_path_LD"
12443 if test -n "$LD"; then
12444 { echo "$as_me:$LINENO: result
: $LD" >&5
12445 echo "${ECHO_T}$LD" >&6; }
12447 { echo "$as_me:$LINENO: result
: no
" >&5
12448 echo "${ECHO_T}no
" >&6; }
12450 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12451 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12452 { (exit 1); exit 1; }; }
12453 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12454 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12455 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12456 echo $ECHO_N "(cached
) $ECHO_C" >&6
12458 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12459 case `$LD -v 2>&1 </dev/null` in
12460 *GNU* | *'with BFD'*)
12461 lt_cv_prog_gnu_ld=yes
12464 lt_cv_prog_gnu_ld=no
12468 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12469 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12470 with_gnu_ld=$lt_cv_prog_gnu_ld
12473 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12474 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12475 if test "${lt_cv_ld_reload_flag+set}" = set; then
12476 echo $ECHO_N "(cached
) $ECHO_C" >&6
12478 lt_cv_ld_reload_flag='-r'
12480 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12481 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12482 reload_flag=$lt_cv_ld_reload_flag
12483 case $reload_flag in
12485 *) reload_flag=" $reload_flag" ;;
12487 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12490 if test "$GCC" = yes; then
12491 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12493 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12498 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12499 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12500 if test "${lt_cv_deplibs_check_method+set}" = set; then
12501 echo $ECHO_N "(cached
) $ECHO_C" >&6
12503 lt_cv_file_magic_cmd='$MAGIC_CMD'
12504 lt_cv_file_magic_test_file=
12505 lt_cv_deplibs_check_method='unknown'
12506 # Need to set the preceding variable on all platforms that support
12507 # interlibrary dependencies.
12508 # 'none' -- dependencies not supported.
12509 # `unknown' -- same as none, but documents that we really don't know.
12510 # 'pass_all' -- all dependencies passed with no checks.
12511 # 'test_compile' -- check by making test program.
12512 # 'file_magic [[regex]]' -- check by looking for files in library path
12513 # which responds to the $file_magic_cmd with a given extended regex.
12514 # If you have `file' or equivalent on your system and you're not sure
12515 # whether `pass_all' will *always* work, you probably want this one.
12519 lt_cv_deplibs_check_method=pass_all
12523 lt_cv_deplibs_check_method=pass_all
12527 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12528 lt_cv_file_magic_cmd='/usr/bin/file -L'
12529 lt_cv_file_magic_test_file=/shlib/libc.so
12533 # func_win32_libid is a shell function defined in ltmain.sh
12534 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12535 lt_cv_file_magic_cmd='func_win32_libid'
12539 # Base MSYS/MinGW do not provide the 'file' command needed by
12540 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12541 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12542 lt_cv_file_magic_cmd='$OBJDUMP -f'
12545 darwin* | rhapsody*)
12546 lt_cv_deplibs_check_method=pass_all
12549 freebsd* | kfreebsd*-gnu | dragonfly*)
12550 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12553 # Not sure whether the presence of OpenBSD here was a mistake.
12554 # Let's accept both of them until this is cleared up.
12555 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12556 lt_cv_file_magic_cmd=/usr/bin/file
12557 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12561 lt_cv_deplibs_check_method=pass_all
12566 lt_cv_deplibs_check_method=pass_all
12569 hpux10.20* | hpux11*)
12570 lt_cv_file_magic_cmd=/usr/bin/file
12573 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12574 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12577 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]'
12578 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12581 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12582 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12588 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12589 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12592 irix5* | irix6* | nonstopux*)
12594 *-32|*"-32 ") libmagic=32-bit;;
12595 *-n32|*"-n32 ") libmagic=N32;;
12596 *-64|*"-64 ") libmagic=64-bit;;
12597 *) libmagic=never-match;;
12599 lt_cv_deplibs_check_method=pass_all
12602 # This must be Linux ELF.
12604 lt_cv_deplibs_check_method=pass_all
12608 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12609 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12611 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12616 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12617 lt_cv_file_magic_cmd=/usr/bin/file
12618 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12622 lt_cv_deplibs_check_method=unknown
12626 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12629 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12633 osf3* | osf4* | osf5*)
12634 lt_cv_deplibs_check_method=pass_all
12638 lt_cv_deplibs_check_method=pass_all
12642 case $host_vendor in
12644 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]'
12645 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12648 lt_cv_deplibs_check_method=pass_all
12651 lt_cv_file_magic_cmd='/bin/file'
12652 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12655 lt_cv_file_magic_cmd='/bin/file'
12656 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12657 lt_cv_file_magic_test_file=/lib/libc.so
12660 lt_cv_deplibs_check_method=pass_all
12663 lt_cv_deplibs_check_method=pass_all
12668 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12669 lt_cv_deplibs_check_method=pass_all
12674 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12675 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12676 file_magic_cmd=$lt_cv_file_magic_cmd
12677 deplibs_check_method=$lt_cv_deplibs_check_method
12678 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12682 # If no C compiler was specified, use CC.
12685 # If no C compiler flags were specified, use CFLAGS.
12686 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12688 # Allow CC to be a program name with arguments.
12691 # Check whether --enable-libtool-lock was given.
12692 if test "${enable_libtool_lock+set}" = set; then
12693 enableval=$enable_libtool_lock;
12696 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12698 # Some flags need to be propagated to the compiler or linker for good
12702 # Find out which ABI we are using.
12703 echo 'int i;' > conftest.$ac_ext
12704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12705 (eval $ac_compile) 2>&5
12707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12708 (exit $ac_status); }; then
12709 case `/usr/bin/file conftest.$ac_objext` in
12711 HPUX_IA64_MODE="32"
12714 HPUX_IA64_MODE="64"
12721 # Find out which ABI we are using.
12722 echo '#line 12722 "configure
"' > conftest.$ac_ext
12723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12724 (eval $ac_compile) 2>&5
12726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12727 (exit $ac_status); }; then
12728 if test "$lt_cv_prog_gnu_ld" = yes; then
12729 case `/usr/bin/file conftest.$ac_objext` in
12731 LD="${LD-ld} -melf32bsmip"
12734 LD="${LD-ld} -melf32bmipn32"
12737 LD="${LD-ld} -melf64bmip"
12741 case `/usr/bin/file conftest.$ac_objext` in
12757 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12758 # Find out which ABI we are using.
12759 echo 'int i;' > conftest.$ac_ext
12760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12761 (eval $ac_compile) 2>&5
12763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12764 (exit $ac_status); }; then
12765 case `/usr/bin/file conftest.o` in
12769 LD="${LD-ld} -m elf_i386
"
12771 ppc64-*linux*|powerpc64-*linux*)
12772 LD="${LD-ld} -m elf32ppclinux
"
12775 LD="${LD-ld} -m elf_s390
"
12778 LD="${LD-ld} -m elf32_sparc
"
12785 LD="${LD-ld} -m elf_x86_64
"
12787 ppc*-*linux*|powerpc*-*linux*)
12788 LD="${LD-ld} -m elf64ppc
"
12791 LD="${LD-ld} -m elf64_s390
"
12794 LD="${LD-ld} -m elf64_sparc
"
12804 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12805 SAVE_CFLAGS="$CFLAGS"
12806 CFLAGS="$CFLAGS -belf"
12807 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12808 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12809 if test "${lt_cv_cc_needs_belf+set}" = set; then
12810 echo $ECHO_N "(cached
) $ECHO_C" >&6
12813 ac_cpp='$CPP $CPPFLAGS'
12814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12818 cat >conftest.$ac_ext <<_ACEOF
12821 cat confdefs.h >>conftest.$ac_ext
12822 cat >>conftest.$ac_ext <<_ACEOF
12823 /* end confdefs.h. */
12833 rm -f conftest.$ac_objext conftest$ac_exeext
12834 if { (ac_try="$ac_link"
12835 case "(($ac_try" in
12836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12837 *) ac_try_echo=$ac_try;;
12839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12840 (eval "$ac_link") 2>conftest.er1
12842 grep -v '^ *+' conftest.er1 >conftest.err
12844 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12846 (exit $ac_status); } &&
12847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12848 { (case "(($ac_try" in
12849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12850 *) ac_try_echo=$ac_try;;
12852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12853 (eval "$ac_try") 2>&5
12855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12856 (exit $ac_status); }; } &&
12857 { ac_try='test -s conftest$ac_exeext'
12858 { (case "(($ac_try" in
12859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12860 *) ac_try_echo=$ac_try;;
12862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12863 (eval "$ac_try") 2>&5
12865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 lt_cv_cc_needs_belf=yes
12869 echo "$as_me: failed program was
:" >&5
12870 sed 's/^/| /' conftest.$ac_ext >&5
12872 lt_cv_cc_needs_belf=no
12875 rm -f core conftest.err conftest.$ac_objext \
12876 conftest$ac_exeext conftest.$ac_ext
12878 ac_cpp='$CPP $CPPFLAGS'
12879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12884 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12885 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12886 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12887 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12888 CFLAGS="$SAVE_CFLAGS"
12892 # Find out which ABI we are using.
12893 echo 'int i;' > conftest.$ac_ext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>&5
12897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12898 (exit $ac_status); }; then
12899 case `/usr/bin/file conftest.o` in
12901 case $lt_cv_prog_gnu_ld in
12902 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12903 *) LD="${LD-ld} -64" ;;
12914 need_locks="$enable_libtool_lock"
12919 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12920 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12921 (test "X
$CXX" != "Xg
++"))) ; then
12923 ac_cpp='$CXXCPP $CPPFLAGS'
12924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12927 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12928 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12929 if test -z "$CXXCPP"; then
12930 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12931 echo $ECHO_N "(cached
) $ECHO_C" >&6
12933 # Double quotes because CXXCPP needs to be expanded
12934 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12936 ac_preproc_ok=false
12937 for ac_cxx_preproc_warn_flag in '' yes
12939 # Use a header file that comes with gcc, so configuring glibc
12940 # with a fresh cross-compiler works.
12941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12942 # <limits.h> exists even on freestanding compilers.
12943 # On the NeXT, cc -E runs the code through the compiler's parser,
12944 # not just through cpp. "Syntax error
" is here to catch this case.
12945 cat >conftest.$ac_ext <<_ACEOF
12948 cat confdefs.h >>conftest.$ac_ext
12949 cat >>conftest.$ac_ext <<_ACEOF
12950 /* end confdefs.h. */
12952 # include <limits.h>
12954 # include <assert.h>
12958 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12959 case "(($ac_try" in
12960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12961 *) ac_try_echo=$ac_try;;
12963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12964 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12966 grep -v '^ *+' conftest.er1 >conftest.err
12968 cat conftest.err >&5
12969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12970 (exit $ac_status); } >/dev/null; then
12971 if test -s conftest.err; then
12972 ac_cpp_err=$ac_cxx_preproc_warn_flag
12973 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12980 if test -z "$ac_cpp_err"; then
12983 echo "$as_me: failed program was
:" >&5
12984 sed 's/^/| /' conftest.$ac_ext >&5
12986 # Broken: fails on valid input.
12990 rm -f conftest.err conftest.$ac_ext
12992 # OK, works on sane cases. Now check whether nonexistent headers
12993 # can be detected and how.
12994 cat >conftest.$ac_ext <<_ACEOF
12997 cat confdefs.h >>conftest.$ac_ext
12998 cat >>conftest.$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13000 #include <ac_nonexistent.h>
13002 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13003 case "(($ac_try" in
13004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13005 *) ac_try_echo=$ac_try;;
13007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13008 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13010 grep -v '^ *+' conftest.er1 >conftest.err
13012 cat conftest.err >&5
13013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13014 (exit $ac_status); } >/dev/null; then
13015 if test -s conftest.err; then
13016 ac_cpp_err=$ac_cxx_preproc_warn_flag
13017 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13024 if test -z "$ac_cpp_err"; then
13025 # Broken: success on invalid input.
13028 echo "$as_me: failed program was
:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13031 # Passes both tests.
13036 rm -f conftest.err conftest.$ac_ext
13039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13040 rm -f conftest.err conftest.$ac_ext
13041 if $ac_preproc_ok; then
13046 ac_cv_prog_CXXCPP=$CXXCPP
13049 CXXCPP=$ac_cv_prog_CXXCPP
13051 ac_cv_prog_CXXCPP=$CXXCPP
13053 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
13054 echo "${ECHO_T}$CXXCPP" >&6; }
13055 ac_preproc_ok=false
13056 for ac_cxx_preproc_warn_flag in '' yes
13058 # Use a header file that comes with gcc, so configuring glibc
13059 # with a fresh cross-compiler works.
13060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13061 # <limits.h> exists even on freestanding compilers.
13062 # On the NeXT, cc -E runs the code through the compiler's parser,
13063 # not just through cpp. "Syntax error
" is here to catch this case.
13064 cat >conftest.$ac_ext <<_ACEOF
13067 cat confdefs.h >>conftest.$ac_ext
13068 cat >>conftest.$ac_ext <<_ACEOF
13069 /* end confdefs.h. */
13071 # include <limits.h>
13073 # include <assert.h>
13077 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13078 case "(($ac_try" in
13079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13080 *) ac_try_echo=$ac_try;;
13082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13083 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13085 grep -v '^ *+' conftest.er1 >conftest.err
13087 cat conftest.err >&5
13088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13089 (exit $ac_status); } >/dev/null; then
13090 if test -s conftest.err; then
13091 ac_cpp_err=$ac_cxx_preproc_warn_flag
13092 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13099 if test -z "$ac_cpp_err"; then
13102 echo "$as_me: failed program was
:" >&5
13103 sed 's/^/| /' conftest.$ac_ext >&5
13105 # Broken: fails on valid input.
13109 rm -f conftest.err conftest.$ac_ext
13111 # OK, works on sane cases. Now check whether nonexistent headers
13112 # can be detected and how.
13113 cat >conftest.$ac_ext <<_ACEOF
13116 cat confdefs.h >>conftest.$ac_ext
13117 cat >>conftest.$ac_ext <<_ACEOF
13118 /* end confdefs.h. */
13119 #include <ac_nonexistent.h>
13121 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13122 case "(($ac_try" in
13123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13124 *) ac_try_echo=$ac_try;;
13126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13127 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13129 grep -v '^ *+' conftest.er1 >conftest.err
13131 cat conftest.err >&5
13132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13133 (exit $ac_status); } >/dev/null; then
13134 if test -s conftest.err; then
13135 ac_cpp_err=$ac_cxx_preproc_warn_flag
13136 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13143 if test -z "$ac_cpp_err"; then
13144 # Broken: success on invalid input.
13147 echo "$as_me: failed program was
:" >&5
13148 sed 's/^/| /' conftest.$ac_ext >&5
13150 # Passes both tests.
13155 rm -f conftest.err conftest.$ac_ext
13158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13159 rm -f conftest.err conftest.$ac_ext
13160 if $ac_preproc_ok; then
13163 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
13164 See \
`config.log' for more details." >&5
13165 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13166 See \`config.log
' for more details." >&2;}
13167 { (exit 1); exit 1; }; }
13171 ac_cpp='$CXXCPP $CPPFLAGS'
13172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13173 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13180 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13181 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13182 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13183 if test -n "$ac_tool_prefix"; then
13184 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
13186 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13187 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13190 if test "${ac_cv_prog_F77+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 if test -n "$F77"; then
13194 ac_cv_prog_F77="$F77" # Let the user override the test.
13196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13197 for as_dir in $PATH
13200 test -z "$as_dir" && as_dir=.
13201 for ac_exec_ext in '' $ac_executable_extensions; do
13202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13203 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13213 F77=$ac_cv_prog_F77
13214 if test -n "$F77"; then
13215 { echo "$as_me:$LINENO: result: $F77" >&5
13216 echo "${ECHO_T}$F77" >&6; }
13218 { echo "$as_me:$LINENO: result: no" >&5
13219 echo "${ECHO_T}no" >&6; }
13223 test -n "$F77" && break
13226 if test -z "$F77"; then
13228 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
13230 # Extract the first word of "$ac_prog", so it can be a program name with args.
13231 set dummy $ac_prog; ac_word=$2
13232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13234 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13235 echo $ECHO_N "(cached) $ECHO_C" >&6
13237 if test -n "$ac_ct_F77"; then
13238 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13241 for as_dir in $PATH
13244 test -z "$as_dir" && as_dir=.
13245 for ac_exec_ext in '' $ac_executable_extensions; do
13246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13247 ac_cv_prog_ac_ct_F77="$ac_prog"
13248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13257 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13258 if test -n "$ac_ct_F77"; then
13259 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13260 echo "${ECHO_T}$ac_ct_F77" >&6; }
13262 { echo "$as_me:$LINENO: result: no" >&5
13263 echo "${ECHO_T}no" >&6; }
13267 test -n "$ac_ct_F77" && break
13270 if test "x$ac_ct_F77" = x; then
13273 case $cross_compiling:$ac_tool_warned in
13275 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13276 whose name does not start with the host triplet. If you think this
13277 configuration is useful to you, please write to autoconf@gnu.org." >&5
13278 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13279 whose name does not start with the host triplet. If you think this
13280 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13281 ac_tool_warned=yes ;;
13288 # Provide some information about the compiler.
13289 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13290 ac_compiler=`set X $ac_compile; echo $2`
13291 { (ac_try="$ac_compiler --version >&5"
13292 case "(($ac_try" in
13293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13294 *) ac_try_echo=$ac_try;;
13296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13297 (eval "$ac_compiler --version >&5") 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }
13301 { (ac_try="$ac_compiler -v >&5"
13302 case "(($ac_try" in
13303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13304 *) ac_try_echo=$ac_try;;
13306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13307 (eval "$ac_compiler -v >&5") 2>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }
13311 { (ac_try="$ac_compiler -V >&5"
13312 case "(($ac_try" in
13313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13314 *) ac_try_echo=$ac_try;;
13316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13317 (eval "$ac_compiler -V >&5") 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }
13323 # If we don't use
`.F' as extension, the preprocessor is not run on the
13324 # input file. (Note that this only needs to work for GNU compilers.)
13325 ac_save_ext=$ac_ext
13327 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13328 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13329 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13330 echo $ECHO_N "(cached) $ECHO_C" >&6
13332 cat >conftest.$ac_ext <<_ACEOF
13340 rm -f conftest.$ac_objext
13341 if { (ac_try="$ac_compile"
13342 case "(($ac_try" in
13343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13344 *) ac_try_echo
=$ac_try;;
13346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13347 (eval "$ac_compile") 2>conftest.er1
13349 grep -v '^ *+' conftest.er1
>conftest.err
13351 cat conftest.err
>&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } &&
13354 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13355 { (case "(($ac_try" in
13356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13357 *) ac_try_echo=$ac_try;;
13359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13360 (eval "$ac_try") 2>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; } &&
13364 { ac_try='test -s conftest.$ac_objext'
13365 { (case "(($ac_try" in
13366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13367 *) ac_try_echo
=$ac_try;;
13369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13370 (eval "$ac_try") 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; }; then
13374 ac_compiler_gnu
=yes
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.
$ac_ext >&5
13382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13383 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13386 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13387 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13388 ac_ext
=$ac_save_ext
13389 ac_test_FFLAGS
=${FFLAGS+set}
13390 ac_save_FFLAGS
=$FFLAGS
13392 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13393 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13394 if test "${ac_cv_prog_f77_g+set}" = set; then
13395 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 cat >conftest.
$ac_ext <<_ACEOF
13403 rm -f conftest.
$ac_objext
13404 if { (ac_try
="$ac_compile"
13405 case "(($ac_try" in
13406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13407 *) ac_try_echo=$ac_try;;
13409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13410 (eval "$ac_compile") 2>conftest.er1
13412 grep -v '^ *+' conftest.er1 >conftest.err
13414 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13418 { (case "(($ac_try" in
13419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13420 *) ac_try_echo
=$ac_try;;
13422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13423 (eval "$ac_try") 2>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; } &&
13427 { ac_try
='test -s conftest.$ac_objext'
13428 { (case "(($ac_try" in
13429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13430 *) ac_try_echo=$ac_try;;
13432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13433 (eval "$ac_try") 2>&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); }; }; then
13437 ac_cv_prog_f77_g=yes
13439 echo "$as_me: failed program was:" >&5
13440 sed 's/^/| /' conftest.$ac_ext >&5
13442 ac_cv_prog_f77_g=no
13445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13448 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13449 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13450 if test "$ac_test_FFLAGS" = set; then
13451 FFLAGS=$ac_save_FFLAGS
13452 elif test $ac_cv_prog_f77_g = yes; then
13453 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13459 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13466 G77=`test $ac_compiler_gnu = yes && echo yes`
13468 ac_cpp='$CPP $CPPFLAGS'
13469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13475 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13477 # find the maximum length of command line arguments
13478 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13479 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13480 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13488 # On DJGPP, this test can blow up pretty badly due to problems in libc
13489 # (any single argument exceeding 2000 bytes causes a buffer overrun
13490 # during glob expansion). Even if it were fixed, the result of this
13491 # check would be larger than it should be.
13492 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13496 # Under GNU Hurd, this test is not required because there is
13497 # no limit to the length of command line arguments.
13498 # Libtool will interpret -1 as no limit whatsoever
13499 lt_cv_sys_max_cmd_len=-1;
13503 # On Win9x/ME, this test blows up -- it succeeds, but takes
13504 # about 5 minutes as the teststring grows exponentially.
13505 # Worse, since 9x/ME are not pre-emptively multitasking,
13506 # you end up with a "frozen" computer, even though with patience
13507 # the test eventually succeeds (with a max line length of 256k).
13508 # Instead, let's just punt: use the minimum linelength reported by
13509 # all of the supported platforms: 8192 (on NT/2K/XP).
13510 lt_cv_sys_max_cmd_len=8192;
13514 # On AmigaOS with pdksh, this test takes hours, literally.
13515 # So we just punt and use a minimum line length of 8192.
13516 lt_cv_sys_max_cmd_len=8192;
13519 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13520 # This has been around since 386BSD, at least. Likely further.
13521 if test -x /sbin/sysctl; then
13522 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13523 elif test -x /usr/sbin/sysctl; then
13524 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13526 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13528 # And add a safety zone
13529 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13530 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13534 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13535 lt_cv_sys_max_cmd_len=196608
13539 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13540 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13541 # nice to cause kernel panics so lets avoid the loop below.
13542 # First set a reasonable default.
13543 lt_cv_sys_max_cmd_len=16384
13545 if test -x /sbin/sysconfig; then
13546 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13547 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13552 lt_cv_sys_max_cmd_len=102400
13554 sysv5* | sco5v6* | sysv4.2uw2*)
13555 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13556 if test -n "$kargmax"; then
13557 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13559 lt_cv_sys_max_cmd_len=32768
13563 # If test is not a shell built-in, we'll probably end up computing a
13564 # maximum length that is only half of the actual maximum length, but
13566 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13567 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13568 = "XX$teststring") >/dev/null 2>&1 &&
13569 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13570 lt_cv_sys_max_cmd_len=$new_result &&
13571 test $i != 17 # 1/2 MB should be enough
13574 teststring=$teststring$teststring
13577 # Add a significant safety factor because C++ compilers can tack on massive
13578 # amounts of additional arguments before passing them to the linker.
13579 # It appears as though 1/2 is a usable value.
13580 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13586 if test -n $lt_cv_sys_max_cmd_len ; then
13587 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13588 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13590 { echo "$as_me:$LINENO: result: none" >&5
13591 echo "${ECHO_T}none" >&6; }
13597 # Check for command to grab the raw symbol name followed by C symbol from nm.
13598 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13599 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13600 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13604 # These are sane defaults that work on at least a few old systems.
13605 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13607 # Character class describing NM global symbol codes.
13608 symcode='[BCDEGRST]'
13610 # Regexp to match symbols that can be accessed directly from C.
13611 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13613 # Transform an extracted symbol line into a proper C declaration
13614 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13616 # Transform an extracted symbol line into symbol name and symbol address
13617 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'"
13619 # Define system-specific variables.
13624 cygwin* | mingw* | pw32*)
13625 symcode='[ABCDGISTW]'
13627 hpux*) # Its linker distinguishes data from code symbols
13628 if test "$host_cpu" = ia64; then
13629 symcode='[ABCDEGRST]'
13631 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13632 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'"
13635 if test "$host_cpu" = ia64; then
13636 symcode='[ABCDGIRSTW]'
13637 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13638 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'"
13641 irix* | nonstopux*)
13642 symcode='[BCDEGRST]'
13645 symcode='[BCDEGQRST]'
13656 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13664 # Handle CRLF in mingw tool chain
13668 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13672 # If we're using GNU nm, then use its standard symbol codes.
13673 case `$NM -V 2>&1` in
13674 *GNU* | *'with BFD'*)
13675 symcode='[ABCDGIRSTW]' ;;
13678 # Try without a prefix undercore, then with it.
13679 for ac_symprfx in "" "_"; do
13681 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13682 symxfrm="\\1 $ac_symprfx\\2 \\2"
13684 # Write the raw and C identifiers.
13685 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13687 # Check to see that the pipe works correctly.
13691 cat > conftest.$ac_ext <<EOF
13696 void nm_test_func(){}
13700 int main(){nm_test_var='a';nm_test_func();return(0);}
13703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13704 (eval $ac_compile) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; then
13708 # Now try to grab the symbols.
13710 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13711 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); } && test -s "$nlist"; then
13715 # Try sorting and uniquifying the output.
13716 if sort "$nlist" | uniq > "$nlist"T; then
13717 mv -f "$nlist"T "$nlist"
13722 # Make sure that we snagged all the symbols we need.
13723 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13724 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13725 cat <<EOF > conftest.$ac_ext
13731 # Now generate the symbol file.
13732 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13734 cat <<EOF >> conftest.$ac_ext
13735 #if defined (__STDC__) && __STDC__
13736 # define lt_ptr_t void *
13738 # define lt_ptr_t char *
13742 /* The mapping between symbol names and symbols. */
13747 lt_preloaded_symbols[] =
13750 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13751 cat <<\EOF >> conftest.$ac_ext
13759 # Now try linking the two files.
13760 mv conftest.$ac_objext conftstm.$ac_objext
13761 lt_save_LIBS="$LIBS"
13762 lt_save_CFLAGS="$CFLAGS"
13763 LIBS="conftstm.$ac_objext"
13764 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13766 (eval $ac_link) 2>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13772 LIBS="$lt_save_LIBS"
13773 CFLAGS="$lt_save_CFLAGS"
13775 echo "cannot find nm_test_func in $nlist" >&5
13778 echo "cannot find nm_test_var in $nlist" >&5
13781 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13784 echo "$progname: failed program was:" >&5
13785 cat conftest.$ac_ext >&5
13787 rm -f conftest* conftst*
13789 # Do not use the global_symbol_pipe unless it works.
13790 if test "$pipe_works" = yes; then
13793 lt_cv_sys_global_symbol_pipe=
13799 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13800 lt_cv_sys_global_symbol_to_cdecl=
13802 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13803 { echo "$as_me:$LINENO: result: failed" >&5
13804 echo "${ECHO_T}failed" >&6; }
13806 { echo "$as_me:$LINENO: result: ok" >&5
13807 echo "${ECHO_T}ok" >&6; }
13810 { echo "$as_me:$LINENO: checking for objdir" >&5
13811 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13812 if test "${lt_cv_objdir+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 rm -f .libs 2>/dev/null
13816 mkdir .libs 2>/dev/null
13817 if test -d .libs; then
13820 # MS-DOS does not allow filenames that begin with a dot.
13823 rmdir .libs 2>/dev/null
13825 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13826 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13827 objdir=$lt_cv_objdir
13835 # AIX sometimes has problems with the GCC collect2 program. For some
13836 # reason, if we set the COLLECT_NAMES environment variable, the problems
13837 # vanish in a puff of smoke.
13838 if test "X${COLLECT_NAMES+set}" != Xset; then
13840 export COLLECT_NAMES
13845 # Sed substitution that helps us do robust quoting. It backslashifies
13846 # metacharacters that are still active within double-quoted strings.
13847 Xsed='sed -e 1s/^X//'
13848 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13850 # Same as above, but do not quote variable references.
13851 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13853 # Sed substitution to delay expansion of an escaped shell variable in a
13854 # double_quote_subst'ed string.
13855 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13857 # Sed substitution to avoid accidental globbing in evaled expressions
13858 no_glob_subst='s/\*/\\\*/g'
13863 # Global variables:
13864 default_ofile=mklib
13865 can_build_shared=yes
13867 # All known linkers require a `.a' archive for static linking (except MSVC,
13868 # which needs '.lib').
13870 ltmain="$ac_aux_dir/ltmain.sh
"
13871 ofile="$default_ofile"
13872 with_gnu_ld="$lt_cv_prog_gnu_ld"
13874 if test -n "$ac_tool_prefix"; then
13875 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13876 set dummy ${ac_tool_prefix}ar; ac_word=$2
13877 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13878 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13879 if test "${ac_cv_prog_AR+set}" = set; then
13880 echo $ECHO_N "(cached
) $ECHO_C" >&6
13882 if test -n "$AR"; then
13883 ac_cv_prog_AR="$AR" # Let the user override the test.
13885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13886 for as_dir in $PATH
13889 test -z "$as_dir" && as_dir=.
13890 for ac_exec_ext in '' $ac_executable_extensions; do
13891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13892 ac_cv_prog_AR="${ac_tool_prefix}ar"
13893 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13903 if test -n "$AR"; then
13904 { echo "$as_me:$LINENO: result
: $AR" >&5
13905 echo "${ECHO_T}$AR" >&6; }
13907 { echo "$as_me:$LINENO: result
: no
" >&5
13908 echo "${ECHO_T}no
" >&6; }
13913 if test -z "$ac_cv_prog_AR"; then
13915 # Extract the first word of "ar", so it can be a program name with args.
13916 set dummy ar; ac_word=$2
13917 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13918 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13919 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13920 echo $ECHO_N "(cached
) $ECHO_C" >&6
13922 if test -n "$ac_ct_AR"; then
13923 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13926 for as_dir in $PATH
13929 test -z "$as_dir" && as_dir=.
13930 for ac_exec_ext in '' $ac_executable_extensions; do
13931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13932 ac_cv_prog_ac_ct_AR="ar"
13933 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13942 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13943 if test -n "$ac_ct_AR"; then
13944 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13945 echo "${ECHO_T}$ac_ct_AR" >&6; }
13947 { echo "$as_me:$LINENO: result
: no
" >&5
13948 echo "${ECHO_T}no
" >&6; }
13951 if test "x
$ac_ct_AR" = x; then
13954 case $cross_compiling:$ac_tool_warned in
13956 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13957 whose name does not start with the
host triplet. If you think this
13958 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13959 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13960 whose name does not start with the
host triplet. If you think this
13961 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13962 ac_tool_warned=yes ;;
13967 AR="$ac_cv_prog_AR"
13970 if test -n "$ac_tool_prefix"; then
13971 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13972 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13973 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13974 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13975 if test "${ac_cv_prog_RANLIB+set}" = set; then
13976 echo $ECHO_N "(cached
) $ECHO_C" >&6
13978 if test -n "$RANLIB"; then
13979 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13982 for as_dir in $PATH
13985 test -z "$as_dir" && as_dir=.
13986 for ac_exec_ext in '' $ac_executable_extensions; do
13987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13988 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13989 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13998 RANLIB=$ac_cv_prog_RANLIB
13999 if test -n "$RANLIB"; then
14000 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
14001 echo "${ECHO_T}$RANLIB" >&6; }
14003 { echo "$as_me:$LINENO: result
: no
" >&5
14004 echo "${ECHO_T}no
" >&6; }
14009 if test -z "$ac_cv_prog_RANLIB"; then
14010 ac_ct_RANLIB=$RANLIB
14011 # Extract the first word of "ranlib
", so it can be a program name with args.
14012 set dummy ranlib; ac_word=$2
14013 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14014 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14015 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14016 echo $ECHO_N "(cached
) $ECHO_C" >&6
14018 if test -n "$ac_ct_RANLIB"; then
14019 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14022 for as_dir in $PATH
14025 test -z "$as_dir" && as_dir=.
14026 for ac_exec_ext in '' $ac_executable_extensions; do
14027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14028 ac_cv_prog_ac_ct_RANLIB="ranlib
"
14029 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14038 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14039 if test -n "$ac_ct_RANLIB"; then
14040 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
14041 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14043 { echo "$as_me:$LINENO: result
: no
" >&5
14044 echo "${ECHO_T}no
" >&6; }
14047 if test "x
$ac_ct_RANLIB" = x; then
14050 case $cross_compiling:$ac_tool_warned in
14052 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14053 whose name does not start with the
host triplet. If you think this
14054 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14055 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14056 whose name does not start with the
host triplet. If you think this
14057 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14058 ac_tool_warned=yes ;;
14060 RANLIB=$ac_ct_RANLIB
14063 RANLIB="$ac_cv_prog_RANLIB"
14066 if test -n "$ac_tool_prefix"; then
14067 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14068 set dummy ${ac_tool_prefix}strip; ac_word=$2
14069 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14070 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14071 if test "${ac_cv_prog_STRIP+set}" = set; then
14072 echo $ECHO_N "(cached
) $ECHO_C" >&6
14074 if test -n "$STRIP"; then
14075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14078 for as_dir in $PATH
14081 test -z "$as_dir" && as_dir=.
14082 for ac_exec_ext in '' $ac_executable_extensions; do
14083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14084 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14085 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14094 STRIP=$ac_cv_prog_STRIP
14095 if test -n "$STRIP"; then
14096 { echo "$as_me:$LINENO: result
: $STRIP" >&5
14097 echo "${ECHO_T}$STRIP" >&6; }
14099 { echo "$as_me:$LINENO: result
: no
" >&5
14100 echo "${ECHO_T}no
" >&6; }
14105 if test -z "$ac_cv_prog_STRIP"; then
14107 # Extract the first word of "strip
", so it can be a program name with args.
14108 set dummy strip; ac_word=$2
14109 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14110 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14111 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14112 echo $ECHO_N "(cached
) $ECHO_C" >&6
14114 if test -n "$ac_ct_STRIP"; then
14115 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14118 for as_dir in $PATH
14121 test -z "$as_dir" && as_dir=.
14122 for ac_exec_ext in '' $ac_executable_extensions; do
14123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14124 ac_cv_prog_ac_ct_STRIP="strip
"
14125 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14134 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14135 if test -n "$ac_ct_STRIP"; then
14136 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
14137 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14139 { echo "$as_me:$LINENO: result
: no
" >&5
14140 echo "${ECHO_T}no
" >&6; }
14143 if test "x
$ac_ct_STRIP" = x; then
14146 case $cross_compiling:$ac_tool_warned in
14148 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14149 whose name does not start with the
host triplet. If you think this
14150 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14151 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14152 whose name does not start with the
host triplet. If you think this
14153 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14154 ac_tool_warned=yes ;;
14159 STRIP="$ac_cv_prog_STRIP"
14164 old_CFLAGS="$CFLAGS"
14166 # Set sane defaults for various variables
14167 test -z "$AR" && AR=ar
14168 test -z "$AR_FLAGS" && AR_FLAGS=cru
14169 test -z "$AS" && AS=as
14170 test -z "$CC" && CC=cc
14171 test -z "$LTCC" && LTCC=$CC
14172 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14173 test -z "$DLLTOOL" && DLLTOOL=dlltool
14174 test -z "$LD" && LD=ld
14175 test -z "$LN_S" && LN_S="ln -s"
14176 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14177 test -z "$NM" && NM=nm
14178 test -z "$SED" && SED=sed
14179 test -z "$OBJDUMP" && OBJDUMP=objdump
14180 test -z "$RANLIB" && RANLIB=:
14181 test -z "$STRIP" && STRIP=:
14182 test -z "$ac_objext" && ac_objext=o
14184 # Determine commands to create old-style static archives.
14185 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14186 old_postinstall_cmds='chmod 644 $oldlib'
14187 old_postuninstall_cmds=
14189 if test -n "$RANLIB"; then
14192 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
14195 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
14198 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
14201 for cc_temp in $compiler""; do
14203 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14204 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14209 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14212 # Only perform the check for file, if the check method requires it
14213 case $deplibs_check_method in
14215 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14216 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14217 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14218 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14219 echo $ECHO_N "(cached
) $ECHO_C" >&6
14223 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14226 lt_save_MAGIC_CMD="$MAGIC_CMD"
14227 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14228 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14229 for ac_dir in $ac_dummy; do
14231 test -z "$ac_dir" && ac_dir=.
14232 if test -f $ac_dir/${ac_tool_prefix}file; then
14233 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14234 if test -n "$file_magic_test_file"; then
14235 case $deplibs_check_method in
14237 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14238 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14239 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14240 $EGREP "$file_magic_regex" > /dev/null; then
14245 *** Warning: the command libtool uses to detect shared libraries,
14246 *** $file_magic_cmd, produces output that libtool cannot recognize.
14247 *** The result is that libtool may fail to recognize shared libraries
14248 *** as such. This will affect the creation of libtool libraries that
14249 *** depend on shared libraries, but programs linked with such libtool
14250 *** libraries will work regardless of this problem. Nevertheless, you
14251 *** may want to report the problem to your system manager and/or to
14252 *** bug-libtool@gnu.org
14262 MAGIC_CMD="$lt_save_MAGIC_CMD"
14267 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14268 if test -n "$MAGIC_CMD"; then
14269 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14270 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14272 { echo "$as_me:$LINENO: result
: no
" >&5
14273 echo "${ECHO_T}no
" >&6; }
14276 if test -z "$lt_cv_path_MAGIC_CMD"; then
14277 if test -n "$ac_tool_prefix"; then
14278 { echo "$as_me:$LINENO: checking
for file" >&5
14279 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14281 echo $ECHO_N "(cached
) $ECHO_C" >&6
14285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14288 lt_save_MAGIC_CMD="$MAGIC_CMD"
14289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14290 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14291 for ac_dir in $ac_dummy; do
14293 test -z "$ac_dir" && ac_dir=.
14294 if test -f $ac_dir/file; then
14295 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14296 if test -n "$file_magic_test_file"; then
14297 case $deplibs_check_method in
14299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14302 $EGREP "$file_magic_regex" > /dev/null; then
14307 *** Warning: the command libtool uses to detect shared libraries,
14308 *** $file_magic_cmd, produces output that libtool cannot recognize.
14309 *** The result is that libtool may fail to recognize shared libraries
14310 *** as such. This will affect the creation of libtool libraries that
14311 *** depend on shared libraries, but programs linked with such libtool
14312 *** libraries will work regardless of this problem. Nevertheless, you
14313 *** may want to report the problem to your system manager and/or to
14314 *** bug-libtool@gnu.org
14324 MAGIC_CMD="$lt_save_MAGIC_CMD"
14329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14330 if test -n "$MAGIC_CMD"; then
14331 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14332 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14334 { echo "$as_me:$LINENO: result
: no
" >&5
14335 echo "${ECHO_T}no
" >&6; }
14348 enable_win32_dll=no
14350 # Check whether --enable-libtool-lock was given.
14351 if test "${enable_libtool_lock+set}" = set; then
14352 enableval=$enable_libtool_lock;
14355 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14358 # Check whether --with-pic was given.
14359 if test "${with_pic+set}" = set; then
14360 withval=$with_pic; pic_mode="$withval"
14365 test -z "$pic_mode" && pic_mode=default
14367 # Use C for the default configuration in the libtool script
14371 ac_cpp='$CPP $CPPFLAGS'
14372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14377 # Source file extension for C test sources.
14380 # Object file extension for compiled C test sources.
14384 # Code to be used in simple compile tests
14385 lt_simple_compile_test_code="int some_variable
= 0;\n"
14387 # Code to be used in simple link tests
14388 lt_simple_link_test_code='int main(){return(0);}\n'
14391 # If no C compiler was specified, use CC.
14394 # If no C compiler flags were specified, use CFLAGS.
14395 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14397 # Allow CC to be a program name with arguments.
14401 # save warnings/boilerplate of simple test code
14402 ac_outfile=conftest.$ac_objext
14403 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14404 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14405 _lt_compiler_boilerplate=`cat conftest.err`
14408 ac_outfile=conftest.$ac_objext
14409 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14410 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14411 _lt_linker_boilerplate=`cat conftest.err`
14416 lt_prog_compiler_no_builtin_flag=
14418 if test "$GCC" = yes; then
14419 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14422 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14423 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14424 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14425 echo $ECHO_N "(cached
) $ECHO_C" >&6
14427 lt_cv_prog_compiler_rtti_exceptions=no
14428 ac_outfile=conftest.$ac_objext
14429 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14430 lt_compiler_flag="-fno-rtti -fno-exceptions"
14431 # Insert the option either (1) after the last *FLAGS variable, or
14432 # (2) before a word containing "conftest.
", or (3) at the end.
14433 # Note that $ac_compile itself does not contain backslashes and begins
14434 # with a dollar sign (not a hyphen), so the echo should work correctly.
14435 # The option is referenced via a variable to avoid confusing sed.
14436 lt_compile=`echo "$ac_compile" | $SED \
14437 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14438 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14439 -e 's:$: $lt_compiler_flag:'`
14440 (eval echo "\"\
$as_me:14440: $lt_compile\"" >&5)
14441 (eval "$lt_compile" 2>conftest.err)
14443 cat conftest.err >&5
14444 echo "$as_me:14444: \$?
= $ac_status" >&5
14445 if (exit $ac_status) && test -s "$ac_outfile"; then
14446 # The compiler can only warn and ignore the option if not recognized
14447 # So say no if there are warnings other than the usual output.
14448 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14449 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14450 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14451 lt_cv_prog_compiler_rtti_exceptions=yes
14457 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14458 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14460 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14461 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14468 lt_prog_compiler_wl=
14469 lt_prog_compiler_pic=
14470 lt_prog_compiler_static=
14472 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14473 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14475 if test "$GCC" = yes; then
14476 lt_prog_compiler_wl='-Wl,'
14477 lt_prog_compiler_static='-static'
14481 # All AIX code is PIC.
14482 if test "$host_cpu" = ia64; then
14483 # AIX 5 now supports IA64 processor
14484 lt_prog_compiler_static='-Bstatic'
14489 # FIXME: we need at least 68020 code to build shared libraries, but
14490 # adding the `-m68020' flag to GCC prevents building anything better,
14492 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14495 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14496 # PIC is the default for these OSes.
14499 mingw* | pw32* | os2*)
14500 # This hack is so that the source file can tell whether it is being
14501 # built for inclusion in a dll (and should export symbols for example).
14502 lt_prog_compiler_pic='-DDLL_EXPORT'
14505 darwin* | rhapsody*)
14506 # PIC is the default on this platform
14507 # Common symbols not allowed in MH_DYLIB files
14508 lt_prog_compiler_pic='-fno-common'
14512 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14513 # Instead, we relocate shared libraries at runtime.
14517 # Just because we use GCC doesn't mean we suddenly get shared libraries
14518 # on systems that don't support them.
14519 lt_prog_compiler_can_build_shared=no
14524 if test -d /usr/nec; then
14525 lt_prog_compiler_pic=-Kconform_pic
14530 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14531 # not for PA HP-UX.
14537 lt_prog_compiler_pic='-fPIC'
14543 lt_prog_compiler_pic='-fPIC'
14547 # PORTME Check for flag to pass linker flags through the system compiler.
14550 lt_prog_compiler_wl='-Wl,'
14551 if test "$host_cpu" = ia64; then
14552 # AIX 5 now supports IA64 processor
14553 lt_prog_compiler_static='-Bstatic'
14555 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14559 # PIC is the default on this platform
14560 # Common symbols not allowed in MH_DYLIB files
14561 case $cc_basename in
14563 lt_prog_compiler_pic='-qnocommon'
14564 lt_prog_compiler_wl='-Wl,'
14569 mingw* | pw32* | os2*)
14570 # This hack is so that the source file can tell whether it is being
14571 # built for inclusion in a dll (and should export symbols for example).
14572 lt_prog_compiler_pic='-DDLL_EXPORT'
14575 hpux9* | hpux10* | hpux11*)
14576 lt_prog_compiler_wl='-Wl,'
14577 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14578 # not for PA HP-UX.
14584 lt_prog_compiler_pic='+Z'
14587 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14588 lt_prog_compiler_static='${wl}-a ${wl}archive'
14591 irix5* | irix6* | nonstopux*)
14592 lt_prog_compiler_wl='-Wl,'
14593 # PIC (with -KPIC) is the default.
14594 lt_prog_compiler_static='-non_shared'
14598 lt_prog_compiler_pic='-KPIC'
14599 lt_prog_compiler_static='-Bstatic'
14603 case $cc_basename in
14605 lt_prog_compiler_wl='-Wl,'
14606 lt_prog_compiler_pic='-KPIC'
14607 lt_prog_compiler_static='-static'
14609 pgcc* | pgf77* | pgf90* | pgf95*)
14610 # Portland Group compilers (*not* the Pentium gcc compiler,
14611 # which looks to be a dead project)
14612 lt_prog_compiler_wl='-Wl,'
14613 lt_prog_compiler_pic='-fpic'
14614 lt_prog_compiler_static='-Bstatic'
14617 lt_prog_compiler_wl='-Wl,'
14618 # All Alpha code is PIC.
14619 lt_prog_compiler_static='-non_shared'
14624 osf3* | osf4* | osf5*)
14625 lt_prog_compiler_wl='-Wl,'
14626 # All OSF/1 code is PIC.
14627 lt_prog_compiler_static='-non_shared'
14631 lt_prog_compiler_pic='-KPIC'
14632 lt_prog_compiler_static='-Bstatic'
14633 case $cc_basename in
14634 f77* | f90* | f95*)
14635 lt_prog_compiler_wl='-Qoption ld ';;
14637 lt_prog_compiler_wl='-Wl,';;
14642 lt_prog_compiler_wl='-Qoption ld '
14643 lt_prog_compiler_pic='-PIC'
14644 lt_prog_compiler_static='-Bstatic'
14647 sysv4 | sysv4.2uw2* | sysv4.3*)
14648 lt_prog_compiler_wl='-Wl,'
14649 lt_prog_compiler_pic='-KPIC'
14650 lt_prog_compiler_static='-Bstatic'
14654 if test -d /usr/nec ;then
14655 lt_prog_compiler_pic='-Kconform_pic'
14656 lt_prog_compiler_static='-Bstatic'
14660 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14661 lt_prog_compiler_wl='-Wl,'
14662 lt_prog_compiler_pic='-KPIC'
14663 lt_prog_compiler_static='-Bstatic'
14667 lt_prog_compiler_wl='-Wl,'
14668 lt_prog_compiler_can_build_shared=no
14672 lt_prog_compiler_pic='-pic'
14673 lt_prog_compiler_static='-Bstatic'
14677 lt_prog_compiler_can_build_shared=no
14682 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14683 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14686 # Check to make sure the PIC flag actually works.
14688 if test -n "$lt_prog_compiler_pic"; then
14690 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14691 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14692 if test "${lt_prog_compiler_pic_works+set}" = set; then
14693 echo $ECHO_N "(cached
) $ECHO_C" >&6
14695 lt_prog_compiler_pic_works=no
14696 ac_outfile=conftest.$ac_objext
14697 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14698 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14699 # Insert the option either (1) after the last *FLAGS variable, or
14700 # (2) before a word containing "conftest.
", or (3) at the end.
14701 # Note that $ac_compile itself does not contain backslashes and begins
14702 # with a dollar sign (not a hyphen), so the echo should work correctly.
14703 # The option is referenced via a variable to avoid confusing sed.
14704 lt_compile=`echo "$ac_compile" | $SED \
14705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14707 -e 's:$: $lt_compiler_flag:'`
14708 (eval echo "\"\
$as_me:14708: $lt_compile\"" >&5)
14709 (eval "$lt_compile" 2>conftest.err)
14711 cat conftest.err >&5
14712 echo "$as_me:14712: \$?
= $ac_status" >&5
14713 if (exit $ac_status) && test -s "$ac_outfile"; then
14714 # The compiler can only warn and ignore the option if not recognized
14715 # So say no if there are warnings other than the usual output.
14716 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14717 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14718 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14719 lt_prog_compiler_pic_works=yes
14725 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14726 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14728 if test x"$lt_prog_compiler_pic_works" = xyes; then
14729 case $lt_prog_compiler_pic in
14731 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14734 lt_prog_compiler_pic=
14735 lt_prog_compiler_can_build_shared=no
14740 # For platforms which do not support PIC, -DPIC is meaningless:
14742 lt_prog_compiler_pic=
14745 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14750 # Check to make sure the static flag actually works.
14752 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14753 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14754 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14755 if test "${lt_prog_compiler_static_works+set}" = set; then
14756 echo $ECHO_N "(cached
) $ECHO_C" >&6
14758 lt_prog_compiler_static_works=no
14759 save_LDFLAGS="$LDFLAGS"
14760 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14761 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14762 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14763 # The linker can only warn and ignore the option if not recognized
14764 # So say no if there are warnings
14765 if test -s conftest.err; then
14766 # Append any errors to the config.log.
14767 cat conftest.err 1>&5
14768 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14770 if diff conftest.exp conftest.er2 >/dev/null; then
14771 lt_prog_compiler_static_works=yes
14774 lt_prog_compiler_static_works=yes
14778 LDFLAGS="$save_LDFLAGS"
14781 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14782 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14784 if test x"$lt_prog_compiler_static_works" = xyes; then
14787 lt_prog_compiler_static=
14791 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14792 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14793 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14794 echo $ECHO_N "(cached
) $ECHO_C" >&6
14796 lt_cv_prog_compiler_c_o=no
14797 $rm -r conftest 2>/dev/null
14801 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14803 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14804 # Insert the option either (1) after the last *FLAGS variable, or
14805 # (2) before a word containing "conftest.
", or (3) at the end.
14806 # Note that $ac_compile itself does not contain backslashes and begins
14807 # with a dollar sign (not a hyphen), so the echo should work correctly.
14808 lt_compile=`echo "$ac_compile" | $SED \
14809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14811 -e 's:$: $lt_compiler_flag:'`
14812 (eval echo "\"\
$as_me:14812: $lt_compile\"" >&5)
14813 (eval "$lt_compile" 2>out/conftest.err)
14815 cat out/conftest.err >&5
14816 echo "$as_me:14816: \$?
= $ac_status" >&5
14817 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14819 # The compiler can only warn and ignore the option if not recognized
14820 # So say no if there are warnings
14821 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14822 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14823 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14824 lt_cv_prog_compiler_c_o=yes
14829 # SGI C++ compiler will create directory out/ii_files/ for
14830 # template instantiation
14831 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14832 $rm out/* && rmdir out
14838 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14839 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14842 hard_links="nottested
"
14843 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14844 # do not overwrite the value of need_locks provided by the user
14845 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14846 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14849 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14851 ln conftest.a conftest.b 2>&5 || hard_links=no
14852 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14853 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14854 echo "${ECHO_T}$hard_links" >&6; }
14855 if test "$hard_links" = no; then
14856 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14857 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14864 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14865 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14868 allow_undefined_flag=
14869 enable_shared_with_static_runtimes=no
14871 archive_expsym_cmds=
14872 old_archive_From_new_cmds=
14873 old_archive_from_expsyms_cmds=
14874 export_dynamic_flag_spec=
14875 whole_archive_flag_spec=
14876 thread_safe_flag_spec=
14877 hardcode_libdir_flag_spec=
14878 hardcode_libdir_flag_spec_ld=
14879 hardcode_libdir_separator=
14881 hardcode_minus_L=no
14882 hardcode_shlibpath_var=unsupported
14883 link_all_deplibs=unknown
14884 hardcode_automatic=no
14886 module_expsym_cmds=
14887 always_export_symbols=no
14888 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14889 # include_expsyms should be a list of space-separated symbols to be *always*
14890 # included in the symbol list
14892 # exclude_expsyms can be an extended regexp of symbols to exclude
14893 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14894 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14895 # as well as any symbol that contains `d'.
14896 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14897 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14898 # platforms (ab)use it in PIC code, but their linkers get confused if
14899 # the symbol is explicitly referenced. Since portable code cannot
14900 # rely on this symbol name, it's probably fine to never include it in
14901 # preloaded symbol tables.
14902 extract_expsyms_cmds=
14903 # Just being paranoid about ensuring that cc_basename is set.
14904 for cc_temp in $compiler""; do
14906 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14907 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14912 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14915 cygwin* | mingw* | pw32*)
14916 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14917 # When not using gcc, we currently assume that we are using
14918 # Microsoft Visual C++.
14919 if test "$GCC" != yes; then
14924 # we just hope/assume this is gcc and not c89 (= MSVC++)
14933 if test "$with_gnu_ld" = yes; then
14934 # If archive_cmds runs LD, not CC, wlarc should be empty
14937 # Set some defaults for GNU ld with shared library support. These
14938 # are reset later if shared libraries are not supported. Putting them
14939 # here allows them to be overridden if necessary.
14940 runpath_var=LD_RUN_PATH
14941 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14942 export_dynamic_flag_spec='${wl}--export-dynamic'
14943 # ancient GNU ld didn't support --whole-archive et. al.
14944 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14945 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14947 whole_archive_flag_spec=
14949 supports_anon_versioning=no
14950 case `$LD -v 2>/dev/null` in
14951 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14952 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14953 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14954 *\ 2.11.*) ;; # other 2.11 versions
14955 *) supports_anon_versioning=yes ;;
14958 # See if GNU ld supports shared libraries.
14960 aix3* | aix4* | aix5*)
14961 # On AIX/PPC, the GNU linker is very broken
14962 if test "$host_cpu" != ia64; then
14966 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14967 *** to be unable to reliably create shared libraries on AIX.
14968 *** Therefore, libtool is disabling shared libraries support. If you
14969 *** really care for shared libraries, you may want to modify your PATH
14970 *** so that a non-GNU linker is found, and then restart.
14977 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)'
14978 hardcode_libdir_flag_spec
='-L$libdir'
14979 hardcode_minus_L
=yes
14981 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14982 # that the semantics of dynamic libraries on AmigaOS, at least up
14983 # to version 4, is to share data among multiple programs linked
14984 # with the same dynamic library. Since this doesn't match the
14985 # behavior of shared libraries on other platforms, we can't use
14991 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14992 allow_undefined_flag
=unsupported
14993 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14994 # support --undefined. This deserves some investigation. FIXME
14995 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15001 cygwin
* | mingw
* | pw32
*)
15002 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15003 # as there is no search path for DLLs.
15004 hardcode_libdir_flag_spec
='-L$libdir'
15005 allow_undefined_flag
=unsupported
15006 always_export_symbols
=no
15007 enable_shared_with_static_runtimes
=yes
15008 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15010 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15011 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15012 # If the export-symbols file already is a .def file (1st line
15013 # is EXPORTS), use it as is; otherwise, prepend...
15014 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15015 cp $export_symbols $output_objdir/$soname.def;
15017 echo EXPORTS > $output_objdir/$soname.def;
15018 cat $export_symbols >> $output_objdir/$soname.def;
15020 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15028 hardcode_shlibpath_var
=no
15029 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15030 export_dynamic_flag_spec
='${wl}-E'
15031 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15032 # Instead, shared libraries are loaded at an image base (0x10000000 by
15033 # default) and relocated if they conflict, which is a slow very memory
15034 # consuming and fragmenting process. To avoid this, we pick a random,
15035 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15036 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15037 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15038 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'
15042 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15044 case $cc_basename,$host_cpu in
15045 pgcc
*) # Portland Group C compiler
15046 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'
15047 tmp_addflag
=' $pic_flag'
15049 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15050 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'
15051 tmp_addflag
=' $pic_flag -Mnomain' ;;
15052 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15053 tmp_addflag
=' -i_dynamic' ;;
15054 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15055 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15056 ifc
* | ifort
*) # Intel Fortran compiler
15057 tmp_addflag
=' -nofor_main' ;;
15059 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15061 if test $supports_anon_versioning = yes; then
15062 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
15063 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15064 $echo "local: *; };" >> $output_objdir/$libname.ver~
15065 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15073 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15074 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15077 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15078 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15083 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15087 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15088 *** create shared libraries on Solaris systems. Therefore, libtool
15089 *** is disabling shared libraries support. We urge you to upgrade GNU
15090 *** binutils to release 2.9.1 or newer. Another option is to modify
15091 *** your PATH or compiler configuration so that the native linker is
15092 *** used, and then restart.
15095 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15096 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15097 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15103 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15104 case `$LD -v 2>&1` in
15105 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15109 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15110 *** reliably create shared libraries on SCO systems. Therefore, libtool
15111 *** is disabling shared libraries support. We urge you to upgrade GNU
15112 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15113 *** your PATH or compiler configuration so that the native linker is
15114 *** used, and then restart.
15119 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15120 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15121 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15122 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15131 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15133 hardcode_direct
=yes
15134 hardcode_shlibpath_var
=no
15138 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15139 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15140 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15147 if test "$ld_shlibs" = no
; then
15149 hardcode_libdir_flag_spec
=
15150 export_dynamic_flag_spec
=
15151 whole_archive_flag_spec
=
15154 # PORTME fill in a description of your system's linker (not GNU ld)
15157 allow_undefined_flag
=unsupported
15158 always_export_symbols
=yes
15159 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'
15160 # Note: this linker hardcodes the directories in LIBPATH if there
15161 # are no directories specified by -L.
15162 hardcode_minus_L
=yes
15163 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15164 # Neither direct hardcoding nor static linking is supported with a
15166 hardcode_direct
=unsupported
15171 if test "$host_cpu" = ia64
; then
15172 # On IA64, the linker does run time linking by default, so we don't
15173 # have to do anything special.
15174 aix_use_runtimelinking
=no
15175 exp_sym_flag
='-Bexport'
15178 # If we're using GNU nm, then we don't want the "-C" option.
15179 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15180 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15181 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'
15183 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'
15185 aix_use_runtimelinking
=no
15187 # Test if we are trying to use run time linking or normal
15188 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15189 # need to do runtime linking.
15190 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15191 for ld_flag
in $LDFLAGS; do
15192 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15193 aix_use_runtimelinking
=yes
15200 exp_sym_flag
='-bexport'
15201 no_entry_flag
='-bnoentry'
15204 # When large executables or shared objects are built, AIX ld can
15205 # have problems creating the table of contents. If linking a library
15206 # or program results in "error TOC overflow" add -mminimal-toc to
15207 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15208 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15211 hardcode_direct
=yes
15212 hardcode_libdir_separator
=':'
15213 link_all_deplibs
=yes
15215 if test "$GCC" = yes; then
15216 case $host_os in aix4.
[012]|aix4.
[012].
*)
15217 # We only want to do this on AIX 4.2 and lower, the check
15218 # below for broken collect2 doesn't work under 4.3+
15219 collect2name
=`${CC} -print-prog-name=collect2`
15220 if test -f "$collect2name" && \
15221 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15223 # We have reworked collect2
15224 hardcode_direct
=yes
15226 # We have old collect2
15227 hardcode_direct
=unsupported
15228 # It fails to find uninstalled libraries when the uninstalled
15229 # path is not listed in the libpath. Setting hardcode_minus_L
15230 # to unsupported forces relinking
15231 hardcode_minus_L
=yes
15232 hardcode_libdir_flag_spec
='-L$libdir'
15233 hardcode_libdir_separator
=
15237 shared_flag
='-shared'
15238 if test "$aix_use_runtimelinking" = yes; then
15239 shared_flag
="$shared_flag "'${wl}-G'
15243 if test "$host_cpu" = ia64
; then
15244 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15245 # chokes on -Wl,-G. The following line is correct:
15248 if test "$aix_use_runtimelinking" = yes; then
15249 shared_flag
='${wl}-G'
15251 shared_flag
='${wl}-bM:SRE'
15256 # It seems that -bexpall does not export symbols beginning with
15257 # underscore (_), so it is better to generate a list of symbols to export.
15258 always_export_symbols
=yes
15259 if test "$aix_use_runtimelinking" = yes; then
15260 # Warning - without using the other runtime loading flags (-brtl),
15261 # -berok will link without error, but may produce a broken library.
15262 allow_undefined_flag
='-berok'
15263 # Determine the default libpath from the value encoded in an empty executable.
15264 cat >conftest.
$ac_ext <<_ACEOF
15267 cat confdefs.h
>>conftest.
$ac_ext
15268 cat >>conftest.
$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15279 rm -f conftest.
$ac_objext conftest
$ac_exeext
15280 if { (ac_try
="$ac_link"
15281 case "(($ac_try" in
15282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15283 *) ac_try_echo=$ac_try;;
15285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15286 (eval "$ac_link") 2>conftest.er1
15288 grep -v '^ *+' conftest.er1 >conftest.err
15290 cat conftest.err >&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); } &&
15293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15294 { (case "(($ac_try" in
15295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15296 *) ac_try_echo
=$ac_try;;
15298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15299 (eval "$ac_try") 2>&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; } &&
15303 { ac_try
='test -s conftest$ac_exeext'
15304 { (case "(($ac_try" in
15305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15306 *) ac_try_echo=$ac_try;;
15308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15309 (eval "$ac_try") 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15314 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15316 # Check for a 64-bit object if we didn't find anything.
15317 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; }
15320 echo "$as_me: failed program was:" >&5
15321 sed 's/^/| /' conftest.$ac_ext >&5
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15330 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15331 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"
15333 if test "$host_cpu" = ia64; then
15334 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15335 allow_undefined_flag="-z nodefs"
15336 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"
15338 # Determine the default libpath from the value encoded in an empty executable.
15339 cat >conftest.$ac_ext <<_ACEOF
15342 cat confdefs.h >>conftest.$ac_ext
15343 cat >>conftest.$ac_ext <<_ACEOF
15344 /* end confdefs.h. */
15354 rm -f conftest.$ac_objext conftest$ac_exeext
15355 if { (ac_try="$ac_link"
15356 case "(($ac_try" in
15357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15358 *) ac_try_echo
=$ac_try;;
15360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15361 (eval "$ac_link") 2>conftest.er1
15363 grep -v '^ *+' conftest.er1
>conftest.err
15365 cat conftest.err
>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15369 { (case "(($ac_try" in
15370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15371 *) ac_try_echo=$ac_try;;
15373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15374 (eval "$ac_try") 2>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; } &&
15378 { ac_try='test -s conftest$ac_exeext'
15379 { (case "(($ac_try" in
15380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15381 *) ac_try_echo
=$ac_try;;
15383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15384 (eval "$ac_try") 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; }; then
15389 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15391 # Check for a 64-bit object if we didn't find anything.
15392 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; }
15395 echo "$as_me: failed program was:" >&5
15396 sed 's/^/| /' conftest.
$ac_ext >&5
15401 rm -f core conftest.err conftest.
$ac_objext \
15402 conftest
$ac_exeext conftest.
$ac_ext
15403 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15405 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15406 # Warning - without using the other run time loading flags,
15407 # -berok will link without error, but may produce a broken library.
15408 no_undefined_flag
=' ${wl}-bernotok'
15409 allow_undefined_flag
=' ${wl}-berok'
15410 # Exported symbols can be pulled into shared objects from archives
15411 whole_archive_flag_spec
='$convenience'
15412 archive_cmds_need_lc
=yes
15413 # This is similar to how AIX traditionally builds its shared libraries.
15414 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'
15420 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)'
15421 hardcode_libdir_flag_spec
='-L$libdir'
15422 hardcode_minus_L
=yes
15423 # see comment about different semantics on the GNU ld section
15428 export_dynamic_flag_spec
=-rdynamic
15431 cygwin
* | mingw
* | pw32
*)
15432 # When not using gcc, we currently assume that we are using
15433 # Microsoft Visual C++.
15434 # hardcode_libdir_flag_spec is actually meaningless, as there is
15435 # no search path for DLLs.
15436 hardcode_libdir_flag_spec
=' '
15437 allow_undefined_flag
=unsupported
15438 # Tell ltmain to make .lib files, not .a files.
15440 # Tell ltmain to make .dll files, not .so files.
15442 # FIXME: Setting linknames here is a bad hack.
15443 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15444 # The linker will automatically build a .lib file if we build a DLL.
15445 old_archive_From_new_cmds
='true'
15446 # FIXME: Should let the user specify the lib program.
15447 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15448 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15449 enable_shared_with_static_runtimes
=yes
15452 darwin
* | rhapsody
*)
15454 rhapsody
* | darwin1.
[012])
15455 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15458 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15459 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15461 case ${MACOSX_DEPLOYMENT_TARGET} in
15463 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15466 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15472 archive_cmds_need_lc
=no
15474 hardcode_automatic
=yes
15475 hardcode_shlibpath_var
=unsupported
15476 whole_archive_flag_spec
=''
15477 link_all_deplibs
=yes
15478 if test "$GCC" = yes ; then
15479 output_verbose_link_cmd
='echo'
15480 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15481 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15482 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15483 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}'
15484 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}'
15486 case $cc_basename in
15488 output_verbose_link_cmd
='echo'
15489 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15490 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15491 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15492 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}'
15493 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}'
15503 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15504 hardcode_libdir_flag_spec
='-L$libdir'
15505 hardcode_shlibpath_var
=no
15512 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15513 # support. Future versions do this automatically, but an explicit c++rt0.o
15514 # does not break anything, and helps significantly (at the cost of a little
15517 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15518 hardcode_libdir_flag_spec
='-R$libdir'
15519 hardcode_direct
=yes
15520 hardcode_shlibpath_var
=no
15523 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15525 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15526 hardcode_direct
=yes
15527 hardcode_minus_L
=yes
15528 hardcode_shlibpath_var
=no
15531 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15532 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15533 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15534 hardcode_libdir_flag_spec
='-R$libdir'
15535 hardcode_direct
=yes
15536 hardcode_shlibpath_var
=no
15540 if test "$GCC" = yes; then
15541 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'
15543 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'
15545 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15546 hardcode_libdir_separator
=:
15547 hardcode_direct
=yes
15549 # hardcode_minus_L: Not really in the search PATH,
15550 # but as the default location of the library.
15551 hardcode_minus_L
=yes
15552 export_dynamic_flag_spec
='${wl}-E'
15556 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15557 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15559 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15561 if test "$with_gnu_ld" = no
; then
15562 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15563 hardcode_libdir_separator
=:
15565 hardcode_direct
=yes
15566 export_dynamic_flag_spec
='${wl}-E'
15568 # hardcode_minus_L: Not really in the search PATH,
15569 # but as the default location of the library.
15570 hardcode_minus_L
=yes
15575 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15578 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15581 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15584 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15590 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15593 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15596 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15600 if test "$with_gnu_ld" = no
; then
15601 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15602 hardcode_libdir_separator
=:
15606 hardcode_libdir_flag_spec_ld
='+b $libdir'
15608 hardcode_shlibpath_var
=no
15611 hardcode_direct
=yes
15612 export_dynamic_flag_spec
='${wl}-E'
15614 # hardcode_minus_L: Not really in the search PATH,
15615 # but as the default location of the library.
15616 hardcode_minus_L
=yes
15622 irix5
* | irix6
* | nonstopux
*)
15623 if test "$GCC" = yes; then
15624 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'
15626 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'
15627 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15629 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15630 hardcode_libdir_separator
=:
15631 link_all_deplibs
=yes
15635 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15636 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15638 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15640 hardcode_libdir_flag_spec
='-R$libdir'
15641 hardcode_direct
=yes
15642 hardcode_shlibpath_var
=no
15646 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15647 hardcode_direct
=yes
15648 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15649 hardcode_libdir_separator
=:
15650 hardcode_shlibpath_var
=no
15654 hardcode_direct
=yes
15655 hardcode_shlibpath_var
=no
15656 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15657 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15658 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15659 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15660 export_dynamic_flag_spec
='${wl}-E'
15663 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15664 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15665 hardcode_libdir_flag_spec
='-R$libdir'
15668 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15669 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15676 hardcode_libdir_flag_spec
='-L$libdir'
15677 hardcode_minus_L
=yes
15678 allow_undefined_flag
=unsupported
15679 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'
15680 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15684 if test "$GCC" = yes; then
15685 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15686 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'
15688 allow_undefined_flag
=' -expect_unresolved \*'
15689 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'
15691 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15692 hardcode_libdir_separator
=:
15695 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15696 if test "$GCC" = yes; then
15697 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15698 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'
15699 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15701 allow_undefined_flag
=' -expect_unresolved \*'
15702 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'
15703 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15704 $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'
15706 # Both c and cxx compiler support -rpath directly
15707 hardcode_libdir_flag_spec
='-rpath $libdir'
15709 hardcode_libdir_separator
=:
15713 no_undefined_flag
=' -z text'
15714 if test "$GCC" = yes; then
15716 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15717 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15718 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15721 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15722 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15723 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15725 hardcode_libdir_flag_spec
='-R$libdir'
15726 hardcode_shlibpath_var
=no
15728 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15730 # The compiler driver will combine linker options so we
15731 # cannot just pass the convience library names through
15732 # without $wl, iff we do not link with $LD.
15733 # Luckily, gcc supports the same syntax we need for Sun Studio.
15734 # Supported since Solaris 2.6 (maybe 2.5.1?)
15737 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15739 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' ;;
15742 link_all_deplibs
=yes
15746 if test "x$host_vendor" = xsequent
; then
15747 # Use $CC to link under sequent, because it throws in some extra .o
15748 # files that make .init and .fini sections work.
15749 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15751 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15753 hardcode_libdir_flag_spec
='-L$libdir'
15754 hardcode_direct
=yes
15755 hardcode_minus_L
=yes
15756 hardcode_shlibpath_var
=no
15760 case $host_vendor in
15762 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15763 hardcode_direct
=yes # is this really true???
15766 ## LD is ld it makes a PLAMLIB
15767 ## CC just makes a GrossModule.
15768 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15769 reload_cmds
='$CC -r -o $output$reload_objs'
15773 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15774 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15777 runpath_var
='LD_RUN_PATH'
15778 hardcode_shlibpath_var
=no
15782 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15783 hardcode_shlibpath_var
=no
15784 export_dynamic_flag_spec
='-Bexport'
15788 if test -d /usr
/nec
; then
15789 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15790 hardcode_shlibpath_var
=no
15791 runpath_var
=LD_RUN_PATH
15792 hardcode_runpath_var
=yes
15797 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15798 no_undefined_flag
='${wl}-z,text'
15799 archive_cmds_need_lc
=no
15800 hardcode_shlibpath_var
=no
15801 runpath_var
='LD_RUN_PATH'
15803 if test "$GCC" = yes; then
15804 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15805 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15807 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15808 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15812 sysv5
* | sco3.2v5
* | sco5v6
*)
15813 # Note: We can NOT use -z defs as we might desire, because we do not
15814 # link with -lc, and that would cause any symbols used from libc to
15815 # always be unresolved, which means just about no library would
15816 # ever link correctly. If we're not using GNU ld we use -z text
15817 # though, which does catch some bad symbols but isn't as heavy-handed
15819 no_undefined_flag
='${wl}-z,text'
15820 allow_undefined_flag
='${wl}-z,nodefs'
15821 archive_cmds_need_lc
=no
15822 hardcode_shlibpath_var
=no
15823 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15824 hardcode_libdir_separator
=':'
15825 link_all_deplibs
=yes
15826 export_dynamic_flag_spec
='${wl}-Bexport'
15827 runpath_var
='LD_RUN_PATH'
15829 if test "$GCC" = yes; then
15830 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15831 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15833 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15834 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15839 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15840 hardcode_libdir_flag_spec
='-L$libdir'
15841 hardcode_shlibpath_var
=no
15850 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15851 echo "${ECHO_T}$ld_shlibs" >&6; }
15852 test "$ld_shlibs" = no
&& can_build_shared
=no
15855 # Do we need to explicitly link libc?
15857 case "x$archive_cmds_need_lc" in
15859 # Assume -lc should be added
15860 archive_cmds_need_lc
=yes
15862 if test "$enable_shared" = yes && test "$GCC" = yes; then
15863 case $archive_cmds in
15865 # FIXME: we may have to deal with multi-command sequences.
15868 # Test whether the compiler implicitly links with -lc since on some
15869 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15870 # to ld, don't add -lc before -lgcc.
15871 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15872 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15874 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15877 (eval $ac_compile) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } 2>conftest.err
; then
15883 libobjs
=conftest.
$ac_objext
15885 wl
=$lt_prog_compiler_wl
15886 pic_flag
=$lt_prog_compiler_pic
15892 lt_save_allow_undefined_flag
=$allow_undefined_flag
15893 allow_undefined_flag
=
15894 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15895 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }
15900 archive_cmds_need_lc
=no
15902 archive_cmds_need_lc
=yes
15904 allow_undefined_flag
=$lt_save_allow_undefined_flag
15906 cat conftest.err
1>&5
15909 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15910 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15917 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15918 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15919 library_names_spec
=
15920 libname_spec
='lib$name'
15924 postuninstall_cmds
=
15928 shlibpath_overrides_runpath
=unknown
15930 dynamic_linker
="$host_os ld.so"
15931 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15932 if test "$GCC" = yes; then
15933 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15934 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15935 # if the path contains ";" then we assume it to be the separator
15936 # otherwise default to the standard path separator (i.e. ":") - it is
15937 # assumed that no part of a normal pathname contains ";" but that should
15938 # okay in the real world where ";" in dirpaths is itself problematic.
15939 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15941 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15944 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15946 need_lib_prefix
=unknown
15947 hardcode_into_libs
=no
15949 # when you set need_version to no, make sure it does not cause -set_version
15950 # flags to be left without arguments
15951 need_version
=unknown
15956 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15957 shlibpath_var
=LIBPATH
15959 # AIX 3 has no versioning support, so we append a major version to the name.
15960 soname_spec
='${libname}${release}${shared_ext}$major'
15967 hardcode_into_libs
=yes
15968 if test "$host_cpu" = ia64
; then
15969 # AIX 5 supports IA64
15970 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15971 shlibpath_var
=LD_LIBRARY_PATH
15973 # With GCC up to 2.95.x, collect2 would create an import file
15974 # for dependence libraries. The import file would start with
15975 # the line `#! .'. This would cause the generated library to
15976 # depend on `.', always an invalid library. This was fixed in
15977 # development snapshots of GCC prior to 3.0.
15979 aix4 | aix4.
[01] | aix4.
[01].
*)
15980 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15982 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15985 can_build_shared
=no
15989 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15990 # soname into executable. Probably we can add versioning support to
15991 # collect2, so additional links can be useful in future.
15992 if test "$aix_use_runtimelinking" = yes; then
15993 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15994 # instead of lib<name>.a to let people know that these are not
15995 # typical AIX shared libraries.
15996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15998 # We preserve .a as extension for shared libraries through AIX4.2
15999 # and later when we are not doing run time linking.
16000 library_names_spec
='${libname}${release}.a $libname.a'
16001 soname_spec
='${libname}${release}${shared_ext}$major'
16003 shlibpath_var
=LIBPATH
16008 library_names_spec
='$libname.ixlibrary $libname.a'
16009 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16010 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'
16014 library_names_spec
='${libname}${shared_ext}'
16015 dynamic_linker
="$host_os ld.so"
16016 shlibpath_var
=LIBRARY_PATH
16022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16023 soname_spec
='${libname}${release}${shared_ext}$major'
16024 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16025 shlibpath_var
=LD_LIBRARY_PATH
16026 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16027 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16028 # the default ld.so.conf also contains /usr/contrib/lib and
16029 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16030 # libtool to hard-code these into programs
16033 cygwin
* | mingw
* | pw32
*)
16034 version_type
=windows
16039 case $GCC,$host_os in
16040 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16041 library_names_spec
='$libname.dll.a'
16042 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16043 postinstall_cmds
='base_file=`basename \${file}`~
16044 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16045 dldir=$destdir/`dirname \$dlpath`~
16046 test -d \$dldir || mkdir -p \$dldir~
16047 $install_prog $dir/$dlname \$dldir/$dlname~
16048 chmod a+x \$dldir/$dlname'
16049 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16050 dlpath=$dir/\$dldll~
16052 shlibpath_overrides_runpath
=yes
16056 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16057 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16058 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16061 # MinGW DLLs use traditional 'lib' prefix
16062 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16063 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16064 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16065 # It is most probably a Windows format PATH printed by
16066 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16067 # path with ; separators, and with drive letters. We can handle the
16068 # drive letters (cygwin fileutils understands them), so leave them,
16069 # especially as we might pass files found there to a mingw objdump,
16070 # which wouldn't understand a cygwinified path. Ahh.
16071 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16073 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16077 # pw32 DLLs use 'pw' prefix rather than 'lib'
16078 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16084 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16087 dynamic_linker
='Win32 ld.exe'
16088 # FIXME: first we should search . and the directory the executable is in
16092 darwin
* | rhapsody
*)
16093 dynamic_linker
="$host_os dyld"
16094 version_type
=darwin
16097 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16098 soname_spec
='${libname}${release}${major}$shared_ext'
16099 shlibpath_overrides_runpath
=yes
16100 shlibpath_var
=DYLD_LIBRARY_PATH
16101 shrext_cmds
='.dylib'
16102 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16103 if test "$GCC" = yes; then
16104 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"`
16106 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16108 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16116 soname_spec
='${libname}${release}${shared_ext}$major'
16117 shlibpath_var
=LD_LIBRARY_PATH
16128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16129 soname_spec
='${libname}${release}${shared_ext}$major'
16130 shlibpath_var
=LD_LIBRARY_PATH
16131 shlibpath_overrides_runpath
=no
16132 hardcode_into_libs
=yes
16133 dynamic_linker
='GNU ld.so'
16136 freebsd
* | dragonfly
*)
16137 # DragonFly does not have aout. When/if they implement a new
16138 # versioning mechanism, adjust this.
16139 if test -x /usr
/bin
/objformat
; then
16140 objformat
=`/usr/bin/objformat`
16143 freebsd
[123]*) objformat
=aout
;;
16144 *) objformat
=elf
;;
16147 version_type
=freebsd-
$objformat
16148 case $version_type in
16150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16155 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16159 shlibpath_var
=LD_LIBRARY_PATH
16162 shlibpath_overrides_runpath
=yes
16164 freebsd3.
[01]* | freebsdelf3.
[01]*)
16165 shlibpath_overrides_runpath
=yes
16166 hardcode_into_libs
=yes
16168 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16169 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16170 shlibpath_overrides_runpath
=no
16171 hardcode_into_libs
=yes
16173 freebsd
*) # from 4.6 on
16174 shlibpath_overrides_runpath
=yes
16175 hardcode_into_libs
=yes
16184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16185 soname_spec
='${libname}${release}${shared_ext}$major'
16186 shlibpath_var
=LD_LIBRARY_PATH
16187 hardcode_into_libs
=yes
16190 hpux9
* | hpux10
* | hpux11
*)
16191 # Give a soname corresponding to the major version so that dld.sl refuses to
16192 # link against other versions.
16199 hardcode_into_libs
=yes
16200 dynamic_linker
="$host_os dld.so"
16201 shlibpath_var
=LD_LIBRARY_PATH
16202 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16204 soname_spec
='${libname}${release}${shared_ext}$major'
16205 if test "X$HPUX_IA64_MODE" = X32
; then
16206 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16208 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16210 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16214 hardcode_into_libs
=yes
16215 dynamic_linker
="$host_os dld.sl"
16216 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16217 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16219 soname_spec
='${libname}${release}${shared_ext}$major'
16220 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16221 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16225 dynamic_linker
="$host_os dld.sl"
16226 shlibpath_var
=SHLIB_PATH
16227 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16229 soname_spec
='${libname}${release}${shared_ext}$major'
16232 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16233 postinstall_cmds
='chmod 555 $lib'
16240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16241 soname_spec
='${libname}${release}${shared_ext}$major'
16242 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16243 shlibpath_var
=LD_LIBRARY_PATH
16244 shlibpath_overrides_runpath
=no
16245 hardcode_into_libs
=yes
16248 irix5
* | irix6
* | nonstopux
*)
16250 nonstopux
*) version_type
=nonstopux
;;
16252 if test "$lt_cv_prog_gnu_ld" = yes; then
16260 soname_spec
='${libname}${release}${shared_ext}$major'
16261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16263 irix5
* | nonstopux
*)
16264 libsuff
= shlibsuff
=
16267 case $LD in # libtool.m4 will add one of these switches to LD
16268 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16269 libsuff
= shlibsuff
= libmagic
=32-bit;;
16270 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16271 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16272 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16273 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16274 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16278 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16279 shlibpath_overrides_runpath
=no
16280 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16281 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16282 hardcode_into_libs
=yes
16285 # No shared lib support for Linux oldld, aout, or coff.
16286 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16290 # This must be Linux ELF.
16295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16296 soname_spec
='${libname}${release}${shared_ext}$major'
16297 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16298 shlibpath_var
=LD_LIBRARY_PATH
16299 shlibpath_overrides_runpath
=no
16300 # This implies no fast_install, which is unacceptable.
16301 # Some rework will be needed to allow for fast_install
16302 # before this can be enabled.
16303 hardcode_into_libs
=yes
16305 # Append ld.so.conf contents to the search path
16306 if test -f /etc
/ld.so.conf
; then
16307 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' ' '`
16308 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16311 # We used to test for /lib/ld.so.1 and disable shared libraries on
16312 # powerpc, because MkLinux only supported shared libraries with the
16313 # GNU dynamic linker. Since this was broken with cross compilers,
16314 # most powerpc-linux boxes support dynamic linking these days and
16315 # people can always --disable-shared, the test was removed, and we
16316 # assume the GNU/Linux dynamic linker is in use.
16317 dynamic_linker
='GNU/Linux ld.so'
16324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16325 soname_spec
='${libname}${release}${shared_ext}$major'
16326 shlibpath_var
=LD_LIBRARY_PATH
16327 shlibpath_overrides_runpath
=no
16328 hardcode_into_libs
=yes
16329 dynamic_linker
='GNU ld.so'
16336 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16338 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16339 dynamic_linker
='NetBSD (a.out) ld.so'
16341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16342 soname_spec
='${libname}${release}${shared_ext}$major'
16343 dynamic_linker
='NetBSD ld.elf_so'
16345 shlibpath_var
=LD_LIBRARY_PATH
16346 shlibpath_overrides_runpath
=yes
16347 hardcode_into_libs
=yes
16352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16353 shlibpath_var
=LD_LIBRARY_PATH
16354 shlibpath_overrides_runpath
=yes
16361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16362 soname_spec
='${libname}${release}${shared_ext}$major'
16363 shlibpath_var
=LD_LIBRARY_PATH
16364 shlibpath_overrides_runpath
=yes
16369 sys_lib_dlsearch_path_spec
="/usr/lib"
16371 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16373 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16374 *) need_version
=no
;;
16376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16378 shlibpath_var
=LD_LIBRARY_PATH
16379 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16381 openbsd2.
[89] | openbsd2.
[89].
*)
16382 shlibpath_overrides_runpath
=no
16385 shlibpath_overrides_runpath
=yes
16389 shlibpath_overrides_runpath
=yes
16394 libname_spec
='$name'
16397 library_names_spec
='$libname${shared_ext} $libname.a'
16398 dynamic_linker
='OS/2 ld.exe'
16399 shlibpath_var
=LIBPATH
16402 osf3
* | osf4
* | osf5
*)
16406 soname_spec
='${libname}${release}${shared_ext}$major'
16407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16408 shlibpath_var
=LD_LIBRARY_PATH
16409 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16410 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16418 soname_spec
='${libname}${release}${shared_ext}$major'
16419 shlibpath_var
=LD_LIBRARY_PATH
16420 shlibpath_overrides_runpath
=yes
16421 hardcode_into_libs
=yes
16422 # ldd complains unless libraries are executable
16423 postinstall_cmds
='chmod +x $lib'
16428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16429 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16430 shlibpath_var
=LD_LIBRARY_PATH
16431 shlibpath_overrides_runpath
=yes
16432 if test "$with_gnu_ld" = yes; then
16440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16441 soname_spec
='${libname}${release}${shared_ext}$major'
16442 shlibpath_var
=LD_LIBRARY_PATH
16443 case $host_vendor in
16445 shlibpath_overrides_runpath
=no
16447 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16448 runpath_var
=LD_RUN_PATH
16456 shlibpath_overrides_runpath
=no
16457 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16463 if test -d /usr
/nec
;then
16465 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16466 soname_spec
='$libname${shared_ext}.$major'
16467 shlibpath_var
=LD_LIBRARY_PATH
16471 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16472 version_type
=freebsd-elf
16475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16476 soname_spec
='${libname}${release}${shared_ext}$major'
16477 shlibpath_var
=LD_LIBRARY_PATH
16478 hardcode_into_libs
=yes
16479 if test "$with_gnu_ld" = yes; then
16480 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16481 shlibpath_overrides_runpath
=no
16483 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16484 shlibpath_overrides_runpath
=yes
16487 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16491 sys_lib_dlsearch_path_spec
='/usr/lib'
16496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16497 soname_spec
='${libname}${release}${shared_ext}$major'
16498 shlibpath_var
=LD_LIBRARY_PATH
16505 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16506 echo "${ECHO_T}$dynamic_linker" >&6; }
16507 test "$dynamic_linker" = no
&& can_build_shared
=no
16509 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16510 if test "$GCC" = yes; then
16511 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16514 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16515 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16517 if test -n "$hardcode_libdir_flag_spec" || \
16518 test -n "$runpath_var" || \
16519 test "X$hardcode_automatic" = "Xyes" ; then
16521 # We can hardcode non-existant directories.
16522 if test "$hardcode_direct" != no
&&
16523 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16524 # have to relink, otherwise we might link with an installed library
16525 # when we should be linking with a yet-to-be-installed one
16526 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16527 test "$hardcode_minus_L" != no
; then
16528 # Linking always hardcodes the temporary library directory.
16529 hardcode_action
=relink
16531 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16532 hardcode_action
=immediate
16535 # We cannot hardcode anything, or else we can only hardcode existing
16537 hardcode_action
=unsupported
16539 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16540 echo "${ECHO_T}$hardcode_action" >&6; }
16542 if test "$hardcode_action" = relink
; then
16543 # Fast installation is not supported
16544 enable_fast_install
=no
16545 elif test "$shlibpath_overrides_runpath" = yes ||
16546 test "$enable_shared" = no
; then
16547 # Fast installation is not necessary
16548 enable_fast_install
=needless
16553 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16554 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16555 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16556 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16557 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16558 { echo "$as_me:$LINENO: result: yes" >&5
16559 echo "${ECHO_T}yes" >&6; }
16561 # FIXME - insert some real tests, host_os isn't really good enough
16564 if test -n "$STRIP" ; then
16565 striplib
="$STRIP -x"
16566 { echo "$as_me:$LINENO: result: yes" >&5
16567 echo "${ECHO_T}yes" >&6; }
16569 { echo "$as_me:$LINENO: result: no" >&5
16570 echo "${ECHO_T}no" >&6; }
16574 { echo "$as_me:$LINENO: result: no" >&5
16575 echo "${ECHO_T}no" >&6; }
16580 if test "x$enable_dlopen" != xyes
; then
16581 enable_dlopen
=unknown
16582 enable_dlopen_self
=unknown
16583 enable_dlopen_self_static
=unknown
16590 lt_cv_dlopen
="load_add_on"
16592 lt_cv_dlopen_self
=yes
16596 lt_cv_dlopen
="LoadLibrary"
16601 lt_cv_dlopen
="dlopen"
16606 # if libdl is installed we need to link against it
16607 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16608 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16609 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 ac_check_lib_save_LIBS
=$LIBS
16614 cat >conftest.
$ac_ext <<_ACEOF
16617 cat confdefs.h
>>conftest.
$ac_ext
16618 cat >>conftest.
$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16621 /* Override any GCC internal prototype to avoid an error.
16622 Use char because int might match the return type of a GCC
16623 builtin and then its argument prototype would still apply. */
16636 rm -f conftest.
$ac_objext conftest
$ac_exeext
16637 if { (ac_try
="$ac_link"
16638 case "(($ac_try" in
16639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16640 *) ac_try_echo=$ac_try;;
16642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16643 (eval "$ac_link") 2>conftest.er1
16645 grep -v '^ *+' conftest.er1 >conftest.err
16647 cat conftest.err >&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16651 { (case "(($ac_try" in
16652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16653 *) ac_try_echo
=$ac_try;;
16655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16656 (eval "$ac_try") 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; } &&
16660 { ac_try
='test -s conftest$ac_exeext'
16661 { (case "(($ac_try" in
16662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16663 *) ac_try_echo=$ac_try;;
16665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 (eval "$ac_try") 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; }; then
16670 ac_cv_lib_dl_dlopen=yes
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16675 ac_cv_lib_dl_dlopen=no
16678 rm -f core conftest.err conftest.$ac_objext \
16679 conftest$ac_exeext conftest.$ac_ext
16680 LIBS=$ac_check_lib_save_LIBS
16682 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16683 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16684 if test $ac_cv_lib_dl_dlopen = yes; then
16685 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16688 lt_cv_dlopen="dyld"
16690 lt_cv_dlopen_self=yes
16697 { echo "$as_me:$LINENO: checking for shl_load" >&5
16698 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16699 if test "${ac_cv_func_shl_load+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 cat >conftest.$ac_ext <<_ACEOF
16705 cat confdefs.h >>conftest.$ac_ext
16706 cat >>conftest.$ac_ext <<_ACEOF
16707 /* end confdefs.h. */
16708 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16710 #define shl_load innocuous_shl_load
16712 /* System header to define __stub macros and hopefully few prototypes,
16713 which can conflict with char shl_load (); below.
16714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16715 <limits.h> exists even on freestanding compilers. */
16718 # include <limits.h>
16720 # include <assert.h>
16725 /* Override any GCC internal prototype to avoid an error.
16726 Use char because int might match the return type of a GCC
16727 builtin and then its argument prototype would still apply. */
16732 /* The GNU C library defines this for functions which it implements
16733 to always fail with ENOSYS. Some functions are actually named
16734 something starting with __ and the normal name is an alias. */
16735 #if defined __stub_shl_load || defined __stub___shl_load
16742 return shl_load ();
16747 rm -f conftest.$ac_objext conftest$ac_exeext
16748 if { (ac_try="$ac_link"
16749 case "(($ac_try" in
16750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16751 *) ac_try_echo
=$ac_try;;
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_link") 2>conftest.er1
16756 grep -v '^ *+' conftest.er1
>conftest.err
16758 cat conftest.err
>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } &&
16761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16762 { (case "(($ac_try" in
16763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_try") 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try='test -s conftest$ac_exeext'
16772 { (case "(($ac_try" in
16773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16774 *) ac_try_echo
=$ac_try;;
16776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16777 (eval "$ac_try") 2>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 ac_cv_func_shl_load
=yes
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 ac_cv_func_shl_load
=no
16789 rm -f core conftest.err conftest.
$ac_objext \
16790 conftest
$ac_exeext conftest.
$ac_ext
16792 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16793 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16794 if test $ac_cv_func_shl_load = yes; then
16795 lt_cv_dlopen
="shl_load"
16797 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16798 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16799 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 ac_check_lib_save_LIBS
=$LIBS
16804 cat >conftest.
$ac_ext <<_ACEOF
16807 cat confdefs.h
>>conftest.
$ac_ext
16808 cat >>conftest.
$ac_ext <<_ACEOF
16809 /* end confdefs.h. */
16811 /* Override any GCC internal prototype to avoid an error.
16812 Use char because int might match the return type of a GCC
16813 builtin and then its argument prototype would still apply. */
16821 return shl_load ();
16826 rm -f conftest.
$ac_objext conftest
$ac_exeext
16827 if { (ac_try
="$ac_link"
16828 case "(($ac_try" in
16829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16830 *) ac_try_echo=$ac_try;;
16832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16833 (eval "$ac_link") 2>conftest.er1
16835 grep -v '^ *+' conftest.er1 >conftest.err
16837 cat conftest.err >&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } &&
16840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16841 { (case "(($ac_try" in
16842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16843 *) ac_try_echo
=$ac_try;;
16845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16846 (eval "$ac_try") 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; } &&
16850 { ac_try
='test -s conftest$ac_exeext'
16851 { (case "(($ac_try" in
16852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;;
16855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 (eval "$ac_try") 2>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; }; then
16860 ac_cv_lib_dld_shl_load=yes
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.$ac_ext >&5
16865 ac_cv_lib_dld_shl_load=no
16868 rm -f core conftest.err conftest.$ac_objext \
16869 conftest$ac_exeext conftest.$ac_ext
16870 LIBS=$ac_check_lib_save_LIBS
16872 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16873 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16874 if test $ac_cv_lib_dld_shl_load = yes; then
16875 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16877 { echo "$as_me:$LINENO: checking for dlopen" >&5
16878 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16879 if test "${ac_cv_func_dlopen+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 cat >conftest.$ac_ext <<_ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16890 #define dlopen innocuous_dlopen
16892 /* System header to define __stub macros and hopefully few prototypes,
16893 which can conflict with char dlopen (); below.
16894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16895 <limits.h> exists even on freestanding compilers. */
16898 # include <limits.h>
16900 # include <assert.h>
16905 /* Override any GCC internal prototype to avoid an error.
16906 Use char because int might match the return type of a GCC
16907 builtin and then its argument prototype would still apply. */
16912 /* The GNU C library defines this for functions which it implements
16913 to always fail with ENOSYS. Some functions are actually named
16914 something starting with __ and the normal name is an alias. */
16915 #if defined __stub_dlopen || defined __stub___dlopen
16927 rm -f conftest.$ac_objext conftest$ac_exeext
16928 if { (ac_try="$ac_link"
16929 case "(($ac_try" in
16930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16931 *) ac_try_echo
=$ac_try;;
16933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16934 (eval "$ac_link") 2>conftest.er1
16936 grep -v '^ *+' conftest.er1
>conftest.err
16938 cat conftest.err
>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16942 { (case "(($ac_try" in
16943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16947 (eval "$ac_try") 2>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); }; } &&
16951 { ac_try='test -s conftest$ac_exeext'
16952 { (case "(($ac_try" in
16953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16954 *) ac_try_echo
=$ac_try;;
16956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16957 (eval "$ac_try") 2>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 ac_cv_func_dlopen
=yes
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.
$ac_ext >&5
16966 ac_cv_func_dlopen
=no
16969 rm -f core conftest.err conftest.
$ac_objext \
16970 conftest
$ac_exeext conftest.
$ac_ext
16972 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16973 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16974 if test $ac_cv_func_dlopen = yes; then
16975 lt_cv_dlopen
="dlopen"
16977 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16978 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16979 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 ac_check_lib_save_LIBS
=$LIBS
16984 cat >conftest.
$ac_ext <<_ACEOF
16987 cat confdefs.h
>>conftest.
$ac_ext
16988 cat >>conftest.
$ac_ext <<_ACEOF
16989 /* end confdefs.h. */
16991 /* Override any GCC internal prototype to avoid an error.
16992 Use char because int might match the return type of a GCC
16993 builtin and then its argument prototype would still apply. */
17006 rm -f conftest.
$ac_objext conftest
$ac_exeext
17007 if { (ac_try
="$ac_link"
17008 case "(($ac_try" in
17009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17010 *) ac_try_echo=$ac_try;;
17012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17013 (eval "$ac_link") 2>conftest.er1
17015 grep -v '^ *+' conftest.er1 >conftest.err
17017 cat conftest.err >&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); } &&
17020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17021 { (case "(($ac_try" in
17022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17023 *) ac_try_echo
=$ac_try;;
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_try") 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; } &&
17030 { ac_try
='test -s conftest$ac_exeext'
17031 { (case "(($ac_try" in
17032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17033 *) ac_try_echo=$ac_try;;
17035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17036 (eval "$ac_try") 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_cv_lib_dl_dlopen=yes
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17045 ac_cv_lib_dl_dlopen=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 LIBS=$ac_check_lib_save_LIBS
17052 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17053 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17054 if test $ac_cv_lib_dl_dlopen = yes; then
17055 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17057 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17058 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17059 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17060 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 ac_check_lib_save_LIBS=$LIBS
17063 LIBS="-lsvld $LIBS"
17064 cat >conftest.$ac_ext <<_ACEOF
17067 cat confdefs.h >>conftest.$ac_ext
17068 cat >>conftest.$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17071 /* Override any GCC internal prototype to avoid an error.
17072 Use char because int might match the return type of a GCC
17073 builtin and then its argument prototype would still apply. */
17086 rm -f conftest.$ac_objext conftest$ac_exeext
17087 if { (ac_try="$ac_link"
17088 case "(($ac_try" in
17089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17090 *) ac_try_echo
=$ac_try;;
17092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17093 (eval "$ac_link") 2>conftest.er1
17095 grep -v '^ *+' conftest.er1
>conftest.err
17097 cat conftest.err
>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); } &&
17100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17101 { (case "(($ac_try" in
17102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17103 *) ac_try_echo=$ac_try;;
17105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17106 (eval "$ac_try") 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; } &&
17110 { ac_try='test -s conftest$ac_exeext'
17111 { (case "(($ac_try" in
17112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17113 *) ac_try_echo
=$ac_try;;
17115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17116 (eval "$ac_try") 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then
17120 ac_cv_lib_svld_dlopen
=yes
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.
$ac_ext >&5
17125 ac_cv_lib_svld_dlopen
=no
17128 rm -f core conftest.err conftest.
$ac_objext \
17129 conftest
$ac_exeext conftest.
$ac_ext
17130 LIBS
=$ac_check_lib_save_LIBS
17132 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17133 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17134 if test $ac_cv_lib_svld_dlopen = yes; then
17135 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17137 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17138 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17139 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 ac_check_lib_save_LIBS
=$LIBS
17144 cat >conftest.
$ac_ext <<_ACEOF
17147 cat confdefs.h
>>conftest.
$ac_ext
17148 cat >>conftest.
$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17151 /* Override any GCC internal prototype to avoid an error.
17152 Use char because int might match the return type of a GCC
17153 builtin and then its argument prototype would still apply. */
17161 return dld_link ();
17166 rm -f conftest.
$ac_objext conftest
$ac_exeext
17167 if { (ac_try
="$ac_link"
17168 case "(($ac_try" in
17169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17170 *) ac_try_echo=$ac_try;;
17172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17173 (eval "$ac_link") 2>conftest.er1
17175 grep -v '^ *+' conftest.er1 >conftest.err
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } &&
17180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17181 { (case "(($ac_try" in
17182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17183 *) ac_try_echo
=$ac_try;;
17185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17186 (eval "$ac_try") 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; } &&
17190 { ac_try
='test -s conftest$ac_exeext'
17191 { (case "(($ac_try" in
17192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17193 *) ac_try_echo=$ac_try;;
17195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_try") 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_cv_lib_dld_dld_link=yes
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17205 ac_cv_lib_dld_dld_link=no
17208 rm -f core conftest.err conftest.$ac_objext \
17209 conftest$ac_exeext conftest.$ac_ext
17210 LIBS=$ac_check_lib_save_LIBS
17212 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17213 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17214 if test $ac_cv_lib_dld_dld_link = yes; then
17215 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17236 if test "x$lt_cv_dlopen" != xno; then
17242 case $lt_cv_dlopen in
17244 save_CPPFLAGS="$CPPFLAGS"
17245 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17247 save_LDFLAGS="$LDFLAGS"
17248 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17251 LIBS="$lt_cv_dlopen_libs $LIBS"
17253 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17254 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17255 if test "${lt_cv_dlopen_self+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 if test "$cross_compiling" = yes; then :
17259 lt_cv_dlopen_self=cross
17261 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17262 lt_status=$lt_dlunknown
17263 cat > conftest.$ac_ext <<EOF
17264 #line 17264 "configure"
17265 #include "confdefs.h"
17274 # define LT_DLGLOBAL RTLD_GLOBAL
17277 # define LT_DLGLOBAL DL_GLOBAL
17279 # define LT_DLGLOBAL 0
17283 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17284 find out it does not work in some platform. */
17285 #ifndef LT_DLLAZY_OR_NOW
17287 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17290 # define LT_DLLAZY_OR_NOW DL_LAZY
17293 # define LT_DLLAZY_OR_NOW RTLD_NOW
17296 # define LT_DLLAZY_OR_NOW DL_NOW
17298 # define LT_DLLAZY_OR_NOW 0
17306 extern "C" void exit (int);
17309 void fnord() { int i=42;}
17312 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17313 int status = $lt_dlunknown;
17317 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17318 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17319 /* dlclose (self); */
17327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17328 (eval $ac_link) 2>&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17332 (./conftest; exit; ) >&5 2>/dev/null
17334 case x$lt_status in
17335 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17336 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17337 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17340 # compilation failed
17341 lt_cv_dlopen_self=no
17348 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17349 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17351 if test "x$lt_cv_dlopen_self" = xyes; then
17352 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17353 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17354 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17355 if test "${lt_cv_dlopen_self_static+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17358 if test "$cross_compiling" = yes; then :
17359 lt_cv_dlopen_self_static=cross
17361 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17362 lt_status=$lt_dlunknown
17363 cat > conftest.$ac_ext <<EOF
17364 #line 17364 "configure"
17365 #include "confdefs.h"
17374 # define LT_DLGLOBAL RTLD_GLOBAL
17377 # define LT_DLGLOBAL DL_GLOBAL
17379 # define LT_DLGLOBAL 0
17383 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17384 find out it does not work in some platform. */
17385 #ifndef LT_DLLAZY_OR_NOW
17387 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17390 # define LT_DLLAZY_OR_NOW DL_LAZY
17393 # define LT_DLLAZY_OR_NOW RTLD_NOW
17396 # define LT_DLLAZY_OR_NOW DL_NOW
17398 # define LT_DLLAZY_OR_NOW 0
17406 extern "C" void exit (int);
17409 void fnord() { int i=42;}
17412 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17413 int status = $lt_dlunknown;
17417 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17418 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17419 /* dlclose (self); */
17427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17428 (eval $ac_link) 2>&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17432 (./conftest; exit; ) >&5 2>/dev/null
17434 case x$lt_status in
17435 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17436 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17437 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17440 # compilation failed
17441 lt_cv_dlopen_self_static=no
17448 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17449 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17452 CPPFLAGS="$save_CPPFLAGS"
17453 LDFLAGS="$save_LDFLAGS"
17458 case $lt_cv_dlopen_self in
17459 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17460 *) enable_dlopen_self=unknown ;;
17463 case $lt_cv_dlopen_self_static in
17464 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17465 *) enable_dlopen_self_static=unknown ;;
17470 # Report which library types will actually be built
17471 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17472 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17473 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17474 echo "${ECHO_T}$can_build_shared" >&6; }
17476 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17477 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17478 test "$can_build_shared" = "no" && enable_shared=no
17480 # On AIX, shared libraries and static libraries use the same namespace, and
17481 # are all built from PIC.
17484 test "$enable_shared" = yes && enable_static=no
17485 if test -n "$RANLIB"; then
17486 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17487 postinstall_cmds='$RANLIB $lib'
17492 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17493 test "$enable_shared" = yes && enable_static=no
17497 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17498 echo "${ECHO_T}$enable_shared" >&6; }
17500 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17501 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17502 # Make sure either enable_shared or enable_static is yes.
17503 test "$enable_shared" = yes || enable_static=yes
17504 { echo "$as_me:$LINENO: result: $enable_static" >&5
17505 echo "${ECHO_T}$enable_static" >&6; }
17507 # The else clause should only fire when bootstrapping the
17508 # libtool distribution, otherwise you forgot to ship ltmain.sh
17509 # with your package, and you will get complaints that there are
17510 # no rules to generate ltmain.sh.
17511 if test -f "$ltmain"; then
17512 # See if we are running on zsh, and set the options which allow our commands through
17513 # without removal of \ escapes.
17514 if test -n "${ZSH_VERSION+set}" ; then
17515 setopt NO_GLOB_SUBST
17517 # Now quote all the things that may contain metacharacters while being
17518 # careful not to overquote the AC_SUBSTed values. We take copies of the
17519 # variables and quote the copies for generation of the libtool script.
17520 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17522 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17523 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17524 deplibs_check_method reload_flag reload_cmds need_locks \
17525 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17526 lt_cv_sys_global_symbol_to_c_name_address \
17527 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17528 old_postinstall_cmds old_postuninstall_cmds \
17532 lt_prog_compiler_wl \
17533 lt_prog_compiler_pic \
17534 lt_prog_compiler_static \
17535 lt_prog_compiler_no_builtin_flag \
17536 export_dynamic_flag_spec \
17537 thread_safe_flag_spec \
17538 whole_archive_flag_spec \
17539 enable_shared_with_static_runtimes \
17541 old_archive_from_new_cmds \
17546 compiler_lib_search_path \
17548 archive_expsym_cmds \
17550 postuninstall_cmds \
17551 old_archive_from_expsyms_cmds \
17552 allow_undefined_flag \
17553 no_undefined_flag \
17554 export_symbols_cmds \
17555 hardcode_libdir_flag_spec \
17556 hardcode_libdir_flag_spec_ld \
17557 hardcode_libdir_separator \
17558 hardcode_automatic \
17560 module_expsym_cmds \
17561 lt_cv_prog_compiler_c_o \
17563 include_expsyms; do
17566 old_archive_cmds | \
17567 old_archive_from_new_cmds | \
17569 archive_expsym_cmds | \
17571 module_expsym_cmds | \
17572 old_archive_from_expsyms_cmds | \
17573 export_symbols_cmds | \
17574 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17575 postinstall_cmds | postuninstall_cmds | \
17576 old_postinstall_cmds | old_postuninstall_cmds | \
17577 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17578 # Double-quote double-evaled strings.
17579 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17582 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17588 *'\$0 --fallback-echo"')
17589 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17593 cfgfile="${ofile}T"
17594 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17596 { echo "$as_me:$LINENO: creating $ofile" >&5
17597 echo "$as_me: creating $ofile" >&6;}
17599 cat <<__EOF__ >> "$cfgfile"
17602 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17603 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17604 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17606 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17607 # Free Software Foundation, Inc.
17609 # This file is part of GNU Libtool:
17610 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17612 # This program is free software; you can redistribute it and/or modify
17613 # it under the terms of the GNU General Public License as published by
17614 # the Free Software Foundation; either version 2 of the License, or
17615 # (at your option) any later version.
17617 # This program is distributed in the hope that it will be useful, but
17618 # WITHOUT ANY WARRANTY; without even the implied warranty of
17619 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17620 # General Public License for more details.
17622 # You should have received a copy of the GNU General Public License
17623 # along with this program; if not, write to the Free Software
17624 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17626 # As a special exception to the GNU General Public License, if you
17627 # distribute this file as part of a program that contains a
17628 # configuration script generated by Autoconf, you may include it under
17629 # the same distribution terms that you use for the rest of that program.
17631 # A sed program that does not truncate output.
17634 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17635 Xsed="$SED -e 1s/^X//"
17637 # The HP-UX ksh and POSIX shell print the target directory to stdout
17638 # if CDPATH is set.
17639 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17641 # The names of the tagged configurations supported by this script.
17644 # ### BEGIN LIBTOOL CONFIG
17646 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17648 # Shell to use when invoking shell scripts.
17651 # Whether or not to build shared libraries.
17652 build_libtool_libs=$enable_shared
17654 # Whether or not to build static libraries.
17655 build_old_libs=$enable_static
17657 # Whether or not to add -lc for building shared libraries.
17658 build_libtool_need_lc=$archive_cmds_need_lc
17660 # Whether or not to disallow shared libs when runtime libs are static
17661 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17663 # Whether or not to optimize for fast installation.
17664 fast_install=$enable_fast_install
17667 host_alias=$host_alias
17671 # The build system.
17672 build_alias=$build_alias
17676 # An echo program that does not interpret backslashes.
17681 AR_FLAGS=$lt_AR_FLAGS
17686 # LTCC compiler flags.
17687 LTCFLAGS=$lt_LTCFLAGS
17689 # A language-specific compiler.
17692 # Is the compiler the GNU C compiler?
17698 # The linker used to build libraries.
17701 # Whether we need hard or soft links.
17704 # A BSD-compatible nm program.
17707 # A symbol stripping program
17710 # Used to examine libraries when file_magic_cmd begins "file"
17711 MAGIC_CMD=$MAGIC_CMD
17713 # Used on cygwin: DLL creation program.
17716 # Used on cygwin: object dumper.
17719 # Used on cygwin: assembler.
17722 # The name of the directory that contains temporary libtool files.
17725 # How to create reloadable object files.
17726 reload_flag=$lt_reload_flag
17727 reload_cmds=$lt_reload_cmds
17729 # How to pass a linker flag through the compiler.
17730 wl=$lt_lt_prog_compiler_wl
17732 # Object file suffix (normally "o").
17733 objext="$ac_objext"
17735 # Old archive suffix (normally "a").
17738 # Shared library suffix (normally ".so").
17739 shrext_cmds='$shrext_cmds'
17741 # Executable file suffix (normally "").
17744 # Additional compiler flags for building library objects.
17745 pic_flag=$lt_lt_prog_compiler_pic
17748 # What is the maximum length of a command?
17749 max_cmd_len=$lt_cv_sys_max_cmd_len
17751 # Does compiler simultaneously support -c and -o options?
17752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17754 # Must we lock files when doing compilation?
17755 need_locks=$lt_need_locks
17757 # Do we need the lib prefix for modules?
17758 need_lib_prefix=$need_lib_prefix
17760 # Do we need a version for libraries?
17761 need_version=$need_version
17763 # Whether dlopen is supported.
17764 dlopen_support=$enable_dlopen
17766 # Whether dlopen of programs is supported.
17767 dlopen_self=$enable_dlopen_self
17769 # Whether dlopen of statically linked programs is supported.
17770 dlopen_self_static=$enable_dlopen_self_static
17772 # Compiler flag to prevent dynamic linking.
17773 link_static_flag=$lt_lt_prog_compiler_static
17775 # Compiler flag to turn off builtin functions.
17776 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17778 # Compiler flag to allow reflexive dlopens.
17779 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17781 # Compiler flag to generate shared objects directly from archives.
17782 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17784 # Compiler flag to generate thread-safe objects.
17785 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17787 # Library versioning type.
17788 version_type=$version_type
17790 # Format of library name prefix.
17791 libname_spec=$lt_libname_spec
17793 # List of archive names. First name is the real one, the rest are links.
17794 # The last name is the one that the linker finds with -lNAME.
17795 library_names_spec=$lt_library_names_spec
17797 # The coded name of the library, if different from the real name.
17798 soname_spec=$lt_soname_spec
17800 # Commands used to build and install an old-style archive.
17802 old_archive_cmds=$lt_old_archive_cmds
17803 old_postinstall_cmds=$lt_old_postinstall_cmds
17804 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17806 # Create an old-style archive from a shared archive.
17807 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17809 # Create a temporary old-style archive to link instead of a shared archive.
17810 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17812 # Commands used to build and install a shared archive.
17813 archive_cmds=$lt_archive_cmds
17814 archive_expsym_cmds=$lt_archive_expsym_cmds
17815 postinstall_cmds=$lt_postinstall_cmds
17816 postuninstall_cmds=$lt_postuninstall_cmds
17818 # Commands used to build a loadable module (assumed same as above if empty)
17819 module_cmds=$lt_module_cmds
17820 module_expsym_cmds=$lt_module_expsym_cmds
17822 # Commands to strip libraries.
17823 old_striplib=$lt_old_striplib
17824 striplib=$lt_striplib
17826 # Dependencies to place before the objects being linked to create a
17828 predep_objects=$lt_predep_objects
17830 # Dependencies to place after the objects being linked to create a
17832 postdep_objects=$lt_postdep_objects
17834 # Dependencies to place before the objects being linked to create a
17836 predeps=$lt_predeps
17838 # Dependencies to place after the objects being linked to create a
17840 postdeps=$lt_postdeps
17842 # The library search path used internally by the compiler when linking
17843 # a shared library.
17844 compiler_lib_search_path=$lt_compiler_lib_search_path
17846 # Method to check whether dependent libraries are shared objects.
17847 deplibs_check_method=$lt_deplibs_check_method
17849 # Command to use when deplibs_check_method == file_magic.
17850 file_magic_cmd=$lt_file_magic_cmd
17852 # Flag that allows shared libraries with undefined symbols to be built.
17853 allow_undefined_flag=$lt_allow_undefined_flag
17855 # Flag that forces no undefined symbols.
17856 no_undefined_flag=$lt_no_undefined_flag
17858 # Commands used to finish a libtool library installation in a directory.
17859 finish_cmds=$lt_finish_cmds
17861 # Same as above, but a single script fragment to be evaled but not shown.
17862 finish_eval=$lt_finish_eval
17864 # Take the output of nm and produce a listing of raw symbols and C names.
17865 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17867 # Transform the output of nm in a proper C declaration
17868 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17870 # Transform the output of nm in a C name address pair
17871 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17873 # This is the shared library runtime path variable.
17874 runpath_var=$runpath_var
17876 # This is the shared library path variable.
17877 shlibpath_var=$shlibpath_var
17879 # Is shlibpath searched before the hard-coded library search path?
17880 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17882 # How to hardcode a shared library path into an executable.
17883 hardcode_action=$hardcode_action
17885 # Whether we should hardcode library paths into libraries.
17886 hardcode_into_libs=$hardcode_into_libs
17888 # Flag to hardcode \$libdir into a binary during linking.
17889 # This must work even if \$libdir does not exist.
17890 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17892 # If ld is used when linking, flag to hardcode \$libdir into
17893 # a binary during linking. This must work even if \$libdir does
17895 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17897 # Whether we need a single -rpath flag with a separated argument.
17898 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17900 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17901 # resulting binary.
17902 hardcode_direct=$hardcode_direct
17904 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17905 # resulting binary.
17906 hardcode_minus_L=$hardcode_minus_L
17908 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17909 # the resulting binary.
17910 hardcode_shlibpath_var=$hardcode_shlibpath_var
17912 # Set to yes if building a shared library automatically hardcodes DIR into the library
17913 # and all subsequent libraries and executables linked against it.
17914 hardcode_automatic=$hardcode_automatic
17916 # Variables whose values should be saved in libtool wrapper scripts and
17917 # restored at relink time.
17918 variables_saved_for_relink="$variables_saved_for_relink"
17920 # Whether libtool must link a program against all its dependency libraries.
17921 link_all_deplibs=$link_all_deplibs
17923 # Compile-time system search path for libraries
17924 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17926 # Run-time system search path for libraries
17927 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17929 # Fix the shell variable \$srcfile for the compiler.
17930 fix_srcfile_path="$fix_srcfile_path"
17932 # Set to yes if exported symbols are required.
17933 always_export_symbols=$always_export_symbols
17935 # The commands to list exported symbols.
17936 export_symbols_cmds=$lt_export_symbols_cmds
17938 # The commands to extract the exported symbol list from a shared archive.
17939 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17941 # Symbols that should not be listed in the preloaded symbols.
17942 exclude_expsyms=$lt_exclude_expsyms
17944 # Symbols that must always be exported.
17945 include_expsyms=$lt_include_expsyms
17947 # ### END LIBTOOL CONFIG
17954 cat <<\EOF >> "$cfgfile"
17956 # AIX sometimes has problems with the GCC collect2 program. For some
17957 # reason, if we set the COLLECT_NAMES environment variable, the problems
17958 # vanish in a puff of smoke.
17959 if test "X${COLLECT_NAMES+set}" != Xset; then
17961 export COLLECT_NAMES
17967 # We use sed instead of cat because bash on DJGPP gets confused if
17968 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17969 # text mode, it properly converts lines to CR/LF. This bash problem
17970 # is reportedly fixed, but why not run on old versions too?
17971 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17973 mv -f "$cfgfile" "$ofile" || \
17974 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17978 # If there is no Makefile yet, we rely on a make rule to execute
17979 # `config.status
--recheck' to rerun these tests and create the
17980 # libtool script then.
17981 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17982 if test -f "$ltmain_in"; then
17983 test -f Makefile && make "$ltmain"
17989 ac_cpp='$CPP $CPPFLAGS'
17990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17991 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17997 # Check whether --with-tags was given.
17998 if test "${with_tags+set}" = set; then
17999 withval=$with_tags; tagnames="$withval"
18003 if test -f "$ltmain" && test -n "$tagnames"; then
18004 if test ! -f "${ofile}"; then
18005 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
18006 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
18009 if test -z "$LTCC"; then
18010 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
18011 if test -z "$LTCC"; then
18012 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18013 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
18015 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
18016 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
18019 if test -z "$LTCFLAGS"; then
18020 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
18023 # Extract list of available tagged configurations in $ofile.
18024 # Note that this assumes the entire list is on one line.
18025 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18027 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18028 for tagname in $tagnames; do
18030 # Check whether tagname contains only valid characters
18031 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18033 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18034 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18035 { (exit 1); exit 1; }; }
18039 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18041 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18042 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18043 { (exit 1); exit 1; }; }
18046 # Update the list of available tags.
18047 if test -n "$tagname"; then
18048 echo appending configuration tag \"$tagname\" to $ofile
18052 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18053 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
18054 (test "X$CXX" != "Xg++"))) ; then
18056 ac_cpp='$CXXCPP $CPPFLAGS'
18057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18064 archive_cmds_need_lc_CXX=no
18065 allow_undefined_flag_CXX=
18066 always_export_symbols_CXX=no
18067 archive_expsym_cmds_CXX=
18068 export_dynamic_flag_spec_CXX=
18069 hardcode_direct_CXX=no
18070 hardcode_libdir_flag_spec_CXX=
18071 hardcode_libdir_flag_spec_ld_CXX=
18072 hardcode_libdir_separator_CXX=
18073 hardcode_minus_L_CXX=no
18074 hardcode_shlibpath_var_CXX=unsupported
18075 hardcode_automatic_CXX=no
18077 module_expsym_cmds_CXX=
18078 link_all_deplibs_CXX=unknown
18079 old_archive_cmds_CXX=$old_archive_cmds
18080 no_undefined_flag_CXX=
18081 whole_archive_flag_spec_CXX=
18082 enable_shared_with_static_runtimes_CXX=no
18084 # Dependencies to place before and after the object being linked:
18085 predep_objects_CXX=
18086 postdep_objects_CXX=
18089 compiler_lib_search_path_CXX=
18091 # Source file extension for C++ test sources.
18094 # Object file extension for compiled C++ test sources.
18098 # Code to be used in simple compile tests
18099 lt_simple_compile_test_code="int some_variable = 0;\n"
18101 # Code to be used in simple link tests
18102 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18104 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18106 # If no C compiler was specified, use CC.
18109 # If no C compiler flags were specified, use CFLAGS.
18110 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18112 # Allow CC to be a program name with arguments.
18116 # save warnings/boilerplate of simple test code
18117 ac_outfile=conftest.$ac_objext
18118 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18119 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18120 _lt_compiler_boilerplate=`cat conftest.err
`
18123 ac_outfile=conftest.$ac_objext
18124 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18125 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18126 _lt_linker_boilerplate=`cat conftest.err
`
18130 # Allow CC to be a program name with arguments.
18135 lt_save_with_gnu_ld=$with_gnu_ld
18136 lt_save_path_LD=$lt_cv_path_LD
18137 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18138 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18140 $as_unset lt_cv_prog_gnu_ld
18142 if test -n "${lt_cv_path_LDCXX+set}"; then
18143 lt_cv_path_LD=$lt_cv_path_LDCXX
18145 $as_unset lt_cv_path_LD
18147 test -z "${LDCXX+set}" || LD=$LDCXX
18151 for cc_temp in $compiler""; do
18153 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18154 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18159 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18162 # We don't want -fno-exception wen compiling C++ code, so set the
18163 # no_builtin_flag separately
18164 if test "$GXX" = yes; then
18165 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18167 lt_prog_compiler_no_builtin_flag_CXX=
18170 if test "$GXX" = yes; then
18171 # Set up default GNU C++ configuration
18174 # Check whether --with-gnu-ld was given.
18175 if test "${with_gnu_ld+set}" = set; then
18176 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18182 if test "$GCC" = yes; then
18183 # Check if gcc -print-prog-name=ld gives a path.
18184 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18185 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18188 # gcc leaves a trailing carriage return which upsets mingw
18189 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
18191 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18194 # Accept absolute paths.
18196 re_direlt='/[^/][^/]*/\.\./'
18197 # Canonicalize the pathname of ld
18198 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
18199 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18200 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
18202 test -z "$LD" && LD="$ac_prog"
18205 # If it fails, then pretend we aren't using GCC.
18209 # If it is relative, then search for the first ld in PATH.
18210 with_gnu_ld=unknown
18213 elif test "$with_gnu_ld" = yes; then
18214 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18215 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18217 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18218 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18220 if test "${lt_cv_path_LD+set}" = set; then
18221 echo $ECHO_N "(cached) $ECHO_C" >&6
18223 if test -z "$LD"; then
18224 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18225 for ac_dir in $PATH; do
18227 test -z "$ac_dir" && ac_dir=.
18228 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18229 lt_cv_path_LD="$ac_dir/$ac_prog"
18230 # Check to see if the program is GNU ld. I'd rather use --version,
18231 # but apparently some variants of GNU ld only accept -v.
18232 # Break only if it was the GNU/non-GNU ld that we prefer.
18233 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18234 *GNU* | *'with BFD'*)
18235 test "$with_gnu_ld" != no && break
18238 test "$with_gnu_ld" != yes && break
18245 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18249 LD="$lt_cv_path_LD"
18250 if test -n "$LD"; then
18251 { echo "$as_me:$LINENO: result: $LD" >&5
18252 echo "${ECHO_T}$LD" >&6; }
18254 { echo "$as_me:$LINENO: result: no" >&5
18255 echo "${ECHO_T}no" >&6; }
18257 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18258 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18259 { (exit 1); exit 1; }; }
18260 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18261 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18262 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18266 case `$LD -v 2>&1 </dev
/null
` in
18267 *GNU* | *'with BFD'*)
18268 lt_cv_prog_gnu_ld=yes
18271 lt_cv_prog_gnu_ld=no
18275 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18276 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18277 with_gnu_ld=$lt_cv_prog_gnu_ld
18281 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18282 # archiving commands below assume that GNU ld is being used.
18283 if test "$with_gnu_ld" = yes; then
18284 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18285 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'
18287 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18288 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18290 # If archive_cmds runs LD, not CC, wlarc should be empty
18291 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18292 # investigate it a little bit more. (MM)
18295 # ancient GNU ld didn't support --whole-archive et. al.
18296 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18297 grep 'no-whole-archive' > /dev/null; then
18298 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18300 whole_archive_flag_spec_CXX=
18306 # A generic and very simple default shared library creation
18307 # command for GNU C++ for the case where it uses the native
18308 # linker, instead of GNU ld. If possible, this setting should
18309 # overridden to take advantage of the native linker features on
18310 # the platform it is being used on.
18311 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18314 # Commands to make compiler produce verbose output that lists
18315 # what "hidden" libraries, object files and flags are used when
18316 # linking a shared library.
18317 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18325 # PORTME: fill in a description of your system's C++ link characteristics
18326 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18327 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18331 # FIXME: insert proper C++ library support
18335 if test "$host_cpu" = ia64; then
18336 # On IA64, the linker does run time linking by default, so we don't
18337 # have to do anything special.
18338 aix_use_runtimelinking=no
18339 exp_sym_flag='-Bexport'
18342 aix_use_runtimelinking=no
18344 # Test if we are trying to use run time linking or normal
18345 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18346 # need to do runtime linking.
18347 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18348 for ld_flag in $LDFLAGS; do
18351 aix_use_runtimelinking=yes
18359 exp_sym_flag='-bexport'
18360 no_entry_flag='-bnoentry'
18363 # When large executables or shared objects are built, AIX ld can
18364 # have problems creating the table of contents. If linking a library
18365 # or program results in "error TOC overflow" add -mminimal-toc to
18366 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18367 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18369 archive_cmds_CXX=''
18370 hardcode_direct_CXX=yes
18371 hardcode_libdir_separator_CXX=':'
18372 link_all_deplibs_CXX=yes
18374 if test "$GXX" = yes; then
18375 case $host_os in aix4.[012]|aix4.[012].*)
18376 # We only want to do this on AIX 4.2 and lower, the check
18377 # below for broken collect2 doesn't work under 4.3+
18378 collect2name=`${CC} -print-prog-name=collect2
`
18379 if test -f "$collect2name" && \
18380 strings "$collect2name" | grep resolve_lib_name >/dev/null
18382 # We have reworked collect2
18383 hardcode_direct_CXX=yes
18385 # We have old collect2
18386 hardcode_direct_CXX=unsupported
18387 # It fails to find uninstalled libraries when the uninstalled
18388 # path is not listed in the libpath. Setting hardcode_minus_L
18389 # to unsupported forces relinking
18390 hardcode_minus_L_CXX=yes
18391 hardcode_libdir_flag_spec_CXX='-L$libdir'
18392 hardcode_libdir_separator_CXX=
18396 shared_flag='-shared'
18397 if test "$aix_use_runtimelinking" = yes; then
18398 shared_flag="$shared_flag "'${wl}-G'
18402 if test "$host_cpu" = ia64; then
18403 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18404 # chokes on -Wl,-G. The following line is correct:
18407 if test "$aix_use_runtimelinking" = yes; then
18408 shared_flag='${wl}-G'
18410 shared_flag='${wl}-bM:SRE'
18415 # It seems that -bexpall does not export symbols beginning with
18416 # underscore (_), so it is better to generate a list of symbols to export.
18417 always_export_symbols_CXX=yes
18418 if test "$aix_use_runtimelinking" = yes; then
18419 # Warning - without using the other runtime loading flags (-brtl),
18420 # -berok will link without error, but may produce a broken library.
18421 allow_undefined_flag_CXX='-berok'
18422 # Determine the default libpath from the value encoded in an empty executable.
18423 cat >conftest.$ac_ext <<_ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18438 rm -f conftest.$ac_objext conftest$ac_exeext
18439 if { (ac_try="$ac_link"
18440 case "(($ac_try" in
18441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18442 *) ac_try_echo
=$ac_try;;
18444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18445 (eval "$ac_link") 2>conftest.er1
18447 grep -v '^ *+' conftest.er1
>conftest.err
18449 cat conftest.err
>&5
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); } &&
18452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18453 { (case "(($ac_try" in
18454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_try") 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; } &&
18462 { ac_try='test -s conftest$ac_exeext'
18463 { (case "(($ac_try" in
18464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18465 *) ac_try_echo
=$ac_try;;
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_try") 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18473 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18475 # Check for a 64-bit object if we didn't find anything.
18476 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; }
18479 echo "$as_me: failed program was:" >&5
18480 sed 's/^/| /' conftest.
$ac_ext >&5
18485 rm -f core conftest.err conftest.
$ac_objext \
18486 conftest
$ac_exeext conftest.
$ac_ext
18487 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18489 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18491 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"
18493 if test "$host_cpu" = ia64
; then
18494 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18495 allow_undefined_flag_CXX
="-z nodefs"
18496 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"
18498 # Determine the default libpath from the value encoded in an empty executable.
18499 cat >conftest.
$ac_ext <<_ACEOF
18502 cat confdefs.h
>>conftest.
$ac_ext
18503 cat >>conftest.
$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18514 rm -f conftest.
$ac_objext conftest
$ac_exeext
18515 if { (ac_try
="$ac_link"
18516 case "(($ac_try" in
18517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18518 *) ac_try_echo=$ac_try;;
18520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18521 (eval "$ac_link") 2>conftest.er1
18523 grep -v '^ *+' conftest.er1 >conftest.err
18525 cat conftest.err >&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); } &&
18528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18529 { (case "(($ac_try" in
18530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18531 *) ac_try_echo
=$ac_try;;
18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18534 (eval "$ac_try") 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; } &&
18538 { ac_try
='test -s conftest$ac_exeext'
18539 { (case "(($ac_try" in
18540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18541 *) ac_try_echo=$ac_try;;
18543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18544 (eval "$ac_try") 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; }; then
18549 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18551 # Check for a 64-bit object if we didn't find anything.
18552 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; }
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18561 rm -f core conftest.err conftest.$ac_objext \
18562 conftest$ac_exeext conftest.$ac_ext
18563 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18565 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18566 # Warning - without using the other run time loading flags,
18567 # -berok will link without error, but may produce a broken library.
18568 no_undefined_flag_CXX=' ${wl}-bernotok'
18569 allow_undefined_flag_CXX=' ${wl}-berok'
18570 # Exported symbols can be pulled into shared objects from archives
18571 whole_archive_flag_spec_CXX='$convenience'
18572 archive_cmds_need_lc_CXX=yes
18573 # This is similar to how AIX traditionally builds its shared libraries.
18574 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'
18580 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18581 allow_undefined_flag_CXX=unsupported
18582 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18583 # support --undefined. This deserves some investigation. FIXME
18584 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18591 case $cc_basename in
18593 # FIXME: insert proper C++ library support
18599 cygwin* | mingw* | pw32*)
18600 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18601 # as there is no search path for DLLs.
18602 hardcode_libdir_flag_spec_CXX='-L$libdir'
18603 allow_undefined_flag_CXX=unsupported
18604 always_export_symbols_CXX=no
18605 enable_shared_with_static_runtimes_CXX=yes
18607 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18608 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'
18609 # If the export-symbols file already is a .def file (1st line
18610 # is EXPORTS), use it as is; otherwise, prepend...
18611 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18612 cp $export_symbols $output_objdir/$soname.def;
18614 echo EXPORTS > $output_objdir/$soname.def;
18615 cat $export_symbols >> $output_objdir/$soname.def;
18617 $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'
18622 darwin* | rhapsody*)
18624 rhapsody* | darwin1.[012])
18625 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18628 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18629 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18631 case ${MACOSX_DEPLOYMENT_TARGET} in
18633 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18636 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18642 archive_cmds_need_lc_CXX=no
18643 hardcode_direct_CXX=no
18644 hardcode_automatic_CXX=yes
18645 hardcode_shlibpath_var_CXX=unsupported
18646 whole_archive_flag_spec_CXX=''
18647 link_all_deplibs_CXX=yes
18649 if test "$GXX" = yes ; then
18650 lt_int_apple_cc_single_mod=no
18651 output_verbose_link_cmd='echo'
18652 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18653 lt_int_apple_cc_single_mod=yes
18655 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18656 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18658 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'
18660 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18661 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18662 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18663 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}'
18665 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}'
18667 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}'
18669 case $cc_basename in
18671 output_verbose_link_cmd='echo'
18672 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'
18673 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18674 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18675 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}'
18676 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}'
18686 case $cc_basename in
18688 # FIXME: insert proper C++ library support
18692 # Green Hills C++ Compiler
18693 # FIXME: insert proper C++ library support
18697 # FIXME: insert proper C++ library support
18703 # C++ shared libraries reported to be fairly broken before switch to ELF
18707 archive_cmds_need_lc_CXX=no
18709 freebsd* | kfreebsd*-gnu | dragonfly*)
18710 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18717 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18718 hardcode_libdir_separator_CXX=:
18719 export_dynamic_flag_spec_CXX='${wl}-E'
18720 hardcode_direct_CXX=yes
18721 hardcode_minus_L_CXX=yes # Not in the search PATH,
18722 # but as the default
18723 # location of the library.
18725 case $cc_basename in
18727 # FIXME: insert proper C++ library support
18731 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'
18732 # Commands to make compiler produce verbose output that lists
18733 # what "hidden" libraries, object files and flags are used when
18734 # linking a shared library.
18736 # There doesn't appear to be a way to prevent this compiler from
18737 # explicitly linking system object files so we need to strip them
18738 # from the output so that they don't get included in the library
18740 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'
18743 if test "$GXX" = yes; then
18744 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'
18746 # FIXME: insert proper C++ library support
18753 if test $with_gnu_ld = no; then
18754 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18755 hardcode_libdir_separator_CXX=:
18759 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18762 export_dynamic_flag_spec_CXX='${wl}-E'
18768 hardcode_direct_CXX=no
18769 hardcode_shlibpath_var_CXX=no
18772 hardcode_direct_CXX=yes
18773 hardcode_minus_L_CXX=yes # Not in the search PATH,
18774 # but as the default
18775 # location of the library.
18779 case $cc_basename in
18781 # FIXME: insert proper C++ library support
18787 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18790 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18793 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18796 # Commands to make compiler produce verbose output that lists
18797 # what "hidden" libraries, object files and flags are used when
18798 # linking a shared library.
18800 # There doesn't appear to be a way to prevent this compiler from
18801 # explicitly linking system object files so we need to strip them
18802 # from the output so that they don't get included in the library
18804 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'
18807 if test "$GXX" = yes; then
18808 if test $with_gnu_ld = no; then
18811 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18814 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18817 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'
18822 # FIXME: insert proper C++ library support
18829 hardcode_direct_CXX=no
18830 hardcode_shlibpath_var_CXX=no
18831 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18832 export_dynamic_flag_spec_CXX='${wl}-E'
18833 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18834 # Instead, shared libraries are loaded at an image base (0x10000000 by
18835 # default) and relocated if they conflict, which is a slow very memory
18836 # consuming and fragmenting process. To avoid this, we pick a random,
18837 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18838 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18839 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'
18840 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'
18843 case $cc_basename in
18846 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'
18848 # Archives containing C++ object files must be created using
18849 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18850 # necessary to make sure instantiated templates are included
18852 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18855 if test "$GXX" = yes; then
18856 if test "$with_gnu_ld" = no; then
18857 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'
18859 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'
18862 link_all_deplibs_CXX=yes
18865 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18866 hardcode_libdir_separator_CXX=:
18869 case $cc_basename in
18871 # Kuck and Associates, Inc. (KAI) C++ Compiler
18873 # KCC will only create a shared library if the output file
18874 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18875 # to its proper name (with version) after linking.
18876 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'
18877 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'
18878 # Commands to make compiler produce verbose output that lists
18879 # what "hidden" libraries, object files and flags are used when
18880 # linking a shared library.
18882 # There doesn't appear to be a way to prevent this compiler from
18883 # explicitly linking system object files so we need to strip them
18884 # from the output so that they don't get included in the library
18886 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'
18888 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18889 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18891 # Archives containing C++ object files must be created using
18892 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18893 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18898 # version 8.0 and above of icpc choke on multiply defined symbols
18899 # if we add $predep_objects and $postdep_objects, however 7.1 and
18900 # earlier do not add the objects themselves.
18901 case `$CC -V 2>&1` in
18903 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18904 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'
18906 *) # Version 8.0 or newer
18909 ia64
*) tmp_idyn
=' -i_dynamic';;
18911 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18912 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'
18915 archive_cmds_need_lc_CXX
=no
18916 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18917 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18918 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18921 # Portland Group C++ compiler
18922 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18923 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'
18925 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18926 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18927 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'
18931 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18932 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'
18934 runpath_var
=LD_RUN_PATH
18935 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18936 hardcode_libdir_separator_CXX
=:
18938 # Commands to make compiler produce verbose output that lists
18939 # what "hidden" libraries, object files and flags are used when
18940 # linking a shared library.
18942 # There doesn't appear to be a way to prevent this compiler from
18943 # explicitly linking system object files so we need to strip them
18944 # from the output so that they don't get included in the library
18946 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'
18951 # FIXME: insert proper C++ library support
18955 # FIXME: insert proper C++ library support
18959 case $cc_basename in
18961 # FIXME: insert proper C++ library support
18965 # FIXME: insert proper C++ library support
18971 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18972 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18974 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18975 hardcode_direct_CXX
=yes
18976 hardcode_shlibpath_var_CXX
=no
18978 # Workaround some broken pre-1.5 toolchains
18979 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18982 # C++ shared libraries are fairly broken
18986 hardcode_direct_CXX
=yes
18987 hardcode_shlibpath_var_CXX
=no
18988 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18989 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18990 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18991 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18992 export_dynamic_flag_spec_CXX
='${wl}-E'
18993 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18995 output_verbose_link_cmd
='echo'
18998 case $cc_basename in
19000 # Kuck and Associates, Inc. (KAI) C++ Compiler
19002 # KCC will only create a shared library if the output file
19003 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19004 # to its proper name (with version) after linking.
19005 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'
19007 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19008 hardcode_libdir_separator_CXX
=:
19010 # Archives containing C++ object files must be created using
19011 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19012 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
19016 # Rational C++ 2.4.1
19017 # FIXME: insert proper C++ library support
19021 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19022 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'
19024 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19025 hardcode_libdir_separator_CXX
=:
19027 # Commands to make compiler produce verbose output that lists
19028 # what "hidden" libraries, object files and flags are used when
19029 # linking a shared library.
19031 # There doesn't appear to be a way to prevent this compiler from
19032 # explicitly linking system object files so we need to strip them
19033 # from the output so that they don't get included in the library
19035 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'
19038 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19039 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19040 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'
19042 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19043 hardcode_libdir_separator_CXX
=:
19045 # Commands to make compiler produce verbose output that lists
19046 # what "hidden" libraries, object files and flags are used when
19047 # linking a shared library.
19048 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19051 # FIXME: insert proper C++ library support
19058 case $cc_basename in
19060 # Kuck and Associates, Inc. (KAI) C++ Compiler
19062 # KCC will only create a shared library if the output file
19063 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19064 # to its proper name (with version) after linking.
19065 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'
19067 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19068 hardcode_libdir_separator_CXX
=:
19070 # Archives containing C++ object files must be created using
19071 # the KAI C++ compiler.
19072 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
19075 # Rational C++ 2.4.1
19076 # FIXME: insert proper C++ library support
19080 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19081 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'
19082 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19083 echo "-hidden">> $lib.exp~
19084 $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~
19087 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19088 hardcode_libdir_separator_CXX
=:
19090 # Commands to make compiler produce verbose output that lists
19091 # what "hidden" libraries, object files and flags are used when
19092 # linking a shared library.
19094 # There doesn't appear to be a way to prevent this compiler from
19095 # explicitly linking system object files so we need to strip them
19096 # from the output so that they don't get included in the library
19098 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'
19101 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19102 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19103 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'
19105 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19106 hardcode_libdir_separator_CXX
=:
19108 # Commands to make compiler produce verbose output that lists
19109 # what "hidden" libraries, object files and flags are used when
19110 # linking a shared library.
19111 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19114 # FIXME: insert proper C++ library support
19121 # FIXME: insert proper C++ library support
19125 case $cc_basename in
19128 # FIXME: insert proper C++ library support
19133 # FIXME: insert proper C++ library support
19137 # FIXME: insert proper C++ library support
19143 case $cc_basename in
19145 # Sun C++ 4.2, 5.x and Centerline C++
19146 archive_cmds_need_lc_CXX
=yes
19147 no_undefined_flag_CXX
=' -zdefs'
19148 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19149 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19150 $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'
19152 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19153 hardcode_shlibpath_var_CXX
=no
19155 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19157 # The C++ compiler is used as linker so we must use $wl
19158 # flag to pass the commands to the underlying system
19159 # linker. We must also pass each convience library through
19160 # to the system linker between allextract/defaultextract.
19161 # The C++ compiler will combine linker options so we
19162 # cannot just pass the convience library names through
19164 # Supported since Solaris 2.6 (maybe 2.5.1?)
19165 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'
19168 link_all_deplibs_CXX
=yes
19170 output_verbose_link_cmd
='echo'
19172 # Archives containing C++ object files must be created using
19173 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19174 # necessary to make sure instantiated templates are included
19176 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19179 # Green Hills C++ Compiler
19180 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19182 # The C++ compiler must be used to create the archive.
19183 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19186 # GNU C++ compiler with Solaris linker
19187 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19188 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19189 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
19190 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19191 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19192 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19194 # Commands to make compiler produce verbose output that lists
19195 # what "hidden" libraries, object files and flags are used when
19196 # linking a shared library.
19197 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19199 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19201 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19202 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19203 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19205 # Commands to make compiler produce verbose output that lists
19206 # what "hidden" libraries, object files and flags are used when
19207 # linking a shared library.
19208 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19211 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19216 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19217 no_undefined_flag_CXX
='${wl}-z,text'
19218 archive_cmds_need_lc_CXX
=no
19219 hardcode_shlibpath_var_CXX
=no
19220 runpath_var
='LD_RUN_PATH'
19222 case $cc_basename in
19224 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19225 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19228 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19229 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19233 sysv5
* | sco3.2v5
* | sco5v6
*)
19234 # Note: We can NOT use -z defs as we might desire, because we do not
19235 # link with -lc, and that would cause any symbols used from libc to
19236 # always be unresolved, which means just about no library would
19237 # ever link correctly. If we're not using GNU ld we use -z text
19238 # though, which does catch some bad symbols but isn't as heavy-handed
19240 # For security reasons, it is highly recommended that you always
19241 # use absolute paths for naming shared libraries, and exclude the
19242 # DT_RUNPATH tag from executables and libraries. But doing so
19243 # requires that you compile everything twice, which is a pain.
19244 # So that behaviour is only enabled if SCOABSPATH is set to a
19245 # non-empty value in the environment. Most likely only useful for
19246 # creating official distributions of packages.
19247 # This is a hack until libtool officially supports absolute path
19248 # names for shared libraries.
19249 no_undefined_flag_CXX
='${wl}-z,text'
19250 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19251 archive_cmds_need_lc_CXX
=no
19252 hardcode_shlibpath_var_CXX
=no
19253 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19254 hardcode_libdir_separator_CXX
=':'
19255 link_all_deplibs_CXX
=yes
19256 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19257 runpath_var
='LD_RUN_PATH'
19259 case $cc_basename in
19261 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19262 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19265 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19266 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19271 case $cc_basename in
19273 # NonStop-UX NCC 3.20
19274 # FIXME: insert proper C++ library support
19278 # FIXME: insert proper C++ library support
19284 # FIXME: insert proper C++ library support
19288 # FIXME: insert proper C++ library support
19292 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19293 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19294 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19300 cat > conftest.
$ac_ext <<EOF
19304 Foo (void) { a = 0; }
19310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19311 (eval $ac_compile) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; then
19315 # Parse the compiler output and extract the necessary
19316 # objects, libraries and library flags.
19318 # Sentinel used to keep track of whether or not we are before
19319 # the conftest object file.
19320 pre_test_object_deps_done
=no
19322 # The `*' in the case matches for architectures that use `case' in
19323 # $output_verbose_cmd can trigger glob expansion during the loop
19324 # eval without this substitution.
19325 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19327 for p
in `eval $output_verbose_link_cmd`; do
19331 # Some compilers place space between "-{L,R}" and the path.
19332 # Remove the space.
19333 if test $p = "-L" \
19334 ||
test $p = "-R"; then
19341 if test "$pre_test_object_deps_done" = no
; then
19344 # Internal compiler library paths should come after those
19345 # provided the user. The postdeps already come after the
19346 # user supplied libs so there is no need to process them.
19347 if test -z "$compiler_lib_search_path_CXX"; then
19348 compiler_lib_search_path_CXX
="${prev}${p}"
19350 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19353 # The "-l" case would never come before the object being
19354 # linked, so don't bother handling this case.
19357 if test -z "$postdeps_CXX"; then
19358 postdeps_CXX
="${prev}${p}"
19360 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19366 # This assumes that the test object file only shows up
19367 # once in the compiler output.
19368 if test "$p" = "conftest.$objext"; then
19369 pre_test_object_deps_done
=yes
19373 if test "$pre_test_object_deps_done" = no
; then
19374 if test -z "$predep_objects_CXX"; then
19375 predep_objects_CXX
="$p"
19377 predep_objects_CXX
="$predep_objects_CXX $p"
19380 if test -z "$postdep_objects_CXX"; then
19381 postdep_objects_CXX
="$p"
19383 postdep_objects_CXX
="$postdep_objects_CXX $p"
19388 *) ;; # Ignore the rest.
19396 echo "libtool.m4: error: problem compiling CXX test program"
19399 $rm -f confest.
$objext
19401 # PORTME: override above test on systems where it is broken
19404 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19405 # hack all around it, let's just trust "g++" to DTRT.
19406 predep_objects_CXX
=
19407 postdep_objects_CXX
=
19412 case $cc_basename in
19414 # Adding this requires a known-good setup of shared libraries for
19415 # Sun compiler versions before 5.6, else PIC objects from an old
19416 # archive will be linked into the output, leading to subtle bugs.
19417 postdeps_CXX
='-lCstd -lCrun'
19424 case " $postdeps_CXX " in
19425 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19428 lt_prog_compiler_wl_CXX
=
19429 lt_prog_compiler_pic_CXX
=
19430 lt_prog_compiler_static_CXX
=
19432 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19433 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19435 # C++ specific cases for pic, static, wl, etc.
19436 if test "$GXX" = yes; then
19437 lt_prog_compiler_wl_CXX
='-Wl,'
19438 lt_prog_compiler_static_CXX
='-static'
19442 # All AIX code is PIC.
19443 if test "$host_cpu" = ia64
; then
19444 # AIX 5 now supports IA64 processor
19445 lt_prog_compiler_static_CXX
='-Bstatic'
19449 # FIXME: we need at least 68020 code to build shared libraries, but
19450 # adding the `-m68020' flag to GCC prevents building anything better,
19452 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19454 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19455 # PIC is the default for these OSes.
19457 mingw
* | os2
* | pw32
*)
19458 # This hack is so that the source file can tell whether it is being
19459 # built for inclusion in a dll (and should export symbols for example).
19460 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19462 darwin
* | rhapsody
*)
19463 # PIC is the default on this platform
19464 # Common symbols not allowed in MH_DYLIB files
19465 lt_prog_compiler_pic_CXX
='-fno-common'
19468 # DJGPP does not support shared libraries at all
19469 lt_prog_compiler_pic_CXX
=
19472 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19473 # Instead, we relocate shared libraries at runtime.
19476 if test -d /usr
/nec
; then
19477 lt_prog_compiler_pic_CXX
=-Kconform_pic
19481 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19482 # not for PA HP-UX.
19487 lt_prog_compiler_pic_CXX
='-fPIC'
19492 lt_prog_compiler_pic_CXX
='-fPIC'
19498 # All AIX code is PIC.
19499 if test "$host_cpu" = ia64
; then
19500 # AIX 5 now supports IA64 processor
19501 lt_prog_compiler_static_CXX
='-Bstatic'
19503 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19507 case $cc_basename in
19509 # Green Hills C++ Compiler
19510 # _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"
19515 # PIC is the default on this platform
19516 # Common symbols not allowed in MH_DYLIB files
19517 case $cc_basename in
19519 lt_prog_compiler_pic_CXX
='-qnocommon'
19520 lt_prog_compiler_wl_CXX
='-Wl,'
19525 case $cc_basename in
19527 lt_prog_compiler_pic_CXX
='-KPIC'
19530 # Green Hills C++ Compiler
19531 lt_prog_compiler_pic_CXX
='-pic'
19537 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19538 # FreeBSD uses GNU C++
19540 hpux9
* | hpux10
* | hpux11
*)
19541 case $cc_basename in
19543 lt_prog_compiler_wl_CXX
='-Wl,'
19544 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19545 if test "$host_cpu" != ia64
; then
19546 lt_prog_compiler_pic_CXX
='+Z'
19550 lt_prog_compiler_wl_CXX
='-Wl,'
19551 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19557 lt_prog_compiler_pic_CXX
='+Z'
19566 # This is c89, which is MS Visual C++ (no shared libs)
19567 # Anyone wants to do a port?
19569 irix5
* | irix6
* | nonstopux
*)
19570 case $cc_basename in
19572 lt_prog_compiler_wl_CXX
='-Wl,'
19573 lt_prog_compiler_static_CXX
='-non_shared'
19574 # CC pic flag -KPIC is the default.
19581 case $cc_basename in
19584 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19585 lt_prog_compiler_pic_CXX
='-fPIC'
19589 lt_prog_compiler_wl_CXX
='-Wl,'
19590 lt_prog_compiler_pic_CXX
='-KPIC'
19591 lt_prog_compiler_static_CXX
='-static'
19594 # Portland Group C++ compiler.
19595 lt_prog_compiler_wl_CXX
='-Wl,'
19596 lt_prog_compiler_pic_CXX
='-fpic'
19597 lt_prog_compiler_static_CXX
='-Bstatic'
19601 # Make sure the PIC flag is empty. It appears that all Alpha
19602 # Linux and Compaq Tru64 Unix objects are PIC.
19603 lt_prog_compiler_pic_CXX
=
19604 lt_prog_compiler_static_CXX
='-non_shared'
19615 case $cc_basename in
19617 lt_prog_compiler_pic_CXX
='-W c,exportall'
19625 osf3
* | osf4
* | osf5
*)
19626 case $cc_basename in
19628 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19631 # Rational C++ 2.4.1
19632 lt_prog_compiler_pic_CXX
='-pic'
19635 # Digital/Compaq C++
19636 lt_prog_compiler_wl_CXX
='-Wl,'
19637 # Make sure the PIC flag is empty. It appears that all Alpha
19638 # Linux and Compaq Tru64 Unix objects are PIC.
19639 lt_prog_compiler_pic_CXX
=
19640 lt_prog_compiler_static_CXX
='-non_shared'
19649 case $cc_basename in
19651 # Sun C++ 4.2, 5.x and Centerline C++
19652 lt_prog_compiler_pic_CXX
='-KPIC'
19653 lt_prog_compiler_static_CXX
='-Bstatic'
19654 lt_prog_compiler_wl_CXX
='-Qoption ld '
19657 # Green Hills C++ Compiler
19658 lt_prog_compiler_pic_CXX
='-PIC'
19665 case $cc_basename in
19668 lt_prog_compiler_pic_CXX
='-pic'
19669 lt_prog_compiler_static_CXX
='-Bstatic'
19673 lt_prog_compiler_pic_CXX
='-pic'
19680 case $cc_basename in
19682 # NonStop-UX NCC 3.20
19683 lt_prog_compiler_pic_CXX
='-KPIC'
19689 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19690 case $cc_basename in
19692 lt_prog_compiler_wl_CXX
='-Wl,'
19693 lt_prog_compiler_pic_CXX
='-KPIC'
19694 lt_prog_compiler_static_CXX
='-Bstatic'
19701 lt_prog_compiler_can_build_shared_CXX
=no
19706 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19707 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19710 # Check to make sure the PIC flag actually works.
19712 if test -n "$lt_prog_compiler_pic_CXX"; then
19714 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19715 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19716 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 lt_prog_compiler_pic_works_CXX
=no
19720 ac_outfile
=conftest.
$ac_objext
19721 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19722 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19723 # Insert the option either (1) after the last *FLAGS variable, or
19724 # (2) before a word containing "conftest.", or (3) at the end.
19725 # Note that $ac_compile itself does not contain backslashes and begins
19726 # with a dollar sign (not a hyphen), so the echo should work correctly.
19727 # The option is referenced via a variable to avoid confusing sed.
19728 lt_compile
=`echo "$ac_compile" | $SED \
19729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19731 -e 's:$: $lt_compiler_flag:'`
19732 (eval echo "\"\$as_me:19732: $lt_compile\"" >&5)
19733 (eval "$lt_compile" 2>conftest.err
)
19735 cat conftest.err
>&5
19736 echo "$as_me:19736: \$? = $ac_status" >&5
19737 if (exit $ac_status) && test -s "$ac_outfile"; then
19738 # The compiler can only warn and ignore the option if not recognized
19739 # So say no if there are warnings other than the usual output.
19740 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19741 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19742 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19743 lt_prog_compiler_pic_works_CXX
=yes
19749 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19750 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19752 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19753 case $lt_prog_compiler_pic_CXX in
19755 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19758 lt_prog_compiler_pic_CXX
=
19759 lt_prog_compiler_can_build_shared_CXX
=no
19764 # For platforms which do not support PIC, -DPIC is meaningless:
19766 lt_prog_compiler_pic_CXX
=
19769 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19774 # Check to make sure the static flag actually works.
19776 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19777 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19778 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19779 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19780 echo $ECHO_N "(cached) $ECHO_C" >&6
19782 lt_prog_compiler_static_works_CXX
=no
19783 save_LDFLAGS
="$LDFLAGS"
19784 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19785 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19786 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19787 # The linker can only warn and ignore the option if not recognized
19788 # So say no if there are warnings
19789 if test -s conftest.err
; then
19790 # Append any errors to the config.log.
19791 cat conftest.err
1>&5
19792 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19793 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19794 if diff conftest.exp conftest.er2
>/dev
/null
; then
19795 lt_prog_compiler_static_works_CXX
=yes
19798 lt_prog_compiler_static_works_CXX
=yes
19802 LDFLAGS
="$save_LDFLAGS"
19805 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19806 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19808 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19811 lt_prog_compiler_static_CXX
=
19815 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19816 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19817 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 lt_cv_prog_compiler_c_o_CXX
=no
19821 $rm -r conftest
2>/dev
/null
19825 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19827 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19828 # Insert the option either (1) after the last *FLAGS variable, or
19829 # (2) before a word containing "conftest.", or (3) at the end.
19830 # Note that $ac_compile itself does not contain backslashes and begins
19831 # with a dollar sign (not a hyphen), so the echo should work correctly.
19832 lt_compile
=`echo "$ac_compile" | $SED \
19833 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19834 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19835 -e 's:$: $lt_compiler_flag:'`
19836 (eval echo "\"\$as_me:19836: $lt_compile\"" >&5)
19837 (eval "$lt_compile" 2>out
/conftest.err
)
19839 cat out
/conftest.err
>&5
19840 echo "$as_me:19840: \$? = $ac_status" >&5
19841 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19843 # The compiler can only warn and ignore the option if not recognized
19844 # So say no if there are warnings
19845 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19846 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19847 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19848 lt_cv_prog_compiler_c_o_CXX
=yes
19853 # SGI C++ compiler will create directory out/ii_files/ for
19854 # template instantiation
19855 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19856 $rm out
/* && rmdir out
19862 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19863 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19866 hard_links
="nottested"
19867 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19868 # do not overwrite the value of need_locks provided by the user
19869 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19870 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19873 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19875 ln conftest.a conftest.b
2>&5 || hard_links
=no
19876 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19877 { echo "$as_me:$LINENO: result: $hard_links" >&5
19878 echo "${ECHO_T}$hard_links" >&6; }
19879 if test "$hard_links" = no
; then
19880 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19881 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19888 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19889 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19891 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19894 # If we're using GNU nm, then we don't want the "-C" option.
19895 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19896 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19897 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'
19899 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'
19903 export_symbols_cmds_CXX
="$ltdll_cmds"
19906 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'
19909 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19913 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19914 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19915 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19918 # Do we need to explicitly link libc?
19920 case "x$archive_cmds_need_lc_CXX" in
19922 # Assume -lc should be added
19923 archive_cmds_need_lc_CXX
=yes
19925 if test "$enable_shared" = yes && test "$GCC" = yes; then
19926 case $archive_cmds_CXX in
19928 # FIXME: we may have to deal with multi-command sequences.
19931 # Test whether the compiler implicitly links with -lc since on some
19932 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19933 # to ld, don't add -lc before -lgcc.
19934 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19935 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19937 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19940 (eval $ac_compile) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } 2>conftest.err
; then
19946 libobjs
=conftest.
$ac_objext
19948 wl
=$lt_prog_compiler_wl_CXX
19949 pic_flag
=$lt_prog_compiler_pic_CXX
19955 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19956 allow_undefined_flag_CXX
=
19957 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19958 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); }
19963 archive_cmds_need_lc_CXX
=no
19965 archive_cmds_need_lc_CXX
=yes
19967 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19969 cat conftest.err
1>&5
19972 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19973 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19980 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19981 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19982 library_names_spec
=
19983 libname_spec
='lib$name'
19987 postuninstall_cmds
=
19991 shlibpath_overrides_runpath
=unknown
19993 dynamic_linker
="$host_os ld.so"
19994 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19995 if test "$GCC" = yes; then
19996 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19997 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19998 # if the path contains ";" then we assume it to be the separator
19999 # otherwise default to the standard path separator (i.e. ":") - it is
20000 # assumed that no part of a normal pathname contains ";" but that should
20001 # okay in the real world where ";" in dirpaths is itself problematic.
20002 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20004 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20007 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
20009 need_lib_prefix
=unknown
20010 hardcode_into_libs
=no
20012 # when you set need_version to no, make sure it does not cause -set_version
20013 # flags to be left without arguments
20014 need_version
=unknown
20019 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20020 shlibpath_var
=LIBPATH
20022 # AIX 3 has no versioning support, so we append a major version to the name.
20023 soname_spec
='${libname}${release}${shared_ext}$major'
20030 hardcode_into_libs
=yes
20031 if test "$host_cpu" = ia64
; then
20032 # AIX 5 supports IA64
20033 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20034 shlibpath_var
=LD_LIBRARY_PATH
20036 # With GCC up to 2.95.x, collect2 would create an import file
20037 # for dependence libraries. The import file would start with
20038 # the line `#! .'. This would cause the generated library to
20039 # depend on `.', always an invalid library. This was fixed in
20040 # development snapshots of GCC prior to 3.0.
20042 aix4 | aix4.
[01] | aix4.
[01].
*)
20043 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20045 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20048 can_build_shared
=no
20052 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20053 # soname into executable. Probably we can add versioning support to
20054 # collect2, so additional links can be useful in future.
20055 if test "$aix_use_runtimelinking" = yes; then
20056 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20057 # instead of lib<name>.a to let people know that these are not
20058 # typical AIX shared libraries.
20059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20061 # We preserve .a as extension for shared libraries through AIX4.2
20062 # and later when we are not doing run time linking.
20063 library_names_spec
='${libname}${release}.a $libname.a'
20064 soname_spec
='${libname}${release}${shared_ext}$major'
20066 shlibpath_var
=LIBPATH
20071 library_names_spec
='$libname.ixlibrary $libname.a'
20072 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20073 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'
20077 library_names_spec
='${libname}${shared_ext}'
20078 dynamic_linker
="$host_os ld.so"
20079 shlibpath_var
=LIBRARY_PATH
20085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20086 soname_spec
='${libname}${release}${shared_ext}$major'
20087 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20088 shlibpath_var
=LD_LIBRARY_PATH
20089 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20090 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20091 # the default ld.so.conf also contains /usr/contrib/lib and
20092 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20093 # libtool to hard-code these into programs
20096 cygwin
* | mingw
* | pw32
*)
20097 version_type
=windows
20102 case $GCC,$host_os in
20103 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20104 library_names_spec
='$libname.dll.a'
20105 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20106 postinstall_cmds
='base_file=`basename \${file}`~
20107 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20108 dldir=$destdir/`dirname \$dlpath`~
20109 test -d \$dldir || mkdir -p \$dldir~
20110 $install_prog $dir/$dlname \$dldir/$dlname~
20111 chmod a+x \$dldir/$dlname'
20112 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20113 dlpath=$dir/\$dldll~
20115 shlibpath_overrides_runpath
=yes
20119 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20120 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20121 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20124 # MinGW DLLs use traditional 'lib' prefix
20125 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20126 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20127 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20128 # It is most probably a Windows format PATH printed by
20129 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20130 # path with ; separators, and with drive letters. We can handle the
20131 # drive letters (cygwin fileutils understands them), so leave them,
20132 # especially as we might pass files found there to a mingw objdump,
20133 # which wouldn't understand a cygwinified path. Ahh.
20134 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20136 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20140 # pw32 DLLs use 'pw' prefix rather than 'lib'
20141 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20147 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20150 dynamic_linker
='Win32 ld.exe'
20151 # FIXME: first we should search . and the directory the executable is in
20155 darwin
* | rhapsody
*)
20156 dynamic_linker
="$host_os dyld"
20157 version_type
=darwin
20160 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20161 soname_spec
='${libname}${release}${major}$shared_ext'
20162 shlibpath_overrides_runpath
=yes
20163 shlibpath_var
=DYLD_LIBRARY_PATH
20164 shrext_cmds
='.dylib'
20165 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20166 if test "$GCC" = yes; then
20167 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"`
20169 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20171 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20179 soname_spec
='${libname}${release}${shared_ext}$major'
20180 shlibpath_var
=LD_LIBRARY_PATH
20191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20192 soname_spec
='${libname}${release}${shared_ext}$major'
20193 shlibpath_var
=LD_LIBRARY_PATH
20194 shlibpath_overrides_runpath
=no
20195 hardcode_into_libs
=yes
20196 dynamic_linker
='GNU ld.so'
20199 freebsd
* | dragonfly
*)
20200 # DragonFly does not have aout. When/if they implement a new
20201 # versioning mechanism, adjust this.
20202 if test -x /usr
/bin
/objformat
; then
20203 objformat
=`/usr/bin/objformat`
20206 freebsd
[123]*) objformat
=aout
;;
20207 *) objformat
=elf
;;
20210 version_type
=freebsd-
$objformat
20211 case $version_type in
20213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20218 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20222 shlibpath_var
=LD_LIBRARY_PATH
20225 shlibpath_overrides_runpath
=yes
20227 freebsd3.
[01]* | freebsdelf3.
[01]*)
20228 shlibpath_overrides_runpath
=yes
20229 hardcode_into_libs
=yes
20231 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20232 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20233 shlibpath_overrides_runpath
=no
20234 hardcode_into_libs
=yes
20236 freebsd
*) # from 4.6 on
20237 shlibpath_overrides_runpath
=yes
20238 hardcode_into_libs
=yes
20247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20248 soname_spec
='${libname}${release}${shared_ext}$major'
20249 shlibpath_var
=LD_LIBRARY_PATH
20250 hardcode_into_libs
=yes
20253 hpux9
* | hpux10
* | hpux11
*)
20254 # Give a soname corresponding to the major version so that dld.sl refuses to
20255 # link against other versions.
20262 hardcode_into_libs
=yes
20263 dynamic_linker
="$host_os dld.so"
20264 shlibpath_var
=LD_LIBRARY_PATH
20265 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20267 soname_spec
='${libname}${release}${shared_ext}$major'
20268 if test "X$HPUX_IA64_MODE" = X32
; then
20269 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20271 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20273 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20277 hardcode_into_libs
=yes
20278 dynamic_linker
="$host_os dld.sl"
20279 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20280 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20282 soname_spec
='${libname}${release}${shared_ext}$major'
20283 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20284 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20288 dynamic_linker
="$host_os dld.sl"
20289 shlibpath_var
=SHLIB_PATH
20290 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20292 soname_spec
='${libname}${release}${shared_ext}$major'
20295 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20296 postinstall_cmds
='chmod 555 $lib'
20303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20304 soname_spec
='${libname}${release}${shared_ext}$major'
20305 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20306 shlibpath_var
=LD_LIBRARY_PATH
20307 shlibpath_overrides_runpath
=no
20308 hardcode_into_libs
=yes
20311 irix5
* | irix6
* | nonstopux
*)
20313 nonstopux
*) version_type
=nonstopux
;;
20315 if test "$lt_cv_prog_gnu_ld" = yes; then
20323 soname_spec
='${libname}${release}${shared_ext}$major'
20324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20326 irix5
* | nonstopux
*)
20327 libsuff
= shlibsuff
=
20330 case $LD in # libtool.m4 will add one of these switches to LD
20331 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20332 libsuff
= shlibsuff
= libmagic
=32-bit;;
20333 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20334 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20335 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20336 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20337 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20341 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20342 shlibpath_overrides_runpath
=no
20343 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20344 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20345 hardcode_into_libs
=yes
20348 # No shared lib support for Linux oldld, aout, or coff.
20349 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20353 # This must be Linux ELF.
20358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20359 soname_spec
='${libname}${release}${shared_ext}$major'
20360 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20361 shlibpath_var
=LD_LIBRARY_PATH
20362 shlibpath_overrides_runpath
=no
20363 # This implies no fast_install, which is unacceptable.
20364 # Some rework will be needed to allow for fast_install
20365 # before this can be enabled.
20366 hardcode_into_libs
=yes
20368 # Append ld.so.conf contents to the search path
20369 if test -f /etc
/ld.so.conf
; then
20370 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' ' '`
20371 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20374 # We used to test for /lib/ld.so.1 and disable shared libraries on
20375 # powerpc, because MkLinux only supported shared libraries with the
20376 # GNU dynamic linker. Since this was broken with cross compilers,
20377 # most powerpc-linux boxes support dynamic linking these days and
20378 # people can always --disable-shared, the test was removed, and we
20379 # assume the GNU/Linux dynamic linker is in use.
20380 dynamic_linker
='GNU/Linux ld.so'
20387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20388 soname_spec
='${libname}${release}${shared_ext}$major'
20389 shlibpath_var
=LD_LIBRARY_PATH
20390 shlibpath_overrides_runpath
=no
20391 hardcode_into_libs
=yes
20392 dynamic_linker
='GNU ld.so'
20399 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20402 dynamic_linker
='NetBSD (a.out) ld.so'
20404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20405 soname_spec
='${libname}${release}${shared_ext}$major'
20406 dynamic_linker
='NetBSD ld.elf_so'
20408 shlibpath_var
=LD_LIBRARY_PATH
20409 shlibpath_overrides_runpath
=yes
20410 hardcode_into_libs
=yes
20415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20416 shlibpath_var
=LD_LIBRARY_PATH
20417 shlibpath_overrides_runpath
=yes
20424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20425 soname_spec
='${libname}${release}${shared_ext}$major'
20426 shlibpath_var
=LD_LIBRARY_PATH
20427 shlibpath_overrides_runpath
=yes
20432 sys_lib_dlsearch_path_spec
="/usr/lib"
20434 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20436 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20437 *) need_version
=no
;;
20439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20440 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20441 shlibpath_var
=LD_LIBRARY_PATH
20442 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20444 openbsd2.
[89] | openbsd2.
[89].
*)
20445 shlibpath_overrides_runpath
=no
20448 shlibpath_overrides_runpath
=yes
20452 shlibpath_overrides_runpath
=yes
20457 libname_spec
='$name'
20460 library_names_spec
='$libname${shared_ext} $libname.a'
20461 dynamic_linker
='OS/2 ld.exe'
20462 shlibpath_var
=LIBPATH
20465 osf3
* | osf4
* | osf5
*)
20469 soname_spec
='${libname}${release}${shared_ext}$major'
20470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20471 shlibpath_var
=LD_LIBRARY_PATH
20472 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20473 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20481 soname_spec
='${libname}${release}${shared_ext}$major'
20482 shlibpath_var
=LD_LIBRARY_PATH
20483 shlibpath_overrides_runpath
=yes
20484 hardcode_into_libs
=yes
20485 # ldd complains unless libraries are executable
20486 postinstall_cmds
='chmod +x $lib'
20491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20492 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20493 shlibpath_var
=LD_LIBRARY_PATH
20494 shlibpath_overrides_runpath
=yes
20495 if test "$with_gnu_ld" = yes; then
20503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20504 soname_spec
='${libname}${release}${shared_ext}$major'
20505 shlibpath_var
=LD_LIBRARY_PATH
20506 case $host_vendor in
20508 shlibpath_overrides_runpath
=no
20510 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20511 runpath_var
=LD_RUN_PATH
20519 shlibpath_overrides_runpath
=no
20520 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20526 if test -d /usr
/nec
;then
20528 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20529 soname_spec
='$libname${shared_ext}.$major'
20530 shlibpath_var
=LD_LIBRARY_PATH
20534 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20535 version_type
=freebsd-elf
20538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20539 soname_spec
='${libname}${release}${shared_ext}$major'
20540 shlibpath_var
=LD_LIBRARY_PATH
20541 hardcode_into_libs
=yes
20542 if test "$with_gnu_ld" = yes; then
20543 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20544 shlibpath_overrides_runpath
=no
20546 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20547 shlibpath_overrides_runpath
=yes
20550 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20554 sys_lib_dlsearch_path_spec
='/usr/lib'
20559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20560 soname_spec
='${libname}${release}${shared_ext}$major'
20561 shlibpath_var
=LD_LIBRARY_PATH
20568 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20569 echo "${ECHO_T}$dynamic_linker" >&6; }
20570 test "$dynamic_linker" = no
&& can_build_shared
=no
20572 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20573 if test "$GCC" = yes; then
20574 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20577 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20578 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20579 hardcode_action_CXX
=
20580 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20581 test -n "$runpath_var_CXX" || \
20582 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20584 # We can hardcode non-existant directories.
20585 if test "$hardcode_direct_CXX" != no
&&
20586 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20587 # have to relink, otherwise we might link with an installed library
20588 # when we should be linking with a yet-to-be-installed one
20589 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20590 test "$hardcode_minus_L_CXX" != no
; then
20591 # Linking always hardcodes the temporary library directory.
20592 hardcode_action_CXX
=relink
20594 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20595 hardcode_action_CXX
=immediate
20598 # We cannot hardcode anything, or else we can only hardcode existing
20600 hardcode_action_CXX
=unsupported
20602 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20603 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20605 if test "$hardcode_action_CXX" = relink
; then
20606 # Fast installation is not supported
20607 enable_fast_install
=no
20608 elif test "$shlibpath_overrides_runpath" = yes ||
20609 test "$enable_shared" = no
; then
20610 # Fast installation is not necessary
20611 enable_fast_install
=needless
20615 # The else clause should only fire when bootstrapping the
20616 # libtool distribution, otherwise you forgot to ship ltmain.sh
20617 # with your package, and you will get complaints that there are
20618 # no rules to generate ltmain.sh.
20619 if test -f "$ltmain"; then
20620 # See if we are running on zsh, and set the options which allow our commands through
20621 # without removal of \ escapes.
20622 if test -n "${ZSH_VERSION+set}" ; then
20623 setopt NO_GLOB_SUBST
20625 # Now quote all the things that may contain metacharacters while being
20626 # careful not to overquote the AC_SUBSTed values. We take copies of the
20627 # variables and quote the copies for generation of the libtool script.
20628 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20630 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20631 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20632 deplibs_check_method reload_flag reload_cmds need_locks \
20633 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20634 lt_cv_sys_global_symbol_to_c_name_address \
20635 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20636 old_postinstall_cmds old_postuninstall_cmds \
20640 lt_prog_compiler_wl_CXX \
20641 lt_prog_compiler_pic_CXX \
20642 lt_prog_compiler_static_CXX \
20643 lt_prog_compiler_no_builtin_flag_CXX \
20644 export_dynamic_flag_spec_CXX \
20645 thread_safe_flag_spec_CXX \
20646 whole_archive_flag_spec_CXX \
20647 enable_shared_with_static_runtimes_CXX \
20648 old_archive_cmds_CXX \
20649 old_archive_from_new_cmds_CXX \
20650 predep_objects_CXX \
20651 postdep_objects_CXX \
20654 compiler_lib_search_path_CXX \
20656 archive_expsym_cmds_CXX \
20657 postinstall_cmds_CXX \
20658 postuninstall_cmds_CXX \
20659 old_archive_from_expsyms_cmds_CXX \
20660 allow_undefined_flag_CXX \
20661 no_undefined_flag_CXX \
20662 export_symbols_cmds_CXX \
20663 hardcode_libdir_flag_spec_CXX \
20664 hardcode_libdir_flag_spec_ld_CXX \
20665 hardcode_libdir_separator_CXX \
20666 hardcode_automatic_CXX \
20668 module_expsym_cmds_CXX \
20669 lt_cv_prog_compiler_c_o_CXX \
20670 exclude_expsyms_CXX \
20671 include_expsyms_CXX
; do
20674 old_archive_cmds_CXX | \
20675 old_archive_from_new_cmds_CXX | \
20676 archive_cmds_CXX | \
20677 archive_expsym_cmds_CXX | \
20678 module_cmds_CXX | \
20679 module_expsym_cmds_CXX | \
20680 old_archive_from_expsyms_cmds_CXX | \
20681 export_symbols_cmds_CXX | \
20682 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20683 postinstall_cmds | postuninstall_cmds | \
20684 old_postinstall_cmds | old_postuninstall_cmds | \
20685 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20686 # Double-quote double-evaled strings.
20687 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20690 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20696 *'\$0 --fallback-echo"')
20697 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20703 cat <<__EOF__ >> "$cfgfile"
20704 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20706 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20708 # Shell to use when invoking shell scripts.
20711 # Whether or not to build shared libraries.
20712 build_libtool_libs=$enable_shared
20714 # Whether or not to build static libraries.
20715 build_old_libs=$enable_static
20717 # Whether or not to add -lc for building shared libraries.
20718 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20720 # Whether or not to disallow shared libs when runtime libs are static
20721 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20723 # Whether or not to optimize for fast installation.
20724 fast_install=$enable_fast_install
20727 host_alias=$host_alias
20731 # The build system.
20732 build_alias=$build_alias
20736 # An echo program that does not interpret backslashes.
20741 AR_FLAGS=$lt_AR_FLAGS
20746 # LTCC compiler flags.
20747 LTCFLAGS=$lt_LTCFLAGS
20749 # A language-specific compiler.
20750 CC=$lt_compiler_CXX
20752 # Is the compiler the GNU C compiler?
20758 # The linker used to build libraries.
20761 # Whether we need hard or soft links.
20764 # A BSD-compatible nm program.
20767 # A symbol stripping program
20770 # Used to examine libraries when file_magic_cmd begins "file"
20771 MAGIC_CMD=$MAGIC_CMD
20773 # Used on cygwin: DLL creation program.
20776 # Used on cygwin: object dumper.
20779 # Used on cygwin: assembler.
20782 # The name of the directory that contains temporary libtool files.
20785 # How to create reloadable object files.
20786 reload_flag=$lt_reload_flag
20787 reload_cmds=$lt_reload_cmds
20789 # How to pass a linker flag through the compiler.
20790 wl=$lt_lt_prog_compiler_wl_CXX
20792 # Object file suffix (normally "o").
20793 objext="$ac_objext"
20795 # Old archive suffix (normally "a").
20798 # Shared library suffix (normally ".so").
20799 shrext_cmds='$shrext_cmds'
20801 # Executable file suffix (normally "").
20804 # Additional compiler flags for building library objects.
20805 pic_flag=$lt_lt_prog_compiler_pic_CXX
20808 # What is the maximum length of a command?
20809 max_cmd_len=$lt_cv_sys_max_cmd_len
20811 # Does compiler simultaneously support -c and -o options?
20812 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20814 # Must we lock files when doing compilation?
20815 need_locks=$lt_need_locks
20817 # Do we need the lib prefix for modules?
20818 need_lib_prefix=$need_lib_prefix
20820 # Do we need a version for libraries?
20821 need_version=$need_version
20823 # Whether dlopen is supported.
20824 dlopen_support=$enable_dlopen
20826 # Whether dlopen of programs is supported.
20827 dlopen_self=$enable_dlopen_self
20829 # Whether dlopen of statically linked programs is supported.
20830 dlopen_self_static=$enable_dlopen_self_static
20832 # Compiler flag to prevent dynamic linking.
20833 link_static_flag=$lt_lt_prog_compiler_static_CXX
20835 # Compiler flag to turn off builtin functions.
20836 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20838 # Compiler flag to allow reflexive dlopens.
20839 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20841 # Compiler flag to generate shared objects directly from archives.
20842 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20844 # Compiler flag to generate thread-safe objects.
20845 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20847 # Library versioning type.
20848 version_type=$version_type
20850 # Format of library name prefix.
20851 libname_spec=$lt_libname_spec
20853 # List of archive names. First name is the real one, the rest are links.
20854 # The last name is the one that the linker finds with -lNAME.
20855 library_names_spec=$lt_library_names_spec
20857 # The coded name of the library, if different from the real name.
20858 soname_spec=$lt_soname_spec
20860 # Commands used to build and install an old-style archive.
20862 old_archive_cmds=$lt_old_archive_cmds_CXX
20863 old_postinstall_cmds=$lt_old_postinstall_cmds
20864 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20866 # Create an old-style archive from a shared archive.
20867 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20869 # Create a temporary old-style archive to link instead of a shared archive.
20870 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20872 # Commands used to build and install a shared archive.
20873 archive_cmds=$lt_archive_cmds_CXX
20874 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20875 postinstall_cmds=$lt_postinstall_cmds
20876 postuninstall_cmds=$lt_postuninstall_cmds
20878 # Commands used to build a loadable module (assumed same as above if empty)
20879 module_cmds=$lt_module_cmds_CXX
20880 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20882 # Commands to strip libraries.
20883 old_striplib=$lt_old_striplib
20884 striplib=$lt_striplib
20886 # Dependencies to place before the objects being linked to create a
20888 predep_objects=$lt_predep_objects_CXX
20890 # Dependencies to place after the objects being linked to create a
20892 postdep_objects=$lt_postdep_objects_CXX
20894 # Dependencies to place before the objects being linked to create a
20896 predeps=$lt_predeps_CXX
20898 # Dependencies to place after the objects being linked to create a
20900 postdeps=$lt_postdeps_CXX
20902 # The library search path used internally by the compiler when linking
20903 # a shared library.
20904 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20906 # Method to check whether dependent libraries are shared objects.
20907 deplibs_check_method=$lt_deplibs_check_method
20909 # Command to use when deplibs_check_method == file_magic.
20910 file_magic_cmd=$lt_file_magic_cmd
20912 # Flag that allows shared libraries with undefined symbols to be built.
20913 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20915 # Flag that forces no undefined symbols.
20916 no_undefined_flag=$lt_no_undefined_flag_CXX
20918 # Commands used to finish a libtool library installation in a directory.
20919 finish_cmds=$lt_finish_cmds
20921 # Same as above, but a single script fragment to be evaled but not shown.
20922 finish_eval=$lt_finish_eval
20924 # Take the output of nm and produce a listing of raw symbols and C names.
20925 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20927 # Transform the output of nm in a proper C declaration
20928 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20930 # Transform the output of nm in a C name address pair
20931 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20933 # This is the shared library runtime path variable.
20934 runpath_var=$runpath_var
20936 # This is the shared library path variable.
20937 shlibpath_var=$shlibpath_var
20939 # Is shlibpath searched before the hard-coded library search path?
20940 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20942 # How to hardcode a shared library path into an executable.
20943 hardcode_action=$hardcode_action_CXX
20945 # Whether we should hardcode library paths into libraries.
20946 hardcode_into_libs=$hardcode_into_libs
20948 # Flag to hardcode \$libdir into a binary during linking.
20949 # This must work even if \$libdir does not exist.
20950 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20952 # If ld is used when linking, flag to hardcode \$libdir into
20953 # a binary during linking. This must work even if \$libdir does
20955 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20957 # Whether we need a single -rpath flag with a separated argument.
20958 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20960 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20961 # resulting binary.
20962 hardcode_direct=$hardcode_direct_CXX
20964 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20965 # resulting binary.
20966 hardcode_minus_L=$hardcode_minus_L_CXX
20968 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20969 # the resulting binary.
20970 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20972 # Set to yes if building a shared library automatically hardcodes DIR into the library
20973 # and all subsequent libraries and executables linked against it.
20974 hardcode_automatic=$hardcode_automatic_CXX
20976 # Variables whose values should be saved in libtool wrapper scripts and
20977 # restored at relink time.
20978 variables_saved_for_relink="$variables_saved_for_relink"
20980 # Whether libtool must link a program against all its dependency libraries.
20981 link_all_deplibs=$link_all_deplibs_CXX
20983 # Compile-time system search path for libraries
20984 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20986 # Run-time system search path for libraries
20987 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20989 # Fix the shell variable \$srcfile for the compiler.
20990 fix_srcfile_path="$fix_srcfile_path_CXX"
20992 # Set to yes if exported symbols are required.
20993 always_export_symbols=$always_export_symbols_CXX
20995 # The commands to list exported symbols.
20996 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20998 # The commands to extract the exported symbol list from a shared archive.
20999 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21001 # Symbols that should not be listed in the preloaded symbols.
21002 exclude_expsyms=$lt_exclude_expsyms_CXX
21004 # Symbols that must always be exported.
21005 include_expsyms=$lt_include_expsyms_CXX
21007 # ### END LIBTOOL TAG CONFIG: $tagname
21013 # If there is no Makefile yet, we rely on a make rule to execute
21014 # `config.status --recheck' to rerun these tests and create the
21015 # libtool script then.
21016 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21017 if test -f "$ltmain_in"; then
21018 test -f Makefile
&& make "$ltmain"
21024 ac_cpp
='$CPP $CPPFLAGS'
21025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21033 with_gnu_ldcxx
=$with_gnu_ld
21034 with_gnu_ld
=$lt_save_with_gnu_ld
21035 lt_cv_path_LDCXX
=$lt_cv_path_LD
21036 lt_cv_path_LD
=$lt_save_path_LD
21037 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
21038 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
21046 if test -n "$F77" && test "X$F77" != "Xno"; then
21049 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21050 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
21054 archive_cmds_need_lc_F77
=no
21055 allow_undefined_flag_F77
=
21056 always_export_symbols_F77
=no
21057 archive_expsym_cmds_F77
=
21058 export_dynamic_flag_spec_F77
=
21059 hardcode_direct_F77
=no
21060 hardcode_libdir_flag_spec_F77
=
21061 hardcode_libdir_flag_spec_ld_F77
=
21062 hardcode_libdir_separator_F77
=
21063 hardcode_minus_L_F77
=no
21064 hardcode_automatic_F77
=no
21066 module_expsym_cmds_F77
=
21067 link_all_deplibs_F77
=unknown
21068 old_archive_cmds_F77
=$old_archive_cmds
21069 no_undefined_flag_F77
=
21070 whole_archive_flag_spec_F77
=
21071 enable_shared_with_static_runtimes_F77
=no
21073 # Source file extension for f77 test sources.
21076 # Object file extension for compiled f77 test sources.
21080 # Code to be used in simple compile tests
21081 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
21083 # Code to be used in simple link tests
21084 lt_simple_link_test_code
=" program t\n end\n"
21086 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21088 # If no C compiler was specified, use CC.
21091 # If no C compiler flags were specified, use CFLAGS.
21092 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21094 # Allow CC to be a program name with arguments.
21098 # save warnings/boilerplate of simple test code
21099 ac_outfile
=conftest.
$ac_objext
21100 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
21101 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21102 _lt_compiler_boilerplate
=`cat conftest.err`
21105 ac_outfile
=conftest.
$ac_objext
21106 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
21107 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21108 _lt_linker_boilerplate
=`cat conftest.err`
21112 # Allow CC to be a program name with arguments.
21117 for cc_temp
in $compiler""; do
21119 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21120 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21125 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21128 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21129 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21130 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21131 echo "${ECHO_T}$can_build_shared" >&6; }
21133 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21134 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21135 test "$can_build_shared" = "no" && enable_shared
=no
21137 # On AIX, shared libraries and static libraries use the same namespace, and
21138 # are all built from PIC.
21141 test "$enable_shared" = yes && enable_static
=no
21142 if test -n "$RANLIB"; then
21143 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
21144 postinstall_cmds
='$RANLIB $lib'
21148 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
21149 test "$enable_shared" = yes && enable_static
=no
21153 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21154 echo "${ECHO_T}$enable_shared" >&6; }
21156 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21157 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21158 # Make sure either enable_shared or enable_static is yes.
21159 test "$enable_shared" = yes || enable_static
=yes
21160 { echo "$as_me:$LINENO: result: $enable_static" >&5
21161 echo "${ECHO_T}$enable_static" >&6; }
21166 lt_prog_compiler_wl_F77
=
21167 lt_prog_compiler_pic_F77
=
21168 lt_prog_compiler_static_F77
=
21170 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21171 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21173 if test "$GCC" = yes; then
21174 lt_prog_compiler_wl_F77
='-Wl,'
21175 lt_prog_compiler_static_F77
='-static'
21179 # All AIX code is PIC.
21180 if test "$host_cpu" = ia64
; then
21181 # AIX 5 now supports IA64 processor
21182 lt_prog_compiler_static_F77
='-Bstatic'
21187 # FIXME: we need at least 68020 code to build shared libraries, but
21188 # adding the `-m68020' flag to GCC prevents building anything better,
21190 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21193 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21194 # PIC is the default for these OSes.
21197 mingw
* | pw32
* | os2
*)
21198 # This hack is so that the source file can tell whether it is being
21199 # built for inclusion in a dll (and should export symbols for example).
21200 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21203 darwin
* | rhapsody
*)
21204 # PIC is the default on this platform
21205 # Common symbols not allowed in MH_DYLIB files
21206 lt_prog_compiler_pic_F77
='-fno-common'
21210 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21211 # Instead, we relocate shared libraries at runtime.
21215 # Just because we use GCC doesn't mean we suddenly get shared libraries
21216 # on systems that don't support them.
21217 lt_prog_compiler_can_build_shared_F77
=no
21222 if test -d /usr
/nec
; then
21223 lt_prog_compiler_pic_F77
=-Kconform_pic
21228 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21229 # not for PA HP-UX.
21235 lt_prog_compiler_pic_F77
='-fPIC'
21241 lt_prog_compiler_pic_F77
='-fPIC'
21245 # PORTME Check for flag to pass linker flags through the system compiler.
21248 lt_prog_compiler_wl_F77
='-Wl,'
21249 if test "$host_cpu" = ia64
; then
21250 # AIX 5 now supports IA64 processor
21251 lt_prog_compiler_static_F77
='-Bstatic'
21253 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21257 # PIC is the default on this platform
21258 # Common symbols not allowed in MH_DYLIB files
21259 case $cc_basename in
21261 lt_prog_compiler_pic_F77
='-qnocommon'
21262 lt_prog_compiler_wl_F77
='-Wl,'
21267 mingw
* | pw32
* | os2
*)
21268 # This hack is so that the source file can tell whether it is being
21269 # built for inclusion in a dll (and should export symbols for example).
21270 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21273 hpux9
* | hpux10
* | hpux11
*)
21274 lt_prog_compiler_wl_F77
='-Wl,'
21275 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21276 # not for PA HP-UX.
21282 lt_prog_compiler_pic_F77
='+Z'
21285 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21286 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21289 irix5
* | irix6
* | nonstopux
*)
21290 lt_prog_compiler_wl_F77
='-Wl,'
21291 # PIC (with -KPIC) is the default.
21292 lt_prog_compiler_static_F77
='-non_shared'
21296 lt_prog_compiler_pic_F77
='-KPIC'
21297 lt_prog_compiler_static_F77
='-Bstatic'
21301 case $cc_basename in
21303 lt_prog_compiler_wl_F77
='-Wl,'
21304 lt_prog_compiler_pic_F77
='-KPIC'
21305 lt_prog_compiler_static_F77
='-static'
21307 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21308 # Portland Group compilers (*not* the Pentium gcc compiler,
21309 # which looks to be a dead project)
21310 lt_prog_compiler_wl_F77
='-Wl,'
21311 lt_prog_compiler_pic_F77
='-fpic'
21312 lt_prog_compiler_static_F77
='-Bstatic'
21315 lt_prog_compiler_wl_F77
='-Wl,'
21316 # All Alpha code is PIC.
21317 lt_prog_compiler_static_F77
='-non_shared'
21322 osf3
* | osf4
* | osf5
*)
21323 lt_prog_compiler_wl_F77
='-Wl,'
21324 # All OSF/1 code is PIC.
21325 lt_prog_compiler_static_F77
='-non_shared'
21329 lt_prog_compiler_pic_F77
='-KPIC'
21330 lt_prog_compiler_static_F77
='-Bstatic'
21331 case $cc_basename in
21332 f77
* | f90
* | f95
*)
21333 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21335 lt_prog_compiler_wl_F77
='-Wl,';;
21340 lt_prog_compiler_wl_F77
='-Qoption ld '
21341 lt_prog_compiler_pic_F77
='-PIC'
21342 lt_prog_compiler_static_F77
='-Bstatic'
21345 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21346 lt_prog_compiler_wl_F77
='-Wl,'
21347 lt_prog_compiler_pic_F77
='-KPIC'
21348 lt_prog_compiler_static_F77
='-Bstatic'
21352 if test -d /usr
/nec
;then
21353 lt_prog_compiler_pic_F77
='-Kconform_pic'
21354 lt_prog_compiler_static_F77
='-Bstatic'
21358 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21359 lt_prog_compiler_wl_F77
='-Wl,'
21360 lt_prog_compiler_pic_F77
='-KPIC'
21361 lt_prog_compiler_static_F77
='-Bstatic'
21365 lt_prog_compiler_wl_F77
='-Wl,'
21366 lt_prog_compiler_can_build_shared_F77
=no
21370 lt_prog_compiler_pic_F77
='-pic'
21371 lt_prog_compiler_static_F77
='-Bstatic'
21375 lt_prog_compiler_can_build_shared_F77
=no
21380 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21381 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21384 # Check to make sure the PIC flag actually works.
21386 if test -n "$lt_prog_compiler_pic_F77"; then
21388 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21389 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21390 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21391 echo $ECHO_N "(cached) $ECHO_C" >&6
21393 lt_prog_compiler_pic_works_F77
=no
21394 ac_outfile
=conftest.
$ac_objext
21395 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21396 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21397 # Insert the option either (1) after the last *FLAGS variable, or
21398 # (2) before a word containing "conftest.", or (3) at the end.
21399 # Note that $ac_compile itself does not contain backslashes and begins
21400 # with a dollar sign (not a hyphen), so the echo should work correctly.
21401 # The option is referenced via a variable to avoid confusing sed.
21402 lt_compile
=`echo "$ac_compile" | $SED \
21403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21405 -e 's:$: $lt_compiler_flag:'`
21406 (eval echo "\"\$as_me:21406: $lt_compile\"" >&5)
21407 (eval "$lt_compile" 2>conftest.err
)
21409 cat conftest.err
>&5
21410 echo "$as_me:21410: \$? = $ac_status" >&5
21411 if (exit $ac_status) && test -s "$ac_outfile"; then
21412 # The compiler can only warn and ignore the option if not recognized
21413 # So say no if there are warnings other than the usual output.
21414 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21415 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21416 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21417 lt_prog_compiler_pic_works_F77
=yes
21423 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21424 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21426 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21427 case $lt_prog_compiler_pic_F77 in
21429 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21432 lt_prog_compiler_pic_F77
=
21433 lt_prog_compiler_can_build_shared_F77
=no
21438 # For platforms which do not support PIC, -DPIC is meaningless:
21440 lt_prog_compiler_pic_F77
=
21443 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21448 # Check to make sure the static flag actually works.
21450 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21451 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21452 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21453 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21454 echo $ECHO_N "(cached) $ECHO_C" >&6
21456 lt_prog_compiler_static_works_F77
=no
21457 save_LDFLAGS
="$LDFLAGS"
21458 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21459 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21460 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21461 # The linker can only warn and ignore the option if not recognized
21462 # So say no if there are warnings
21463 if test -s conftest.err
; then
21464 # Append any errors to the config.log.
21465 cat conftest.err
1>&5
21466 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21467 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21468 if diff conftest.exp conftest.er2
>/dev
/null
; then
21469 lt_prog_compiler_static_works_F77
=yes
21472 lt_prog_compiler_static_works_F77
=yes
21476 LDFLAGS
="$save_LDFLAGS"
21479 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21480 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21482 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21485 lt_prog_compiler_static_F77
=
21489 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21490 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21491 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21492 echo $ECHO_N "(cached) $ECHO_C" >&6
21494 lt_cv_prog_compiler_c_o_F77
=no
21495 $rm -r conftest
2>/dev
/null
21499 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21501 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21502 # Insert the option either (1) after the last *FLAGS variable, or
21503 # (2) before a word containing "conftest.", or (3) at the end.
21504 # Note that $ac_compile itself does not contain backslashes and begins
21505 # with a dollar sign (not a hyphen), so the echo should work correctly.
21506 lt_compile
=`echo "$ac_compile" | $SED \
21507 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21508 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21509 -e 's:$: $lt_compiler_flag:'`
21510 (eval echo "\"\$as_me:21510: $lt_compile\"" >&5)
21511 (eval "$lt_compile" 2>out
/conftest.err
)
21513 cat out
/conftest.err
>&5
21514 echo "$as_me:21514: \$? = $ac_status" >&5
21515 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21517 # The compiler can only warn and ignore the option if not recognized
21518 # So say no if there are warnings
21519 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21520 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21521 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21522 lt_cv_prog_compiler_c_o_F77
=yes
21527 # SGI C++ compiler will create directory out/ii_files/ for
21528 # template instantiation
21529 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21530 $rm out
/* && rmdir out
21536 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21537 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21540 hard_links
="nottested"
21541 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21542 # do not overwrite the value of need_locks provided by the user
21543 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21544 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21547 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21549 ln conftest.a conftest.b
2>&5 || hard_links
=no
21550 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21551 { echo "$as_me:$LINENO: result: $hard_links" >&5
21552 echo "${ECHO_T}$hard_links" >&6; }
21553 if test "$hard_links" = no
; then
21554 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21555 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21562 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21563 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21566 allow_undefined_flag_F77
=
21567 enable_shared_with_static_runtimes_F77
=no
21569 archive_expsym_cmds_F77
=
21570 old_archive_From_new_cmds_F77
=
21571 old_archive_from_expsyms_cmds_F77
=
21572 export_dynamic_flag_spec_F77
=
21573 whole_archive_flag_spec_F77
=
21574 thread_safe_flag_spec_F77
=
21575 hardcode_libdir_flag_spec_F77
=
21576 hardcode_libdir_flag_spec_ld_F77
=
21577 hardcode_libdir_separator_F77
=
21578 hardcode_direct_F77
=no
21579 hardcode_minus_L_F77
=no
21580 hardcode_shlibpath_var_F77
=unsupported
21581 link_all_deplibs_F77
=unknown
21582 hardcode_automatic_F77
=no
21584 module_expsym_cmds_F77
=
21585 always_export_symbols_F77
=no
21586 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21587 # include_expsyms should be a list of space-separated symbols to be *always*
21588 # included in the symbol list
21589 include_expsyms_F77
=
21590 # exclude_expsyms can be an extended regexp of symbols to exclude
21591 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21592 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21593 # as well as any symbol that contains `d'.
21594 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21595 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21596 # platforms (ab)use it in PIC code, but their linkers get confused if
21597 # the symbol is explicitly referenced. Since portable code cannot
21598 # rely on this symbol name, it's probably fine to never include it in
21599 # preloaded symbol tables.
21600 extract_expsyms_cmds
=
21601 # Just being paranoid about ensuring that cc_basename is set.
21602 for cc_temp
in $compiler""; do
21604 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21605 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21610 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21613 cygwin
* | mingw
* | pw32
*)
21614 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21615 # When not using gcc, we currently assume that we are using
21616 # Microsoft Visual C++.
21617 if test "$GCC" != yes; then
21622 # we just hope/assume this is gcc and not c89 (= MSVC++)
21631 if test "$with_gnu_ld" = yes; then
21632 # If archive_cmds runs LD, not CC, wlarc should be empty
21635 # Set some defaults for GNU ld with shared library support. These
21636 # are reset later if shared libraries are not supported. Putting them
21637 # here allows them to be overridden if necessary.
21638 runpath_var
=LD_RUN_PATH
21639 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21640 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21641 # ancient GNU ld didn't support --whole-archive et. al.
21642 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21643 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21645 whole_archive_flag_spec_F77
=
21647 supports_anon_versioning
=no
21648 case `$LD -v 2>/dev/null` in
21649 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21650 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21651 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21652 *\
2.11.
*) ;; # other 2.11 versions
21653 *) supports_anon_versioning
=yes ;;
21656 # See if GNU ld supports shared libraries.
21658 aix3
* | aix4
* | aix5
*)
21659 # On AIX/PPC, the GNU linker is very broken
21660 if test "$host_cpu" != ia64
; then
21664 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21665 *** to be unable to reliably create shared libraries on AIX.
21666 *** Therefore, libtool is disabling shared libraries support. If you
21667 *** really care for shared libraries, you may want to modify your PATH
21668 *** so that a non-GNU linker is found, and then restart.
21675 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)'
21676 hardcode_libdir_flag_spec_F77
='-L$libdir'
21677 hardcode_minus_L_F77
=yes
21679 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21680 # that the semantics of dynamic libraries on AmigaOS, at least up
21681 # to version 4, is to share data among multiple programs linked
21682 # with the same dynamic library. Since this doesn't match the
21683 # behavior of shared libraries on other platforms, we can't use
21689 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21690 allow_undefined_flag_F77
=unsupported
21691 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21692 # support --undefined. This deserves some investigation. FIXME
21693 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21699 cygwin
* | mingw
* | pw32
*)
21700 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21701 # as there is no search path for DLLs.
21702 hardcode_libdir_flag_spec_F77
='-L$libdir'
21703 allow_undefined_flag_F77
=unsupported
21704 always_export_symbols_F77
=no
21705 enable_shared_with_static_runtimes_F77
=yes
21706 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21708 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21709 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21710 # If the export-symbols file already is a .def file (1st line
21711 # is EXPORTS), use it as is; otherwise, prepend...
21712 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21713 cp $export_symbols $output_objdir/$soname.def;
21715 echo EXPORTS > $output_objdir/$soname.def;
21716 cat $export_symbols >> $output_objdir/$soname.def;
21718 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21725 hardcode_direct_F77
=no
21726 hardcode_shlibpath_var_F77
=no
21727 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21728 export_dynamic_flag_spec_F77
='${wl}-E'
21729 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21730 # Instead, shared libraries are loaded at an image base (0x10000000 by
21731 # default) and relocated if they conflict, which is a slow very memory
21732 # consuming and fragmenting process. To avoid this, we pick a random,
21733 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21734 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21735 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'
21736 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'
21740 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21742 case $cc_basename,$host_cpu in
21743 pgcc
*) # Portland Group C compiler
21744 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'
21745 tmp_addflag
=' $pic_flag'
21747 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21748 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'
21749 tmp_addflag
=' $pic_flag -Mnomain' ;;
21750 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21751 tmp_addflag
=' -i_dynamic' ;;
21752 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21753 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21754 ifc
* | ifort
*) # Intel Fortran compiler
21755 tmp_addflag
=' -nofor_main' ;;
21757 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21759 if test $supports_anon_versioning = yes; then
21760 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21761 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21762 $echo "local: *; };" >> $output_objdir/$libname.ver~
21763 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21771 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21772 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21775 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21776 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21781 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21785 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21786 *** create shared libraries on Solaris systems. Therefore, libtool
21787 *** is disabling shared libraries support. We urge you to upgrade GNU
21788 *** binutils to release 2.9.1 or newer. Another option is to modify
21789 *** your PATH or compiler configuration so that the native linker is
21790 *** used, and then restart.
21793 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21794 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21795 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21801 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21802 case `$LD -v 2>&1` in
21803 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21807 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21808 *** reliably create shared libraries on SCO systems. Therefore, libtool
21809 *** is disabling shared libraries support. We urge you to upgrade GNU
21810 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21811 *** your PATH or compiler configuration so that the native linker is
21812 *** used, and then restart.
21817 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21818 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21819 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21820 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21829 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21831 hardcode_direct_F77
=yes
21832 hardcode_shlibpath_var_F77
=no
21836 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21837 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21838 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21845 if test "$ld_shlibs_F77" = no
; then
21847 hardcode_libdir_flag_spec_F77
=
21848 export_dynamic_flag_spec_F77
=
21849 whole_archive_flag_spec_F77
=
21852 # PORTME fill in a description of your system's linker (not GNU ld)
21855 allow_undefined_flag_F77
=unsupported
21856 always_export_symbols_F77
=yes
21857 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'
21858 # Note: this linker hardcodes the directories in LIBPATH if there
21859 # are no directories specified by -L.
21860 hardcode_minus_L_F77
=yes
21861 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21862 # Neither direct hardcoding nor static linking is supported with a
21864 hardcode_direct_F77
=unsupported
21869 if test "$host_cpu" = ia64
; then
21870 # On IA64, the linker does run time linking by default, so we don't
21871 # have to do anything special.
21872 aix_use_runtimelinking
=no
21873 exp_sym_flag
='-Bexport'
21876 # If we're using GNU nm, then we don't want the "-C" option.
21877 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21878 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21879 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'
21881 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'
21883 aix_use_runtimelinking
=no
21885 # Test if we are trying to use run time linking or normal
21886 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21887 # need to do runtime linking.
21888 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21889 for ld_flag
in $LDFLAGS; do
21890 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21891 aix_use_runtimelinking
=yes
21898 exp_sym_flag
='-bexport'
21899 no_entry_flag
='-bnoentry'
21902 # When large executables or shared objects are built, AIX ld can
21903 # have problems creating the table of contents. If linking a library
21904 # or program results in "error TOC overflow" add -mminimal-toc to
21905 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21906 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21908 archive_cmds_F77
=''
21909 hardcode_direct_F77
=yes
21910 hardcode_libdir_separator_F77
=':'
21911 link_all_deplibs_F77
=yes
21913 if test "$GCC" = yes; then
21914 case $host_os in aix4.
[012]|aix4.
[012].
*)
21915 # We only want to do this on AIX 4.2 and lower, the check
21916 # below for broken collect2 doesn't work under 4.3+
21917 collect2name
=`${CC} -print-prog-name=collect2`
21918 if test -f "$collect2name" && \
21919 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21921 # We have reworked collect2
21922 hardcode_direct_F77
=yes
21924 # We have old collect2
21925 hardcode_direct_F77
=unsupported
21926 # It fails to find uninstalled libraries when the uninstalled
21927 # path is not listed in the libpath. Setting hardcode_minus_L
21928 # to unsupported forces relinking
21929 hardcode_minus_L_F77
=yes
21930 hardcode_libdir_flag_spec_F77
='-L$libdir'
21931 hardcode_libdir_separator_F77
=
21935 shared_flag
='-shared'
21936 if test "$aix_use_runtimelinking" = yes; then
21937 shared_flag
="$shared_flag "'${wl}-G'
21941 if test "$host_cpu" = ia64
; then
21942 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21943 # chokes on -Wl,-G. The following line is correct:
21946 if test "$aix_use_runtimelinking" = yes; then
21947 shared_flag
='${wl}-G'
21949 shared_flag
='${wl}-bM:SRE'
21954 # It seems that -bexpall does not export symbols beginning with
21955 # underscore (_), so it is better to generate a list of symbols to export.
21956 always_export_symbols_F77
=yes
21957 if test "$aix_use_runtimelinking" = yes; then
21958 # Warning - without using the other runtime loading flags (-brtl),
21959 # -berok will link without error, but may produce a broken library.
21960 allow_undefined_flag_F77
='-berok'
21961 # Determine the default libpath from the value encoded in an empty executable.
21962 cat >conftest.
$ac_ext <<_ACEOF
21967 rm -f conftest.
$ac_objext conftest
$ac_exeext
21968 if { (ac_try
="$ac_link"
21969 case "(($ac_try" in
21970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_link") 2>conftest.er1
21976 grep -v '^ *+' conftest.er1 >conftest.err
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21982 { (case "(($ac_try" in
21983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21984 *) ac_try_echo
=$ac_try;;
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_try") 2>&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; } &&
21991 { ac_try
='test -s conftest$ac_exeext'
21992 { (case "(($ac_try" in
21993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_try") 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22002 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22004 # Check for a 64-bit object if we didn't find anything.
22005 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; }
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22014 rm -f core conftest.err conftest.$ac_objext \
22015 conftest$ac_exeext conftest.$ac_ext
22016 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22018 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22019 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"
22021 if test "$host_cpu" = ia64; then
22022 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22023 allow_undefined_flag_F77="-z nodefs"
22024 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"
22026 # Determine the default libpath from the value encoded in an empty executable.
22027 cat >conftest.$ac_ext <<_ACEOF
22032 rm -f conftest.$ac_objext conftest$ac_exeext
22033 if { (ac_try="$ac_link"
22034 case "(($ac_try" in
22035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22036 *) ac_try_echo
=$ac_try;;
22038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_link") 2>conftest.er1
22041 grep -v '^ *+' conftest.er1
>conftest.err
22043 cat conftest.err
>&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } &&
22046 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22047 { (case "(($ac_try" in
22048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22049 *) ac_try_echo=$ac_try;;
22051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22052 (eval "$ac_try") 2>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; } &&
22056 { ac_try='test -s conftest$ac_exeext'
22057 { (case "(($ac_try" in
22058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22059 *) ac_try_echo
=$ac_try;;
22061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22062 (eval "$ac_try") 2>&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; }; then
22067 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22069 # Check for a 64-bit object if we didn't find anything.
22070 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; }
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.
$ac_ext >&5
22079 rm -f core conftest.err conftest.
$ac_objext \
22080 conftest
$ac_exeext conftest.
$ac_ext
22081 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22083 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22084 # Warning - without using the other run time loading flags,
22085 # -berok will link without error, but may produce a broken library.
22086 no_undefined_flag_F77
=' ${wl}-bernotok'
22087 allow_undefined_flag_F77
=' ${wl}-berok'
22088 # Exported symbols can be pulled into shared objects from archives
22089 whole_archive_flag_spec_F77
='$convenience'
22090 archive_cmds_need_lc_F77
=yes
22091 # This is similar to how AIX traditionally builds its shared libraries.
22092 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'
22098 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)'
22099 hardcode_libdir_flag_spec_F77
='-L$libdir'
22100 hardcode_minus_L_F77
=yes
22101 # see comment about different semantics on the GNU ld section
22106 export_dynamic_flag_spec_F77
=-rdynamic
22109 cygwin
* | mingw
* | pw32
*)
22110 # When not using gcc, we currently assume that we are using
22111 # Microsoft Visual C++.
22112 # hardcode_libdir_flag_spec is actually meaningless, as there is
22113 # no search path for DLLs.
22114 hardcode_libdir_flag_spec_F77
=' '
22115 allow_undefined_flag_F77
=unsupported
22116 # Tell ltmain to make .lib files, not .a files.
22118 # Tell ltmain to make .dll files, not .so files.
22120 # FIXME: Setting linknames here is a bad hack.
22121 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22122 # The linker will automatically build a .lib file if we build a DLL.
22123 old_archive_From_new_cmds_F77
='true'
22124 # FIXME: Should let the user specify the lib program.
22125 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
22126 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22127 enable_shared_with_static_runtimes_F77
=yes
22130 darwin
* | rhapsody
*)
22132 rhapsody
* | darwin1.
[012])
22133 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
22136 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22137 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22139 case ${MACOSX_DEPLOYMENT_TARGET} in
22141 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22144 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
22150 archive_cmds_need_lc_F77
=no
22151 hardcode_direct_F77
=no
22152 hardcode_automatic_F77
=yes
22153 hardcode_shlibpath_var_F77
=unsupported
22154 whole_archive_flag_spec_F77
=''
22155 link_all_deplibs_F77
=yes
22156 if test "$GCC" = yes ; then
22157 output_verbose_link_cmd
='echo'
22158 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22159 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22160 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22161 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}'
22162 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}'
22164 case $cc_basename in
22166 output_verbose_link_cmd
='echo'
22167 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22168 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22169 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22170 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}'
22171 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}'
22181 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22182 hardcode_libdir_flag_spec_F77
='-L$libdir'
22183 hardcode_shlibpath_var_F77
=no
22190 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22191 # support. Future versions do this automatically, but an explicit c++rt0.o
22192 # does not break anything, and helps significantly (at the cost of a little
22195 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22196 hardcode_libdir_flag_spec_F77
='-R$libdir'
22197 hardcode_direct_F77
=yes
22198 hardcode_shlibpath_var_F77
=no
22201 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22203 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22204 hardcode_direct_F77
=yes
22205 hardcode_minus_L_F77
=yes
22206 hardcode_shlibpath_var_F77
=no
22209 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22210 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22211 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22212 hardcode_libdir_flag_spec_F77
='-R$libdir'
22213 hardcode_direct_F77
=yes
22214 hardcode_shlibpath_var_F77
=no
22218 if test "$GCC" = yes; then
22219 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'
22221 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'
22223 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22224 hardcode_libdir_separator_F77
=:
22225 hardcode_direct_F77
=yes
22227 # hardcode_minus_L: Not really in the search PATH,
22228 # but as the default location of the library.
22229 hardcode_minus_L_F77
=yes
22230 export_dynamic_flag_spec_F77
='${wl}-E'
22234 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22235 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22237 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22239 if test "$with_gnu_ld" = no
; then
22240 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22241 hardcode_libdir_separator_F77
=:
22243 hardcode_direct_F77
=yes
22244 export_dynamic_flag_spec_F77
='${wl}-E'
22246 # hardcode_minus_L: Not really in the search PATH,
22247 # but as the default location of the library.
22248 hardcode_minus_L_F77
=yes
22253 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22256 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22259 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22262 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22268 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22271 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22274 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22278 if test "$with_gnu_ld" = no
; then
22279 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22280 hardcode_libdir_separator_F77
=:
22284 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22285 hardcode_direct_F77
=no
22286 hardcode_shlibpath_var_F77
=no
22289 hardcode_direct_F77
=yes
22290 export_dynamic_flag_spec_F77
='${wl}-E'
22292 # hardcode_minus_L: Not really in the search PATH,
22293 # but as the default location of the library.
22294 hardcode_minus_L_F77
=yes
22300 irix5
* | irix6
* | nonstopux
*)
22301 if test "$GCC" = yes; then
22302 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'
22304 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'
22305 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22307 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22308 hardcode_libdir_separator_F77
=:
22309 link_all_deplibs_F77
=yes
22313 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22314 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22316 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22318 hardcode_libdir_flag_spec_F77
='-R$libdir'
22319 hardcode_direct_F77
=yes
22320 hardcode_shlibpath_var_F77
=no
22324 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22325 hardcode_direct_F77
=yes
22326 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22327 hardcode_libdir_separator_F77
=:
22328 hardcode_shlibpath_var_F77
=no
22332 hardcode_direct_F77
=yes
22333 hardcode_shlibpath_var_F77
=no
22334 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22335 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22336 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22337 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22338 export_dynamic_flag_spec_F77
='${wl}-E'
22341 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22342 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22343 hardcode_libdir_flag_spec_F77
='-R$libdir'
22346 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22347 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22354 hardcode_libdir_flag_spec_F77
='-L$libdir'
22355 hardcode_minus_L_F77
=yes
22356 allow_undefined_flag_F77
=unsupported
22357 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'
22358 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22362 if test "$GCC" = yes; then
22363 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22364 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'
22366 allow_undefined_flag_F77
=' -expect_unresolved \*'
22367 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'
22369 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22370 hardcode_libdir_separator_F77
=:
22373 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22374 if test "$GCC" = yes; then
22375 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22376 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'
22377 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22379 allow_undefined_flag_F77
=' -expect_unresolved \*'
22380 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'
22381 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~
22382 $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'
22384 # Both c and cxx compiler support -rpath directly
22385 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22387 hardcode_libdir_separator_F77
=:
22391 no_undefined_flag_F77
=' -z text'
22392 if test "$GCC" = yes; then
22394 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22395 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22396 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22399 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22400 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22401 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22403 hardcode_libdir_flag_spec_F77
='-R$libdir'
22404 hardcode_shlibpath_var_F77
=no
22406 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22408 # The compiler driver will combine linker options so we
22409 # cannot just pass the convience library names through
22410 # without $wl, iff we do not link with $LD.
22411 # Luckily, gcc supports the same syntax we need for Sun Studio.
22412 # Supported since Solaris 2.6 (maybe 2.5.1?)
22415 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22417 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' ;;
22420 link_all_deplibs_F77
=yes
22424 if test "x$host_vendor" = xsequent
; then
22425 # Use $CC to link under sequent, because it throws in some extra .o
22426 # files that make .init and .fini sections work.
22427 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22429 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22431 hardcode_libdir_flag_spec_F77
='-L$libdir'
22432 hardcode_direct_F77
=yes
22433 hardcode_minus_L_F77
=yes
22434 hardcode_shlibpath_var_F77
=no
22438 case $host_vendor in
22440 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22441 hardcode_direct_F77
=yes # is this really true???
22444 ## LD is ld it makes a PLAMLIB
22445 ## CC just makes a GrossModule.
22446 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22447 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22448 hardcode_direct_F77
=no
22451 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22452 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22455 runpath_var
='LD_RUN_PATH'
22456 hardcode_shlibpath_var_F77
=no
22460 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22461 hardcode_shlibpath_var_F77
=no
22462 export_dynamic_flag_spec_F77
='-Bexport'
22466 if test -d /usr
/nec
; then
22467 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22468 hardcode_shlibpath_var_F77
=no
22469 runpath_var
=LD_RUN_PATH
22470 hardcode_runpath_var
=yes
22475 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22476 no_undefined_flag_F77
='${wl}-z,text'
22477 archive_cmds_need_lc_F77
=no
22478 hardcode_shlibpath_var_F77
=no
22479 runpath_var
='LD_RUN_PATH'
22481 if test "$GCC" = yes; then
22482 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22483 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22485 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22486 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22490 sysv5
* | sco3.2v5
* | sco5v6
*)
22491 # Note: We can NOT use -z defs as we might desire, because we do not
22492 # link with -lc, and that would cause any symbols used from libc to
22493 # always be unresolved, which means just about no library would
22494 # ever link correctly. If we're not using GNU ld we use -z text
22495 # though, which does catch some bad symbols but isn't as heavy-handed
22497 no_undefined_flag_F77
='${wl}-z,text'
22498 allow_undefined_flag_F77
='${wl}-z,nodefs'
22499 archive_cmds_need_lc_F77
=no
22500 hardcode_shlibpath_var_F77
=no
22501 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22502 hardcode_libdir_separator_F77
=':'
22503 link_all_deplibs_F77
=yes
22504 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22505 runpath_var
='LD_RUN_PATH'
22507 if test "$GCC" = yes; then
22508 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22509 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22511 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22512 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22517 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22518 hardcode_libdir_flag_spec_F77
='-L$libdir'
22519 hardcode_shlibpath_var_F77
=no
22528 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22529 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22530 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22533 # Do we need to explicitly link libc?
22535 case "x$archive_cmds_need_lc_F77" in
22537 # Assume -lc should be added
22538 archive_cmds_need_lc_F77
=yes
22540 if test "$enable_shared" = yes && test "$GCC" = yes; then
22541 case $archive_cmds_F77 in
22543 # FIXME: we may have to deal with multi-command sequences.
22546 # Test whether the compiler implicitly links with -lc since on some
22547 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22548 # to ld, don't add -lc before -lgcc.
22549 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22550 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22552 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22555 (eval $ac_compile) 2>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } 2>conftest.err
; then
22561 libobjs
=conftest.
$ac_objext
22563 wl
=$lt_prog_compiler_wl_F77
22564 pic_flag
=$lt_prog_compiler_pic_F77
22570 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22571 allow_undefined_flag_F77
=
22572 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22573 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }
22578 archive_cmds_need_lc_F77
=no
22580 archive_cmds_need_lc_F77
=yes
22582 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22584 cat conftest.err
1>&5
22587 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22588 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22595 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22596 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22597 library_names_spec
=
22598 libname_spec
='lib$name'
22602 postuninstall_cmds
=
22606 shlibpath_overrides_runpath
=unknown
22608 dynamic_linker
="$host_os ld.so"
22609 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22610 if test "$GCC" = yes; then
22611 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22612 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22613 # if the path contains ";" then we assume it to be the separator
22614 # otherwise default to the standard path separator (i.e. ":") - it is
22615 # assumed that no part of a normal pathname contains ";" but that should
22616 # okay in the real world where ";" in dirpaths is itself problematic.
22617 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22619 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22622 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22624 need_lib_prefix
=unknown
22625 hardcode_into_libs
=no
22627 # when you set need_version to no, make sure it does not cause -set_version
22628 # flags to be left without arguments
22629 need_version
=unknown
22634 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22635 shlibpath_var
=LIBPATH
22637 # AIX 3 has no versioning support, so we append a major version to the name.
22638 soname_spec
='${libname}${release}${shared_ext}$major'
22645 hardcode_into_libs
=yes
22646 if test "$host_cpu" = ia64
; then
22647 # AIX 5 supports IA64
22648 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22649 shlibpath_var
=LD_LIBRARY_PATH
22651 # With GCC up to 2.95.x, collect2 would create an import file
22652 # for dependence libraries. The import file would start with
22653 # the line `#! .'. This would cause the generated library to
22654 # depend on `.', always an invalid library. This was fixed in
22655 # development snapshots of GCC prior to 3.0.
22657 aix4 | aix4.
[01] | aix4.
[01].
*)
22658 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22660 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22663 can_build_shared
=no
22667 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22668 # soname into executable. Probably we can add versioning support to
22669 # collect2, so additional links can be useful in future.
22670 if test "$aix_use_runtimelinking" = yes; then
22671 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22672 # instead of lib<name>.a to let people know that these are not
22673 # typical AIX shared libraries.
22674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22676 # We preserve .a as extension for shared libraries through AIX4.2
22677 # and later when we are not doing run time linking.
22678 library_names_spec
='${libname}${release}.a $libname.a'
22679 soname_spec
='${libname}${release}${shared_ext}$major'
22681 shlibpath_var
=LIBPATH
22686 library_names_spec
='$libname.ixlibrary $libname.a'
22687 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22688 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'
22692 library_names_spec
='${libname}${shared_ext}'
22693 dynamic_linker
="$host_os ld.so"
22694 shlibpath_var
=LIBRARY_PATH
22700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22701 soname_spec
='${libname}${release}${shared_ext}$major'
22702 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22703 shlibpath_var
=LD_LIBRARY_PATH
22704 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22705 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22706 # the default ld.so.conf also contains /usr/contrib/lib and
22707 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22708 # libtool to hard-code these into programs
22711 cygwin
* | mingw
* | pw32
*)
22712 version_type
=windows
22717 case $GCC,$host_os in
22718 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22719 library_names_spec
='$libname.dll.a'
22720 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22721 postinstall_cmds
='base_file=`basename \${file}`~
22722 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22723 dldir=$destdir/`dirname \$dlpath`~
22724 test -d \$dldir || mkdir -p \$dldir~
22725 $install_prog $dir/$dlname \$dldir/$dlname~
22726 chmod a+x \$dldir/$dlname'
22727 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22728 dlpath=$dir/\$dldll~
22730 shlibpath_overrides_runpath
=yes
22734 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22735 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22736 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22739 # MinGW DLLs use traditional 'lib' prefix
22740 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22741 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22742 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22743 # It is most probably a Windows format PATH printed by
22744 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22745 # path with ; separators, and with drive letters. We can handle the
22746 # drive letters (cygwin fileutils understands them), so leave them,
22747 # especially as we might pass files found there to a mingw objdump,
22748 # which wouldn't understand a cygwinified path. Ahh.
22749 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22751 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22755 # pw32 DLLs use 'pw' prefix rather than 'lib'
22756 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22762 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22765 dynamic_linker
='Win32 ld.exe'
22766 # FIXME: first we should search . and the directory the executable is in
22770 darwin
* | rhapsody
*)
22771 dynamic_linker
="$host_os dyld"
22772 version_type
=darwin
22775 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22776 soname_spec
='${libname}${release}${major}$shared_ext'
22777 shlibpath_overrides_runpath
=yes
22778 shlibpath_var
=DYLD_LIBRARY_PATH
22779 shrext_cmds
='.dylib'
22780 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22781 if test "$GCC" = yes; then
22782 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"`
22784 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22786 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22794 soname_spec
='${libname}${release}${shared_ext}$major'
22795 shlibpath_var
=LD_LIBRARY_PATH
22806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22807 soname_spec
='${libname}${release}${shared_ext}$major'
22808 shlibpath_var
=LD_LIBRARY_PATH
22809 shlibpath_overrides_runpath
=no
22810 hardcode_into_libs
=yes
22811 dynamic_linker
='GNU ld.so'
22814 freebsd
* | dragonfly
*)
22815 # DragonFly does not have aout. When/if they implement a new
22816 # versioning mechanism, adjust this.
22817 if test -x /usr
/bin
/objformat
; then
22818 objformat
=`/usr/bin/objformat`
22821 freebsd
[123]*) objformat
=aout
;;
22822 *) objformat
=elf
;;
22825 version_type
=freebsd-
$objformat
22826 case $version_type in
22828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22833 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22837 shlibpath_var
=LD_LIBRARY_PATH
22840 shlibpath_overrides_runpath
=yes
22842 freebsd3.
[01]* | freebsdelf3.
[01]*)
22843 shlibpath_overrides_runpath
=yes
22844 hardcode_into_libs
=yes
22846 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22847 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22848 shlibpath_overrides_runpath
=no
22849 hardcode_into_libs
=yes
22851 freebsd
*) # from 4.6 on
22852 shlibpath_overrides_runpath
=yes
22853 hardcode_into_libs
=yes
22862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22863 soname_spec
='${libname}${release}${shared_ext}$major'
22864 shlibpath_var
=LD_LIBRARY_PATH
22865 hardcode_into_libs
=yes
22868 hpux9
* | hpux10
* | hpux11
*)
22869 # Give a soname corresponding to the major version so that dld.sl refuses to
22870 # link against other versions.
22877 hardcode_into_libs
=yes
22878 dynamic_linker
="$host_os dld.so"
22879 shlibpath_var
=LD_LIBRARY_PATH
22880 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22882 soname_spec
='${libname}${release}${shared_ext}$major'
22883 if test "X$HPUX_IA64_MODE" = X32
; then
22884 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22886 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22888 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22892 hardcode_into_libs
=yes
22893 dynamic_linker
="$host_os dld.sl"
22894 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22895 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22897 soname_spec
='${libname}${release}${shared_ext}$major'
22898 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22899 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22903 dynamic_linker
="$host_os dld.sl"
22904 shlibpath_var
=SHLIB_PATH
22905 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22907 soname_spec
='${libname}${release}${shared_ext}$major'
22910 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22911 postinstall_cmds
='chmod 555 $lib'
22918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22919 soname_spec
='${libname}${release}${shared_ext}$major'
22920 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22921 shlibpath_var
=LD_LIBRARY_PATH
22922 shlibpath_overrides_runpath
=no
22923 hardcode_into_libs
=yes
22926 irix5
* | irix6
* | nonstopux
*)
22928 nonstopux
*) version_type
=nonstopux
;;
22930 if test "$lt_cv_prog_gnu_ld" = yes; then
22938 soname_spec
='${libname}${release}${shared_ext}$major'
22939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22941 irix5
* | nonstopux
*)
22942 libsuff
= shlibsuff
=
22945 case $LD in # libtool.m4 will add one of these switches to LD
22946 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22947 libsuff
= shlibsuff
= libmagic
=32-bit;;
22948 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22949 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22950 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22951 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22952 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22956 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22957 shlibpath_overrides_runpath
=no
22958 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22959 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22960 hardcode_into_libs
=yes
22963 # No shared lib support for Linux oldld, aout, or coff.
22964 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22968 # This must be Linux ELF.
22973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22974 soname_spec
='${libname}${release}${shared_ext}$major'
22975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22976 shlibpath_var
=LD_LIBRARY_PATH
22977 shlibpath_overrides_runpath
=no
22978 # This implies no fast_install, which is unacceptable.
22979 # Some rework will be needed to allow for fast_install
22980 # before this can be enabled.
22981 hardcode_into_libs
=yes
22983 # Append ld.so.conf contents to the search path
22984 if test -f /etc
/ld.so.conf
; then
22985 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' ' '`
22986 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22989 # We used to test for /lib/ld.so.1 and disable shared libraries on
22990 # powerpc, because MkLinux only supported shared libraries with the
22991 # GNU dynamic linker. Since this was broken with cross compilers,
22992 # most powerpc-linux boxes support dynamic linking these days and
22993 # people can always --disable-shared, the test was removed, and we
22994 # assume the GNU/Linux dynamic linker is in use.
22995 dynamic_linker
='GNU/Linux ld.so'
23002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23003 soname_spec
='${libname}${release}${shared_ext}$major'
23004 shlibpath_var
=LD_LIBRARY_PATH
23005 shlibpath_overrides_runpath
=no
23006 hardcode_into_libs
=yes
23007 dynamic_linker
='GNU ld.so'
23014 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
23015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23016 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23017 dynamic_linker
='NetBSD (a.out) ld.so'
23019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23020 soname_spec
='${libname}${release}${shared_ext}$major'
23021 dynamic_linker
='NetBSD ld.elf_so'
23023 shlibpath_var
=LD_LIBRARY_PATH
23024 shlibpath_overrides_runpath
=yes
23025 hardcode_into_libs
=yes
23030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23031 shlibpath_var
=LD_LIBRARY_PATH
23032 shlibpath_overrides_runpath
=yes
23039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23040 soname_spec
='${libname}${release}${shared_ext}$major'
23041 shlibpath_var
=LD_LIBRARY_PATH
23042 shlibpath_overrides_runpath
=yes
23047 sys_lib_dlsearch_path_spec
="/usr/lib"
23049 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23051 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
23052 *) need_version
=no
;;
23054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23055 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23056 shlibpath_var
=LD_LIBRARY_PATH
23057 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23059 openbsd2.
[89] | openbsd2.
[89].
*)
23060 shlibpath_overrides_runpath
=no
23063 shlibpath_overrides_runpath
=yes
23067 shlibpath_overrides_runpath
=yes
23072 libname_spec
='$name'
23075 library_names_spec
='$libname${shared_ext} $libname.a'
23076 dynamic_linker
='OS/2 ld.exe'
23077 shlibpath_var
=LIBPATH
23080 osf3
* | osf4
* | osf5
*)
23084 soname_spec
='${libname}${release}${shared_ext}$major'
23085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23086 shlibpath_var
=LD_LIBRARY_PATH
23087 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23088 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
23095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23096 soname_spec
='${libname}${release}${shared_ext}$major'
23097 shlibpath_var
=LD_LIBRARY_PATH
23098 shlibpath_overrides_runpath
=yes
23099 hardcode_into_libs
=yes
23100 # ldd complains unless libraries are executable
23101 postinstall_cmds
='chmod +x $lib'
23106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23107 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23108 shlibpath_var
=LD_LIBRARY_PATH
23109 shlibpath_overrides_runpath
=yes
23110 if test "$with_gnu_ld" = yes; then
23118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23119 soname_spec
='${libname}${release}${shared_ext}$major'
23120 shlibpath_var
=LD_LIBRARY_PATH
23121 case $host_vendor in
23123 shlibpath_overrides_runpath
=no
23125 export_dynamic_flag_spec
='${wl}-Blargedynsym'
23126 runpath_var
=LD_RUN_PATH
23134 shlibpath_overrides_runpath
=no
23135 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
23141 if test -d /usr
/nec
;then
23143 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23144 soname_spec
='$libname${shared_ext}.$major'
23145 shlibpath_var
=LD_LIBRARY_PATH
23149 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
23150 version_type
=freebsd-elf
23153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23154 soname_spec
='${libname}${release}${shared_ext}$major'
23155 shlibpath_var
=LD_LIBRARY_PATH
23156 hardcode_into_libs
=yes
23157 if test "$with_gnu_ld" = yes; then
23158 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23159 shlibpath_overrides_runpath
=no
23161 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
23162 shlibpath_overrides_runpath
=yes
23165 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
23169 sys_lib_dlsearch_path_spec
='/usr/lib'
23174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23175 soname_spec
='${libname}${release}${shared_ext}$major'
23176 shlibpath_var
=LD_LIBRARY_PATH
23183 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23184 echo "${ECHO_T}$dynamic_linker" >&6; }
23185 test "$dynamic_linker" = no
&& can_build_shared
=no
23187 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
23188 if test "$GCC" = yes; then
23189 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23192 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23193 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23194 hardcode_action_F77
=
23195 if test -n "$hardcode_libdir_flag_spec_F77" || \
23196 test -n "$runpath_var_F77" || \
23197 test "X$hardcode_automatic_F77" = "Xyes" ; then
23199 # We can hardcode non-existant directories.
23200 if test "$hardcode_direct_F77" != no
&&
23201 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23202 # have to relink, otherwise we might link with an installed library
23203 # when we should be linking with a yet-to-be-installed one
23204 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23205 test "$hardcode_minus_L_F77" != no
; then
23206 # Linking always hardcodes the temporary library directory.
23207 hardcode_action_F77
=relink
23209 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23210 hardcode_action_F77
=immediate
23213 # We cannot hardcode anything, or else we can only hardcode existing
23215 hardcode_action_F77
=unsupported
23217 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23218 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23220 if test "$hardcode_action_F77" = relink
; then
23221 # Fast installation is not supported
23222 enable_fast_install
=no
23223 elif test "$shlibpath_overrides_runpath" = yes ||
23224 test "$enable_shared" = no
; then
23225 # Fast installation is not necessary
23226 enable_fast_install
=needless
23230 # The else clause should only fire when bootstrapping the
23231 # libtool distribution, otherwise you forgot to ship ltmain.sh
23232 # with your package, and you will get complaints that there are
23233 # no rules to generate ltmain.sh.
23234 if test -f "$ltmain"; then
23235 # See if we are running on zsh, and set the options which allow our commands through
23236 # without removal of \ escapes.
23237 if test -n "${ZSH_VERSION+set}" ; then
23238 setopt NO_GLOB_SUBST
23240 # Now quote all the things that may contain metacharacters while being
23241 # careful not to overquote the AC_SUBSTed values. We take copies of the
23242 # variables and quote the copies for generation of the libtool script.
23243 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23245 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23246 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23247 deplibs_check_method reload_flag reload_cmds need_locks \
23248 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23249 lt_cv_sys_global_symbol_to_c_name_address \
23250 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23251 old_postinstall_cmds old_postuninstall_cmds \
23255 lt_prog_compiler_wl_F77 \
23256 lt_prog_compiler_pic_F77 \
23257 lt_prog_compiler_static_F77 \
23258 lt_prog_compiler_no_builtin_flag_F77 \
23259 export_dynamic_flag_spec_F77 \
23260 thread_safe_flag_spec_F77 \
23261 whole_archive_flag_spec_F77 \
23262 enable_shared_with_static_runtimes_F77 \
23263 old_archive_cmds_F77 \
23264 old_archive_from_new_cmds_F77 \
23265 predep_objects_F77 \
23266 postdep_objects_F77 \
23269 compiler_lib_search_path_F77 \
23271 archive_expsym_cmds_F77 \
23272 postinstall_cmds_F77 \
23273 postuninstall_cmds_F77 \
23274 old_archive_from_expsyms_cmds_F77 \
23275 allow_undefined_flag_F77 \
23276 no_undefined_flag_F77 \
23277 export_symbols_cmds_F77 \
23278 hardcode_libdir_flag_spec_F77 \
23279 hardcode_libdir_flag_spec_ld_F77 \
23280 hardcode_libdir_separator_F77 \
23281 hardcode_automatic_F77 \
23283 module_expsym_cmds_F77 \
23284 lt_cv_prog_compiler_c_o_F77 \
23285 exclude_expsyms_F77 \
23286 include_expsyms_F77
; do
23289 old_archive_cmds_F77 | \
23290 old_archive_from_new_cmds_F77 | \
23291 archive_cmds_F77 | \
23292 archive_expsym_cmds_F77 | \
23293 module_cmds_F77 | \
23294 module_expsym_cmds_F77 | \
23295 old_archive_from_expsyms_cmds_F77 | \
23296 export_symbols_cmds_F77 | \
23297 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23298 postinstall_cmds | postuninstall_cmds | \
23299 old_postinstall_cmds | old_postuninstall_cmds | \
23300 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23301 # Double-quote double-evaled strings.
23302 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23305 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23311 *'\$0 --fallback-echo"')
23312 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23318 cat <<__EOF__ >> "$cfgfile"
23319 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23321 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23323 # Shell to use when invoking shell scripts.
23326 # Whether or not to build shared libraries.
23327 build_libtool_libs=$enable_shared
23329 # Whether or not to build static libraries.
23330 build_old_libs=$enable_static
23332 # Whether or not to add -lc for building shared libraries.
23333 build_libtool_need_lc=$archive_cmds_need_lc_F77
23335 # Whether or not to disallow shared libs when runtime libs are static
23336 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23338 # Whether or not to optimize for fast installation.
23339 fast_install=$enable_fast_install
23342 host_alias=$host_alias
23346 # The build system.
23347 build_alias=$build_alias
23351 # An echo program that does not interpret backslashes.
23356 AR_FLAGS=$lt_AR_FLAGS
23361 # LTCC compiler flags.
23362 LTCFLAGS=$lt_LTCFLAGS
23364 # A language-specific compiler.
23365 CC=$lt_compiler_F77
23367 # Is the compiler the GNU C compiler?
23373 # The linker used to build libraries.
23376 # Whether we need hard or soft links.
23379 # A BSD-compatible nm program.
23382 # A symbol stripping program
23385 # Used to examine libraries when file_magic_cmd begins "file"
23386 MAGIC_CMD=$MAGIC_CMD
23388 # Used on cygwin: DLL creation program.
23391 # Used on cygwin: object dumper.
23394 # Used on cygwin: assembler.
23397 # The name of the directory that contains temporary libtool files.
23400 # How to create reloadable object files.
23401 reload_flag=$lt_reload_flag
23402 reload_cmds=$lt_reload_cmds
23404 # How to pass a linker flag through the compiler.
23405 wl=$lt_lt_prog_compiler_wl_F77
23407 # Object file suffix (normally "o").
23408 objext="$ac_objext"
23410 # Old archive suffix (normally "a").
23413 # Shared library suffix (normally ".so").
23414 shrext_cmds='$shrext_cmds'
23416 # Executable file suffix (normally "").
23419 # Additional compiler flags for building library objects.
23420 pic_flag=$lt_lt_prog_compiler_pic_F77
23423 # What is the maximum length of a command?
23424 max_cmd_len=$lt_cv_sys_max_cmd_len
23426 # Does compiler simultaneously support -c and -o options?
23427 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23429 # Must we lock files when doing compilation?
23430 need_locks=$lt_need_locks
23432 # Do we need the lib prefix for modules?
23433 need_lib_prefix=$need_lib_prefix
23435 # Do we need a version for libraries?
23436 need_version=$need_version
23438 # Whether dlopen is supported.
23439 dlopen_support=$enable_dlopen
23441 # Whether dlopen of programs is supported.
23442 dlopen_self=$enable_dlopen_self
23444 # Whether dlopen of statically linked programs is supported.
23445 dlopen_self_static=$enable_dlopen_self_static
23447 # Compiler flag to prevent dynamic linking.
23448 link_static_flag=$lt_lt_prog_compiler_static_F77
23450 # Compiler flag to turn off builtin functions.
23451 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23453 # Compiler flag to allow reflexive dlopens.
23454 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23456 # Compiler flag to generate shared objects directly from archives.
23457 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23459 # Compiler flag to generate thread-safe objects.
23460 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23462 # Library versioning type.
23463 version_type=$version_type
23465 # Format of library name prefix.
23466 libname_spec=$lt_libname_spec
23468 # List of archive names. First name is the real one, the rest are links.
23469 # The last name is the one that the linker finds with -lNAME.
23470 library_names_spec=$lt_library_names_spec
23472 # The coded name of the library, if different from the real name.
23473 soname_spec=$lt_soname_spec
23475 # Commands used to build and install an old-style archive.
23477 old_archive_cmds=$lt_old_archive_cmds_F77
23478 old_postinstall_cmds=$lt_old_postinstall_cmds
23479 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23481 # Create an old-style archive from a shared archive.
23482 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23484 # Create a temporary old-style archive to link instead of a shared archive.
23485 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23487 # Commands used to build and install a shared archive.
23488 archive_cmds=$lt_archive_cmds_F77
23489 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23490 postinstall_cmds=$lt_postinstall_cmds
23491 postuninstall_cmds=$lt_postuninstall_cmds
23493 # Commands used to build a loadable module (assumed same as above if empty)
23494 module_cmds=$lt_module_cmds_F77
23495 module_expsym_cmds=$lt_module_expsym_cmds_F77
23497 # Commands to strip libraries.
23498 old_striplib=$lt_old_striplib
23499 striplib=$lt_striplib
23501 # Dependencies to place before the objects being linked to create a
23503 predep_objects=$lt_predep_objects_F77
23505 # Dependencies to place after the objects being linked to create a
23507 postdep_objects=$lt_postdep_objects_F77
23509 # Dependencies to place before the objects being linked to create a
23511 predeps=$lt_predeps_F77
23513 # Dependencies to place after the objects being linked to create a
23515 postdeps=$lt_postdeps_F77
23517 # The library search path used internally by the compiler when linking
23518 # a shared library.
23519 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23521 # Method to check whether dependent libraries are shared objects.
23522 deplibs_check_method=$lt_deplibs_check_method
23524 # Command to use when deplibs_check_method == file_magic.
23525 file_magic_cmd=$lt_file_magic_cmd
23527 # Flag that allows shared libraries with undefined symbols to be built.
23528 allow_undefined_flag=$lt_allow_undefined_flag_F77
23530 # Flag that forces no undefined symbols.
23531 no_undefined_flag=$lt_no_undefined_flag_F77
23533 # Commands used to finish a libtool library installation in a directory.
23534 finish_cmds=$lt_finish_cmds
23536 # Same as above, but a single script fragment to be evaled but not shown.
23537 finish_eval=$lt_finish_eval
23539 # Take the output of nm and produce a listing of raw symbols and C names.
23540 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23542 # Transform the output of nm in a proper C declaration
23543 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23545 # Transform the output of nm in a C name address pair
23546 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23548 # This is the shared library runtime path variable.
23549 runpath_var=$runpath_var
23551 # This is the shared library path variable.
23552 shlibpath_var=$shlibpath_var
23554 # Is shlibpath searched before the hard-coded library search path?
23555 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23557 # How to hardcode a shared library path into an executable.
23558 hardcode_action=$hardcode_action_F77
23560 # Whether we should hardcode library paths into libraries.
23561 hardcode_into_libs=$hardcode_into_libs
23563 # Flag to hardcode \$libdir into a binary during linking.
23564 # This must work even if \$libdir does not exist.
23565 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23567 # If ld is used when linking, flag to hardcode \$libdir into
23568 # a binary during linking. This must work even if \$libdir does
23570 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23572 # Whether we need a single -rpath flag with a separated argument.
23573 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23575 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23576 # resulting binary.
23577 hardcode_direct=$hardcode_direct_F77
23579 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23580 # resulting binary.
23581 hardcode_minus_L=$hardcode_minus_L_F77
23583 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23584 # the resulting binary.
23585 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23587 # Set to yes if building a shared library automatically hardcodes DIR into the library
23588 # and all subsequent libraries and executables linked against it.
23589 hardcode_automatic=$hardcode_automatic_F77
23591 # Variables whose values should be saved in libtool wrapper scripts and
23592 # restored at relink time.
23593 variables_saved_for_relink="$variables_saved_for_relink"
23595 # Whether libtool must link a program against all its dependency libraries.
23596 link_all_deplibs=$link_all_deplibs_F77
23598 # Compile-time system search path for libraries
23599 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23601 # Run-time system search path for libraries
23602 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23604 # Fix the shell variable \$srcfile for the compiler.
23605 fix_srcfile_path="$fix_srcfile_path_F77"
23607 # Set to yes if exported symbols are required.
23608 always_export_symbols=$always_export_symbols_F77
23610 # The commands to list exported symbols.
23611 export_symbols_cmds=$lt_export_symbols_cmds_F77
23613 # The commands to extract the exported symbol list from a shared archive.
23614 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23616 # Symbols that should not be listed in the preloaded symbols.
23617 exclude_expsyms=$lt_exclude_expsyms_F77
23619 # Symbols that must always be exported.
23620 include_expsyms=$lt_include_expsyms_F77
23622 # ### END LIBTOOL TAG CONFIG: $tagname
23628 # If there is no Makefile yet, we rely on a make rule to execute
23629 # `config.status --recheck' to rerun these tests and create the
23630 # libtool script then.
23631 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23632 if test -f "$ltmain_in"; then
23633 test -f Makefile
&& make "$ltmain"
23639 ac_cpp
='$CPP $CPPFLAGS'
23640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23652 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23654 ac_cpp
='$CPP $CPPFLAGS'
23655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23660 # Source file extension for Java test sources.
23663 # Object file extension for compiled Java test sources.
23667 # Code to be used in simple compile tests
23668 lt_simple_compile_test_code
="class foo {}\n"
23670 # Code to be used in simple link tests
23671 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23673 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23675 # If no C compiler was specified, use CC.
23678 # If no C compiler flags were specified, use CFLAGS.
23679 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23681 # Allow CC to be a program name with arguments.
23685 # save warnings/boilerplate of simple test code
23686 ac_outfile
=conftest.
$ac_objext
23687 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23688 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23689 _lt_compiler_boilerplate
=`cat conftest.err`
23692 ac_outfile
=conftest.
$ac_objext
23693 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23694 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23695 _lt_linker_boilerplate
=`cat conftest.err`
23699 # Allow CC to be a program name with arguments.
23704 for cc_temp
in $compiler""; do
23706 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23707 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23712 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23715 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23716 archive_cmds_need_lc_GCJ
=no
23718 old_archive_cmds_GCJ
=$old_archive_cmds
23721 lt_prog_compiler_no_builtin_flag_GCJ
=
23723 if test "$GCC" = yes; then
23724 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23727 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23728 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23729 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 lt_cv_prog_compiler_rtti_exceptions
=no
23733 ac_outfile
=conftest.
$ac_objext
23734 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23735 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23736 # Insert the option either (1) after the last *FLAGS variable, or
23737 # (2) before a word containing "conftest.", or (3) at the end.
23738 # Note that $ac_compile itself does not contain backslashes and begins
23739 # with a dollar sign (not a hyphen), so the echo should work correctly.
23740 # The option is referenced via a variable to avoid confusing sed.
23741 lt_compile
=`echo "$ac_compile" | $SED \
23742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23744 -e 's:$: $lt_compiler_flag:'`
23745 (eval echo "\"\$as_me:23745: $lt_compile\"" >&5)
23746 (eval "$lt_compile" 2>conftest.err
)
23748 cat conftest.err
>&5
23749 echo "$as_me:23749: \$? = $ac_status" >&5
23750 if (exit $ac_status) && test -s "$ac_outfile"; then
23751 # The compiler can only warn and ignore the option if not recognized
23752 # So say no if there are warnings other than the usual output.
23753 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23754 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23755 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23756 lt_cv_prog_compiler_rtti_exceptions
=yes
23762 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23763 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23765 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23766 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23773 lt_prog_compiler_wl_GCJ
=
23774 lt_prog_compiler_pic_GCJ
=
23775 lt_prog_compiler_static_GCJ
=
23777 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23778 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23780 if test "$GCC" = yes; then
23781 lt_prog_compiler_wl_GCJ
='-Wl,'
23782 lt_prog_compiler_static_GCJ
='-static'
23786 # All AIX code is PIC.
23787 if test "$host_cpu" = ia64
; then
23788 # AIX 5 now supports IA64 processor
23789 lt_prog_compiler_static_GCJ
='-Bstatic'
23794 # FIXME: we need at least 68020 code to build shared libraries, but
23795 # adding the `-m68020' flag to GCC prevents building anything better,
23797 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23800 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23801 # PIC is the default for these OSes.
23804 mingw
* | pw32
* | os2
*)
23805 # This hack is so that the source file can tell whether it is being
23806 # built for inclusion in a dll (and should export symbols for example).
23807 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23810 darwin
* | rhapsody
*)
23811 # PIC is the default on this platform
23812 # Common symbols not allowed in MH_DYLIB files
23813 lt_prog_compiler_pic_GCJ
='-fno-common'
23817 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23818 # Instead, we relocate shared libraries at runtime.
23822 # Just because we use GCC doesn't mean we suddenly get shared libraries
23823 # on systems that don't support them.
23824 lt_prog_compiler_can_build_shared_GCJ
=no
23829 if test -d /usr
/nec
; then
23830 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23835 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23836 # not for PA HP-UX.
23842 lt_prog_compiler_pic_GCJ
='-fPIC'
23848 lt_prog_compiler_pic_GCJ
='-fPIC'
23852 # PORTME Check for flag to pass linker flags through the system compiler.
23855 lt_prog_compiler_wl_GCJ
='-Wl,'
23856 if test "$host_cpu" = ia64
; then
23857 # AIX 5 now supports IA64 processor
23858 lt_prog_compiler_static_GCJ
='-Bstatic'
23860 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23864 # PIC is the default on this platform
23865 # Common symbols not allowed in MH_DYLIB files
23866 case $cc_basename in
23868 lt_prog_compiler_pic_GCJ
='-qnocommon'
23869 lt_prog_compiler_wl_GCJ
='-Wl,'
23874 mingw
* | pw32
* | os2
*)
23875 # This hack is so that the source file can tell whether it is being
23876 # built for inclusion in a dll (and should export symbols for example).
23877 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23880 hpux9
* | hpux10
* | hpux11
*)
23881 lt_prog_compiler_wl_GCJ
='-Wl,'
23882 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23883 # not for PA HP-UX.
23889 lt_prog_compiler_pic_GCJ
='+Z'
23892 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23893 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23896 irix5
* | irix6
* | nonstopux
*)
23897 lt_prog_compiler_wl_GCJ
='-Wl,'
23898 # PIC (with -KPIC) is the default.
23899 lt_prog_compiler_static_GCJ
='-non_shared'
23903 lt_prog_compiler_pic_GCJ
='-KPIC'
23904 lt_prog_compiler_static_GCJ
='-Bstatic'
23908 case $cc_basename in
23910 lt_prog_compiler_wl_GCJ
='-Wl,'
23911 lt_prog_compiler_pic_GCJ
='-KPIC'
23912 lt_prog_compiler_static_GCJ
='-static'
23914 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23915 # Portland Group compilers (*not* the Pentium gcc compiler,
23916 # which looks to be a dead project)
23917 lt_prog_compiler_wl_GCJ
='-Wl,'
23918 lt_prog_compiler_pic_GCJ
='-fpic'
23919 lt_prog_compiler_static_GCJ
='-Bstatic'
23922 lt_prog_compiler_wl_GCJ
='-Wl,'
23923 # All Alpha code is PIC.
23924 lt_prog_compiler_static_GCJ
='-non_shared'
23929 osf3
* | osf4
* | osf5
*)
23930 lt_prog_compiler_wl_GCJ
='-Wl,'
23931 # All OSF/1 code is PIC.
23932 lt_prog_compiler_static_GCJ
='-non_shared'
23936 lt_prog_compiler_pic_GCJ
='-KPIC'
23937 lt_prog_compiler_static_GCJ
='-Bstatic'
23938 case $cc_basename in
23939 f77
* | f90
* | f95
*)
23940 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23942 lt_prog_compiler_wl_GCJ
='-Wl,';;
23947 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23948 lt_prog_compiler_pic_GCJ
='-PIC'
23949 lt_prog_compiler_static_GCJ
='-Bstatic'
23952 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23953 lt_prog_compiler_wl_GCJ
='-Wl,'
23954 lt_prog_compiler_pic_GCJ
='-KPIC'
23955 lt_prog_compiler_static_GCJ
='-Bstatic'
23959 if test -d /usr
/nec
;then
23960 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23961 lt_prog_compiler_static_GCJ
='-Bstatic'
23965 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23966 lt_prog_compiler_wl_GCJ
='-Wl,'
23967 lt_prog_compiler_pic_GCJ
='-KPIC'
23968 lt_prog_compiler_static_GCJ
='-Bstatic'
23972 lt_prog_compiler_wl_GCJ
='-Wl,'
23973 lt_prog_compiler_can_build_shared_GCJ
=no
23977 lt_prog_compiler_pic_GCJ
='-pic'
23978 lt_prog_compiler_static_GCJ
='-Bstatic'
23982 lt_prog_compiler_can_build_shared_GCJ
=no
23987 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23988 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23991 # Check to make sure the PIC flag actually works.
23993 if test -n "$lt_prog_compiler_pic_GCJ"; then
23995 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23996 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23997 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23998 echo $ECHO_N "(cached) $ECHO_C" >&6
24000 lt_prog_compiler_pic_works_GCJ
=no
24001 ac_outfile
=conftest.
$ac_objext
24002 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24003 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
24004 # Insert the option either (1) after the last *FLAGS variable, or
24005 # (2) before a word containing "conftest.", or (3) at the end.
24006 # Note that $ac_compile itself does not contain backslashes and begins
24007 # with a dollar sign (not a hyphen), so the echo should work correctly.
24008 # The option is referenced via a variable to avoid confusing sed.
24009 lt_compile
=`echo "$ac_compile" | $SED \
24010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24012 -e 's:$: $lt_compiler_flag:'`
24013 (eval echo "\"\$as_me:24013: $lt_compile\"" >&5)
24014 (eval "$lt_compile" 2>conftest.err
)
24016 cat conftest.err
>&5
24017 echo "$as_me:24017: \$? = $ac_status" >&5
24018 if (exit $ac_status) && test -s "$ac_outfile"; then
24019 # The compiler can only warn and ignore the option if not recognized
24020 # So say no if there are warnings other than the usual output.
24021 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
24022 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24023 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
24024 lt_prog_compiler_pic_works_GCJ
=yes
24030 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24031 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24033 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
24034 case $lt_prog_compiler_pic_GCJ in
24036 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
24039 lt_prog_compiler_pic_GCJ
=
24040 lt_prog_compiler_can_build_shared_GCJ
=no
24045 # For platforms which do not support PIC, -DPIC is meaningless:
24047 lt_prog_compiler_pic_GCJ
=
24050 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
24055 # Check to make sure the static flag actually works.
24057 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
24058 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24059 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24060 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24061 echo $ECHO_N "(cached) $ECHO_C" >&6
24063 lt_prog_compiler_static_works_GCJ
=no
24064 save_LDFLAGS
="$LDFLAGS"
24065 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
24066 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
24067 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
24068 # The linker can only warn and ignore the option if not recognized
24069 # So say no if there are warnings
24070 if test -s conftest.err
; then
24071 # Append any errors to the config.log.
24072 cat conftest.err
1>&5
24073 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
24074 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24075 if diff conftest.exp conftest.er2
>/dev
/null
; then
24076 lt_prog_compiler_static_works_GCJ
=yes
24079 lt_prog_compiler_static_works_GCJ
=yes
24083 LDFLAGS
="$save_LDFLAGS"
24086 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24087 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24089 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
24092 lt_prog_compiler_static_GCJ
=
24096 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24097 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24098 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24101 lt_cv_prog_compiler_c_o_GCJ
=no
24102 $rm -r conftest
2>/dev
/null
24106 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24108 lt_compiler_flag
="-o out/conftest2.$ac_objext"
24109 # Insert the option either (1) after the last *FLAGS variable, or
24110 # (2) before a word containing "conftest.", or (3) at the end.
24111 # Note that $ac_compile itself does not contain backslashes and begins
24112 # with a dollar sign (not a hyphen), so the echo should work correctly.
24113 lt_compile
=`echo "$ac_compile" | $SED \
24114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24116 -e 's:$: $lt_compiler_flag:'`
24117 (eval echo "\"\$as_me:24117: $lt_compile\"" >&5)
24118 (eval "$lt_compile" 2>out
/conftest.err
)
24120 cat out
/conftest.err
>&5
24121 echo "$as_me:24121: \$? = $ac_status" >&5
24122 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
24124 # The compiler can only warn and ignore the option if not recognized
24125 # So say no if there are warnings
24126 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
24127 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
24128 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
24129 lt_cv_prog_compiler_c_o_GCJ
=yes
24134 # SGI C++ compiler will create directory out/ii_files/ for
24135 # template instantiation
24136 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
24137 $rm out
/* && rmdir out
24143 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24144 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24147 hard_links
="nottested"
24148 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
24149 # do not overwrite the value of need_locks provided by the user
24150 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24151 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24154 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24156 ln conftest.a conftest.b
2>&5 || hard_links
=no
24157 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24158 { echo "$as_me:$LINENO: result: $hard_links" >&5
24159 echo "${ECHO_T}$hard_links" >&6; }
24160 if test "$hard_links" = no
; then
24161 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24162 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24169 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24170 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24173 allow_undefined_flag_GCJ
=
24174 enable_shared_with_static_runtimes_GCJ
=no
24176 archive_expsym_cmds_GCJ
=
24177 old_archive_From_new_cmds_GCJ
=
24178 old_archive_from_expsyms_cmds_GCJ
=
24179 export_dynamic_flag_spec_GCJ
=
24180 whole_archive_flag_spec_GCJ
=
24181 thread_safe_flag_spec_GCJ
=
24182 hardcode_libdir_flag_spec_GCJ
=
24183 hardcode_libdir_flag_spec_ld_GCJ
=
24184 hardcode_libdir_separator_GCJ
=
24185 hardcode_direct_GCJ
=no
24186 hardcode_minus_L_GCJ
=no
24187 hardcode_shlibpath_var_GCJ
=unsupported
24188 link_all_deplibs_GCJ
=unknown
24189 hardcode_automatic_GCJ
=no
24191 module_expsym_cmds_GCJ
=
24192 always_export_symbols_GCJ
=no
24193 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24194 # include_expsyms should be a list of space-separated symbols to be *always*
24195 # included in the symbol list
24196 include_expsyms_GCJ
=
24197 # exclude_expsyms can be an extended regexp of symbols to exclude
24198 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24199 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24200 # as well as any symbol that contains `d'.
24201 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
24202 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24203 # platforms (ab)use it in PIC code, but their linkers get confused if
24204 # the symbol is explicitly referenced. Since portable code cannot
24205 # rely on this symbol name, it's probably fine to never include it in
24206 # preloaded symbol tables.
24207 extract_expsyms_cmds
=
24208 # Just being paranoid about ensuring that cc_basename is set.
24209 for cc_temp
in $compiler""; do
24211 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24212 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24217 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24220 cygwin
* | mingw
* | pw32
*)
24221 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24222 # When not using gcc, we currently assume that we are using
24223 # Microsoft Visual C++.
24224 if test "$GCC" != yes; then
24229 # we just hope/assume this is gcc and not c89 (= MSVC++)
24238 if test "$with_gnu_ld" = yes; then
24239 # If archive_cmds runs LD, not CC, wlarc should be empty
24242 # Set some defaults for GNU ld with shared library support. These
24243 # are reset later if shared libraries are not supported. Putting them
24244 # here allows them to be overridden if necessary.
24245 runpath_var
=LD_RUN_PATH
24246 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24247 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24248 # ancient GNU ld didn't support --whole-archive et. al.
24249 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24250 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24252 whole_archive_flag_spec_GCJ
=
24254 supports_anon_versioning
=no
24255 case `$LD -v 2>/dev/null` in
24256 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24257 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24258 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24259 *\
2.11.
*) ;; # other 2.11 versions
24260 *) supports_anon_versioning
=yes ;;
24263 # See if GNU ld supports shared libraries.
24265 aix3
* | aix4
* | aix5
*)
24266 # On AIX/PPC, the GNU linker is very broken
24267 if test "$host_cpu" != ia64
; then
24271 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24272 *** to be unable to reliably create shared libraries on AIX.
24273 *** Therefore, libtool is disabling shared libraries support. If you
24274 *** really care for shared libraries, you may want to modify your PATH
24275 *** so that a non-GNU linker is found, and then restart.
24282 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)'
24283 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24284 hardcode_minus_L_GCJ
=yes
24286 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24287 # that the semantics of dynamic libraries on AmigaOS, at least up
24288 # to version 4, is to share data among multiple programs linked
24289 # with the same dynamic library. Since this doesn't match the
24290 # behavior of shared libraries on other platforms, we can't use
24296 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24297 allow_undefined_flag_GCJ
=unsupported
24298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24299 # support --undefined. This deserves some investigation. FIXME
24300 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24306 cygwin
* | mingw
* | pw32
*)
24307 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24308 # as there is no search path for DLLs.
24309 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24310 allow_undefined_flag_GCJ
=unsupported
24311 always_export_symbols_GCJ
=no
24312 enable_shared_with_static_runtimes_GCJ
=yes
24313 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24315 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24316 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24317 # If the export-symbols file already is a .def file (1st line
24318 # is EXPORTS), use it as is; otherwise, prepend...
24319 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24320 cp $export_symbols $output_objdir/$soname.def;
24322 echo EXPORTS > $output_objdir/$soname.def;
24323 cat $export_symbols >> $output_objdir/$soname.def;
24325 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24332 hardcode_direct_GCJ
=no
24333 hardcode_shlibpath_var_GCJ
=no
24334 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24335 export_dynamic_flag_spec_GCJ
='${wl}-E'
24336 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24337 # Instead, shared libraries are loaded at an image base (0x10000000 by
24338 # default) and relocated if they conflict, which is a slow very memory
24339 # consuming and fragmenting process. To avoid this, we pick a random,
24340 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24341 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24342 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'
24343 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'
24347 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24349 case $cc_basename,$host_cpu in
24350 pgcc
*) # Portland Group C compiler
24351 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'
24352 tmp_addflag
=' $pic_flag'
24354 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24355 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'
24356 tmp_addflag
=' $pic_flag -Mnomain' ;;
24357 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24358 tmp_addflag
=' -i_dynamic' ;;
24359 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24360 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24361 ifc
* | ifort
*) # Intel Fortran compiler
24362 tmp_addflag
=' -nofor_main' ;;
24364 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24366 if test $supports_anon_versioning = yes; then
24367 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24368 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24369 $echo "local: *; };" >> $output_objdir/$libname.ver~
24370 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24378 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24379 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24382 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24383 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24388 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24392 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24393 *** create shared libraries on Solaris systems. Therefore, libtool
24394 *** is disabling shared libraries support. We urge you to upgrade GNU
24395 *** binutils to release 2.9.1 or newer. Another option is to modify
24396 *** your PATH or compiler configuration so that the native linker is
24397 *** used, and then restart.
24400 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24401 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24402 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24408 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24409 case `$LD -v 2>&1` in
24410 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24414 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24415 *** reliably create shared libraries on SCO systems. Therefore, libtool
24416 *** is disabling shared libraries support. We urge you to upgrade GNU
24417 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24418 *** your PATH or compiler configuration so that the native linker is
24419 *** used, and then restart.
24424 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24425 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24426 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24427 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24436 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24438 hardcode_direct_GCJ
=yes
24439 hardcode_shlibpath_var_GCJ
=no
24443 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24444 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24445 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24452 if test "$ld_shlibs_GCJ" = no
; then
24454 hardcode_libdir_flag_spec_GCJ
=
24455 export_dynamic_flag_spec_GCJ
=
24456 whole_archive_flag_spec_GCJ
=
24459 # PORTME fill in a description of your system's linker (not GNU ld)
24462 allow_undefined_flag_GCJ
=unsupported
24463 always_export_symbols_GCJ
=yes
24464 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'
24465 # Note: this linker hardcodes the directories in LIBPATH if there
24466 # are no directories specified by -L.
24467 hardcode_minus_L_GCJ
=yes
24468 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24469 # Neither direct hardcoding nor static linking is supported with a
24471 hardcode_direct_GCJ
=unsupported
24476 if test "$host_cpu" = ia64
; then
24477 # On IA64, the linker does run time linking by default, so we don't
24478 # have to do anything special.
24479 aix_use_runtimelinking
=no
24480 exp_sym_flag
='-Bexport'
24483 # If we're using GNU nm, then we don't want the "-C" option.
24484 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24485 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24486 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'
24488 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'
24490 aix_use_runtimelinking
=no
24492 # Test if we are trying to use run time linking or normal
24493 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24494 # need to do runtime linking.
24495 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24496 for ld_flag
in $LDFLAGS; do
24497 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24498 aix_use_runtimelinking
=yes
24505 exp_sym_flag
='-bexport'
24506 no_entry_flag
='-bnoentry'
24509 # When large executables or shared objects are built, AIX ld can
24510 # have problems creating the table of contents. If linking a library
24511 # or program results in "error TOC overflow" add -mminimal-toc to
24512 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24513 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24515 archive_cmds_GCJ
=''
24516 hardcode_direct_GCJ
=yes
24517 hardcode_libdir_separator_GCJ
=':'
24518 link_all_deplibs_GCJ
=yes
24520 if test "$GCC" = yes; then
24521 case $host_os in aix4.
[012]|aix4.
[012].
*)
24522 # We only want to do this on AIX 4.2 and lower, the check
24523 # below for broken collect2 doesn't work under 4.3+
24524 collect2name
=`${CC} -print-prog-name=collect2`
24525 if test -f "$collect2name" && \
24526 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24528 # We have reworked collect2
24529 hardcode_direct_GCJ
=yes
24531 # We have old collect2
24532 hardcode_direct_GCJ
=unsupported
24533 # It fails to find uninstalled libraries when the uninstalled
24534 # path is not listed in the libpath. Setting hardcode_minus_L
24535 # to unsupported forces relinking
24536 hardcode_minus_L_GCJ
=yes
24537 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24538 hardcode_libdir_separator_GCJ
=
24542 shared_flag
='-shared'
24543 if test "$aix_use_runtimelinking" = yes; then
24544 shared_flag
="$shared_flag "'${wl}-G'
24548 if test "$host_cpu" = ia64
; then
24549 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24550 # chokes on -Wl,-G. The following line is correct:
24553 if test "$aix_use_runtimelinking" = yes; then
24554 shared_flag
='${wl}-G'
24556 shared_flag
='${wl}-bM:SRE'
24561 # It seems that -bexpall does not export symbols beginning with
24562 # underscore (_), so it is better to generate a list of symbols to export.
24563 always_export_symbols_GCJ
=yes
24564 if test "$aix_use_runtimelinking" = yes; then
24565 # Warning - without using the other runtime loading flags (-brtl),
24566 # -berok will link without error, but may produce a broken library.
24567 allow_undefined_flag_GCJ
='-berok'
24568 # Determine the default libpath from the value encoded in an empty executable.
24569 cat >conftest.
$ac_ext <<_ACEOF
24572 cat confdefs.h
>>conftest.
$ac_ext
24573 cat >>conftest.
$ac_ext <<_ACEOF
24574 /* end confdefs.h. */
24584 rm -f conftest.
$ac_objext conftest
$ac_exeext
24585 if { (ac_try
="$ac_link"
24586 case "(($ac_try" in
24587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24588 *) ac_try_echo=$ac_try;;
24590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24591 (eval "$ac_link") 2>conftest.er1
24593 grep -v '^ *+' conftest.er1 >conftest.err
24595 cat conftest.err >&5
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } &&
24598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24599 { (case "(($ac_try" in
24600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24601 *) ac_try_echo
=$ac_try;;
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_try") 2>&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); }; } &&
24608 { ac_try
='test -s conftest$ac_exeext'
24609 { (case "(($ac_try" in
24610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24611 *) ac_try_echo=$ac_try;;
24613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24614 (eval "$ac_try") 2>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); }; }; then
24619 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24621 # Check for a 64-bit object if we didn't find anything.
24622 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; }
24625 echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.$ac_ext >&5
24631 rm -f core conftest.err conftest.$ac_objext \
24632 conftest$ac_exeext conftest.$ac_ext
24633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24635 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24636 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"
24638 if test "$host_cpu" = ia64; then
24639 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24640 allow_undefined_flag_GCJ="-z nodefs"
24641 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"
24643 # Determine the default libpath from the value encoded in an empty executable.
24644 cat >conftest.$ac_ext <<_ACEOF
24647 cat confdefs.h >>conftest.$ac_ext
24648 cat >>conftest.$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24659 rm -f conftest.$ac_objext conftest$ac_exeext
24660 if { (ac_try="$ac_link"
24661 case "(($ac_try" in
24662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24663 *) ac_try_echo
=$ac_try;;
24665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24666 (eval "$ac_link") 2>conftest.er1
24668 grep -v '^ *+' conftest.er1
>conftest.err
24670 cat conftest.err
>&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); } &&
24673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24674 { (case "(($ac_try" in
24675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_try") 2>&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); }; } &&
24683 { ac_try='test -s conftest$ac_exeext'
24684 { (case "(($ac_try" in
24685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24686 *) ac_try_echo
=$ac_try;;
24688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24689 (eval "$ac_try") 2>&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); }; }; then
24694 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24696 # Check for a 64-bit object if we didn't find anything.
24697 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; }
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.
$ac_ext >&5
24706 rm -f core conftest.err conftest.
$ac_objext \
24707 conftest
$ac_exeext conftest.
$ac_ext
24708 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24710 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24711 # Warning - without using the other run time loading flags,
24712 # -berok will link without error, but may produce a broken library.
24713 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24714 allow_undefined_flag_GCJ
=' ${wl}-berok'
24715 # Exported symbols can be pulled into shared objects from archives
24716 whole_archive_flag_spec_GCJ
='$convenience'
24717 archive_cmds_need_lc_GCJ
=yes
24718 # This is similar to how AIX traditionally builds its shared libraries.
24719 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'
24725 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)'
24726 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24727 hardcode_minus_L_GCJ
=yes
24728 # see comment about different semantics on the GNU ld section
24733 export_dynamic_flag_spec_GCJ
=-rdynamic
24736 cygwin
* | mingw
* | pw32
*)
24737 # When not using gcc, we currently assume that we are using
24738 # Microsoft Visual C++.
24739 # hardcode_libdir_flag_spec is actually meaningless, as there is
24740 # no search path for DLLs.
24741 hardcode_libdir_flag_spec_GCJ
=' '
24742 allow_undefined_flag_GCJ
=unsupported
24743 # Tell ltmain to make .lib files, not .a files.
24745 # Tell ltmain to make .dll files, not .so files.
24747 # FIXME: Setting linknames here is a bad hack.
24748 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24749 # The linker will automatically build a .lib file if we build a DLL.
24750 old_archive_From_new_cmds_GCJ
='true'
24751 # FIXME: Should let the user specify the lib program.
24752 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24753 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24754 enable_shared_with_static_runtimes_GCJ
=yes
24757 darwin
* | rhapsody
*)
24759 rhapsody
* | darwin1.
[012])
24760 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24763 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24764 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24766 case ${MACOSX_DEPLOYMENT_TARGET} in
24768 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24771 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24777 archive_cmds_need_lc_GCJ
=no
24778 hardcode_direct_GCJ
=no
24779 hardcode_automatic_GCJ
=yes
24780 hardcode_shlibpath_var_GCJ
=unsupported
24781 whole_archive_flag_spec_GCJ
=''
24782 link_all_deplibs_GCJ
=yes
24783 if test "$GCC" = yes ; then
24784 output_verbose_link_cmd
='echo'
24785 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24786 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24787 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24788 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}'
24789 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}'
24791 case $cc_basename in
24793 output_verbose_link_cmd
='echo'
24794 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24795 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24796 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24797 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}'
24798 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}'
24808 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24809 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24810 hardcode_shlibpath_var_GCJ
=no
24817 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24818 # support. Future versions do this automatically, but an explicit c++rt0.o
24819 # does not break anything, and helps significantly (at the cost of a little
24822 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24823 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24824 hardcode_direct_GCJ
=yes
24825 hardcode_shlibpath_var_GCJ
=no
24828 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24830 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24831 hardcode_direct_GCJ
=yes
24832 hardcode_minus_L_GCJ
=yes
24833 hardcode_shlibpath_var_GCJ
=no
24836 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24837 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24838 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24839 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24840 hardcode_direct_GCJ
=yes
24841 hardcode_shlibpath_var_GCJ
=no
24845 if test "$GCC" = yes; then
24846 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'
24848 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'
24850 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24851 hardcode_libdir_separator_GCJ
=:
24852 hardcode_direct_GCJ
=yes
24854 # hardcode_minus_L: Not really in the search PATH,
24855 # but as the default location of the library.
24856 hardcode_minus_L_GCJ
=yes
24857 export_dynamic_flag_spec_GCJ
='${wl}-E'
24861 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24862 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24864 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24866 if test "$with_gnu_ld" = no
; then
24867 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24868 hardcode_libdir_separator_GCJ
=:
24870 hardcode_direct_GCJ
=yes
24871 export_dynamic_flag_spec_GCJ
='${wl}-E'
24873 # hardcode_minus_L: Not really in the search PATH,
24874 # but as the default location of the library.
24875 hardcode_minus_L_GCJ
=yes
24880 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24883 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24886 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24889 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24895 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24898 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24901 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24905 if test "$with_gnu_ld" = no
; then
24906 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24907 hardcode_libdir_separator_GCJ
=:
24911 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24912 hardcode_direct_GCJ
=no
24913 hardcode_shlibpath_var_GCJ
=no
24916 hardcode_direct_GCJ
=yes
24917 export_dynamic_flag_spec_GCJ
='${wl}-E'
24919 # hardcode_minus_L: Not really in the search PATH,
24920 # but as the default location of the library.
24921 hardcode_minus_L_GCJ
=yes
24927 irix5
* | irix6
* | nonstopux
*)
24928 if test "$GCC" = yes; then
24929 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'
24931 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'
24932 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24934 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24935 hardcode_libdir_separator_GCJ
=:
24936 link_all_deplibs_GCJ
=yes
24940 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24941 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24943 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24945 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24946 hardcode_direct_GCJ
=yes
24947 hardcode_shlibpath_var_GCJ
=no
24951 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24952 hardcode_direct_GCJ
=yes
24953 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24954 hardcode_libdir_separator_GCJ
=:
24955 hardcode_shlibpath_var_GCJ
=no
24959 hardcode_direct_GCJ
=yes
24960 hardcode_shlibpath_var_GCJ
=no
24961 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24962 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24963 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24964 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24965 export_dynamic_flag_spec_GCJ
='${wl}-E'
24968 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24969 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24970 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24973 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24974 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24981 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24982 hardcode_minus_L_GCJ
=yes
24983 allow_undefined_flag_GCJ
=unsupported
24984 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'
24985 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24989 if test "$GCC" = yes; then
24990 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24991 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'
24993 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24994 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'
24996 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24997 hardcode_libdir_separator_GCJ
=:
25000 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
25001 if test "$GCC" = yes; then
25002 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
25003 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'
25004 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25006 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
25007 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'
25008 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~
25009 $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'
25011 # Both c and cxx compiler support -rpath directly
25012 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
25014 hardcode_libdir_separator_GCJ
=:
25018 no_undefined_flag_GCJ
=' -z text'
25019 if test "$GCC" = yes; then
25021 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25022 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25023 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25026 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25027 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25028 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25030 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25031 hardcode_shlibpath_var_GCJ
=no
25033 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
25035 # The compiler driver will combine linker options so we
25036 # cannot just pass the convience library names through
25037 # without $wl, iff we do not link with $LD.
25038 # Luckily, gcc supports the same syntax we need for Sun Studio.
25039 # Supported since Solaris 2.6 (maybe 2.5.1?)
25042 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
25044 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' ;;
25047 link_all_deplibs_GCJ
=yes
25051 if test "x$host_vendor" = xsequent
; then
25052 # Use $CC to link under sequent, because it throws in some extra .o
25053 # files that make .init and .fini sections work.
25054 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25056 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25058 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25059 hardcode_direct_GCJ
=yes
25060 hardcode_minus_L_GCJ
=yes
25061 hardcode_shlibpath_var_GCJ
=no
25065 case $host_vendor in
25067 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25068 hardcode_direct_GCJ
=yes # is this really true???
25071 ## LD is ld it makes a PLAMLIB
25072 ## CC just makes a GrossModule.
25073 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25074 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
25075 hardcode_direct_GCJ
=no
25078 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25079 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
25082 runpath_var
='LD_RUN_PATH'
25083 hardcode_shlibpath_var_GCJ
=no
25087 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25088 hardcode_shlibpath_var_GCJ
=no
25089 export_dynamic_flag_spec_GCJ
='-Bexport'
25093 if test -d /usr
/nec
; then
25094 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25095 hardcode_shlibpath_var_GCJ
=no
25096 runpath_var
=LD_RUN_PATH
25097 hardcode_runpath_var
=yes
25102 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
25103 no_undefined_flag_GCJ
='${wl}-z,text'
25104 archive_cmds_need_lc_GCJ
=no
25105 hardcode_shlibpath_var_GCJ
=no
25106 runpath_var
='LD_RUN_PATH'
25108 if test "$GCC" = yes; then
25109 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25110 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25112 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25113 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25117 sysv5
* | sco3.2v5
* | sco5v6
*)
25118 # Note: We can NOT use -z defs as we might desire, because we do not
25119 # link with -lc, and that would cause any symbols used from libc to
25120 # always be unresolved, which means just about no library would
25121 # ever link correctly. If we're not using GNU ld we use -z text
25122 # though, which does catch some bad symbols but isn't as heavy-handed
25124 no_undefined_flag_GCJ
='${wl}-z,text'
25125 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
25126 archive_cmds_need_lc_GCJ
=no
25127 hardcode_shlibpath_var_GCJ
=no
25128 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25129 hardcode_libdir_separator_GCJ
=':'
25130 link_all_deplibs_GCJ
=yes
25131 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
25132 runpath_var
='LD_RUN_PATH'
25134 if test "$GCC" = yes; then
25135 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25136 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25138 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25139 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25144 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25145 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25146 hardcode_shlibpath_var_GCJ
=no
25155 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25156 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25157 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
25160 # Do we need to explicitly link libc?
25162 case "x$archive_cmds_need_lc_GCJ" in
25164 # Assume -lc should be added
25165 archive_cmds_need_lc_GCJ
=yes
25167 if test "$enable_shared" = yes && test "$GCC" = yes; then
25168 case $archive_cmds_GCJ in
25170 # FIXME: we may have to deal with multi-command sequences.
25173 # Test whether the compiler implicitly links with -lc since on some
25174 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25175 # to ld, don't add -lc before -lgcc.
25176 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25177 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25179 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
25181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25182 (eval $ac_compile) 2>&5
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); } 2>conftest.err
; then
25188 libobjs
=conftest.
$ac_objext
25190 wl
=$lt_prog_compiler_wl_GCJ
25191 pic_flag
=$lt_prog_compiler_pic_GCJ
25197 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
25198 allow_undefined_flag_GCJ
=
25199 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25200 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); }
25205 archive_cmds_need_lc_GCJ
=no
25207 archive_cmds_need_lc_GCJ
=yes
25209 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25211 cat conftest.err
1>&5
25214 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25215 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25222 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25223 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25224 library_names_spec
=
25225 libname_spec
='lib$name'
25229 postuninstall_cmds
=
25233 shlibpath_overrides_runpath
=unknown
25235 dynamic_linker
="$host_os ld.so"
25236 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25237 if test "$GCC" = yes; then
25238 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25239 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25240 # if the path contains ";" then we assume it to be the separator
25241 # otherwise default to the standard path separator (i.e. ":") - it is
25242 # assumed that no part of a normal pathname contains ";" but that should
25243 # okay in the real world where ";" in dirpaths is itself problematic.
25244 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25246 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25249 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25251 need_lib_prefix
=unknown
25252 hardcode_into_libs
=no
25254 # when you set need_version to no, make sure it does not cause -set_version
25255 # flags to be left without arguments
25256 need_version
=unknown
25261 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25262 shlibpath_var
=LIBPATH
25264 # AIX 3 has no versioning support, so we append a major version to the name.
25265 soname_spec
='${libname}${release}${shared_ext}$major'
25272 hardcode_into_libs
=yes
25273 if test "$host_cpu" = ia64
; then
25274 # AIX 5 supports IA64
25275 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25276 shlibpath_var
=LD_LIBRARY_PATH
25278 # With GCC up to 2.95.x, collect2 would create an import file
25279 # for dependence libraries. The import file would start with
25280 # the line `#! .'. This would cause the generated library to
25281 # depend on `.', always an invalid library. This was fixed in
25282 # development snapshots of GCC prior to 3.0.
25284 aix4 | aix4.
[01] | aix4.
[01].
*)
25285 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25287 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25290 can_build_shared
=no
25294 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25295 # soname into executable. Probably we can add versioning support to
25296 # collect2, so additional links can be useful in future.
25297 if test "$aix_use_runtimelinking" = yes; then
25298 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25299 # instead of lib<name>.a to let people know that these are not
25300 # typical AIX shared libraries.
25301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25303 # We preserve .a as extension for shared libraries through AIX4.2
25304 # and later when we are not doing run time linking.
25305 library_names_spec
='${libname}${release}.a $libname.a'
25306 soname_spec
='${libname}${release}${shared_ext}$major'
25308 shlibpath_var
=LIBPATH
25313 library_names_spec
='$libname.ixlibrary $libname.a'
25314 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25315 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'
25319 library_names_spec
='${libname}${shared_ext}'
25320 dynamic_linker
="$host_os ld.so"
25321 shlibpath_var
=LIBRARY_PATH
25327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25328 soname_spec
='${libname}${release}${shared_ext}$major'
25329 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25330 shlibpath_var
=LD_LIBRARY_PATH
25331 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25332 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25333 # the default ld.so.conf also contains /usr/contrib/lib and
25334 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25335 # libtool to hard-code these into programs
25338 cygwin
* | mingw
* | pw32
*)
25339 version_type
=windows
25344 case $GCC,$host_os in
25345 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25346 library_names_spec
='$libname.dll.a'
25347 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25348 postinstall_cmds
='base_file=`basename \${file}`~
25349 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25350 dldir=$destdir/`dirname \$dlpath`~
25351 test -d \$dldir || mkdir -p \$dldir~
25352 $install_prog $dir/$dlname \$dldir/$dlname~
25353 chmod a+x \$dldir/$dlname'
25354 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25355 dlpath=$dir/\$dldll~
25357 shlibpath_overrides_runpath
=yes
25361 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25362 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25363 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25366 # MinGW DLLs use traditional 'lib' prefix
25367 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25368 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25369 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25370 # It is most probably a Windows format PATH printed by
25371 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25372 # path with ; separators, and with drive letters. We can handle the
25373 # drive letters (cygwin fileutils understands them), so leave them,
25374 # especially as we might pass files found there to a mingw objdump,
25375 # which wouldn't understand a cygwinified path. Ahh.
25376 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25378 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25382 # pw32 DLLs use 'pw' prefix rather than 'lib'
25383 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25389 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25392 dynamic_linker
='Win32 ld.exe'
25393 # FIXME: first we should search . and the directory the executable is in
25397 darwin
* | rhapsody
*)
25398 dynamic_linker
="$host_os dyld"
25399 version_type
=darwin
25402 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25403 soname_spec
='${libname}${release}${major}$shared_ext'
25404 shlibpath_overrides_runpath
=yes
25405 shlibpath_var
=DYLD_LIBRARY_PATH
25406 shrext_cmds
='.dylib'
25407 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25408 if test "$GCC" = yes; then
25409 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"`
25411 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25413 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25421 soname_spec
='${libname}${release}${shared_ext}$major'
25422 shlibpath_var
=LD_LIBRARY_PATH
25433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25434 soname_spec
='${libname}${release}${shared_ext}$major'
25435 shlibpath_var
=LD_LIBRARY_PATH
25436 shlibpath_overrides_runpath
=no
25437 hardcode_into_libs
=yes
25438 dynamic_linker
='GNU ld.so'
25441 freebsd
* | dragonfly
*)
25442 # DragonFly does not have aout. When/if they implement a new
25443 # versioning mechanism, adjust this.
25444 if test -x /usr
/bin
/objformat
; then
25445 objformat
=`/usr/bin/objformat`
25448 freebsd
[123]*) objformat
=aout
;;
25449 *) objformat
=elf
;;
25452 version_type
=freebsd-
$objformat
25453 case $version_type in
25455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25460 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25464 shlibpath_var
=LD_LIBRARY_PATH
25467 shlibpath_overrides_runpath
=yes
25469 freebsd3.
[01]* | freebsdelf3.
[01]*)
25470 shlibpath_overrides_runpath
=yes
25471 hardcode_into_libs
=yes
25473 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25474 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25475 shlibpath_overrides_runpath
=no
25476 hardcode_into_libs
=yes
25478 freebsd
*) # from 4.6 on
25479 shlibpath_overrides_runpath
=yes
25480 hardcode_into_libs
=yes
25489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25490 soname_spec
='${libname}${release}${shared_ext}$major'
25491 shlibpath_var
=LD_LIBRARY_PATH
25492 hardcode_into_libs
=yes
25495 hpux9
* | hpux10
* | hpux11
*)
25496 # Give a soname corresponding to the major version so that dld.sl refuses to
25497 # link against other versions.
25504 hardcode_into_libs
=yes
25505 dynamic_linker
="$host_os dld.so"
25506 shlibpath_var
=LD_LIBRARY_PATH
25507 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25509 soname_spec
='${libname}${release}${shared_ext}$major'
25510 if test "X$HPUX_IA64_MODE" = X32
; then
25511 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25513 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25515 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25519 hardcode_into_libs
=yes
25520 dynamic_linker
="$host_os dld.sl"
25521 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25522 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25524 soname_spec
='${libname}${release}${shared_ext}$major'
25525 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25526 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25530 dynamic_linker
="$host_os dld.sl"
25531 shlibpath_var
=SHLIB_PATH
25532 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25534 soname_spec
='${libname}${release}${shared_ext}$major'
25537 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25538 postinstall_cmds
='chmod 555 $lib'
25545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25546 soname_spec
='${libname}${release}${shared_ext}$major'
25547 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25548 shlibpath_var
=LD_LIBRARY_PATH
25549 shlibpath_overrides_runpath
=no
25550 hardcode_into_libs
=yes
25553 irix5
* | irix6
* | nonstopux
*)
25555 nonstopux
*) version_type
=nonstopux
;;
25557 if test "$lt_cv_prog_gnu_ld" = yes; then
25565 soname_spec
='${libname}${release}${shared_ext}$major'
25566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25568 irix5
* | nonstopux
*)
25569 libsuff
= shlibsuff
=
25572 case $LD in # libtool.m4 will add one of these switches to LD
25573 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25574 libsuff
= shlibsuff
= libmagic
=32-bit;;
25575 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25576 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25577 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25578 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25579 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25583 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25584 shlibpath_overrides_runpath
=no
25585 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25586 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25587 hardcode_into_libs
=yes
25590 # No shared lib support for Linux oldld, aout, or coff.
25591 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25595 # This must be Linux ELF.
25600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25601 soname_spec
='${libname}${release}${shared_ext}$major'
25602 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25603 shlibpath_var
=LD_LIBRARY_PATH
25604 shlibpath_overrides_runpath
=no
25605 # This implies no fast_install, which is unacceptable.
25606 # Some rework will be needed to allow for fast_install
25607 # before this can be enabled.
25608 hardcode_into_libs
=yes
25610 # Append ld.so.conf contents to the search path
25611 if test -f /etc
/ld.so.conf
; then
25612 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' ' '`
25613 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25616 # We used to test for /lib/ld.so.1 and disable shared libraries on
25617 # powerpc, because MkLinux only supported shared libraries with the
25618 # GNU dynamic linker. Since this was broken with cross compilers,
25619 # most powerpc-linux boxes support dynamic linking these days and
25620 # people can always --disable-shared, the test was removed, and we
25621 # assume the GNU/Linux dynamic linker is in use.
25622 dynamic_linker
='GNU/Linux ld.so'
25629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25630 soname_spec
='${libname}${release}${shared_ext}$major'
25631 shlibpath_var
=LD_LIBRARY_PATH
25632 shlibpath_overrides_runpath
=no
25633 hardcode_into_libs
=yes
25634 dynamic_linker
='GNU ld.so'
25641 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25643 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25644 dynamic_linker
='NetBSD (a.out) ld.so'
25646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25647 soname_spec
='${libname}${release}${shared_ext}$major'
25648 dynamic_linker
='NetBSD ld.elf_so'
25650 shlibpath_var
=LD_LIBRARY_PATH
25651 shlibpath_overrides_runpath
=yes
25652 hardcode_into_libs
=yes
25657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25658 shlibpath_var
=LD_LIBRARY_PATH
25659 shlibpath_overrides_runpath
=yes
25666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25667 soname_spec
='${libname}${release}${shared_ext}$major'
25668 shlibpath_var
=LD_LIBRARY_PATH
25669 shlibpath_overrides_runpath
=yes
25674 sys_lib_dlsearch_path_spec
="/usr/lib"
25676 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25678 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25679 *) need_version
=no
;;
25681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25682 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25683 shlibpath_var
=LD_LIBRARY_PATH
25684 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25686 openbsd2.
[89] | openbsd2.
[89].
*)
25687 shlibpath_overrides_runpath
=no
25690 shlibpath_overrides_runpath
=yes
25694 shlibpath_overrides_runpath
=yes
25699 libname_spec
='$name'
25702 library_names_spec
='$libname${shared_ext} $libname.a'
25703 dynamic_linker
='OS/2 ld.exe'
25704 shlibpath_var
=LIBPATH
25707 osf3
* | osf4
* | osf5
*)
25711 soname_spec
='${libname}${release}${shared_ext}$major'
25712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25713 shlibpath_var
=LD_LIBRARY_PATH
25714 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25715 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25723 soname_spec
='${libname}${release}${shared_ext}$major'
25724 shlibpath_var
=LD_LIBRARY_PATH
25725 shlibpath_overrides_runpath
=yes
25726 hardcode_into_libs
=yes
25727 # ldd complains unless libraries are executable
25728 postinstall_cmds
='chmod +x $lib'
25733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25734 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25735 shlibpath_var
=LD_LIBRARY_PATH
25736 shlibpath_overrides_runpath
=yes
25737 if test "$with_gnu_ld" = yes; then
25745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25746 soname_spec
='${libname}${release}${shared_ext}$major'
25747 shlibpath_var
=LD_LIBRARY_PATH
25748 case $host_vendor in
25750 shlibpath_overrides_runpath
=no
25752 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25753 runpath_var
=LD_RUN_PATH
25761 shlibpath_overrides_runpath
=no
25762 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25768 if test -d /usr
/nec
;then
25770 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25771 soname_spec
='$libname${shared_ext}.$major'
25772 shlibpath_var
=LD_LIBRARY_PATH
25776 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25777 version_type
=freebsd-elf
25780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25781 soname_spec
='${libname}${release}${shared_ext}$major'
25782 shlibpath_var
=LD_LIBRARY_PATH
25783 hardcode_into_libs
=yes
25784 if test "$with_gnu_ld" = yes; then
25785 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25786 shlibpath_overrides_runpath
=no
25788 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25789 shlibpath_overrides_runpath
=yes
25792 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25796 sys_lib_dlsearch_path_spec
='/usr/lib'
25801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25802 soname_spec
='${libname}${release}${shared_ext}$major'
25803 shlibpath_var
=LD_LIBRARY_PATH
25810 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25811 echo "${ECHO_T}$dynamic_linker" >&6; }
25812 test "$dynamic_linker" = no
&& can_build_shared
=no
25814 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25815 if test "$GCC" = yes; then
25816 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25819 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25820 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25821 hardcode_action_GCJ
=
25822 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25823 test -n "$runpath_var_GCJ" || \
25824 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25826 # We can hardcode non-existant directories.
25827 if test "$hardcode_direct_GCJ" != no
&&
25828 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25829 # have to relink, otherwise we might link with an installed library
25830 # when we should be linking with a yet-to-be-installed one
25831 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25832 test "$hardcode_minus_L_GCJ" != no
; then
25833 # Linking always hardcodes the temporary library directory.
25834 hardcode_action_GCJ
=relink
25836 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25837 hardcode_action_GCJ
=immediate
25840 # We cannot hardcode anything, or else we can only hardcode existing
25842 hardcode_action_GCJ
=unsupported
25844 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25845 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25847 if test "$hardcode_action_GCJ" = relink
; then
25848 # Fast installation is not supported
25849 enable_fast_install
=no
25850 elif test "$shlibpath_overrides_runpath" = yes ||
25851 test "$enable_shared" = no
; then
25852 # Fast installation is not necessary
25853 enable_fast_install
=needless
25857 # The else clause should only fire when bootstrapping the
25858 # libtool distribution, otherwise you forgot to ship ltmain.sh
25859 # with your package, and you will get complaints that there are
25860 # no rules to generate ltmain.sh.
25861 if test -f "$ltmain"; then
25862 # See if we are running on zsh, and set the options which allow our commands through
25863 # without removal of \ escapes.
25864 if test -n "${ZSH_VERSION+set}" ; then
25865 setopt NO_GLOB_SUBST
25867 # Now quote all the things that may contain metacharacters while being
25868 # careful not to overquote the AC_SUBSTed values. We take copies of the
25869 # variables and quote the copies for generation of the libtool script.
25870 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25872 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25873 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25874 deplibs_check_method reload_flag reload_cmds need_locks \
25875 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25876 lt_cv_sys_global_symbol_to_c_name_address \
25877 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25878 old_postinstall_cmds old_postuninstall_cmds \
25882 lt_prog_compiler_wl_GCJ \
25883 lt_prog_compiler_pic_GCJ \
25884 lt_prog_compiler_static_GCJ \
25885 lt_prog_compiler_no_builtin_flag_GCJ \
25886 export_dynamic_flag_spec_GCJ \
25887 thread_safe_flag_spec_GCJ \
25888 whole_archive_flag_spec_GCJ \
25889 enable_shared_with_static_runtimes_GCJ \
25890 old_archive_cmds_GCJ \
25891 old_archive_from_new_cmds_GCJ \
25892 predep_objects_GCJ \
25893 postdep_objects_GCJ \
25896 compiler_lib_search_path_GCJ \
25898 archive_expsym_cmds_GCJ \
25899 postinstall_cmds_GCJ \
25900 postuninstall_cmds_GCJ \
25901 old_archive_from_expsyms_cmds_GCJ \
25902 allow_undefined_flag_GCJ \
25903 no_undefined_flag_GCJ \
25904 export_symbols_cmds_GCJ \
25905 hardcode_libdir_flag_spec_GCJ \
25906 hardcode_libdir_flag_spec_ld_GCJ \
25907 hardcode_libdir_separator_GCJ \
25908 hardcode_automatic_GCJ \
25910 module_expsym_cmds_GCJ \
25911 lt_cv_prog_compiler_c_o_GCJ \
25912 exclude_expsyms_GCJ \
25913 include_expsyms_GCJ
; do
25916 old_archive_cmds_GCJ | \
25917 old_archive_from_new_cmds_GCJ | \
25918 archive_cmds_GCJ | \
25919 archive_expsym_cmds_GCJ | \
25920 module_cmds_GCJ | \
25921 module_expsym_cmds_GCJ | \
25922 old_archive_from_expsyms_cmds_GCJ | \
25923 export_symbols_cmds_GCJ | \
25924 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25925 postinstall_cmds | postuninstall_cmds | \
25926 old_postinstall_cmds | old_postuninstall_cmds | \
25927 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25928 # Double-quote double-evaled strings.
25929 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25932 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25938 *'\$0 --fallback-echo"')
25939 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25945 cat <<__EOF__ >> "$cfgfile"
25946 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25948 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25950 # Shell to use when invoking shell scripts.
25953 # Whether or not to build shared libraries.
25954 build_libtool_libs=$enable_shared
25956 # Whether or not to build static libraries.
25957 build_old_libs=$enable_static
25959 # Whether or not to add -lc for building shared libraries.
25960 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25962 # Whether or not to disallow shared libs when runtime libs are static
25963 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25965 # Whether or not to optimize for fast installation.
25966 fast_install=$enable_fast_install
25969 host_alias=$host_alias
25973 # The build system.
25974 build_alias=$build_alias
25978 # An echo program that does not interpret backslashes.
25983 AR_FLAGS=$lt_AR_FLAGS
25988 # LTCC compiler flags.
25989 LTCFLAGS=$lt_LTCFLAGS
25991 # A language-specific compiler.
25992 CC=$lt_compiler_GCJ
25994 # Is the compiler the GNU C compiler?
26000 # The linker used to build libraries.
26003 # Whether we need hard or soft links.
26006 # A BSD-compatible nm program.
26009 # A symbol stripping program
26012 # Used to examine libraries when file_magic_cmd begins "file"
26013 MAGIC_CMD=$MAGIC_CMD
26015 # Used on cygwin: DLL creation program.
26018 # Used on cygwin: object dumper.
26021 # Used on cygwin: assembler.
26024 # The name of the directory that contains temporary libtool files.
26027 # How to create reloadable object files.
26028 reload_flag=$lt_reload_flag
26029 reload_cmds=$lt_reload_cmds
26031 # How to pass a linker flag through the compiler.
26032 wl=$lt_lt_prog_compiler_wl_GCJ
26034 # Object file suffix (normally "o").
26035 objext="$ac_objext"
26037 # Old archive suffix (normally "a").
26040 # Shared library suffix (normally ".so").
26041 shrext_cmds='$shrext_cmds'
26043 # Executable file suffix (normally "").
26046 # Additional compiler flags for building library objects.
26047 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26050 # What is the maximum length of a command?
26051 max_cmd_len=$lt_cv_sys_max_cmd_len
26053 # Does compiler simultaneously support -c and -o options?
26054 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26056 # Must we lock files when doing compilation?
26057 need_locks=$lt_need_locks
26059 # Do we need the lib prefix for modules?
26060 need_lib_prefix=$need_lib_prefix
26062 # Do we need a version for libraries?
26063 need_version=$need_version
26065 # Whether dlopen is supported.
26066 dlopen_support=$enable_dlopen
26068 # Whether dlopen of programs is supported.
26069 dlopen_self=$enable_dlopen_self
26071 # Whether dlopen of statically linked programs is supported.
26072 dlopen_self_static=$enable_dlopen_self_static
26074 # Compiler flag to prevent dynamic linking.
26075 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26077 # Compiler flag to turn off builtin functions.
26078 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26080 # Compiler flag to allow reflexive dlopens.
26081 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26083 # Compiler flag to generate shared objects directly from archives.
26084 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26086 # Compiler flag to generate thread-safe objects.
26087 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26089 # Library versioning type.
26090 version_type=$version_type
26092 # Format of library name prefix.
26093 libname_spec=$lt_libname_spec
26095 # List of archive names. First name is the real one, the rest are links.
26096 # The last name is the one that the linker finds with -lNAME.
26097 library_names_spec=$lt_library_names_spec
26099 # The coded name of the library, if different from the real name.
26100 soname_spec=$lt_soname_spec
26102 # Commands used to build and install an old-style archive.
26104 old_archive_cmds=$lt_old_archive_cmds_GCJ
26105 old_postinstall_cmds=$lt_old_postinstall_cmds
26106 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26108 # Create an old-style archive from a shared archive.
26109 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26111 # Create a temporary old-style archive to link instead of a shared archive.
26112 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26114 # Commands used to build and install a shared archive.
26115 archive_cmds=$lt_archive_cmds_GCJ
26116 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26117 postinstall_cmds=$lt_postinstall_cmds
26118 postuninstall_cmds=$lt_postuninstall_cmds
26120 # Commands used to build a loadable module (assumed same as above if empty)
26121 module_cmds=$lt_module_cmds_GCJ
26122 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26124 # Commands to strip libraries.
26125 old_striplib=$lt_old_striplib
26126 striplib=$lt_striplib
26128 # Dependencies to place before the objects being linked to create a
26130 predep_objects=$lt_predep_objects_GCJ
26132 # Dependencies to place after the objects being linked to create a
26134 postdep_objects=$lt_postdep_objects_GCJ
26136 # Dependencies to place before the objects being linked to create a
26138 predeps=$lt_predeps_GCJ
26140 # Dependencies to place after the objects being linked to create a
26142 postdeps=$lt_postdeps_GCJ
26144 # The library search path used internally by the compiler when linking
26145 # a shared library.
26146 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26148 # Method to check whether dependent libraries are shared objects.
26149 deplibs_check_method=$lt_deplibs_check_method
26151 # Command to use when deplibs_check_method == file_magic.
26152 file_magic_cmd=$lt_file_magic_cmd
26154 # Flag that allows shared libraries with undefined symbols to be built.
26155 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26157 # Flag that forces no undefined symbols.
26158 no_undefined_flag=$lt_no_undefined_flag_GCJ
26160 # Commands used to finish a libtool library installation in a directory.
26161 finish_cmds=$lt_finish_cmds
26163 # Same as above, but a single script fragment to be evaled but not shown.
26164 finish_eval=$lt_finish_eval
26166 # Take the output of nm and produce a listing of raw symbols and C names.
26167 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26169 # Transform the output of nm in a proper C declaration
26170 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26172 # Transform the output of nm in a C name address pair
26173 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26175 # This is the shared library runtime path variable.
26176 runpath_var=$runpath_var
26178 # This is the shared library path variable.
26179 shlibpath_var=$shlibpath_var
26181 # Is shlibpath searched before the hard-coded library search path?
26182 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26184 # How to hardcode a shared library path into an executable.
26185 hardcode_action=$hardcode_action_GCJ
26187 # Whether we should hardcode library paths into libraries.
26188 hardcode_into_libs=$hardcode_into_libs
26190 # Flag to hardcode \$libdir into a binary during linking.
26191 # This must work even if \$libdir does not exist.
26192 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26194 # If ld is used when linking, flag to hardcode \$libdir into
26195 # a binary during linking. This must work even if \$libdir does
26197 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26199 # Whether we need a single -rpath flag with a separated argument.
26200 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26202 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26203 # resulting binary.
26204 hardcode_direct=$hardcode_direct_GCJ
26206 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26207 # resulting binary.
26208 hardcode_minus_L=$hardcode_minus_L_GCJ
26210 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26211 # the resulting binary.
26212 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26214 # Set to yes if building a shared library automatically hardcodes DIR into the library
26215 # and all subsequent libraries and executables linked against it.
26216 hardcode_automatic=$hardcode_automatic_GCJ
26218 # Variables whose values should be saved in libtool wrapper scripts and
26219 # restored at relink time.
26220 variables_saved_for_relink="$variables_saved_for_relink"
26222 # Whether libtool must link a program against all its dependency libraries.
26223 link_all_deplibs=$link_all_deplibs_GCJ
26225 # Compile-time system search path for libraries
26226 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26228 # Run-time system search path for libraries
26229 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26231 # Fix the shell variable \$srcfile for the compiler.
26232 fix_srcfile_path="$fix_srcfile_path_GCJ"
26234 # Set to yes if exported symbols are required.
26235 always_export_symbols=$always_export_symbols_GCJ
26237 # The commands to list exported symbols.
26238 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26240 # The commands to extract the exported symbol list from a shared archive.
26241 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26243 # Symbols that should not be listed in the preloaded symbols.
26244 exclude_expsyms=$lt_exclude_expsyms_GCJ
26246 # Symbols that must always be exported.
26247 include_expsyms=$lt_include_expsyms_GCJ
26249 # ### END LIBTOOL TAG CONFIG: $tagname
26255 # If there is no Makefile yet, we rely on a make rule to execute
26256 # `config.status --recheck' to rerun these tests and create the
26257 # libtool script then.
26258 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26259 if test -f "$ltmain_in"; then
26260 test -f Makefile
&& make "$ltmain"
26266 ac_cpp
='$CPP $CPPFLAGS'
26267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26280 ac_cpp
='$CPP $CPPFLAGS'
26281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26286 # Source file extension for RC test sources.
26289 # Object file extension for compiled RC test sources.
26293 # Code to be used in simple compile tests
26294 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26296 # Code to be used in simple link tests
26297 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26299 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26301 # If no C compiler was specified, use CC.
26304 # If no C compiler flags were specified, use CFLAGS.
26305 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26307 # Allow CC to be a program name with arguments.
26311 # save warnings/boilerplate of simple test code
26312 ac_outfile
=conftest.
$ac_objext
26313 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26314 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26315 _lt_compiler_boilerplate
=`cat conftest.err`
26318 ac_outfile
=conftest.
$ac_objext
26319 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26320 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26321 _lt_linker_boilerplate
=`cat conftest.err`
26325 # Allow CC to be a program name with arguments.
26330 for cc_temp
in $compiler""; do
26332 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26333 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26338 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26340 lt_cv_prog_compiler_c_o_RC
=yes
26342 # The else clause should only fire when bootstrapping the
26343 # libtool distribution, otherwise you forgot to ship ltmain.sh
26344 # with your package, and you will get complaints that there are
26345 # no rules to generate ltmain.sh.
26346 if test -f "$ltmain"; then
26347 # See if we are running on zsh, and set the options which allow our commands through
26348 # without removal of \ escapes.
26349 if test -n "${ZSH_VERSION+set}" ; then
26350 setopt NO_GLOB_SUBST
26352 # Now quote all the things that may contain metacharacters while being
26353 # careful not to overquote the AC_SUBSTed values. We take copies of the
26354 # variables and quote the copies for generation of the libtool script.
26355 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26357 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26358 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26359 deplibs_check_method reload_flag reload_cmds need_locks \
26360 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26361 lt_cv_sys_global_symbol_to_c_name_address \
26362 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26363 old_postinstall_cmds old_postuninstall_cmds \
26367 lt_prog_compiler_wl_RC \
26368 lt_prog_compiler_pic_RC \
26369 lt_prog_compiler_static_RC \
26370 lt_prog_compiler_no_builtin_flag_RC \
26371 export_dynamic_flag_spec_RC \
26372 thread_safe_flag_spec_RC \
26373 whole_archive_flag_spec_RC \
26374 enable_shared_with_static_runtimes_RC \
26375 old_archive_cmds_RC \
26376 old_archive_from_new_cmds_RC \
26377 predep_objects_RC \
26378 postdep_objects_RC \
26381 compiler_lib_search_path_RC \
26383 archive_expsym_cmds_RC \
26384 postinstall_cmds_RC \
26385 postuninstall_cmds_RC \
26386 old_archive_from_expsyms_cmds_RC \
26387 allow_undefined_flag_RC \
26388 no_undefined_flag_RC \
26389 export_symbols_cmds_RC \
26390 hardcode_libdir_flag_spec_RC \
26391 hardcode_libdir_flag_spec_ld_RC \
26392 hardcode_libdir_separator_RC \
26393 hardcode_automatic_RC \
26395 module_expsym_cmds_RC \
26396 lt_cv_prog_compiler_c_o_RC \
26397 exclude_expsyms_RC \
26398 include_expsyms_RC
; do
26401 old_archive_cmds_RC | \
26402 old_archive_from_new_cmds_RC | \
26403 archive_cmds_RC | \
26404 archive_expsym_cmds_RC | \
26406 module_expsym_cmds_RC | \
26407 old_archive_from_expsyms_cmds_RC | \
26408 export_symbols_cmds_RC | \
26409 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26410 postinstall_cmds | postuninstall_cmds | \
26411 old_postinstall_cmds | old_postuninstall_cmds | \
26412 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26413 # Double-quote double-evaled strings.
26414 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26417 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26423 *'\$0 --fallback-echo"')
26424 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26430 cat <<__EOF__ >> "$cfgfile"
26431 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26433 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26435 # Shell to use when invoking shell scripts.
26438 # Whether or not to build shared libraries.
26439 build_libtool_libs=$enable_shared
26441 # Whether or not to build static libraries.
26442 build_old_libs=$enable_static
26444 # Whether or not to add -lc for building shared libraries.
26445 build_libtool_need_lc=$archive_cmds_need_lc_RC
26447 # Whether or not to disallow shared libs when runtime libs are static
26448 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26450 # Whether or not to optimize for fast installation.
26451 fast_install=$enable_fast_install
26454 host_alias=$host_alias
26458 # The build system.
26459 build_alias=$build_alias
26463 # An echo program that does not interpret backslashes.
26468 AR_FLAGS=$lt_AR_FLAGS
26473 # LTCC compiler flags.
26474 LTCFLAGS=$lt_LTCFLAGS
26476 # A language-specific compiler.
26479 # Is the compiler the GNU C compiler?
26485 # The linker used to build libraries.
26488 # Whether we need hard or soft links.
26491 # A BSD-compatible nm program.
26494 # A symbol stripping program
26497 # Used to examine libraries when file_magic_cmd begins "file"
26498 MAGIC_CMD=$MAGIC_CMD
26500 # Used on cygwin: DLL creation program.
26503 # Used on cygwin: object dumper.
26506 # Used on cygwin: assembler.
26509 # The name of the directory that contains temporary libtool files.
26512 # How to create reloadable object files.
26513 reload_flag=$lt_reload_flag
26514 reload_cmds=$lt_reload_cmds
26516 # How to pass a linker flag through the compiler.
26517 wl=$lt_lt_prog_compiler_wl_RC
26519 # Object file suffix (normally "o").
26520 objext="$ac_objext"
26522 # Old archive suffix (normally "a").
26525 # Shared library suffix (normally ".so").
26526 shrext_cmds='$shrext_cmds'
26528 # Executable file suffix (normally "").
26531 # Additional compiler flags for building library objects.
26532 pic_flag=$lt_lt_prog_compiler_pic_RC
26535 # What is the maximum length of a command?
26536 max_cmd_len=$lt_cv_sys_max_cmd_len
26538 # Does compiler simultaneously support -c and -o options?
26539 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26541 # Must we lock files when doing compilation?
26542 need_locks=$lt_need_locks
26544 # Do we need the lib prefix for modules?
26545 need_lib_prefix=$need_lib_prefix
26547 # Do we need a version for libraries?
26548 need_version=$need_version
26550 # Whether dlopen is supported.
26551 dlopen_support=$enable_dlopen
26553 # Whether dlopen of programs is supported.
26554 dlopen_self=$enable_dlopen_self
26556 # Whether dlopen of statically linked programs is supported.
26557 dlopen_self_static=$enable_dlopen_self_static
26559 # Compiler flag to prevent dynamic linking.
26560 link_static_flag=$lt_lt_prog_compiler_static_RC
26562 # Compiler flag to turn off builtin functions.
26563 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26565 # Compiler flag to allow reflexive dlopens.
26566 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26568 # Compiler flag to generate shared objects directly from archives.
26569 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26571 # Compiler flag to generate thread-safe objects.
26572 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26574 # Library versioning type.
26575 version_type=$version_type
26577 # Format of library name prefix.
26578 libname_spec=$lt_libname_spec
26580 # List of archive names. First name is the real one, the rest are links.
26581 # The last name is the one that the linker finds with -lNAME.
26582 library_names_spec=$lt_library_names_spec
26584 # The coded name of the library, if different from the real name.
26585 soname_spec=$lt_soname_spec
26587 # Commands used to build and install an old-style archive.
26589 old_archive_cmds=$lt_old_archive_cmds_RC
26590 old_postinstall_cmds=$lt_old_postinstall_cmds
26591 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26593 # Create an old-style archive from a shared archive.
26594 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26596 # Create a temporary old-style archive to link instead of a shared archive.
26597 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26599 # Commands used to build and install a shared archive.
26600 archive_cmds=$lt_archive_cmds_RC
26601 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26602 postinstall_cmds=$lt_postinstall_cmds
26603 postuninstall_cmds=$lt_postuninstall_cmds
26605 # Commands used to build a loadable module (assumed same as above if empty)
26606 module_cmds=$lt_module_cmds_RC
26607 module_expsym_cmds=$lt_module_expsym_cmds_RC
26609 # Commands to strip libraries.
26610 old_striplib=$lt_old_striplib
26611 striplib=$lt_striplib
26613 # Dependencies to place before the objects being linked to create a
26615 predep_objects=$lt_predep_objects_RC
26617 # Dependencies to place after the objects being linked to create a
26619 postdep_objects=$lt_postdep_objects_RC
26621 # Dependencies to place before the objects being linked to create a
26623 predeps=$lt_predeps_RC
26625 # Dependencies to place after the objects being linked to create a
26627 postdeps=$lt_postdeps_RC
26629 # The library search path used internally by the compiler when linking
26630 # a shared library.
26631 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26633 # Method to check whether dependent libraries are shared objects.
26634 deplibs_check_method=$lt_deplibs_check_method
26636 # Command to use when deplibs_check_method == file_magic.
26637 file_magic_cmd=$lt_file_magic_cmd
26639 # Flag that allows shared libraries with undefined symbols to be built.
26640 allow_undefined_flag=$lt_allow_undefined_flag_RC
26642 # Flag that forces no undefined symbols.
26643 no_undefined_flag=$lt_no_undefined_flag_RC
26645 # Commands used to finish a libtool library installation in a directory.
26646 finish_cmds=$lt_finish_cmds
26648 # Same as above, but a single script fragment to be evaled but not shown.
26649 finish_eval=$lt_finish_eval
26651 # Take the output of nm and produce a listing of raw symbols and C names.
26652 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26654 # Transform the output of nm in a proper C declaration
26655 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26657 # Transform the output of nm in a C name address pair
26658 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26660 # This is the shared library runtime path variable.
26661 runpath_var=$runpath_var
26663 # This is the shared library path variable.
26664 shlibpath_var=$shlibpath_var
26666 # Is shlibpath searched before the hard-coded library search path?
26667 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26669 # How to hardcode a shared library path into an executable.
26670 hardcode_action=$hardcode_action_RC
26672 # Whether we should hardcode library paths into libraries.
26673 hardcode_into_libs=$hardcode_into_libs
26675 # Flag to hardcode \$libdir into a binary during linking.
26676 # This must work even if \$libdir does not exist.
26677 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26679 # If ld is used when linking, flag to hardcode \$libdir into
26680 # a binary during linking. This must work even if \$libdir does
26682 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26684 # Whether we need a single -rpath flag with a separated argument.
26685 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26687 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26688 # resulting binary.
26689 hardcode_direct=$hardcode_direct_RC
26691 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26692 # resulting binary.
26693 hardcode_minus_L=$hardcode_minus_L_RC
26695 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26696 # the resulting binary.
26697 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26699 # Set to yes if building a shared library automatically hardcodes DIR into the library
26700 # and all subsequent libraries and executables linked against it.
26701 hardcode_automatic=$hardcode_automatic_RC
26703 # Variables whose values should be saved in libtool wrapper scripts and
26704 # restored at relink time.
26705 variables_saved_for_relink="$variables_saved_for_relink"
26707 # Whether libtool must link a program against all its dependency libraries.
26708 link_all_deplibs=$link_all_deplibs_RC
26710 # Compile-time system search path for libraries
26711 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26713 # Run-time system search path for libraries
26714 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26716 # Fix the shell variable \$srcfile for the compiler.
26717 fix_srcfile_path="$fix_srcfile_path_RC"
26719 # Set to yes if exported symbols are required.
26720 always_export_symbols=$always_export_symbols_RC
26722 # The commands to list exported symbols.
26723 export_symbols_cmds=$lt_export_symbols_cmds_RC
26725 # The commands to extract the exported symbol list from a shared archive.
26726 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26728 # Symbols that should not be listed in the preloaded symbols.
26729 exclude_expsyms=$lt_exclude_expsyms_RC
26731 # Symbols that must always be exported.
26732 include_expsyms=$lt_include_expsyms_RC
26734 # ### END LIBTOOL TAG CONFIG: $tagname
26740 # If there is no Makefile yet, we rely on a make rule to execute
26741 # `config.status --recheck' to rerun these tests and create the
26742 # libtool script then.
26743 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26744 if test -f "$ltmain_in"; then
26745 test -f Makefile
&& make "$ltmain"
26751 ac_cpp
='$CPP $CPPFLAGS'
26752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26761 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26762 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26763 { (exit 1); exit 1; }; }
26767 # Append the new tag name to the list of available tags.
26768 if test -n "$tagname" ; then
26769 available_tags
="$available_tags $tagname"
26775 # Now substitute the updated list of available tags.
26776 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26777 mv "${ofile}T" "$ofile"
26781 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26782 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26783 { (exit 1); exit 1; }; }
26789 # This can be used to rebuild libtool when needed
26790 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26792 # Always use our own libtool.
26793 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26795 # Prevent multiple expansion
26817 if test "$lt_cv_dlopen_self" = "yes" ; then
26819 cat >>confdefs.h
<<\_ACEOF
26820 #define CAN_DLOPEN_SELF 1
26826 if test "$WITH_LLVMGCCDIR" = "default" ; then
26827 LLVMGCC
="llvm-gcc${EXEEXT}"
26828 LLVMGXX
="llvm-g++${EXEEXT}"
26829 LLVMGCCCOMMAND
="$LLVMGCC"
26830 LLVMGXXCOMMAND
="$LLVMGXX"
26831 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
26833 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
26835 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26836 set dummy
$LLVMGCC; ac_word
=$2
26837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26839 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26844 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26848 for as_dir
in $PATH
26851 test -z "$as_dir" && as_dir
=.
26852 for ac_exec_ext
in '' $ac_executable_extensions; do
26853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26854 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26865 LLVMGCC
=$ac_cv_path_LLVMGCC
26866 if test -n "$LLVMGCC"; then
26867 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26868 echo "${ECHO_T}$LLVMGCC" >&6; }
26870 { echo "$as_me:$LINENO: result: no" >&5
26871 echo "${ECHO_T}no" >&6; }
26875 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26876 set dummy
$LLVMGXX; ac_word
=$2
26877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26879 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26880 echo $ECHO_N "(cached) $ECHO_C" >&6
26884 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26888 for as_dir
in $PATH
26891 test -z "$as_dir" && as_dir
=.
26892 for ac_exec_ext
in '' $ac_executable_extensions; do
26893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26894 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26905 LLVMGXX
=$ac_cv_path_LLVMGXX
26906 if test -n "$LLVMGXX"; then
26907 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26908 echo "${ECHO_T}$LLVMGXX" >&6; }
26910 { echo "$as_me:$LINENO: result: no" >&5
26911 echo "${ECHO_T}no" >&6; }
26916 if test -z "$LLVMGCC"; then
26917 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26918 LLVMGCCCOMMAND
="$LLVMGCC"
26920 if test -z "$LLVMGXX"; then
26921 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26922 LLVMGXXCOMMAND
="$LLVMGXX"
26929 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
26931 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
26936 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26937 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26950 if test "$GCC" != "yes" && test "$ICC" != "yes"
26952 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26953 echo "$as_me: error: gcc|icc required but not found" >&2;}
26954 { (exit 1); exit 1; }; }
26957 if test "$GXX" != "yes" && test "$IXX" != "yes"
26959 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26960 echo "$as_me: error: g++|icc required but not found" >&2;}
26961 { (exit 1); exit 1; }; }
26964 if test "$GCC" = "yes"
26966 cat >conftest.
$ac_ext <<_ACEOF
26967 #if !defined(__GNUC__) || __GNUC__ < 3
26968 #error Unsupported GCC version
26972 rm -f conftest.
$ac_objext
26973 if { (ac_try
="$ac_compile"
26974 case "(($ac_try" in
26975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26976 *) ac_try_echo=$ac_try;;
26978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26979 (eval "$ac_compile") 2>conftest.er1
26981 grep -v '^ *+' conftest.er1 >conftest.err
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26987 { (case "(($ac_try" in
26988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26989 *) ac_try_echo
=$ac_try;;
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_try") 2>&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); }; } &&
26996 { ac_try
='test -s conftest.$ac_objext'
26997 { (case "(($ac_try" in
26998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26999 *) ac_try_echo=$ac_try;;
27001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27002 (eval "$ac_try") 2>&5
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); }; }; then
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27011 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
27012 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
27013 { (exit 1); exit 1; }; }
27016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27019 if test -z "$llvm_cv_gnu_make_command"
27021 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
27022 echo "$as_me: error: GNU Make required but not found" >&2;}
27023 { (exit 1); exit 1; }; }
27026 { echo "$as_me:$LINENO: result: ok" >&5
27027 echo "${ECHO_T}ok" >&6; }
27031 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
27032 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
27033 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
27034 echo $ECHO_N "(cached) $ECHO_C" >&6
27036 ac_check_lib_save_LIBS=$LIBS
27038 cat >conftest.$ac_ext <<_ACEOF
27041 cat confdefs.h >>conftest.$ac_ext
27042 cat >>conftest.$ac_ext <<_ACEOF
27043 /* end confdefs.h. */
27045 /* Override any GCC internal prototype to avoid an error.
27046 Use char because int might match the return type of a GCC
27047 builtin and then its argument prototype would still apply. */
27055 return elf_begin ();
27060 rm -f conftest.$ac_objext conftest$ac_exeext
27061 if { (ac_try="$ac_link"
27062 case "(($ac_try" in
27063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27064 *) ac_try_echo
=$ac_try;;
27066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27067 (eval "$ac_link") 2>conftest.er1
27069 grep -v '^ *+' conftest.er1
>conftest.err
27071 cat conftest.err
>&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); } &&
27074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27075 { (case "(($ac_try" in
27076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27077 *) ac_try_echo=$ac_try;;
27079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_try") 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; } &&
27084 { ac_try='test -s conftest$ac_exeext'
27085 { (case "(($ac_try" in
27086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27087 *) ac_try_echo
=$ac_try;;
27089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27090 (eval "$ac_try") 2>&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; }; then
27094 ac_cv_lib_elf_elf_begin
=yes
27096 echo "$as_me: failed program was:" >&5
27097 sed 's/^/| /' conftest.
$ac_ext >&5
27099 ac_cv_lib_elf_elf_begin
=no
27102 rm -f core conftest.err conftest.
$ac_objext \
27103 conftest
$ac_exeext conftest.
$ac_ext
27104 LIBS
=$ac_check_lib_save_LIBS
27106 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
27107 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
27108 if test $ac_cv_lib_elf_elf_begin = yes; then
27109 cat >>confdefs.h
<<_ACEOF
27110 #define HAVE_LIBELF 1
27118 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27119 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27120 if test "${ac_cv_lib_m_sin+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27123 ac_check_lib_save_LIBS
=$LIBS
27125 cat >conftest.
$ac_ext <<_ACEOF
27128 cat confdefs.h
>>conftest.
$ac_ext
27129 cat >>conftest.
$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27132 /* Override any GCC internal prototype to avoid an error.
27133 Use char because int might match the return type of a GCC
27134 builtin and then its argument prototype would still apply. */
27147 rm -f conftest.
$ac_objext conftest
$ac_exeext
27148 if { (ac_try
="$ac_link"
27149 case "(($ac_try" in
27150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27151 *) ac_try_echo=$ac_try;;
27153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27154 (eval "$ac_link") 2>conftest.er1
27156 grep -v '^ *+' conftest.er1 >conftest.err
27158 cat conftest.err >&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); } &&
27161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27162 { (case "(($ac_try" in
27163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27164 *) ac_try_echo
=$ac_try;;
27166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27167 (eval "$ac_try") 2>&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); }; } &&
27171 { ac_try
='test -s conftest$ac_exeext'
27172 { (case "(($ac_try" in
27173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27174 *) ac_try_echo=$ac_try;;
27176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27177 (eval "$ac_try") 2>&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); }; }; then
27181 ac_cv_lib_m_sin=yes
27183 echo "$as_me: failed program was:" >&5
27184 sed 's/^/| /' conftest.$ac_ext >&5
27189 rm -f core conftest.err conftest.$ac_objext \
27190 conftest$ac_exeext conftest.$ac_ext
27191 LIBS=$ac_check_lib_save_LIBS
27193 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27194 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27195 if test $ac_cv_lib_m_sin = yes; then
27196 cat >>confdefs.h <<_ACEOF
27197 #define HAVE_LIBM 1
27204 if test "$llvm_cv_os_type" = "MingW" ; then
27206 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
27207 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
27208 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
27209 echo $ECHO_N "(cached) $ECHO_C" >&6
27211 ac_check_lib_save_LIBS=$LIBS
27212 LIBS="-limagehlp $LIBS"
27213 cat >conftest.$ac_ext <<_ACEOF
27216 cat confdefs.h >>conftest.$ac_ext
27217 cat >>conftest.$ac_ext <<_ACEOF
27218 /* end confdefs.h. */
27229 rm -f conftest.$ac_objext conftest$ac_exeext
27230 if { (ac_try="$ac_link"
27231 case "(($ac_try" in
27232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27233 *) ac_try_echo
=$ac_try;;
27235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27236 (eval "$ac_link") 2>conftest.er1
27238 grep -v '^ *+' conftest.er1
>conftest.err
27240 cat conftest.err
>&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); } &&
27243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27244 { (case "(($ac_try" in
27245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27246 *) ac_try_echo=$ac_try;;
27248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27249 (eval "$ac_try") 2>&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); }; } &&
27253 { ac_try='test -s conftest$ac_exeext'
27254 { (case "(($ac_try" in
27255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27256 *) ac_try_echo
=$ac_try;;
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_try") 2>&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); }; }; then
27263 ac_cv_lib_imagehlp_main
=yes
27265 echo "$as_me: failed program was:" >&5
27266 sed 's/^/| /' conftest.
$ac_ext >&5
27268 ac_cv_lib_imagehlp_main
=no
27271 rm -f core conftest.err conftest.
$ac_objext \
27272 conftest
$ac_exeext conftest.
$ac_ext
27273 LIBS
=$ac_check_lib_save_LIBS
27275 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27276 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27277 if test $ac_cv_lib_imagehlp_main = yes; then
27278 cat >>confdefs.h
<<_ACEOF
27279 #define HAVE_LIBIMAGEHLP 1
27282 LIBS
="-limagehlp $LIBS"
27287 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27288 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27289 if test "${ac_cv_lib_psapi_main+set}" = set; then
27290 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 ac_check_lib_save_LIBS
=$LIBS
27293 LIBS
="-lpsapi $LIBS"
27294 cat >conftest.
$ac_ext <<_ACEOF
27297 cat confdefs.h
>>conftest.
$ac_ext
27298 cat >>conftest.
$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27310 rm -f conftest.
$ac_objext conftest
$ac_exeext
27311 if { (ac_try
="$ac_link"
27312 case "(($ac_try" in
27313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27314 *) ac_try_echo=$ac_try;;
27316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27317 (eval "$ac_link") 2>conftest.er1
27319 grep -v '^ *+' conftest.er1 >conftest.err
27321 cat conftest.err >&5
27322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323 (exit $ac_status); } &&
27324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27325 { (case "(($ac_try" in
27326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27327 *) ac_try_echo
=$ac_try;;
27329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27330 (eval "$ac_try") 2>&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; } &&
27334 { ac_try
='test -s conftest$ac_exeext'
27335 { (case "(($ac_try" in
27336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27337 *) ac_try_echo=$ac_try;;
27339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27340 (eval "$ac_try") 2>&5
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); }; }; then
27344 ac_cv_lib_psapi_main=yes
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.$ac_ext >&5
27349 ac_cv_lib_psapi_main=no
27352 rm -f core conftest.err conftest.$ac_objext \
27353 conftest$ac_exeext conftest.$ac_ext
27354 LIBS=$ac_check_lib_save_LIBS
27356 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27357 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27358 if test $ac_cv_lib_psapi_main = yes; then
27359 cat >>confdefs.h <<_ACEOF
27360 #define HAVE_LIBPSAPI 1
27363 LIBS="-lpsapi $LIBS"
27369 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27370 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27371 if test "${ac_cv_search_dlopen+set}" = set; then
27372 echo $ECHO_N "(cached) $ECHO_C" >&6
27374 ac_func_search_save_LIBS=$LIBS
27375 cat >conftest.$ac_ext <<_ACEOF
27378 cat confdefs.h >>conftest.$ac_ext
27379 cat >>conftest.$ac_ext <<_ACEOF
27380 /* end confdefs.h. */
27382 /* Override any GCC internal prototype to avoid an error.
27383 Use char because int might match the return type of a GCC
27384 builtin and then its argument prototype would still apply. */
27397 for ac_lib in '' dl; do
27398 if test -z "$ac_lib"; then
27399 ac_res="none required"
27402 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27404 rm -f conftest.$ac_objext conftest$ac_exeext
27405 if { (ac_try="$ac_link"
27406 case "(($ac_try" in
27407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27408 *) ac_try_echo
=$ac_try;;
27410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27411 (eval "$ac_link") 2>conftest.er1
27413 grep -v '^ *+' conftest.er1
>conftest.err
27415 cat conftest.err
>&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } &&
27418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27419 { (case "(($ac_try" in
27420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27421 *) ac_try_echo=$ac_try;;
27423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27424 (eval "$ac_try") 2>&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); }; } &&
27428 { ac_try='test -s conftest$ac_exeext'
27429 { (case "(($ac_try" in
27430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27431 *) ac_try_echo
=$ac_try;;
27433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_try") 2>&5
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); }; }; then
27438 ac_cv_search_dlopen
=$ac_res
27440 echo "$as_me: failed program was:" >&5
27441 sed 's/^/| /' conftest.
$ac_ext >&5
27446 rm -f core conftest.err conftest.
$ac_objext \
27448 if test "${ac_cv_search_dlopen+set}" = set; then
27452 if test "${ac_cv_search_dlopen+set}" = set; then
27455 ac_cv_search_dlopen
=no
27457 rm conftest.
$ac_ext
27458 LIBS
=$ac_func_search_save_LIBS
27460 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27461 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27462 ac_res
=$ac_cv_search_dlopen
27463 if test "$ac_res" != no
; then
27464 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27466 cat >>confdefs.h
<<\_ACEOF
27467 #define HAVE_DLOPEN 1
27471 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27472 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27476 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
27477 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
27478 if test "${ac_cv_search_ffi_call+set}" = set; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27481 ac_func_search_save_LIBS
=$LIBS
27482 cat >conftest.
$ac_ext <<_ACEOF
27485 cat confdefs.h
>>conftest.
$ac_ext
27486 cat >>conftest.
$ac_ext <<_ACEOF
27487 /* end confdefs.h. */
27489 /* Override any GCC internal prototype to avoid an error.
27490 Use char because int might match the return type of a GCC
27491 builtin and then its argument prototype would still apply. */
27499 return ffi_call ();
27504 for ac_lib
in '' ffi
; do
27505 if test -z "$ac_lib"; then
27506 ac_res
="none required"
27509 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27511 rm -f conftest.
$ac_objext conftest
$ac_exeext
27512 if { (ac_try
="$ac_link"
27513 case "(($ac_try" in
27514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27515 *) ac_try_echo=$ac_try;;
27517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27518 (eval "$ac_link") 2>conftest.er1
27520 grep -v '^ *+' conftest.er1 >conftest.err
27522 cat conftest.err >&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); } &&
27525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27526 { (case "(($ac_try" in
27527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27528 *) ac_try_echo
=$ac_try;;
27530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27531 (eval "$ac_try") 2>&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); }; } &&
27535 { ac_try
='test -s conftest$ac_exeext'
27536 { (case "(($ac_try" in
27537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27538 *) ac_try_echo=$ac_try;;
27540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27541 (eval "$ac_try") 2>&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); }; }; then
27545 ac_cv_search_ffi_call=$ac_res
27547 echo "$as_me: failed program was:" >&5
27548 sed 's/^/| /' conftest.$ac_ext >&5
27553 rm -f core conftest.err conftest.$ac_objext \
27555 if test "${ac_cv_search_ffi_call+set}" = set; then
27559 if test "${ac_cv_search_ffi_call+set}" = set; then
27562 ac_cv_search_ffi_call=no
27564 rm conftest.$ac_ext
27565 LIBS=$ac_func_search_save_LIBS
27567 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
27568 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
27569 ac_res=$ac_cv_search_ffi_call
27570 if test "$ac_res" != no; then
27571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27573 cat >>confdefs.h <<\_ACEOF
27574 #define HAVE_FFI_CALL 1
27578 { echo "$as_me:$LINENO: WARNING: libffi not found - disabling external calls from interpreter" >&5
27579 echo "$as_me: WARNING: libffi not found - disabling external calls from interpreter" >&2;}
27583 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27584 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27585 if test "${ac_cv_search_mallinfo+set}" = set; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27588 ac_func_search_save_LIBS=$LIBS
27589 cat >conftest.$ac_ext <<_ACEOF
27592 cat confdefs.h >>conftest.$ac_ext
27593 cat >>conftest.$ac_ext <<_ACEOF
27594 /* end confdefs.h. */
27596 /* Override any GCC internal prototype to avoid an error.
27597 Use char because int might match the return type of a GCC
27598 builtin and then its argument prototype would still apply. */
27606 return mallinfo ();
27611 for ac_lib in '' malloc; do
27612 if test -z "$ac_lib"; then
27613 ac_res="none required"
27616 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27618 rm -f conftest.$ac_objext conftest$ac_exeext
27619 if { (ac_try="$ac_link"
27620 case "(($ac_try" in
27621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27622 *) ac_try_echo
=$ac_try;;
27624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27625 (eval "$ac_link") 2>conftest.er1
27627 grep -v '^ *+' conftest.er1
>conftest.err
27629 cat conftest.err
>&5
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); } &&
27632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27633 { (case "(($ac_try" in
27634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27635 *) ac_try_echo=$ac_try;;
27637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27638 (eval "$ac_try") 2>&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); }; } &&
27642 { ac_try='test -s conftest$ac_exeext'
27643 { (case "(($ac_try" in
27644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27645 *) ac_try_echo
=$ac_try;;
27647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27648 (eval "$ac_try") 2>&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); }; }; then
27652 ac_cv_search_mallinfo
=$ac_res
27654 echo "$as_me: failed program was:" >&5
27655 sed 's/^/| /' conftest.
$ac_ext >&5
27660 rm -f core conftest.err conftest.
$ac_objext \
27662 if test "${ac_cv_search_mallinfo+set}" = set; then
27666 if test "${ac_cv_search_mallinfo+set}" = set; then
27669 ac_cv_search_mallinfo
=no
27671 rm conftest.
$ac_ext
27672 LIBS
=$ac_func_search_save_LIBS
27674 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27675 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27676 ac_res
=$ac_cv_search_mallinfo
27677 if test "$ac_res" != no
; then
27678 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27680 cat >>confdefs.h
<<\_ACEOF
27681 #define HAVE_MALLINFO 1
27687 if test "$ENABLE_THREADS" -eq 1 ; then
27689 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27690 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27691 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 ac_check_lib_save_LIBS
=$LIBS
27695 LIBS
="-lpthread $LIBS"
27696 cat >conftest.
$ac_ext <<_ACEOF
27699 cat confdefs.h
>>conftest.
$ac_ext
27700 cat >>conftest.
$ac_ext <<_ACEOF
27701 /* end confdefs.h. */
27703 /* Override any GCC internal prototype to avoid an error.
27704 Use char because int might match the return type of a GCC
27705 builtin and then its argument prototype would still apply. */
27709 char pthread_mutex_init ();
27713 return pthread_mutex_init ();
27718 rm -f conftest.
$ac_objext conftest
$ac_exeext
27719 if { (ac_try
="$ac_link"
27720 case "(($ac_try" in
27721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27722 *) ac_try_echo=$ac_try;;
27724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27725 (eval "$ac_link") 2>conftest.er1
27727 grep -v '^ *+' conftest.er1 >conftest.err
27729 cat conftest.err >&5
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); } &&
27732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27733 { (case "(($ac_try" in
27734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27735 *) ac_try_echo
=$ac_try;;
27737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27738 (eval "$ac_try") 2>&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); }; } &&
27742 { ac_try
='test -s conftest$ac_exeext'
27743 { (case "(($ac_try" in
27744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27745 *) ac_try_echo=$ac_try;;
27747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27748 (eval "$ac_try") 2>&5
27750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27751 (exit $ac_status); }; }; then
27752 ac_cv_lib_pthread_pthread_mutex_init=yes
27754 echo "$as_me: failed program was:" >&5
27755 sed 's/^/| /' conftest.$ac_ext >&5
27757 ac_cv_lib_pthread_pthread_mutex_init=no
27760 rm -f core conftest.err conftest.$ac_objext \
27761 conftest$ac_exeext conftest.$ac_ext
27762 LIBS=$ac_check_lib_save_LIBS
27764 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27765 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27766 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27767 cat >>confdefs.h <<_ACEOF
27768 #define HAVE_LIBPTHREAD 1
27771 LIBS="-lpthread $LIBS"
27775 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27776 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27777 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27778 echo $ECHO_N "(cached) $ECHO_C" >&6
27780 ac_func_search_save_LIBS=$LIBS
27781 cat >conftest.$ac_ext <<_ACEOF
27784 cat confdefs.h >>conftest.$ac_ext
27785 cat >>conftest.$ac_ext <<_ACEOF
27786 /* end confdefs.h. */
27788 /* Override any GCC internal prototype to avoid an error.
27789 Use char because int might match the return type of a GCC
27790 builtin and then its argument prototype would still apply. */
27794 char pthread_mutex_lock ();
27798 return pthread_mutex_lock ();
27803 for ac_lib in '' pthread; do
27804 if test -z "$ac_lib"; then
27805 ac_res="none required"
27808 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27810 rm -f conftest.$ac_objext conftest$ac_exeext
27811 if { (ac_try="$ac_link"
27812 case "(($ac_try" in
27813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27814 *) ac_try_echo
=$ac_try;;
27816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27817 (eval "$ac_link") 2>conftest.er1
27819 grep -v '^ *+' conftest.er1
>conftest.err
27821 cat conftest.err
>&5
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); } &&
27824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27825 { (case "(($ac_try" in
27826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27827 *) ac_try_echo=$ac_try;;
27829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27830 (eval "$ac_try") 2>&5
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); }; } &&
27834 { ac_try='test -s conftest$ac_exeext'
27835 { (case "(($ac_try" in
27836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27837 *) ac_try_echo
=$ac_try;;
27839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27840 (eval "$ac_try") 2>&5
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); }; }; then
27844 ac_cv_search_pthread_mutex_lock
=$ac_res
27846 echo "$as_me: failed program was:" >&5
27847 sed 's/^/| /' conftest.
$ac_ext >&5
27852 rm -f core conftest.err conftest.
$ac_objext \
27854 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27858 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27861 ac_cv_search_pthread_mutex_lock
=no
27863 rm conftest.
$ac_ext
27864 LIBS
=$ac_func_search_save_LIBS
27866 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27867 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27868 ac_res
=$ac_cv_search_pthread_mutex_lock
27869 if test "$ac_res" != no
; then
27870 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27872 cat >>confdefs.h
<<\_ACEOF
27873 #define HAVE_PTHREAD_MUTEX_LOCK 1
27881 # Check whether --with-udis86 was given.
27882 if test "${with_udis86+set}" = set; then
27883 withval
=$with_udis86;
27888 *) LDFLAGS
="$LDFLAGS -L${withval}" ;;
27891 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27892 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27893 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27894 echo $ECHO_N "(cached) $ECHO_C" >&6
27896 ac_check_lib_save_LIBS
=$LIBS
27897 LIBS
="-ludis86 $LIBS"
27898 cat >conftest.
$ac_ext <<_ACEOF
27901 cat confdefs.h
>>conftest.
$ac_ext
27902 cat >>conftest.
$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27905 /* Override any GCC internal prototype to avoid an error.
27906 Use char because int might match the return type of a GCC
27907 builtin and then its argument prototype would still apply. */
27920 rm -f conftest.
$ac_objext conftest
$ac_exeext
27921 if { (ac_try
="$ac_link"
27922 case "(($ac_try" in
27923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27924 *) ac_try_echo=$ac_try;;
27926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27927 (eval "$ac_link") 2>conftest.er1
27929 grep -v '^ *+' conftest.er1 >conftest.err
27931 cat conftest.err >&5
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); } &&
27934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27935 { (case "(($ac_try" in
27936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27937 *) ac_try_echo
=$ac_try;;
27939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27940 (eval "$ac_try") 2>&5
27942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943 (exit $ac_status); }; } &&
27944 { ac_try
='test -s conftest$ac_exeext'
27945 { (case "(($ac_try" in
27946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27947 *) ac_try_echo=$ac_try;;
27949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27950 (eval "$ac_try") 2>&5
27952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27953 (exit $ac_status); }; }; then
27954 ac_cv_lib_udis86_ud_init=yes
27956 echo "$as_me: failed program was:" >&5
27957 sed 's/^/| /' conftest.$ac_ext >&5
27959 ac_cv_lib_udis86_ud_init=no
27962 rm -f core conftest.err conftest.$ac_objext \
27963 conftest$ac_exeext conftest.$ac_ext
27964 LIBS=$ac_check_lib_save_LIBS
27966 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27967 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27968 if test $ac_cv_lib_udis86_ud_init = yes; then
27969 cat >>confdefs.h <<_ACEOF
27970 #define HAVE_LIBUDIS86 1
27973 LIBS="-ludis86 $LIBS"
27977 echo "Error! You need to have libudis86 around."
27989 cat >>confdefs.h <<_ACEOF
27990 #define USE_UDIS86 $USE_UDIS86
28000 ac_header_dirent=no
28001 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
28002 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
28003 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
28004 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
28005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28006 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 cat >conftest.$ac_ext <<_ACEOF
28011 cat confdefs.h >>conftest.$ac_ext
28012 cat >>conftest.$ac_ext <<_ACEOF
28013 /* end confdefs.h. */
28014 #include <sys/types.h>
28026 rm -f conftest.$ac_objext
28027 if { (ac_try="$ac_compile"
28028 case "(($ac_try" in
28029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28030 *) ac_try_echo
=$ac_try;;
28032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_compile") 2>conftest.er1
28035 grep -v '^ *+' conftest.er1
>conftest.err
28037 cat conftest.err
>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } &&
28040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28041 { (case "(($ac_try" in
28042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28043 *) ac_try_echo=$ac_try;;
28045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28046 (eval "$ac_try") 2>&5
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); }; } &&
28050 { ac_try='test -s conftest.$ac_objext'
28051 { (case "(($ac_try" in
28052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28053 *) ac_try_echo
=$ac_try;;
28055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28056 (eval "$ac_try") 2>&5
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }; }; then
28060 eval "$as_ac_Header=yes"
28062 echo "$as_me: failed program was:" >&5
28063 sed 's/^/| /' conftest.
$ac_ext >&5
28065 eval "$as_ac_Header=no"
28068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28070 ac_res
=`eval echo '${'$as_ac_Header'}'`
28071 { echo "$as_me:$LINENO: result: $ac_res" >&5
28072 echo "${ECHO_T}$ac_res" >&6; }
28073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28074 cat >>confdefs.h
<<_ACEOF
28075 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
28078 ac_header_dirent
=$ac_hdr; break
28082 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
28083 if test $ac_header_dirent = dirent.h
; then
28084 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28085 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28086 if test "${ac_cv_search_opendir+set}" = set; then
28087 echo $ECHO_N "(cached) $ECHO_C" >&6
28089 ac_func_search_save_LIBS
=$LIBS
28090 cat >conftest.
$ac_ext <<_ACEOF
28093 cat confdefs.h
>>conftest.
$ac_ext
28094 cat >>conftest.
$ac_ext <<_ACEOF
28095 /* end confdefs.h. */
28097 /* Override any GCC internal prototype to avoid an error.
28098 Use char because int might match the return type of a GCC
28099 builtin and then its argument prototype would still apply. */
28112 for ac_lib
in '' dir
; do
28113 if test -z "$ac_lib"; then
28114 ac_res
="none required"
28117 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28119 rm -f conftest.
$ac_objext conftest
$ac_exeext
28120 if { (ac_try
="$ac_link"
28121 case "(($ac_try" in
28122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28123 *) ac_try_echo=$ac_try;;
28125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28126 (eval "$ac_link") 2>conftest.er1
28128 grep -v '^ *+' conftest.er1 >conftest.err
28130 cat conftest.err >&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } &&
28133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28134 { (case "(($ac_try" in
28135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28136 *) ac_try_echo
=$ac_try;;
28138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28139 (eval "$ac_try") 2>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; } &&
28143 { ac_try
='test -s conftest$ac_exeext'
28144 { (case "(($ac_try" in
28145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28146 *) ac_try_echo=$ac_try;;
28148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28149 (eval "$ac_try") 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; }; then
28153 ac_cv_search_opendir=$ac_res
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.$ac_ext >&5
28161 rm -f core conftest.err conftest.$ac_objext \
28163 if test "${ac_cv_search_opendir+set}" = set; then
28167 if test "${ac_cv_search_opendir+set}" = set; then
28170 ac_cv_search_opendir=no
28172 rm conftest.$ac_ext
28173 LIBS=$ac_func_search_save_LIBS
28175 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28176 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28177 ac_res=$ac_cv_search_opendir
28178 if test "$ac_res" != no; then
28179 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28184 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28185 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28186 if test "${ac_cv_search_opendir+set}" = set; then
28187 echo $ECHO_N "(cached) $ECHO_C" >&6
28189 ac_func_search_save_LIBS=$LIBS
28190 cat >conftest.$ac_ext <<_ACEOF
28193 cat confdefs.h >>conftest.$ac_ext
28194 cat >>conftest.$ac_ext <<_ACEOF
28195 /* end confdefs.h. */
28197 /* Override any GCC internal prototype to avoid an error.
28198 Use char because int might match the return type of a GCC
28199 builtin and then its argument prototype would still apply. */
28212 for ac_lib in '' x; do
28213 if test -z "$ac_lib"; then
28214 ac_res="none required"
28217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28219 rm -f conftest.$ac_objext conftest$ac_exeext
28220 if { (ac_try="$ac_link"
28221 case "(($ac_try" in
28222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28223 *) ac_try_echo
=$ac_try;;
28225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28226 (eval "$ac_link") 2>conftest.er1
28228 grep -v '^ *+' conftest.er1
>conftest.err
28230 cat conftest.err
>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); } &&
28233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28234 { (case "(($ac_try" in
28235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28236 *) ac_try_echo=$ac_try;;
28238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28239 (eval "$ac_try") 2>&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); }; } &&
28243 { ac_try='test -s conftest$ac_exeext'
28244 { (case "(($ac_try" in
28245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28246 *) ac_try_echo
=$ac_try;;
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_try") 2>&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; }; then
28253 ac_cv_search_opendir
=$ac_res
28255 echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.
$ac_ext >&5
28261 rm -f core conftest.err conftest.
$ac_objext \
28263 if test "${ac_cv_search_opendir+set}" = set; then
28267 if test "${ac_cv_search_opendir+set}" = set; then
28270 ac_cv_search_opendir
=no
28272 rm conftest.
$ac_ext
28273 LIBS
=$ac_func_search_save_LIBS
28275 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28276 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28277 ac_res
=$ac_cv_search_opendir
28278 if test "$ac_res" != no
; then
28279 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28285 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28286 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28287 if test "${ac_cv_header_mmap_anon+set}" = set; then
28288 echo $ECHO_N "(cached) $ECHO_C" >&6
28291 ac_cpp
='$CPP $CPPFLAGS'
28292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28296 cat >conftest.
$ac_ext <<_ACEOF
28299 cat confdefs.h
>>conftest.
$ac_ext
28300 cat >>conftest.
$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28302 #include <sys/mman.h>
28303 #include <unistd.h>
28308 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28313 rm -f conftest.
$ac_objext
28314 if { (ac_try
="$ac_compile"
28315 case "(($ac_try" in
28316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28317 *) ac_try_echo=$ac_try;;
28319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28320 (eval "$ac_compile") 2>conftest.er1
28322 grep -v '^ *+' conftest.er1 >conftest.err
28324 cat conftest.err >&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); } &&
28327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28328 { (case "(($ac_try" in
28329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28330 *) ac_try_echo
=$ac_try;;
28332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28333 (eval "$ac_try") 2>&5
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); }; } &&
28337 { ac_try
='test -s conftest.$ac_objext'
28338 { (case "(($ac_try" in
28339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28340 *) ac_try_echo=$ac_try;;
28342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28343 (eval "$ac_try") 2>&5
28345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28346 (exit $ac_status); }; }; then
28347 ac_cv_header_mmap_anon=yes
28349 echo "$as_me: failed program was:" >&5
28350 sed 's/^/| /' conftest.$ac_ext >&5
28352 ac_cv_header_mmap_anon=no
28355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28357 ac_cpp='$CPP $CPPFLAGS'
28358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28364 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28365 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28366 if test "$ac_cv_header_mmap_anon" = yes; then
28368 cat >>confdefs.h <<\_ACEOF
28369 #define HAVE_MMAP_ANONYMOUS 1
28374 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28375 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28376 if test "${ac_cv_header_stat_broken+set}" = set; then
28377 echo $ECHO_N "(cached) $ECHO_C" >&6
28379 cat >conftest.$ac_ext <<_ACEOF
28382 cat confdefs.h >>conftest.$ac_ext
28383 cat >>conftest.$ac_ext <<_ACEOF
28384 /* end confdefs.h. */
28385 #include <sys/types.h>
28386 #include <sys/stat.h>
28388 #if defined S_ISBLK && defined S_IFDIR
28389 # if S_ISBLK (S_IFDIR)
28394 #if defined S_ISBLK && defined S_IFCHR
28395 # if S_ISBLK (S_IFCHR)
28400 #if defined S_ISLNK && defined S_IFREG
28401 # if S_ISLNK (S_IFREG)
28406 #if defined S_ISSOCK && defined S_IFREG
28407 # if S_ISSOCK (S_IFREG)
28413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28414 $EGREP "You lose" >/dev/null 2>&1; then
28415 ac_cv_header_stat_broken=yes
28417 ac_cv_header_stat_broken=no
28422 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28423 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28424 if test $ac_cv_header_stat_broken = yes; then
28426 cat >>confdefs.h <<\_ACEOF
28427 #define STAT_MACROS_BROKEN 1
28432 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28433 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28434 if test "${ac_cv_header_stdc+set}" = set; then
28435 echo $ECHO_N "(cached) $ECHO_C" >&6
28437 cat >conftest.$ac_ext <<_ACEOF
28440 cat confdefs.h >>conftest.$ac_ext
28441 cat >>conftest.$ac_ext <<_ACEOF
28442 /* end confdefs.h. */
28443 #include <stdlib.h>
28444 #include <stdarg.h>
28445 #include <string.h>
28456 rm -f conftest.$ac_objext
28457 if { (ac_try="$ac_compile"
28458 case "(($ac_try" in
28459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28460 *) ac_try_echo
=$ac_try;;
28462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28463 (eval "$ac_compile") 2>conftest.er1
28465 grep -v '^ *+' conftest.er1
>conftest.err
28467 cat conftest.err
>&5
28468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469 (exit $ac_status); } &&
28470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28471 { (case "(($ac_try" in
28472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28473 *) ac_try_echo=$ac_try;;
28475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28476 (eval "$ac_try") 2>&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); }; } &&
28480 { ac_try='test -s conftest.$ac_objext'
28481 { (case "(($ac_try" in
28482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28483 *) ac_try_echo
=$ac_try;;
28485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28486 (eval "$ac_try") 2>&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); }; }; then
28490 ac_cv_header_stdc
=yes
28492 echo "$as_me: failed program was:" >&5
28493 sed 's/^/| /' conftest.
$ac_ext >&5
28495 ac_cv_header_stdc
=no
28498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28500 if test $ac_cv_header_stdc = yes; then
28501 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28502 cat >conftest.
$ac_ext <<_ACEOF
28505 cat confdefs.h
>>conftest.
$ac_ext
28506 cat >>conftest.
$ac_ext <<_ACEOF
28507 /* end confdefs.h. */
28508 #include <string.h>
28511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28512 $EGREP "memchr" >/dev
/null
2>&1; then
28515 ac_cv_header_stdc
=no
28521 if test $ac_cv_header_stdc = yes; then
28522 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28523 cat >conftest.
$ac_ext <<_ACEOF
28526 cat confdefs.h
>>conftest.
$ac_ext
28527 cat >>conftest.
$ac_ext <<_ACEOF
28528 /* end confdefs.h. */
28529 #include <stdlib.h>
28532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28533 $EGREP "free" >/dev
/null
2>&1; then
28536 ac_cv_header_stdc
=no
28542 if test $ac_cv_header_stdc = yes; then
28543 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28544 if test "$cross_compiling" = yes; then
28547 cat >conftest.
$ac_ext <<_ACEOF
28550 cat confdefs.h
>>conftest.
$ac_ext
28551 cat >>conftest.
$ac_ext <<_ACEOF
28552 /* end confdefs.h. */
28554 #include <stdlib.h>
28555 #if ((' ' & 0x0FF) == 0x020)
28556 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28557 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28559 # define ISLOWER(c) \
28560 (('a' <= (c) && (c) <= 'i') \
28561 || ('j' <= (c) && (c) <= 'r') \
28562 || ('s' <= (c) && (c) <= 'z'))
28563 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28566 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28571 for (i = 0; i < 256; i++)
28572 if (XOR (islower (i), ISLOWER (i))
28573 || toupper (i) != TOUPPER (i))
28578 rm -f conftest
$ac_exeext
28579 if { (ac_try
="$ac_link"
28580 case "(($ac_try" in
28581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28582 *) ac_try_echo=$ac_try;;
28584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28585 (eval "$ac_link") 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28589 { (case "(($ac_try" in
28590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28591 *) ac_try_echo
=$ac_try;;
28593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28594 (eval "$ac_try") 2>&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; }; then
28600 echo "$as_me: program exited with status $ac_status" >&5
28601 echo "$as_me: failed program was:" >&5
28602 sed 's/^/| /' conftest.
$ac_ext >&5
28604 ( exit $ac_status )
28605 ac_cv_header_stdc
=no
28607 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28613 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28614 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28615 if test $ac_cv_header_stdc = yes; then
28617 cat >>confdefs.h
<<\_ACEOF
28618 #define STDC_HEADERS 1
28623 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28624 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28625 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28626 echo $ECHO_N "(cached) $ECHO_C" >&6
28628 cat >conftest.
$ac_ext <<_ACEOF
28631 cat confdefs.h
>>conftest.
$ac_ext
28632 cat >>conftest.
$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28634 #include <sys/types.h>
28635 #include <sys/wait.h>
28636 #ifndef WEXITSTATUS
28637 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28640 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28648 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28653 rm -f conftest.
$ac_objext
28654 if { (ac_try
="$ac_compile"
28655 case "(($ac_try" in
28656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28657 *) ac_try_echo=$ac_try;;
28659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28660 (eval "$ac_compile") 2>conftest.er1
28662 grep -v '^ *+' conftest.er1 >conftest.err
28664 cat conftest.err >&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } &&
28667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28668 { (case "(($ac_try" in
28669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28670 *) ac_try_echo
=$ac_try;;
28672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28673 (eval "$ac_try") 2>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; } &&
28677 { ac_try
='test -s conftest.$ac_objext'
28678 { (case "(($ac_try" in
28679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28680 *) ac_try_echo=$ac_try;;
28682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28683 (eval "$ac_try") 2>&5
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; }; then
28687 ac_cv_header_sys_wait_h=yes
28689 echo "$as_me: failed program was:" >&5
28690 sed 's/^/| /' conftest.$ac_ext >&5
28692 ac_cv_header_sys_wait_h=no
28695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28697 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28698 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28699 if test $ac_cv_header_sys_wait_h = yes; then
28701 cat >>confdefs.h <<\_ACEOF
28702 #define HAVE_SYS_WAIT_H 1
28707 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28708 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28709 if test "${ac_cv_header_time+set}" = set; then
28710 echo $ECHO_N "(cached) $ECHO_C" >&6
28712 cat >conftest.$ac_ext <<_ACEOF
28715 cat confdefs.h >>conftest.$ac_ext
28716 cat >>conftest.$ac_ext <<_ACEOF
28717 /* end confdefs.h. */
28718 #include <sys/types.h>
28719 #include <sys/time.h>
28725 if ((struct tm *) 0)
28731 rm -f conftest.$ac_objext
28732 if { (ac_try="$ac_compile"
28733 case "(($ac_try" in
28734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28735 *) ac_try_echo
=$ac_try;;
28737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28738 (eval "$ac_compile") 2>conftest.er1
28740 grep -v '^ *+' conftest.er1
>conftest.err
28742 cat conftest.err
>&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } &&
28745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28746 { (case "(($ac_try" in
28747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28748 *) ac_try_echo=$ac_try;;
28750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28751 (eval "$ac_try") 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try='test -s conftest.$ac_objext'
28756 { (case "(($ac_try" in
28757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28758 *) ac_try_echo
=$ac_try;;
28760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28761 (eval "$ac_try") 2>&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); }; }; then
28765 ac_cv_header_time
=yes
28767 echo "$as_me: failed program was:" >&5
28768 sed 's/^/| /' conftest.
$ac_ext >&5
28770 ac_cv_header_time
=no
28773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28775 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28776 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28777 if test $ac_cv_header_time = yes; then
28779 cat >>confdefs.h
<<\_ACEOF
28780 #define TIME_WITH_SYS_TIME 1
28792 for ac_header
in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28794 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28795 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28796 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28798 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28799 echo $ECHO_N "(cached) $ECHO_C" >&6
28801 ac_res
=`eval echo '${'$as_ac_Header'}'`
28802 { echo "$as_me:$LINENO: result: $ac_res" >&5
28803 echo "${ECHO_T}$ac_res" >&6; }
28805 # Is the header compilable?
28806 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28808 cat >conftest.
$ac_ext <<_ACEOF
28811 cat confdefs.h
>>conftest.
$ac_ext
28812 cat >>conftest.
$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28814 $ac_includes_default
28815 #include <$ac_header>
28817 rm -f conftest.
$ac_objext
28818 if { (ac_try
="$ac_compile"
28819 case "(($ac_try" in
28820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28821 *) ac_try_echo=$ac_try;;
28823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28824 (eval "$ac_compile") 2>conftest.er1
28826 grep -v '^ *+' conftest.er1 >conftest.err
28828 cat conftest.err >&5
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); } &&
28831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28832 { (case "(($ac_try" in
28833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28834 *) ac_try_echo
=$ac_try;;
28836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28837 (eval "$ac_try") 2>&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; } &&
28841 { ac_try
='test -s conftest.$ac_objext'
28842 { (case "(($ac_try" in
28843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28844 *) ac_try_echo=$ac_try;;
28846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28847 (eval "$ac_try") 2>&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 ac_header_compiler=yes
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28856 ac_header_compiler=no
28859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28860 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28861 echo "${ECHO_T}$ac_header_compiler" >&6; }
28863 # Is the header present?
28864 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28866 cat >conftest.$ac_ext <<_ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28872 #include <$ac_header>
28874 if { (ac_try="$ac_cpp conftest.$ac_ext"
28875 case "(($ac_try" in
28876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28877 *) ac_try_echo
=$ac_try;;
28879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28882 grep -v '^ *+' conftest.er1
>conftest.err
28884 cat conftest.err
>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); } >/dev
/null
; then
28887 if test -s conftest.err
; then
28888 ac_cpp_err
=$ac_c_preproc_warn_flag
28889 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28896 if test -z "$ac_cpp_err"; then
28897 ac_header_preproc
=yes
28899 echo "$as_me: failed program was:" >&5
28900 sed 's/^/| /' conftest.
$ac_ext >&5
28902 ac_header_preproc
=no
28905 rm -f conftest.err conftest.
$ac_ext
28906 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28907 echo "${ECHO_T}$ac_header_preproc" >&6; }
28909 # So? What about this header?
28910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28912 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28915 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28916 ac_header_preproc
=yes
28919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28923 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28924 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28925 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28926 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28929 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28930 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28932 ## ----------------------------------- ##
28933 ## Report this to llvmbugs@cs.uiuc.edu ##
28934 ## ----------------------------------- ##
28936 ) |
sed "s/^/$as_me: WARNING: /" >&2
28939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28941 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28942 echo $ECHO_N "(cached) $ECHO_C" >&6
28944 eval "$as_ac_Header=\$ac_header_preproc"
28946 ac_res
=`eval echo '${'$as_ac_Header'}'`
28947 { echo "$as_me:$LINENO: result: $ac_res" >&5
28948 echo "${ECHO_T}$ac_res" >&6; }
28951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28952 cat >>confdefs.h
<<_ACEOF
28953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28966 for ac_header
in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28968 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28969 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28970 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28972 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28973 echo $ECHO_N "(cached) $ECHO_C" >&6
28975 ac_res
=`eval echo '${'$as_ac_Header'}'`
28976 { echo "$as_me:$LINENO: result: $ac_res" >&5
28977 echo "${ECHO_T}$ac_res" >&6; }
28979 # Is the header compilable?
28980 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28982 cat >conftest.
$ac_ext <<_ACEOF
28985 cat confdefs.h
>>conftest.
$ac_ext
28986 cat >>conftest.
$ac_ext <<_ACEOF
28987 /* end confdefs.h. */
28988 $ac_includes_default
28989 #include <$ac_header>
28991 rm -f conftest.
$ac_objext
28992 if { (ac_try
="$ac_compile"
28993 case "(($ac_try" in
28994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28995 *) ac_try_echo=$ac_try;;
28997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28998 (eval "$ac_compile") 2>conftest.er1
29000 grep -v '^ *+' conftest.er1 >conftest.err
29002 cat conftest.err >&5
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); } &&
29005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29006 { (case "(($ac_try" in
29007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29008 *) ac_try_echo
=$ac_try;;
29010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29011 (eval "$ac_try") 2>&5
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); }; } &&
29015 { ac_try
='test -s conftest.$ac_objext'
29016 { (case "(($ac_try" in
29017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29018 *) ac_try_echo=$ac_try;;
29020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29021 (eval "$ac_try") 2>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; }; then
29025 ac_header_compiler=yes
29027 echo "$as_me: failed program was:" >&5
29028 sed 's/^/| /' conftest.$ac_ext >&5
29030 ac_header_compiler=no
29033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29034 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29035 echo "${ECHO_T}$ac_header_compiler" >&6; }
29037 # Is the header present?
29038 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29040 cat >conftest.$ac_ext <<_ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 #include <$ac_header>
29048 if { (ac_try="$ac_cpp conftest.$ac_ext"
29049 case "(($ac_try" in
29050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29051 *) ac_try_echo
=$ac_try;;
29053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29056 grep -v '^ *+' conftest.er1
>conftest.err
29058 cat conftest.err
>&5
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); } >/dev
/null
; then
29061 if test -s conftest.err
; then
29062 ac_cpp_err
=$ac_c_preproc_warn_flag
29063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29070 if test -z "$ac_cpp_err"; then
29071 ac_header_preproc
=yes
29073 echo "$as_me: failed program was:" >&5
29074 sed 's/^/| /' conftest.
$ac_ext >&5
29076 ac_header_preproc
=no
29079 rm -f conftest.err conftest.
$ac_ext
29080 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29081 echo "${ECHO_T}$ac_header_preproc" >&6; }
29083 # So? What about this header?
29084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29090 ac_header_preproc
=yes
29093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29106 ## ----------------------------------- ##
29107 ## Report this to llvmbugs@cs.uiuc.edu ##
29108 ## ----------------------------------- ##
29110 ) |
sed "s/^/$as_me: WARNING: /" >&2
29113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29115 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 eval "$as_ac_Header=\$ac_header_preproc"
29120 ac_res
=`eval echo '${'$as_ac_Header'}'`
29121 { echo "$as_me:$LINENO: result: $ac_res" >&5
29122 echo "${ECHO_T}$ac_res" >&6; }
29125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29126 cat >>confdefs.h
<<_ACEOF
29127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29135 for ac_header
in windows.h
29137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29138 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29139 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29141 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29142 echo $ECHO_N "(cached) $ECHO_C" >&6
29144 ac_res
=`eval echo '${'$as_ac_Header'}'`
29145 { echo "$as_me:$LINENO: result: $ac_res" >&5
29146 echo "${ECHO_T}$ac_res" >&6; }
29148 # Is the header compilable?
29149 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29151 cat >conftest.
$ac_ext <<_ACEOF
29154 cat confdefs.h
>>conftest.
$ac_ext
29155 cat >>conftest.
$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29157 $ac_includes_default
29158 #include <$ac_header>
29160 rm -f conftest.
$ac_objext
29161 if { (ac_try
="$ac_compile"
29162 case "(($ac_try" in
29163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29164 *) ac_try_echo=$ac_try;;
29166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29167 (eval "$ac_compile") 2>conftest.er1
29169 grep -v '^ *+' conftest.er1 >conftest.err
29171 cat conftest.err >&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); } &&
29174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29175 { (case "(($ac_try" in
29176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29177 *) ac_try_echo
=$ac_try;;
29179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29180 (eval "$ac_try") 2>&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; } &&
29184 { ac_try
='test -s conftest.$ac_objext'
29185 { (case "(($ac_try" in
29186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29187 *) ac_try_echo=$ac_try;;
29189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29190 (eval "$ac_try") 2>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); }; }; then
29194 ac_header_compiler=yes
29196 echo "$as_me: failed program was:" >&5
29197 sed 's/^/| /' conftest.$ac_ext >&5
29199 ac_header_compiler=no
29202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29203 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29204 echo "${ECHO_T}$ac_header_compiler" >&6; }
29206 # Is the header present?
29207 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29209 cat >conftest.$ac_ext <<_ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29215 #include <$ac_header>
29217 if { (ac_try="$ac_cpp conftest.$ac_ext"
29218 case "(($ac_try" in
29219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29220 *) ac_try_echo
=$ac_try;;
29222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29225 grep -v '^ *+' conftest.er1
>conftest.err
29227 cat conftest.err
>&5
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); } >/dev
/null
; then
29230 if test -s conftest.err
; then
29231 ac_cpp_err
=$ac_c_preproc_warn_flag
29232 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29239 if test -z "$ac_cpp_err"; then
29240 ac_header_preproc
=yes
29242 echo "$as_me: failed program was:" >&5
29243 sed 's/^/| /' conftest.
$ac_ext >&5
29245 ac_header_preproc
=no
29248 rm -f conftest.err conftest.
$ac_ext
29249 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29250 echo "${ECHO_T}$ac_header_preproc" >&6; }
29252 # So? What about this header?
29253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29259 ac_header_preproc
=yes
29262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29275 ## ----------------------------------- ##
29276 ## Report this to llvmbugs@cs.uiuc.edu ##
29277 ## ----------------------------------- ##
29279 ) |
sed "s/^/$as_me: WARNING: /" >&2
29282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29284 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 eval "$as_ac_Header=\$ac_header_preproc"
29289 ac_res
=`eval echo '${'$as_ac_Header'}'`
29290 { echo "$as_me:$LINENO: result: $ac_res" >&5
29291 echo "${ECHO_T}$ac_res" >&6; }
29294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29295 cat >>confdefs.h
<<_ACEOF
29296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29307 for ac_header
in sys
/mman.h sys
/param.h sys
/resource.h sys
/time.h
29309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29310 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29311 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29313 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29316 ac_res
=`eval echo '${'$as_ac_Header'}'`
29317 { echo "$as_me:$LINENO: result: $ac_res" >&5
29318 echo "${ECHO_T}$ac_res" >&6; }
29320 # Is the header compilable?
29321 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29322 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29323 cat >conftest.
$ac_ext <<_ACEOF
29326 cat confdefs.h
>>conftest.
$ac_ext
29327 cat >>conftest.
$ac_ext <<_ACEOF
29328 /* end confdefs.h. */
29329 $ac_includes_default
29330 #include <$ac_header>
29332 rm -f conftest.
$ac_objext
29333 if { (ac_try
="$ac_compile"
29334 case "(($ac_try" in
29335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29336 *) ac_try_echo=$ac_try;;
29338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29339 (eval "$ac_compile") 2>conftest.er1
29341 grep -v '^ *+' conftest.er1 >conftest.err
29343 cat conftest.err >&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); } &&
29346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29347 { (case "(($ac_try" in
29348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29349 *) ac_try_echo
=$ac_try;;
29351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29352 (eval "$ac_try") 2>&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; } &&
29356 { ac_try
='test -s conftest.$ac_objext'
29357 { (case "(($ac_try" in
29358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29359 *) ac_try_echo=$ac_try;;
29361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29362 (eval "$ac_try") 2>&5
29364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365 (exit $ac_status); }; }; then
29366 ac_header_compiler=yes
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29371 ac_header_compiler=no
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29376 echo "${ECHO_T}$ac_header_compiler" >&6; }
29378 # Is the header present?
29379 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29381 cat >conftest.$ac_ext <<_ACEOF
29384 cat confdefs.h >>conftest.$ac_ext
29385 cat >>conftest.$ac_ext <<_ACEOF
29386 /* end confdefs.h. */
29387 #include <$ac_header>
29389 if { (ac_try="$ac_cpp conftest.$ac_ext"
29390 case "(($ac_try" in
29391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29392 *) ac_try_echo
=$ac_try;;
29394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29397 grep -v '^ *+' conftest.er1
>conftest.err
29399 cat conftest.err
>&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); } >/dev
/null
; then
29402 if test -s conftest.err
; then
29403 ac_cpp_err
=$ac_c_preproc_warn_flag
29404 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29411 if test -z "$ac_cpp_err"; then
29412 ac_header_preproc
=yes
29414 echo "$as_me: failed program was:" >&5
29415 sed 's/^/| /' conftest.
$ac_ext >&5
29417 ac_header_preproc
=no
29420 rm -f conftest.err conftest.
$ac_ext
29421 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29422 echo "${ECHO_T}$ac_header_preproc" >&6; }
29424 # So? What about this header?
29425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29430 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29431 ac_header_preproc
=yes
29434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29438 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29439 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29440 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29441 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29443 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29444 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29445 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29447 ## ----------------------------------- ##
29448 ## Report this to llvmbugs@cs.uiuc.edu ##
29449 ## ----------------------------------- ##
29451 ) |
sed "s/^/$as_me: WARNING: /" >&2
29454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29456 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29457 echo $ECHO_N "(cached) $ECHO_C" >&6
29459 eval "$as_ac_Header=\$ac_header_preproc"
29461 ac_res
=`eval echo '${'$as_ac_Header'}'`
29462 { echo "$as_me:$LINENO: result: $ac_res" >&5
29463 echo "${ECHO_T}$ac_res" >&6; }
29466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29467 cat >>confdefs.h
<<_ACEOF
29468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29479 for ac_header
in sys
/types.h sys
/ioctl.h malloc
/malloc.h mach
/mach.h
29481 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29482 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29485 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29486 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 ac_res
=`eval echo '${'$as_ac_Header'}'`
29489 { echo "$as_me:$LINENO: result: $ac_res" >&5
29490 echo "${ECHO_T}$ac_res" >&6; }
29492 # Is the header compilable?
29493 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29495 cat >conftest.
$ac_ext <<_ACEOF
29498 cat confdefs.h
>>conftest.
$ac_ext
29499 cat >>conftest.
$ac_ext <<_ACEOF
29500 /* end confdefs.h. */
29501 $ac_includes_default
29502 #include <$ac_header>
29504 rm -f conftest.
$ac_objext
29505 if { (ac_try
="$ac_compile"
29506 case "(($ac_try" in
29507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29508 *) ac_try_echo=$ac_try;;
29510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29511 (eval "$ac_compile") 2>conftest.er1
29513 grep -v '^ *+' conftest.er1 >conftest.err
29515 cat conftest.err >&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); } &&
29518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29519 { (case "(($ac_try" in
29520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29521 *) ac_try_echo
=$ac_try;;
29523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29524 (eval "$ac_try") 2>&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); }; } &&
29528 { ac_try
='test -s conftest.$ac_objext'
29529 { (case "(($ac_try" in
29530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29531 *) ac_try_echo=$ac_try;;
29533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29534 (eval "$ac_try") 2>&5
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; }; then
29538 ac_header_compiler=yes
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.$ac_ext >&5
29543 ac_header_compiler=no
29546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29547 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29548 echo "${ECHO_T}$ac_header_compiler" >&6; }
29550 # Is the header present?
29551 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29553 cat >conftest.$ac_ext <<_ACEOF
29556 cat confdefs.h >>conftest.$ac_ext
29557 cat >>conftest.$ac_ext <<_ACEOF
29558 /* end confdefs.h. */
29559 #include <$ac_header>
29561 if { (ac_try="$ac_cpp conftest.$ac_ext"
29562 case "(($ac_try" in
29563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29564 *) ac_try_echo
=$ac_try;;
29566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29569 grep -v '^ *+' conftest.er1
>conftest.err
29571 cat conftest.err
>&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); } >/dev
/null
; then
29574 if test -s conftest.err
; then
29575 ac_cpp_err
=$ac_c_preproc_warn_flag
29576 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29583 if test -z "$ac_cpp_err"; then
29584 ac_header_preproc
=yes
29586 echo "$as_me: failed program was:" >&5
29587 sed 's/^/| /' conftest.
$ac_ext >&5
29589 ac_header_preproc
=no
29592 rm -f conftest.err conftest.
$ac_ext
29593 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29594 echo "${ECHO_T}$ac_header_preproc" >&6; }
29596 # So? What about this header?
29597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29603 ac_header_preproc
=yes
29606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29619 ## ----------------------------------- ##
29620 ## Report this to llvmbugs@cs.uiuc.edu ##
29621 ## ----------------------------------- ##
29623 ) |
sed "s/^/$as_me: WARNING: /" >&2
29626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29628 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29629 echo $ECHO_N "(cached) $ECHO_C" >&6
29631 eval "$as_ac_Header=\$ac_header_preproc"
29633 ac_res
=`eval echo '${'$as_ac_Header'}'`
29634 { echo "$as_me:$LINENO: result: $ac_res" >&5
29635 echo "${ECHO_T}$ac_res" >&6; }
29638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29639 cat >>confdefs.h
<<_ACEOF
29640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29647 if test "$ENABLE_THREADS" -eq 1 ; then
29649 for ac_header
in pthread.h
29651 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29652 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29653 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29655 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29656 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 ac_res
=`eval echo '${'$as_ac_Header'}'`
29659 { echo "$as_me:$LINENO: result: $ac_res" >&5
29660 echo "${ECHO_T}$ac_res" >&6; }
29662 # Is the header compilable?
29663 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29665 cat >conftest.
$ac_ext <<_ACEOF
29668 cat confdefs.h
>>conftest.
$ac_ext
29669 cat >>conftest.
$ac_ext <<_ACEOF
29670 /* end confdefs.h. */
29671 $ac_includes_default
29672 #include <$ac_header>
29674 rm -f conftest.
$ac_objext
29675 if { (ac_try
="$ac_compile"
29676 case "(($ac_try" in
29677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29678 *) ac_try_echo=$ac_try;;
29680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29681 (eval "$ac_compile") 2>conftest.er1
29683 grep -v '^ *+' conftest.er1 >conftest.err
29685 cat conftest.err >&5
29686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29687 (exit $ac_status); } &&
29688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29689 { (case "(($ac_try" in
29690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29691 *) ac_try_echo
=$ac_try;;
29693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29694 (eval "$ac_try") 2>&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); }; } &&
29698 { ac_try
='test -s conftest.$ac_objext'
29699 { (case "(($ac_try" in
29700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29701 *) ac_try_echo=$ac_try;;
29703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29704 (eval "$ac_try") 2>&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; }; then
29708 ac_header_compiler=yes
29710 echo "$as_me: failed program was:" >&5
29711 sed 's/^/| /' conftest.$ac_ext >&5
29713 ac_header_compiler=no
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29718 echo "${ECHO_T}$ac_header_compiler" >&6; }
29720 # Is the header present?
29721 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29723 cat >conftest.$ac_ext <<_ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729 #include <$ac_header>
29731 if { (ac_try="$ac_cpp conftest.$ac_ext"
29732 case "(($ac_try" in
29733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29734 *) ac_try_echo
=$ac_try;;
29736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29739 grep -v '^ *+' conftest.er1
>conftest.err
29741 cat conftest.err
>&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); } >/dev
/null
; then
29744 if test -s conftest.err
; then
29745 ac_cpp_err
=$ac_c_preproc_warn_flag
29746 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29753 if test -z "$ac_cpp_err"; then
29754 ac_header_preproc
=yes
29756 echo "$as_me: failed program was:" >&5
29757 sed 's/^/| /' conftest.
$ac_ext >&5
29759 ac_header_preproc
=no
29762 rm -f conftest.err conftest.
$ac_ext
29763 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29764 echo "${ECHO_T}$ac_header_preproc" >&6; }
29766 # So? What about this header?
29767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29773 ac_header_preproc
=yes
29776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29789 ## ----------------------------------- ##
29790 ## Report this to llvmbugs@cs.uiuc.edu ##
29791 ## ----------------------------------- ##
29793 ) |
sed "s/^/$as_me: WARNING: /" >&2
29796 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29798 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29799 echo $ECHO_N "(cached) $ECHO_C" >&6
29801 eval "$as_ac_Header=\$ac_header_preproc"
29803 ac_res
=`eval echo '${'$as_ac_Header'}'`
29804 { echo "$as_me:$LINENO: result: $ac_res" >&5
29805 echo "${ECHO_T}$ac_res" >&6; }
29808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29809 cat >>confdefs.h
<<_ACEOF
29810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29828 for ac_header
in ffi.h ffi
/ffi.h
29830 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29831 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29834 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29835 echo $ECHO_N "(cached) $ECHO_C" >&6
29837 ac_res
=`eval echo '${'$as_ac_Header'}'`
29838 { echo "$as_me:$LINENO: result: $ac_res" >&5
29839 echo "${ECHO_T}$ac_res" >&6; }
29841 # Is the header compilable?
29842 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29844 cat >conftest.
$ac_ext <<_ACEOF
29847 cat confdefs.h
>>conftest.
$ac_ext
29848 cat >>conftest.
$ac_ext <<_ACEOF
29849 /* end confdefs.h. */
29850 $ac_includes_default
29851 #include <$ac_header>
29853 rm -f conftest.
$ac_objext
29854 if { (ac_try
="$ac_compile"
29855 case "(($ac_try" in
29856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29857 *) ac_try_echo=$ac_try;;
29859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29860 (eval "$ac_compile") 2>conftest.er1
29862 grep -v '^ *+' conftest.er1 >conftest.err
29864 cat conftest.err >&5
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); } &&
29867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29868 { (case "(($ac_try" in
29869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29870 *) ac_try_echo
=$ac_try;;
29872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29873 (eval "$ac_try") 2>&5
29875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876 (exit $ac_status); }; } &&
29877 { ac_try
='test -s conftest.$ac_objext'
29878 { (case "(($ac_try" in
29879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29880 *) ac_try_echo=$ac_try;;
29882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29883 (eval "$ac_try") 2>&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; }; then
29887 ac_header_compiler=yes
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.$ac_ext >&5
29892 ac_header_compiler=no
29895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29896 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29897 echo "${ECHO_T}$ac_header_compiler" >&6; }
29899 # Is the header present?
29900 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29902 cat >conftest.$ac_ext <<_ACEOF
29905 cat confdefs.h >>conftest.$ac_ext
29906 cat >>conftest.$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29908 #include <$ac_header>
29910 if { (ac_try="$ac_cpp conftest.$ac_ext"
29911 case "(($ac_try" in
29912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29913 *) ac_try_echo
=$ac_try;;
29915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29918 grep -v '^ *+' conftest.er1
>conftest.err
29920 cat conftest.err
>&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } >/dev
/null
; then
29923 if test -s conftest.err
; then
29924 ac_cpp_err
=$ac_c_preproc_warn_flag
29925 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29932 if test -z "$ac_cpp_err"; then
29933 ac_header_preproc
=yes
29935 echo "$as_me: failed program was:" >&5
29936 sed 's/^/| /' conftest.
$ac_ext >&5
29938 ac_header_preproc
=no
29941 rm -f conftest.err conftest.
$ac_ext
29942 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29943 echo "${ECHO_T}$ac_header_preproc" >&6; }
29945 # So? What about this header?
29946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29952 ac_header_preproc
=yes
29955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29968 ## ----------------------------------- ##
29969 ## Report this to llvmbugs@cs.uiuc.edu ##
29970 ## ----------------------------------- ##
29972 ) |
sed "s/^/$as_me: WARNING: /" >&2
29975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29977 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29978 echo $ECHO_N "(cached) $ECHO_C" >&6
29980 eval "$as_ac_Header=\$ac_header_preproc"
29982 ac_res
=`eval echo '${'$as_ac_Header'}'`
29983 { echo "$as_me:$LINENO: result: $ac_res" >&5
29984 echo "${ECHO_T}$ac_res" >&6; }
29987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29988 cat >>confdefs.h
<<_ACEOF
29989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29999 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
30000 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
30001 if test "${ac_cv_huge_val_sanity+set}" = set; then
30002 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 ac_cpp
='$CXXCPP $CPPFLAGS'
30007 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30008 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30009 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30012 if test "$cross_compiling" = yes; then
30013 ac_cv_huge_val_sanity
=yes
30015 cat >conftest.
$ac_ext <<_ACEOF
30018 cat confdefs.h
>>conftest.
$ac_ext
30019 cat >>conftest.
$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30025 double x = HUGE_VAL; return x != x;
30030 rm -f conftest
$ac_exeext
30031 if { (ac_try
="$ac_link"
30032 case "(($ac_try" in
30033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30034 *) ac_try_echo=$ac_try;;
30036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30037 (eval "$ac_link") 2>&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30041 { (case "(($ac_try" in
30042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30043 *) ac_try_echo
=$ac_try;;
30045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30046 (eval "$ac_try") 2>&5
30048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30049 (exit $ac_status); }; }; then
30050 ac_cv_huge_val_sanity
=yes
30052 echo "$as_me: program exited with status $ac_status" >&5
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.
$ac_ext >&5
30056 ( exit $ac_status )
30057 ac_cv_huge_val_sanity
=no
30059 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30064 ac_cpp
='$CPP $CPPFLAGS'
30065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30071 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
30072 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
30073 HUGE_VAL_SANITY
=$ac_cv_huge_val_sanity
30076 { echo "$as_me:$LINENO: checking for pid_t" >&5
30077 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
30078 if test "${ac_cv_type_pid_t+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30081 cat >conftest.
$ac_ext <<_ACEOF
30084 cat confdefs.h
>>conftest.
$ac_ext
30085 cat >>conftest.
$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30087 $ac_includes_default
30088 typedef pid_t ac__type_new_;
30092 if ((ac__type_new_ *) 0)
30094 if (sizeof (ac__type_new_))
30100 rm -f conftest.
$ac_objext
30101 if { (ac_try
="$ac_compile"
30102 case "(($ac_try" in
30103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30104 *) ac_try_echo=$ac_try;;
30106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30107 (eval "$ac_compile") 2>conftest.er1
30109 grep -v '^ *+' conftest.er1 >conftest.err
30111 cat conftest.err >&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); } &&
30114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30115 { (case "(($ac_try" in
30116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30117 *) ac_try_echo
=$ac_try;;
30119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30120 (eval "$ac_try") 2>&5
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; } &&
30124 { ac_try
='test -s conftest.$ac_objext'
30125 { (case "(($ac_try" in
30126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30127 *) ac_try_echo=$ac_try;;
30129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30130 (eval "$ac_try") 2>&5
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); }; }; then
30134 ac_cv_type_pid_t=yes
30136 echo "$as_me: failed program was:" >&5
30137 sed 's/^/| /' conftest.$ac_ext >&5
30139 ac_cv_type_pid_t=no
30142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30145 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
30146 if test $ac_cv_type_pid_t = yes; then
30150 cat >>confdefs.h <<_ACEOF
30156 { echo "$as_me:$LINENO: checking for size_t" >&5
30157 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
30158 if test "${ac_cv_type_size_t+set}" = set; then
30159 echo $ECHO_N "(cached) $ECHO_C" >&6
30161 cat >conftest.$ac_ext <<_ACEOF
30164 cat confdefs.h >>conftest.$ac_ext
30165 cat >>conftest.$ac_ext <<_ACEOF
30166 /* end confdefs.h. */
30167 $ac_includes_default
30168 typedef size_t ac__type_new_;
30172 if ((ac__type_new_ *) 0)
30174 if (sizeof (ac__type_new_))
30180 rm -f conftest.$ac_objext
30181 if { (ac_try="$ac_compile"
30182 case "(($ac_try" in
30183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30184 *) ac_try_echo
=$ac_try;;
30186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30187 (eval "$ac_compile") 2>conftest.er1
30189 grep -v '^ *+' conftest.er1
>conftest.err
30191 cat conftest.err
>&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); } &&
30194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30195 { (case "(($ac_try" in
30196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30197 *) ac_try_echo=$ac_try;;
30199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30200 (eval "$ac_try") 2>&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; } &&
30204 { ac_try='test -s conftest.$ac_objext'
30205 { (case "(($ac_try" in
30206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30207 *) ac_try_echo
=$ac_try;;
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_try") 2>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; }; then
30214 ac_cv_type_size_t
=yes
30216 echo "$as_me: failed program was:" >&5
30217 sed 's/^/| /' conftest.
$ac_ext >&5
30219 ac_cv_type_size_t
=no
30222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30224 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30225 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
30226 if test $ac_cv_type_size_t = yes; then
30230 cat >>confdefs.h
<<_ACEOF
30231 #define size_t unsigned int
30236 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
30237 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
30238 if test "${ac_cv_type_signal+set}" = set; then
30239 echo $ECHO_N "(cached) $ECHO_C" >&6
30241 cat >conftest.
$ac_ext <<_ACEOF
30244 cat confdefs.h
>>conftest.
$ac_ext
30245 cat >>conftest.
$ac_ext <<_ACEOF
30246 /* end confdefs.h. */
30247 #include <sys/types.h>
30248 #include <signal.h>
30253 return *(signal (0, 0)) (0) == 1;
30258 rm -f conftest.
$ac_objext
30259 if { (ac_try
="$ac_compile"
30260 case "(($ac_try" in
30261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30262 *) ac_try_echo=$ac_try;;
30264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30265 (eval "$ac_compile") 2>conftest.er1
30267 grep -v '^ *+' conftest.er1 >conftest.err
30269 cat conftest.err >&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); } &&
30272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30273 { (case "(($ac_try" in
30274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30275 *) ac_try_echo
=$ac_try;;
30277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30278 (eval "$ac_try") 2>&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); }; } &&
30282 { ac_try
='test -s conftest.$ac_objext'
30283 { (case "(($ac_try" in
30284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30285 *) ac_try_echo=$ac_try;;
30287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30288 (eval "$ac_try") 2>&5
30290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30291 (exit $ac_status); }; }; then
30292 ac_cv_type_signal=int
30294 echo "$as_me: failed program was:" >&5
30295 sed 's/^/| /' conftest.$ac_ext >&5
30297 ac_cv_type_signal=void
30300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30302 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
30303 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
30305 cat >>confdefs.h <<_ACEOF
30306 #define RETSIGTYPE $ac_cv_type_signal
30310 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
30311 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
30312 if test "${ac_cv_struct_tm+set}" = set; then
30313 echo $ECHO_N "(cached) $ECHO_C" >&6
30315 cat >conftest.$ac_ext <<_ACEOF
30318 cat confdefs.h >>conftest.$ac_ext
30319 cat >>conftest.$ac_ext <<_ACEOF
30320 /* end confdefs.h. */
30321 #include <sys/types.h>
30327 struct tm *tp; tp->tm_sec;
30332 rm -f conftest.$ac_objext
30333 if { (ac_try="$ac_compile"
30334 case "(($ac_try" in
30335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30336 *) ac_try_echo
=$ac_try;;
30338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30339 (eval "$ac_compile") 2>conftest.er1
30341 grep -v '^ *+' conftest.er1
>conftest.err
30343 cat conftest.err
>&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } &&
30346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30347 { (case "(($ac_try" in
30348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30349 *) ac_try_echo=$ac_try;;
30351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30352 (eval "$ac_try") 2>&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; } &&
30356 { ac_try='test -s conftest.$ac_objext'
30357 { (case "(($ac_try" in
30358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30359 *) ac_try_echo
=$ac_try;;
30361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30362 (eval "$ac_try") 2>&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; }; then
30366 ac_cv_struct_tm
=time.h
30368 echo "$as_me: failed program was:" >&5
30369 sed 's/^/| /' conftest.
$ac_ext >&5
30371 ac_cv_struct_tm
=sys
/time.h
30374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30376 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
30377 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
30378 if test $ac_cv_struct_tm = sys
/time.h
; then
30380 cat >>confdefs.h
<<\_ACEOF
30381 #define TM_IN_SYS_TIME 1
30386 { echo "$as_me:$LINENO: checking for int64_t" >&5
30387 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
30388 if test "${ac_cv_type_int64_t+set}" = set; then
30389 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 cat >conftest.
$ac_ext <<_ACEOF
30394 cat confdefs.h
>>conftest.
$ac_ext
30395 cat >>conftest.
$ac_ext <<_ACEOF
30396 /* end confdefs.h. */
30397 $ac_includes_default
30398 typedef int64_t ac__type_new_;
30402 if ((ac__type_new_ *) 0)
30404 if (sizeof (ac__type_new_))
30410 rm -f conftest.
$ac_objext
30411 if { (ac_try
="$ac_compile"
30412 case "(($ac_try" in
30413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30414 *) ac_try_echo=$ac_try;;
30416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30417 (eval "$ac_compile") 2>conftest.er1
30419 grep -v '^ *+' conftest.er1 >conftest.err
30421 cat conftest.err >&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30425 { (case "(($ac_try" in
30426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30427 *) ac_try_echo
=$ac_try;;
30429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30430 (eval "$ac_try") 2>&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; } &&
30434 { ac_try
='test -s conftest.$ac_objext'
30435 { (case "(($ac_try" in
30436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30437 *) ac_try_echo=$ac_try;;
30439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30440 (eval "$ac_try") 2>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444 ac_cv_type_int64_t=yes
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.$ac_ext >&5
30449 ac_cv_type_int64_t=no
30452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30454 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
30455 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
30456 if test $ac_cv_type_int64_t = yes; then
30458 cat >>confdefs.h <<_ACEOF
30459 #define HAVE_INT64_T 1
30464 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
30465 echo "$as_me: error: Type int64_t required but not found" >&2;}
30466 { (exit 1); exit 1; }; }
30469 { echo "$as_me:$LINENO: checking for uint64_t" >&5
30470 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
30471 if test "${ac_cv_type_uint64_t+set}" = set; then
30472 echo $ECHO_N "(cached) $ECHO_C" >&6
30474 cat >conftest.$ac_ext <<_ACEOF
30477 cat confdefs.h >>conftest.$ac_ext
30478 cat >>conftest.$ac_ext <<_ACEOF
30479 /* end confdefs.h. */
30480 $ac_includes_default
30481 typedef uint64_t ac__type_new_;
30485 if ((ac__type_new_ *) 0)
30487 if (sizeof (ac__type_new_))
30493 rm -f conftest.$ac_objext
30494 if { (ac_try="$ac_compile"
30495 case "(($ac_try" in
30496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30497 *) ac_try_echo
=$ac_try;;
30499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30500 (eval "$ac_compile") 2>conftest.er1
30502 grep -v '^ *+' conftest.er1
>conftest.err
30504 cat conftest.err
>&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30508 { (case "(($ac_try" in
30509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30510 *) ac_try_echo=$ac_try;;
30512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30513 (eval "$ac_try") 2>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; } &&
30517 { ac_try='test -s conftest.$ac_objext'
30518 { (case "(($ac_try" in
30519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30520 *) ac_try_echo
=$ac_try;;
30522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30523 (eval "$ac_try") 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; }; then
30527 ac_cv_type_uint64_t
=yes
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.
$ac_ext >&5
30532 ac_cv_type_uint64_t
=no
30535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30537 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
30538 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
30539 if test $ac_cv_type_uint64_t = yes; then
30541 cat >>confdefs.h
<<_ACEOF
30542 #define HAVE_UINT64_T 1
30547 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
30548 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
30549 if test "${ac_cv_type_u_int64_t+set}" = set; then
30550 echo $ECHO_N "(cached) $ECHO_C" >&6
30552 cat >conftest.
$ac_ext <<_ACEOF
30555 cat confdefs.h
>>conftest.
$ac_ext
30556 cat >>conftest.
$ac_ext <<_ACEOF
30557 /* end confdefs.h. */
30558 $ac_includes_default
30559 typedef u_int64_t ac__type_new_;
30563 if ((ac__type_new_ *) 0)
30565 if (sizeof (ac__type_new_))
30571 rm -f conftest.
$ac_objext
30572 if { (ac_try
="$ac_compile"
30573 case "(($ac_try" in
30574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30575 *) ac_try_echo=$ac_try;;
30577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30578 (eval "$ac_compile") 2>conftest.er1
30580 grep -v '^ *+' conftest.er1 >conftest.err
30582 cat conftest.err >&5
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); } &&
30585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30586 { (case "(($ac_try" in
30587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30588 *) ac_try_echo
=$ac_try;;
30590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30591 (eval "$ac_try") 2>&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); }; } &&
30595 { ac_try
='test -s conftest.$ac_objext'
30596 { (case "(($ac_try" in
30597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30598 *) ac_try_echo=$ac_try;;
30600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30601 (eval "$ac_try") 2>&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); }; }; then
30605 ac_cv_type_u_int64_t=yes
30607 echo "$as_me: failed program was:" >&5
30608 sed 's/^/| /' conftest.$ac_ext >&5
30610 ac_cv_type_u_int64_t=no
30613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30615 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
30616 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
30617 if test $ac_cv_type_u_int64_t = yes; then
30619 cat >>confdefs.h <<_ACEOF
30620 #define HAVE_U_INT64_T 1
30625 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
30626 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
30627 { (exit 1); exit 1; }; }
30641 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30643 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30647 echo $ECHO_N "(cached) $ECHO_C" >&6
30649 cat >conftest.$ac_ext <<_ACEOF
30652 cat confdefs.h >>conftest.$ac_ext
30653 cat >>conftest.$ac_ext <<_ACEOF
30654 /* end confdefs.h. */
30655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30657 #define $ac_func innocuous_$ac_func
30659 /* System header to define __stub macros and hopefully few prototypes,
30660 which can conflict with char $ac_func (); below.
30661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30662 <limits.h> exists even on freestanding compilers. */
30665 # include <limits.h>
30667 # include <assert.h>
30672 /* Override any GCC internal prototype to avoid an error.
30673 Use char because int might match the return type of a GCC
30674 builtin and then its argument prototype would still apply. */
30679 /* The GNU C library defines this for functions which it implements
30680 to always fail with ENOSYS. Some functions are actually named
30681 something starting with __ and the normal name is an alias. */
30682 #if defined __stub_$ac_func || defined __stub___$ac_func
30689 return $ac_func ();
30694 rm -f conftest.$ac_objext conftest$ac_exeext
30695 if { (ac_try="$ac_link"
30696 case "(($ac_try" in
30697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30698 *) ac_try_echo
=$ac_try;;
30700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30701 (eval "$ac_link") 2>conftest.er1
30703 grep -v '^ *+' conftest.er1
>conftest.err
30705 cat conftest.err
>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); } &&
30708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30709 { (case "(($ac_try" in
30710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30711 *) ac_try_echo=$ac_try;;
30713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30714 (eval "$ac_try") 2>&5
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); }; } &&
30718 { ac_try='test -s conftest$ac_exeext'
30719 { (case "(($ac_try" in
30720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30721 *) ac_try_echo
=$ac_try;;
30723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30724 (eval "$ac_try") 2>&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); }; }; then
30728 eval "$as_ac_var=yes"
30730 echo "$as_me: failed program was:" >&5
30731 sed 's/^/| /' conftest.
$ac_ext >&5
30733 eval "$as_ac_var=no"
30736 rm -f core conftest.err conftest.
$ac_objext \
30737 conftest
$ac_exeext conftest.
$ac_ext
30739 ac_res
=`eval echo '${'$as_ac_var'}'`
30740 { echo "$as_me:$LINENO: result: $ac_res" >&5
30741 echo "${ECHO_T}$ac_res" >&6; }
30742 if test `eval echo '${'$as_ac_var'}'` = yes; then
30743 cat >>confdefs.h
<<_ACEOF
30744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30754 for ac_func
in powf fmodf strtof round
30756 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30757 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30759 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30760 echo $ECHO_N "(cached) $ECHO_C" >&6
30762 cat >conftest.
$ac_ext <<_ACEOF
30765 cat confdefs.h
>>conftest.
$ac_ext
30766 cat >>conftest.
$ac_ext <<_ACEOF
30767 /* end confdefs.h. */
30768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30770 #define $ac_func innocuous_$ac_func
30772 /* System header to define __stub macros and hopefully few prototypes,
30773 which can conflict with char $ac_func (); below.
30774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30775 <limits.h> exists even on freestanding compilers. */
30778 # include <limits.h>
30780 # include <assert.h>
30785 /* Override any GCC internal prototype to avoid an error.
30786 Use char because int might match the return type of a GCC
30787 builtin and then its argument prototype would still apply. */
30792 /* The GNU C library defines this for functions which it implements
30793 to always fail with ENOSYS. Some functions are actually named
30794 something starting with __ and the normal name is an alias. */
30795 #if defined __stub_$ac_func || defined __stub___$ac_func
30802 return $ac_func ();
30807 rm -f conftest.
$ac_objext conftest
$ac_exeext
30808 if { (ac_try
="$ac_link"
30809 case "(($ac_try" in
30810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30814 (eval "$ac_link") 2>conftest.er1
30816 grep -v '^ *+' conftest.er1 >conftest.err
30818 cat conftest.err >&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } &&
30821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30822 { (case "(($ac_try" in
30823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30824 *) ac_try_echo
=$ac_try;;
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_try") 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; } &&
30831 { ac_try
='test -s conftest$ac_exeext'
30832 { (case "(($ac_try" in
30833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30834 *) ac_try_echo=$ac_try;;
30836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30837 (eval "$ac_try") 2>&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); }; }; then
30841 eval "$as_ac_var=yes"
30843 echo "$as_me: failed program was:" >&5
30844 sed 's/^/| /' conftest.$ac_ext >&5
30846 eval "$as_ac_var=no"
30849 rm -f core conftest.err conftest.$ac_objext \
30850 conftest$ac_exeext conftest.$ac_ext
30852 ac_res=`eval echo '${'$as_ac_var'}'`
30853 { echo "$as_me:$LINENO: result: $ac_res" >&5
30854 echo "${ECHO_T}$ac_res" >&6; }
30855 if test `eval echo '${'$as_ac_var'}'` = yes; then
30856 cat >>confdefs.h <<_ACEOF
30857 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30868 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
30870 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30876 cat >conftest.$ac_ext <<_ACEOF
30879 cat confdefs.h >>conftest.$ac_ext
30880 cat >>conftest.$ac_ext <<_ACEOF
30881 /* end confdefs.h. */
30882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30884 #define $ac_func innocuous_$ac_func
30886 /* System header to define __stub macros and hopefully few prototypes,
30887 which can conflict with char $ac_func (); below.
30888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30889 <limits.h> exists even on freestanding compilers. */
30892 # include <limits.h>
30894 # include <assert.h>
30899 /* Override any GCC internal prototype to avoid an error.
30900 Use char because int might match the return type of a GCC
30901 builtin and then its argument prototype would still apply. */
30906 /* The GNU C library defines this for functions which it implements
30907 to always fail with ENOSYS. Some functions are actually named
30908 something starting with __ and the normal name is an alias. */
30909 #if defined __stub_$ac_func || defined __stub___$ac_func
30916 return $ac_func ();
30921 rm -f conftest.$ac_objext conftest$ac_exeext
30922 if { (ac_try="$ac_link"
30923 case "(($ac_try" in
30924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30925 *) ac_try_echo
=$ac_try;;
30927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30928 (eval "$ac_link") 2>conftest.er1
30930 grep -v '^ *+' conftest.er1
>conftest.err
30932 cat conftest.err
>&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); } &&
30935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30936 { (case "(($ac_try" in
30937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30938 *) ac_try_echo=$ac_try;;
30940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30941 (eval "$ac_try") 2>&5
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); }; } &&
30945 { ac_try='test -s conftest$ac_exeext'
30946 { (case "(($ac_try" in
30947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30948 *) ac_try_echo
=$ac_try;;
30950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30951 (eval "$ac_try") 2>&5
30953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30954 (exit $ac_status); }; }; then
30955 eval "$as_ac_var=yes"
30957 echo "$as_me: failed program was:" >&5
30958 sed 's/^/| /' conftest.
$ac_ext >&5
30960 eval "$as_ac_var=no"
30963 rm -f core conftest.err conftest.
$ac_objext \
30964 conftest
$ac_exeext conftest.
$ac_ext
30966 ac_res
=`eval echo '${'$as_ac_var'}'`
30967 { echo "$as_me:$LINENO: result: $ac_res" >&5
30968 echo "${ECHO_T}$ac_res" >&6; }
30969 if test `eval echo '${'$as_ac_var'}'` = yes; then
30970 cat >>confdefs.h
<<_ACEOF
30971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30980 for ac_func
in isatty mkdtemp mkstemp
30982 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30983 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30985 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30986 echo $ECHO_N "(cached) $ECHO_C" >&6
30988 cat >conftest.
$ac_ext <<_ACEOF
30991 cat confdefs.h
>>conftest.
$ac_ext
30992 cat >>conftest.
$ac_ext <<_ACEOF
30993 /* end confdefs.h. */
30994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30996 #define $ac_func innocuous_$ac_func
30998 /* System header to define __stub macros and hopefully few prototypes,
30999 which can conflict with char $ac_func (); below.
31000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31001 <limits.h> exists even on freestanding compilers. */
31004 # include <limits.h>
31006 # include <assert.h>
31011 /* Override any GCC internal prototype to avoid an error.
31012 Use char because int might match the return type of a GCC
31013 builtin and then its argument prototype would still apply. */
31018 /* The GNU C library defines this for functions which it implements
31019 to always fail with ENOSYS. Some functions are actually named
31020 something starting with __ and the normal name is an alias. */
31021 #if defined __stub_$ac_func || defined __stub___$ac_func
31028 return $ac_func ();
31033 rm -f conftest.
$ac_objext conftest
$ac_exeext
31034 if { (ac_try
="$ac_link"
31035 case "(($ac_try" in
31036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31037 *) ac_try_echo=$ac_try;;
31039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31040 (eval "$ac_link") 2>conftest.er1
31042 grep -v '^ *+' conftest.er1 >conftest.err
31044 cat conftest.err >&5
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); } &&
31047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31048 { (case "(($ac_try" in
31049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31050 *) ac_try_echo
=$ac_try;;
31052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31053 (eval "$ac_try") 2>&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); }; } &&
31057 { ac_try
='test -s conftest$ac_exeext'
31058 { (case "(($ac_try" in
31059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31060 *) ac_try_echo=$ac_try;;
31062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31063 (eval "$ac_try") 2>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; }; then
31067 eval "$as_ac_var=yes"
31069 echo "$as_me: failed program was:" >&5
31070 sed 's/^/| /' conftest.$ac_ext >&5
31072 eval "$as_ac_var=no"
31075 rm -f core conftest.err conftest.$ac_objext \
31076 conftest$ac_exeext conftest.$ac_ext
31078 ac_res=`eval echo '${'$as_ac_var'}'`
31079 { echo "$as_me:$LINENO: result: $ac_res" >&5
31080 echo "${ECHO_T}$ac_res" >&6; }
31081 if test `eval echo '${'$as_ac_var'}'` = yes; then
31082 cat >>confdefs.h <<_ACEOF
31083 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31096 for ac_func in mktemp realpath sbrk setrlimit strdup strerror strerror_r
31098 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31104 cat >conftest.$ac_ext <<_ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31112 #define $ac_func innocuous_$ac_func
31114 /* System header to define __stub macros and hopefully few prototypes,
31115 which can conflict with char $ac_func (); below.
31116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31117 <limits.h> exists even on freestanding compilers. */
31120 # include <limits.h>
31122 # include <assert.h>
31127 /* Override any GCC internal prototype to avoid an error.
31128 Use char because int might match the return type of a GCC
31129 builtin and then its argument prototype would still apply. */
31134 /* The GNU C library defines this for functions which it implements
31135 to always fail with ENOSYS. Some functions are actually named
31136 something starting with __ and the normal name is an alias. */
31137 #if defined __stub_$ac_func || defined __stub___$ac_func
31144 return $ac_func ();
31149 rm -f conftest.$ac_objext conftest$ac_exeext
31150 if { (ac_try="$ac_link"
31151 case "(($ac_try" in
31152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31153 *) ac_try_echo
=$ac_try;;
31155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31156 (eval "$ac_link") 2>conftest.er1
31158 grep -v '^ *+' conftest.er1
>conftest.err
31160 cat conftest.err
>&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } &&
31163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31164 { (case "(($ac_try" in
31165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31166 *) ac_try_echo=$ac_try;;
31168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31169 (eval "$ac_try") 2>&5
31171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172 (exit $ac_status); }; } &&
31173 { ac_try='test -s conftest$ac_exeext'
31174 { (case "(($ac_try" in
31175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31176 *) ac_try_echo
=$ac_try;;
31178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31179 (eval "$ac_try") 2>&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 eval "$as_ac_var=yes"
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.
$ac_ext >&5
31188 eval "$as_ac_var=no"
31191 rm -f core conftest.err conftest.
$ac_objext \
31192 conftest
$ac_exeext conftest.
$ac_ext
31194 ac_res
=`eval echo '${'$as_ac_var'}'`
31195 { echo "$as_me:$LINENO: result: $ac_res" >&5
31196 echo "${ECHO_T}$ac_res" >&6; }
31197 if test `eval echo '${'$as_ac_var'}'` = yes; then
31198 cat >>confdefs.h
<<_ACEOF
31199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31209 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
31211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31214 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31215 echo $ECHO_N "(cached) $ECHO_C" >&6
31217 cat >conftest.
$ac_ext <<_ACEOF
31220 cat confdefs.h
>>conftest.
$ac_ext
31221 cat >>conftest.
$ac_ext <<_ACEOF
31222 /* end confdefs.h. */
31223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31225 #define $ac_func innocuous_$ac_func
31227 /* System header to define __stub macros and hopefully few prototypes,
31228 which can conflict with char $ac_func (); below.
31229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31230 <limits.h> exists even on freestanding compilers. */
31233 # include <limits.h>
31235 # include <assert.h>
31240 /* Override any GCC internal prototype to avoid an error.
31241 Use char because int might match the return type of a GCC
31242 builtin and then its argument prototype would still apply. */
31247 /* The GNU C library defines this for functions which it implements
31248 to always fail with ENOSYS. Some functions are actually named
31249 something starting with __ and the normal name is an alias. */
31250 #if defined __stub_$ac_func || defined __stub___$ac_func
31257 return $ac_func ();
31262 rm -f conftest.
$ac_objext conftest
$ac_exeext
31263 if { (ac_try
="$ac_link"
31264 case "(($ac_try" in
31265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31266 *) ac_try_echo=$ac_try;;
31268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31269 (eval "$ac_link") 2>conftest.er1
31271 grep -v '^ *+' conftest.er1 >conftest.err
31273 cat conftest.err >&5
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); } &&
31276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31277 { (case "(($ac_try" in
31278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31279 *) ac_try_echo
=$ac_try;;
31281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31282 (eval "$ac_try") 2>&5
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); }; } &&
31286 { ac_try
='test -s conftest$ac_exeext'
31287 { (case "(($ac_try" in
31288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31289 *) ac_try_echo=$ac_try;;
31291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31292 (eval "$ac_try") 2>&5
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; }; then
31296 eval "$as_ac_var=yes"
31298 echo "$as_me: failed program was:" >&5
31299 sed 's/^/| /' conftest.$ac_ext >&5
31301 eval "$as_ac_var=no"
31304 rm -f core conftest.err conftest.$ac_objext \
31305 conftest$ac_exeext conftest.$ac_ext
31307 ac_res=`eval echo '${'$as_ac_var'}'`
31308 { echo "$as_me:$LINENO: result: $ac_res" >&5
31309 echo "${ECHO_T}$ac_res" >&6; }
31310 if test `eval echo '${'$as_ac_var'}'` = yes; then
31311 cat >>confdefs.h <<_ACEOF
31312 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31322 for ac_func in setjmp longjmp sigsetjmp siglongjmp
31324 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31328 echo $ECHO_N "(cached) $ECHO_C" >&6
31330 cat >conftest.$ac_ext <<_ACEOF
31333 cat confdefs.h >>conftest.$ac_ext
31334 cat >>conftest.$ac_ext <<_ACEOF
31335 /* end confdefs.h. */
31336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31338 #define $ac_func innocuous_$ac_func
31340 /* System header to define __stub macros and hopefully few prototypes,
31341 which can conflict with char $ac_func (); below.
31342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31343 <limits.h> exists even on freestanding compilers. */
31346 # include <limits.h>
31348 # include <assert.h>
31353 /* Override any GCC internal prototype to avoid an error.
31354 Use char because int might match the return type of a GCC
31355 builtin and then its argument prototype would still apply. */
31360 /* The GNU C library defines this for functions which it implements
31361 to always fail with ENOSYS. Some functions are actually named
31362 something starting with __ and the normal name is an alias. */
31363 #if defined __stub_$ac_func || defined __stub___$ac_func
31370 return $ac_func ();
31375 rm -f conftest.$ac_objext conftest$ac_exeext
31376 if { (ac_try="$ac_link"
31377 case "(($ac_try" in
31378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31379 *) ac_try_echo
=$ac_try;;
31381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31382 (eval "$ac_link") 2>conftest.er1
31384 grep -v '^ *+' conftest.er1
>conftest.err
31386 cat conftest.err
>&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } &&
31389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31390 { (case "(($ac_try" in
31391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31392 *) ac_try_echo=$ac_try;;
31394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31395 (eval "$ac_try") 2>&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); }; } &&
31399 { ac_try='test -s conftest$ac_exeext'
31400 { (case "(($ac_try" in
31401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31402 *) ac_try_echo
=$ac_try;;
31404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31405 (eval "$ac_try") 2>&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; }; then
31409 eval "$as_ac_var=yes"
31411 echo "$as_me: failed program was:" >&5
31412 sed 's/^/| /' conftest.
$ac_ext >&5
31414 eval "$as_ac_var=no"
31417 rm -f core conftest.err conftest.
$ac_objext \
31418 conftest
$ac_exeext conftest.
$ac_ext
31420 ac_res
=`eval echo '${'$as_ac_var'}'`
31421 { echo "$as_me:$LINENO: result: $ac_res" >&5
31422 echo "${ECHO_T}$ac_res" >&6; }
31423 if test `eval echo '${'$as_ac_var'}'` = yes; then
31424 cat >>confdefs.h
<<_ACEOF
31425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31431 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
31432 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
31433 if test "${llvm_cv_c_printf_a+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31437 ac_cpp
='$CPP $CPPFLAGS'
31438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31442 if test "$cross_compiling" = yes; then
31443 llvmac_cv_c_printf_a
=no
31445 cat >conftest.
$ac_ext <<_ACEOF
31449 cat confdefs.h
>>conftest.
$ac_ext
31450 cat >>conftest.
$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31454 #include <stdlib.h>
31460 volatile double A, B;
31464 sprintf(Buffer, "%a", A);
31468 if (A != 0x1.999999999999ap-4)
31475 rm -f conftest
$ac_exeext
31476 if { (ac_try
="$ac_link"
31477 case "(($ac_try" in
31478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31479 *) ac_try_echo=$ac_try;;
31481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31482 (eval "$ac_link") 2>&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31486 { (case "(($ac_try" in
31487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31488 *) ac_try_echo
=$ac_try;;
31490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31491 (eval "$ac_try") 2>&5
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; }; then
31495 llvm_cv_c_printf_a
=yes
31497 echo "$as_me: program exited with status $ac_status" >&5
31498 echo "$as_me: failed program was:" >&5
31499 sed 's/^/| /' conftest.
$ac_ext >&5
31501 ( exit $ac_status )
31502 llvmac_cv_c_printf_a
=no
31504 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31509 ac_cpp
='$CPP $CPPFLAGS'
31510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31515 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
31516 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
31517 if test "$llvm_cv_c_printf_a" = "yes"; then
31519 cat >>confdefs.h
<<\_ACEOF
31520 #define HAVE_PRINTF_A 1
31525 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
31526 # for constant arguments. Useless!
31527 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
31528 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
31529 if test "${ac_cv_working_alloca_h+set}" = set; then
31530 echo $ECHO_N "(cached) $ECHO_C" >&6
31532 cat >conftest.
$ac_ext <<_ACEOF
31535 cat confdefs.h
>>conftest.
$ac_ext
31536 cat >>conftest.
$ac_ext <<_ACEOF
31537 /* end confdefs.h. */
31538 #include <alloca.h>
31542 char *p = (char *) alloca (2 * sizeof (int));
31548 rm -f conftest.
$ac_objext conftest
$ac_exeext
31549 if { (ac_try
="$ac_link"
31550 case "(($ac_try" in
31551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31552 *) ac_try_echo=$ac_try;;
31554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31555 (eval "$ac_link") 2>conftest.er1
31557 grep -v '^ *+' conftest.er1 >conftest.err
31559 cat conftest.err >&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); } &&
31562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31563 { (case "(($ac_try" in
31564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31565 *) ac_try_echo
=$ac_try;;
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_try") 2>&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; } &&
31572 { ac_try
='test -s conftest$ac_exeext'
31573 { (case "(($ac_try" in
31574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31575 *) ac_try_echo=$ac_try;;
31577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31578 (eval "$ac_try") 2>&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; }; then
31582 ac_cv_working_alloca_h=yes
31584 echo "$as_me: failed program was:" >&5
31585 sed 's/^/| /' conftest.$ac_ext >&5
31587 ac_cv_working_alloca_h=no
31590 rm -f core conftest.err conftest.$ac_objext \
31591 conftest$ac_exeext conftest.$ac_ext
31593 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31594 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
31595 if test $ac_cv_working_alloca_h = yes; then
31597 cat >>confdefs.h <<\_ACEOF
31598 #define HAVE_ALLOCA_H 1
31603 { echo "$as_me:$LINENO: checking for alloca" >&5
31604 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
31605 if test "${ac_cv_func_alloca_works+set}" = set; then
31606 echo $ECHO_N "(cached) $ECHO_C" >&6
31608 cat >conftest.$ac_ext <<_ACEOF
31611 cat confdefs.h >>conftest.$ac_ext
31612 cat >>conftest.$ac_ext <<_ACEOF
31613 /* end confdefs.h. */
31615 # define alloca __builtin_alloca
31618 # include <malloc.h>
31619 # define alloca _alloca
31622 # include <alloca.h>
31627 # ifndef alloca /* predefined by HP cc +Olibcalls */
31638 char *p = (char *) alloca (1);
31644 rm -f conftest.$ac_objext conftest$ac_exeext
31645 if { (ac_try="$ac_link"
31646 case "(($ac_try" in
31647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31648 *) ac_try_echo
=$ac_try;;
31650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31651 (eval "$ac_link") 2>conftest.er1
31653 grep -v '^ *+' conftest.er1
>conftest.err
31655 cat conftest.err
>&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); } &&
31658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31659 { (case "(($ac_try" in
31660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31661 *) ac_try_echo=$ac_try;;
31663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31664 (eval "$ac_try") 2>&5
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); }; } &&
31668 { ac_try='test -s conftest$ac_exeext'
31669 { (case "(($ac_try" in
31670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31671 *) ac_try_echo
=$ac_try;;
31673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31674 (eval "$ac_try") 2>&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); }; }; then
31678 ac_cv_func_alloca_works
=yes
31680 echo "$as_me: failed program was:" >&5
31681 sed 's/^/| /' conftest.
$ac_ext >&5
31683 ac_cv_func_alloca_works
=no
31686 rm -f core conftest.err conftest.
$ac_objext \
31687 conftest
$ac_exeext conftest.
$ac_ext
31689 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31690 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31692 if test $ac_cv_func_alloca_works = yes; then
31694 cat >>confdefs.h
<<\_ACEOF
31695 #define HAVE_ALLOCA 1
31699 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
31700 # that cause trouble. Some versions do not even contain alloca or
31701 # contain a buggy version. If you still want to use their alloca,
31702 # use ar to extract alloca.o from them instead of compiling alloca.c.
31704 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
31706 cat >>confdefs.h
<<\_ACEOF
31711 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31712 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
31713 if test "${ac_cv_os_cray+set}" = set; then
31714 echo $ECHO_N "(cached) $ECHO_C" >&6
31716 cat >conftest.
$ac_ext <<_ACEOF
31719 cat confdefs.h
>>conftest.
$ac_ext
31720 cat >>conftest.
$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722 #if defined CRAY && ! defined CRAY2
31729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31730 $EGREP "webecray" >/dev
/null
2>&1; then
31738 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31739 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31740 if test $ac_cv_os_cray = yes; then
31741 for ac_func
in _getb67 GETB67 getb67
; do
31742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31745 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31746 echo $ECHO_N "(cached) $ECHO_C" >&6
31748 cat >conftest.
$ac_ext <<_ACEOF
31751 cat confdefs.h
>>conftest.
$ac_ext
31752 cat >>conftest.
$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31756 #define $ac_func innocuous_$ac_func
31758 /* System header to define __stub macros and hopefully few prototypes,
31759 which can conflict with char $ac_func (); below.
31760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31761 <limits.h> exists even on freestanding compilers. */
31764 # include <limits.h>
31766 # include <assert.h>
31771 /* Override any GCC internal prototype to avoid an error.
31772 Use char because int might match the return type of a GCC
31773 builtin and then its argument prototype would still apply. */
31778 /* The GNU C library defines this for functions which it implements
31779 to always fail with ENOSYS. Some functions are actually named
31780 something starting with __ and the normal name is an alias. */
31781 #if defined __stub_$ac_func || defined __stub___$ac_func
31788 return $ac_func ();
31793 rm -f conftest.
$ac_objext conftest
$ac_exeext
31794 if { (ac_try
="$ac_link"
31795 case "(($ac_try" in
31796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31797 *) ac_try_echo=$ac_try;;
31799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31800 (eval "$ac_link") 2>conftest.er1
31802 grep -v '^ *+' conftest.er1 >conftest.err
31804 cat conftest.err >&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); } &&
31807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31808 { (case "(($ac_try" in
31809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31810 *) ac_try_echo
=$ac_try;;
31812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31813 (eval "$ac_try") 2>&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); }; } &&
31817 { ac_try
='test -s conftest$ac_exeext'
31818 { (case "(($ac_try" in
31819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31820 *) ac_try_echo=$ac_try;;
31822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31823 (eval "$ac_try") 2>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; }; then
31827 eval "$as_ac_var=yes"
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31832 eval "$as_ac_var=no"
31835 rm -f core conftest.err conftest.$ac_objext \
31836 conftest$ac_exeext conftest.$ac_ext
31838 ac_res=`eval echo '${'$as_ac_var'}'`
31839 { echo "$as_me:$LINENO: result: $ac_res" >&5
31840 echo "${ECHO_T}$ac_res" >&6; }
31841 if test `eval echo '${'$as_ac_var'}'` = yes; then
31843 cat >>confdefs.h <<_ACEOF
31844 #define CRAY_STACKSEG_END $ac_func
31853 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31854 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31855 if test "${ac_cv_c_stack_direction+set}" = set; then
31856 echo $ECHO_N "(cached) $ECHO_C" >&6
31858 if test "$cross_compiling" = yes; then
31859 ac_cv_c_stack_direction=0
31861 cat >conftest.$ac_ext <<_ACEOF
31864 cat confdefs.h >>conftest.$ac_ext
31865 cat >>conftest.$ac_ext <<_ACEOF
31866 /* end confdefs.h. */
31867 $ac_includes_default
31869 find_stack_direction ()
31871 static char *addr = 0;
31876 return find_stack_direction ();
31879 return (&dummy > addr) ? 1 : -1;
31885 return find_stack_direction () < 0;
31888 rm -f conftest$ac_exeext
31889 if { (ac_try="$ac_link"
31890 case "(($ac_try" in
31891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31892 *) ac_try_echo
=$ac_try;;
31894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31895 (eval "$ac_link") 2>&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31899 { (case "(($ac_try" in
31900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31901 *) ac_try_echo=$ac_try;;
31903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31904 (eval "$ac_try") 2>&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; }; then
31908 ac_cv_c_stack_direction=1
31910 echo "$as_me: program exited with status $ac_status" >&5
31911 echo "$as_me: failed program was:" >&5
31912 sed 's/^/| /' conftest.$ac_ext >&5
31914 ( exit $ac_status )
31915 ac_cv_c_stack_direction=-1
31917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31922 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31923 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31925 cat >>confdefs.h <<_ACEOF
31926 #define STACK_DIRECTION $ac_cv_c_stack_direction
31933 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
31934 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
31935 if test "${ac_cv_func_rand48+set}" = set; then
31936 echo $ECHO_N "(cached) $ECHO_C" >&6
31939 ac_cpp='$CXXCPP $CPPFLAGS'
31940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31944 cat >conftest.$ac_ext <<_ACEOF
31947 cat confdefs.h >>conftest.$ac_ext
31948 cat >>conftest.$ac_ext <<_ACEOF
31949 /* end confdefs.h. */
31950 #include <stdlib.h>
31954 srand48(0);lrand48();drand48();
31959 rm -f conftest.$ac_objext
31960 if { (ac_try="$ac_compile"
31961 case "(($ac_try" in
31962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31963 *) ac_try_echo
=$ac_try;;
31965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31966 (eval "$ac_compile") 2>conftest.er1
31968 grep -v '^ *+' conftest.er1
>conftest.err
31970 cat conftest.err
>&5
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); } &&
31973 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31974 { (case "(($ac_try" in
31975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31976 *) ac_try_echo=$ac_try;;
31978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31979 (eval "$ac_try") 2>&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; } &&
31983 { ac_try='test -s conftest.$ac_objext'
31984 { (case "(($ac_try" in
31985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31986 *) ac_try_echo
=$ac_try;;
31988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31989 (eval "$ac_try") 2>&5
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); }; }; then
31993 ac_cv_func_rand48
=yes
31995 echo "$as_me: failed program was:" >&5
31996 sed 's/^/| /' conftest.
$ac_ext >&5
31998 ac_cv_func_rand48
=no
32001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32003 ac_cpp
='$CPP $CPPFLAGS'
32004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32009 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
32010 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
32012 if test "$ac_cv_func_rand48" = "yes" ; then
32014 cat >>confdefs.h
<<\_ACEOF
32015 #define HAVE_RAND48 1
32021 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
32022 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
32023 if test "${ac_cv_cxx_namespaces+set}" = set; then
32024 echo $ECHO_N "(cached) $ECHO_C" >&6
32027 ac_cpp
='$CXXCPP $CPPFLAGS'
32028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32032 cat >conftest.
$ac_ext <<_ACEOF
32035 cat confdefs.h
>>conftest.
$ac_ext
32036 cat >>conftest.
$ac_ext <<_ACEOF
32037 /* end confdefs.h. */
32038 namespace Outer { namespace Inner { int i = 0; }}
32042 using namespace Outer::Inner; return i;
32047 rm -f conftest.
$ac_objext
32048 if { (ac_try
="$ac_compile"
32049 case "(($ac_try" in
32050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32051 *) ac_try_echo=$ac_try;;
32053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32054 (eval "$ac_compile") 2>conftest.er1
32056 grep -v '^ *+' conftest.er1 >conftest.err
32058 cat conftest.err >&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } &&
32061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32062 { (case "(($ac_try" in
32063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32064 *) ac_try_echo
=$ac_try;;
32066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32067 (eval "$ac_try") 2>&5
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; } &&
32071 { ac_try
='test -s conftest.$ac_objext'
32072 { (case "(($ac_try" in
32073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32074 *) ac_try_echo=$ac_try;;
32076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32077 (eval "$ac_try") 2>&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); }; }; then
32081 ac_cv_cxx_namespaces=yes
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.$ac_ext >&5
32086 ac_cv_cxx_namespaces=no
32089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32091 ac_cpp='$CPP $CPPFLAGS'
32092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32098 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
32099 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
32100 if test "$ac_cv_cxx_namespaces" = yes; then
32102 cat >>confdefs.h <<\_ACEOF
32103 #define HAVE_NAMESPACES
32108 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
32109 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
32110 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
32111 echo $ECHO_N "(cached) $ECHO_C" >&6
32115 ac_cpp='$CXXCPP $CPPFLAGS'
32116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32120 cat >conftest.$ac_ext <<_ACEOF
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32126 #include <iterator>
32127 #ifdef HAVE_NAMESPACES
32128 using namespace std;
32133 iterator<int,int,int> t; return 0;
32138 rm -f conftest.$ac_objext
32139 if { (ac_try="$ac_compile"
32140 case "(($ac_try" in
32141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32142 *) ac_try_echo
=$ac_try;;
32144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32145 (eval "$ac_compile") 2>conftest.er1
32147 grep -v '^ *+' conftest.er1
>conftest.err
32149 cat conftest.err
>&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } &&
32152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32153 { (case "(($ac_try" in
32154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32155 *) ac_try_echo=$ac_try;;
32157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32158 (eval "$ac_try") 2>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; } &&
32162 { ac_try='test -s conftest.$ac_objext'
32163 { (case "(($ac_try" in
32164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32165 *) ac_try_echo
=$ac_try;;
32167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32168 (eval "$ac_try") 2>&5
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); }; }; then
32172 ac_cv_cxx_have_std_iterator
=yes
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.
$ac_ext >&5
32177 ac_cv_cxx_have_std_iterator
=no
32180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32182 ac_cpp
='$CPP $CPPFLAGS'
32183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32189 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
32190 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32191 if test "$ac_cv_cxx_have_std_iterator" = yes
32194 cat >>confdefs.h
<<\_ACEOF
32195 #define HAVE_STD_ITERATOR 1
32200 cat >>confdefs.h
<<\_ACEOF
32201 #define HAVE_STD_ITERATOR 0
32206 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
32207 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
32208 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32213 ac_cpp
='$CXXCPP $CPPFLAGS'
32214 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32215 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32216 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32218 cat >conftest.
$ac_ext <<_ACEOF
32221 cat confdefs.h
>>conftest.
$ac_ext
32222 cat >>conftest.
$ac_ext <<_ACEOF
32223 /* end confdefs.h. */
32224 #include <iterator>
32225 #ifdef HAVE_NAMESPACES
32226 using namespace std;
32231 bidirectional_iterator<int,int> t; return 0;
32236 rm -f conftest.
$ac_objext
32237 if { (ac_try
="$ac_compile"
32238 case "(($ac_try" in
32239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32240 *) ac_try_echo=$ac_try;;
32242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32243 (eval "$ac_compile") 2>conftest.er1
32245 grep -v '^ *+' conftest.er1 >conftest.err
32247 cat conftest.err >&5
32248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32249 (exit $ac_status); } &&
32250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32251 { (case "(($ac_try" in
32252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32253 *) ac_try_echo
=$ac_try;;
32255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32256 (eval "$ac_try") 2>&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); }; } &&
32260 { ac_try
='test -s conftest.$ac_objext'
32261 { (case "(($ac_try" in
32262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32263 *) ac_try_echo=$ac_try;;
32265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32266 (eval "$ac_try") 2>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32270 ac_cv_cxx_have_bi_iterator=yes
32272 echo "$as_me: failed program was:" >&5
32273 sed 's/^/| /' conftest.$ac_ext >&5
32275 ac_cv_cxx_have_bi_iterator=no
32278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32280 ac_cpp='$CPP $CPPFLAGS'
32281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32287 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
32288 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32289 if test "$ac_cv_cxx_have_bi_iterator" = yes
32292 cat >>confdefs.h <<\_ACEOF
32293 #define HAVE_BI_ITERATOR 1
32298 cat >>confdefs.h <<\_ACEOF
32299 #define HAVE_BI_ITERATOR 0
32304 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
32305 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
32306 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32311 ac_cpp='$CXXCPP $CPPFLAGS'
32312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32316 cat >conftest.$ac_ext <<_ACEOF
32319 cat confdefs.h >>conftest.$ac_ext
32320 cat >>conftest.$ac_ext <<_ACEOF
32321 /* end confdefs.h. */
32322 #include <iterator>
32323 #ifdef HAVE_NAMESPACES
32324 using namespace std;
32329 forward_iterator<int,int> t; return 0;
32334 rm -f conftest.$ac_objext
32335 if { (ac_try="$ac_compile"
32336 case "(($ac_try" in
32337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32338 *) ac_try_echo
=$ac_try;;
32340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32341 (eval "$ac_compile") 2>conftest.er1
32343 grep -v '^ *+' conftest.er1
>conftest.err
32345 cat conftest.err
>&5
32346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32347 (exit $ac_status); } &&
32348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32349 { (case "(($ac_try" in
32350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32351 *) ac_try_echo=$ac_try;;
32353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32354 (eval "$ac_try") 2>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; } &&
32358 { ac_try='test -s conftest.$ac_objext'
32359 { (case "(($ac_try" in
32360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32361 *) ac_try_echo
=$ac_try;;
32363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32364 (eval "$ac_try") 2>&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; }; then
32368 ac_cv_cxx_have_fwd_iterator
=yes
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.
$ac_ext >&5
32373 ac_cv_cxx_have_fwd_iterator
=no
32376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32378 ac_cpp
='$CPP $CPPFLAGS'
32379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32385 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
32386 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32387 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32390 cat >>confdefs.h
<<\_ACEOF
32391 #define HAVE_FWD_ITERATOR 1
32396 cat >>confdefs.h
<<\_ACEOF
32397 #define HAVE_FWD_ITERATOR 0
32403 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
32404 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
32405 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32406 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 ac_cpp
='$CXXCPP $CPPFLAGS'
32410 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32414 cat >conftest.
$ac_ext <<_ACEOF
32417 cat confdefs.h
>>conftest.
$ac_ext
32418 cat >>conftest.
$ac_ext <<_ACEOF
32419 /* end confdefs.h. */
32429 rm -f conftest.
$ac_objext
32430 if { (ac_try
="$ac_compile"
32431 case "(($ac_try" in
32432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32433 *) ac_try_echo=$ac_try;;
32435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32436 (eval "$ac_compile") 2>conftest.er1
32438 grep -v '^ *+' conftest.er1 >conftest.err
32440 cat conftest.err >&5
32441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 (exit $ac_status); } &&
32443 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32444 { (case "(($ac_try" in
32445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32446 *) ac_try_echo
=$ac_try;;
32448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32449 (eval "$ac_try") 2>&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); }; } &&
32453 { ac_try
='test -s conftest.$ac_objext'
32454 { (case "(($ac_try" in
32455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32456 *) ac_try_echo=$ac_try;;
32458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32459 (eval "$ac_try") 2>&5
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); }; }; then
32463 ac_cv_func_isnan_in_math_h=yes
32465 echo "$as_me: failed program was:" >&5
32466 sed 's/^/| /' conftest.$ac_ext >&5
32468 ac_cv_func_isnan_in_math_h=no
32471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32473 ac_cpp='$CPP $CPPFLAGS'
32474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32479 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
32480 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32483 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32485 cat >>confdefs.h <<\_ACEOF
32486 #define HAVE_ISNAN_IN_MATH_H 1
32491 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
32492 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
32493 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32494 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 ac_cpp='$CXXCPP $CPPFLAGS'
32498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32502 cat >conftest.$ac_ext <<_ACEOF
32505 cat confdefs.h >>conftest.$ac_ext
32506 cat >>conftest.$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32517 rm -f conftest.$ac_objext
32518 if { (ac_try="$ac_compile"
32519 case "(($ac_try" in
32520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32521 *) ac_try_echo
=$ac_try;;
32523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32524 (eval "$ac_compile") 2>conftest.er1
32526 grep -v '^ *+' conftest.er1
>conftest.err
32528 cat conftest.err
>&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } &&
32531 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32532 { (case "(($ac_try" in
32533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_try") 2>&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); }; } &&
32541 { ac_try='test -s conftest.$ac_objext'
32542 { (case "(($ac_try" in
32543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32544 *) ac_try_echo
=$ac_try;;
32546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32547 (eval "$ac_try") 2>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; }; then
32551 ac_cv_func_isnan_in_cmath
=yes
32553 echo "$as_me: failed program was:" >&5
32554 sed 's/^/| /' conftest.
$ac_ext >&5
32556 ac_cv_func_isnan_in_cmath
=no
32559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32561 ac_cpp
='$CPP $CPPFLAGS'
32562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32567 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
32568 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32570 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32572 cat >>confdefs.h
<<\_ACEOF
32573 #define HAVE_ISNAN_IN_CMATH 1
32578 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
32579 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
32580 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32581 echo $ECHO_N "(cached) $ECHO_C" >&6
32584 ac_cpp
='$CXXCPP $CPPFLAGS'
32585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32589 cat >conftest.
$ac_ext <<_ACEOF
32592 cat confdefs.h
>>conftest.
$ac_ext
32593 cat >>conftest.
$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32599 float f; std::isnan(f);
32604 rm -f conftest.
$ac_objext
32605 if { (ac_try
="$ac_compile"
32606 case "(($ac_try" in
32607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32608 *) ac_try_echo=$ac_try;;
32610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32611 (eval "$ac_compile") 2>conftest.er1
32613 grep -v '^ *+' conftest.er1 >conftest.err
32615 cat conftest.err >&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } &&
32618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32619 { (case "(($ac_try" in
32620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32621 *) ac_try_echo
=$ac_try;;
32623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32624 (eval "$ac_try") 2>&5
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); }; } &&
32628 { ac_try
='test -s conftest.$ac_objext'
32629 { (case "(($ac_try" in
32630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32631 *) ac_try_echo=$ac_try;;
32633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32634 (eval "$ac_try") 2>&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); }; }; then
32638 ac_cv_func_std_isnan_in_cmath=yes
32640 echo "$as_me: failed program was:" >&5
32641 sed 's/^/| /' conftest.$ac_ext >&5
32643 ac_cv_func_std_isnan_in_cmath=no
32646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32648 ac_cpp='$CPP $CPPFLAGS'
32649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32654 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
32655 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32657 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32659 cat >>confdefs.h <<\_ACEOF
32660 #define HAVE_STD_ISNAN_IN_CMATH 1
32666 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
32667 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
32668 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32669 echo $ECHO_N "(cached) $ECHO_C" >&6
32672 ac_cpp='$CXXCPP $CPPFLAGS'
32673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32677 cat >conftest.$ac_ext <<_ACEOF
32680 cat confdefs.h >>conftest.$ac_ext
32681 cat >>conftest.$ac_ext <<_ACEOF
32682 /* end confdefs.h. */
32692 rm -f conftest.$ac_objext
32693 if { (ac_try="$ac_compile"
32694 case "(($ac_try" in
32695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32696 *) ac_try_echo
=$ac_try;;
32698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32699 (eval "$ac_compile") 2>conftest.er1
32701 grep -v '^ *+' conftest.er1
>conftest.err
32703 cat conftest.err
>&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } &&
32706 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32707 { (case "(($ac_try" in
32708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32709 *) ac_try_echo=$ac_try;;
32711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32712 (eval "$ac_try") 2>&5
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); }; } &&
32716 { ac_try='test -s conftest.$ac_objext'
32717 { (case "(($ac_try" in
32718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32719 *) ac_try_echo
=$ac_try;;
32721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32722 (eval "$ac_try") 2>&5
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); }; }; then
32726 ac_cv_func_isinf_in_math_h
=yes
32728 echo "$as_me: failed program was:" >&5
32729 sed 's/^/| /' conftest.
$ac_ext >&5
32731 ac_cv_func_isinf_in_math_h
=no
32734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32736 ac_cpp
='$CPP $CPPFLAGS'
32737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32742 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
32743 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
32745 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
32747 cat >>confdefs.h
<<\_ACEOF
32748 #define HAVE_ISINF_IN_MATH_H 1
32753 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
32754 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
32755 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
32756 echo $ECHO_N "(cached) $ECHO_C" >&6
32759 ac_cpp
='$CXXCPP $CPPFLAGS'
32760 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32761 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32762 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32764 cat >conftest.
$ac_ext <<_ACEOF
32767 cat confdefs.h
>>conftest.
$ac_ext
32768 cat >>conftest.
$ac_ext <<_ACEOF
32769 /* end confdefs.h. */
32779 rm -f conftest.
$ac_objext
32780 if { (ac_try
="$ac_compile"
32781 case "(($ac_try" in
32782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32783 *) ac_try_echo=$ac_try;;
32785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32786 (eval "$ac_compile") 2>conftest.er1
32788 grep -v '^ *+' conftest.er1 >conftest.err
32790 cat conftest.err >&5
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); } &&
32793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32794 { (case "(($ac_try" in
32795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32796 *) ac_try_echo
=$ac_try;;
32798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32799 (eval "$ac_try") 2>&5
32801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802 (exit $ac_status); }; } &&
32803 { ac_try
='test -s conftest.$ac_objext'
32804 { (case "(($ac_try" in
32805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32806 *) ac_try_echo=$ac_try;;
32808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32809 (eval "$ac_try") 2>&5
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); }; }; then
32813 ac_cv_func_isinf_in_cmath=yes
32815 echo "$as_me: failed program was:" >&5
32816 sed 's/^/| /' conftest.$ac_ext >&5
32818 ac_cv_func_isinf_in_cmath=no
32821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32823 ac_cpp='$CPP $CPPFLAGS'
32824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32829 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
32830 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
32832 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
32834 cat >>confdefs.h <<\_ACEOF
32835 #define HAVE_ISINF_IN_CMATH 1
32840 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
32841 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
32842 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
32843 echo $ECHO_N "(cached) $ECHO_C" >&6
32846 ac_cpp='$CXXCPP $CPPFLAGS'
32847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32851 cat >conftest.$ac_ext <<_ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32861 float f; std::isinf(f)}
32866 rm -f conftest.$ac_objext
32867 if { (ac_try="$ac_compile"
32868 case "(($ac_try" in
32869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32870 *) ac_try_echo
=$ac_try;;
32872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32873 (eval "$ac_compile") 2>conftest.er1
32875 grep -v '^ *+' conftest.er1
>conftest.err
32877 cat conftest.err
>&5
32878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32879 (exit $ac_status); } &&
32880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32881 { (case "(($ac_try" in
32882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32883 *) ac_try_echo=$ac_try;;
32885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32886 (eval "$ac_try") 2>&5
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; } &&
32890 { ac_try='test -s conftest.$ac_objext'
32891 { (case "(($ac_try" in
32892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32893 *) ac_try_echo
=$ac_try;;
32895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32896 (eval "$ac_try") 2>&5
32898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32899 (exit $ac_status); }; }; then
32900 ac_cv_func_std_isinf_in_cmath
=yes
32902 echo "$as_me: failed program was:" >&5
32903 sed 's/^/| /' conftest.
$ac_ext >&5
32905 ac_cv_func_std_isinf_in_cmath
=no
32908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32910 ac_cpp
='$CPP $CPPFLAGS'
32911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32916 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
32917 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
32919 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
32921 cat >>confdefs.h
<<\_ACEOF
32922 #define HAVE_STD_ISINF_IN_CMATH 1
32927 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
32928 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
32929 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
32930 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 ac_cpp
='$CXXCPP $CPPFLAGS'
32934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32938 cat >conftest.
$ac_ext <<_ACEOF
32941 cat confdefs.h
>>conftest.
$ac_ext
32942 cat >>conftest.
$ac_ext <<_ACEOF
32943 /* end confdefs.h. */
32944 #include <ieeefp.h>
32948 float f; finite(f);
32953 rm -f conftest.
$ac_objext
32954 if { (ac_try
="$ac_compile"
32955 case "(($ac_try" in
32956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32957 *) ac_try_echo=$ac_try;;
32959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32960 (eval "$ac_compile") 2>conftest.er1
32962 grep -v '^ *+' conftest.er1 >conftest.err
32964 cat conftest.err >&5
32965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32966 (exit $ac_status); } &&
32967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32968 { (case "(($ac_try" in
32969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32970 *) ac_try_echo
=$ac_try;;
32972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32973 (eval "$ac_try") 2>&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); }; } &&
32977 { ac_try
='test -s conftest.$ac_objext'
32978 { (case "(($ac_try" in
32979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32980 *) ac_try_echo=$ac_try;;
32982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32983 (eval "$ac_try") 2>&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); }; }; then
32987 ac_cv_func_finite_in_ieeefp_h=yes
32989 echo "$as_me: failed program was:" >&5
32990 sed 's/^/| /' conftest.$ac_ext >&5
32992 ac_cv_func_finite_in_ieeefp_h=no
32995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32997 ac_cpp='$CPP $CPPFLAGS'
32998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33003 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
33004 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
33006 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
33008 cat >>confdefs.h <<\_ACEOF
33009 #define HAVE_FINITE_IN_IEEEFP_H 1
33016 if test "$llvm_cv_platform_type" = "Unix" ; then
33019 for ac_header in stdlib.h unistd.h
33021 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
33022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33023 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33025 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33026 echo $ECHO_N "(cached) $ECHO_C" >&6
33028 ac_res=`eval echo '${'$as_ac_Header'}'`
33029 { echo "$as_me:$LINENO: result: $ac_res" >&5
33030 echo "${ECHO_T}$ac_res" >&6; }
33032 # Is the header compilable?
33033 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
33034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33035 cat >conftest.$ac_ext <<_ACEOF
33038 cat confdefs.h >>conftest.$ac_ext
33039 cat >>conftest.$ac_ext <<_ACEOF
33040 /* end confdefs.h. */
33041 $ac_includes_default
33042 #include <$ac_header>
33044 rm -f conftest.$ac_objext
33045 if { (ac_try="$ac_compile"
33046 case "(($ac_try" in
33047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33048 *) ac_try_echo
=$ac_try;;
33050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33051 (eval "$ac_compile") 2>conftest.er1
33053 grep -v '^ *+' conftest.er1
>conftest.err
33055 cat conftest.err
>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); } &&
33058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33059 { (case "(($ac_try" in
33060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33061 *) ac_try_echo=$ac_try;;
33063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33064 (eval "$ac_try") 2>&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; } &&
33068 { ac_try='test -s conftest.$ac_objext'
33069 { (case "(($ac_try" in
33070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33071 *) ac_try_echo
=$ac_try;;
33073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33074 (eval "$ac_try") 2>&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); }; }; then
33078 ac_header_compiler
=yes
33080 echo "$as_me: failed program was:" >&5
33081 sed 's/^/| /' conftest.
$ac_ext >&5
33083 ac_header_compiler
=no
33086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33087 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33088 echo "${ECHO_T}$ac_header_compiler" >&6; }
33090 # Is the header present?
33091 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33093 cat >conftest.
$ac_ext <<_ACEOF
33096 cat confdefs.h
>>conftest.
$ac_ext
33097 cat >>conftest.
$ac_ext <<_ACEOF
33098 /* end confdefs.h. */
33099 #include <$ac_header>
33101 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33102 case "(($ac_try" in
33103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33104 *) ac_try_echo=$ac_try;;
33106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33109 grep -v '^ *+' conftest.er1 >conftest.err
33111 cat conftest.err >&5
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); } >/dev/null; then
33114 if test -s conftest.err; then
33115 ac_cpp_err=$ac_c_preproc_warn_flag
33116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33123 if test -z "$ac_cpp_err"; then
33124 ac_header_preproc=yes
33126 echo "$as_me: failed program was:" >&5
33127 sed 's/^/| /' conftest.$ac_ext >&5
33129 ac_header_preproc=no
33132 rm -f conftest.err conftest.$ac_ext
33133 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33134 echo "${ECHO_T}$ac_header_preproc" >&6; }
33136 # So? What about this header?
33137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33143 ac_header_preproc=yes
33146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33159 ## ----------------------------------- ##
33160 ## Report this to llvmbugs@cs.uiuc.edu ##
33161 ## ----------------------------------- ##
33163 ) | sed "s/^/$as_me: WARNING: /" >&2
33166 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33169 echo $ECHO_N "(cached) $ECHO_C" >&6
33171 eval "$as_ac_Header=\$ac_header_preproc"
33173 ac_res=`eval echo '${'$as_ac_Header'}'`
33174 { echo "$as_me:$LINENO: result: $ac_res" >&5
33175 echo "${ECHO_T}$ac_res" >&6; }
33178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33179 cat >>confdefs.h <<_ACEOF
33180 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
33188 for ac_func in getpagesize
33190 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
33191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 cat >conftest.$ac_ext <<_ACEOF
33199 cat confdefs.h >>conftest.$ac_ext
33200 cat >>conftest.$ac_ext <<_ACEOF
33201 /* end confdefs.h. */
33202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33204 #define $ac_func innocuous_$ac_func
33206 /* System header to define __stub macros and hopefully few prototypes,
33207 which can conflict with char $ac_func (); below.
33208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33209 <limits.h> exists even on freestanding compilers. */
33212 # include <limits.h>
33214 # include <assert.h>
33219 /* Override any GCC internal prototype to avoid an error.
33220 Use char because int might match the return type of a GCC
33221 builtin and then its argument prototype would still apply. */
33226 /* The GNU C library defines this for functions which it implements
33227 to always fail with ENOSYS. Some functions are actually named
33228 something starting with __ and the normal name is an alias. */
33229 #if defined __stub_$ac_func || defined __stub___$ac_func
33236 return $ac_func ();
33241 rm -f conftest.$ac_objext conftest$ac_exeext
33242 if { (ac_try="$ac_link"
33243 case "(($ac_try" in
33244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33245 *) ac_try_echo
=$ac_try;;
33247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33248 (eval "$ac_link") 2>conftest.er1
33250 grep -v '^ *+' conftest.er1
>conftest.err
33252 cat conftest.err
>&5
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); } &&
33255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33256 { (case "(($ac_try" in
33257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33258 *) ac_try_echo=$ac_try;;
33260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33261 (eval "$ac_try") 2>&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); }; } &&
33265 { ac_try='test -s conftest$ac_exeext'
33266 { (case "(($ac_try" in
33267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33268 *) ac_try_echo
=$ac_try;;
33270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33271 (eval "$ac_try") 2>&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; }; then
33275 eval "$as_ac_var=yes"
33277 echo "$as_me: failed program was:" >&5
33278 sed 's/^/| /' conftest.
$ac_ext >&5
33280 eval "$as_ac_var=no"
33283 rm -f core conftest.err conftest.
$ac_objext \
33284 conftest
$ac_exeext conftest.
$ac_ext
33286 ac_res
=`eval echo '${'$as_ac_var'}'`
33287 { echo "$as_me:$LINENO: result: $ac_res" >&5
33288 echo "${ECHO_T}$ac_res" >&6; }
33289 if test `eval echo '${'$as_ac_var'}'` = yes; then
33290 cat >>confdefs.h
<<_ACEOF
33291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33297 { echo "$as_me:$LINENO: checking for working mmap" >&5
33298 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33299 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33300 echo $ECHO_N "(cached) $ECHO_C" >&6
33302 if test "$cross_compiling" = yes; then
33303 ac_cv_func_mmap_fixed_mapped
=no
33305 cat >conftest.
$ac_ext <<_ACEOF
33308 cat confdefs.h
>>conftest.
$ac_ext
33309 cat >>conftest.
$ac_ext <<_ACEOF
33310 /* end confdefs.h. */
33311 $ac_includes_default
33312 /* malloc might have been renamed as rpl_malloc. */
33315 /* Thanks to Mike Haertel and Jim Avera for this test.
33316 Here is a matrix of mmap possibilities:
33317 mmap private not fixed
33318 mmap private fixed at somewhere currently unmapped
33319 mmap private fixed at somewhere already mapped
33320 mmap shared not fixed
33321 mmap shared fixed at somewhere currently unmapped
33322 mmap shared fixed at somewhere already mapped
33323 For private mappings, we should verify that changes cannot be read()
33324 back from the file, nor mmap's back from the file at a different
33325 address. (There have been systems where private was not correctly
33326 implemented like the infamous i386 svr4.0, and systems where the
33327 VM page cache was not coherent with the file system buffer cache
33328 like early versions of FreeBSD and possibly contemporary NetBSD.)
33329 For shared mappings, we should conversely verify that changes get
33330 propagated back to all the places they're supposed to be.
33332 Grep wants private fixed already mapped.
33333 The main things grep needs to know about mmap are:
33334 * does it exist and is it safe to write into the mmap'd area
33335 * how to use it (BSD variants) */
33338 #include <sys/mman.h>
33340 #if !STDC_HEADERS && !HAVE_STDLIB_H
33344 /* This mess was copied from the GNU getpagesize.h. */
33345 #if !HAVE_GETPAGESIZE
33346 /* Assume that all systems that can run configure have sys/param.h. */
33347 # if !HAVE_SYS_PARAM_H
33348 # define HAVE_SYS_PARAM_H 1
33351 # ifdef _SC_PAGESIZE
33352 # define getpagesize() sysconf(_SC_PAGESIZE)
33353 # else /* no _SC_PAGESIZE */
33354 # if HAVE_SYS_PARAM_H
33355 # include <sys/param.h>
33356 # ifdef EXEC_PAGESIZE
33357 # define getpagesize() EXEC_PAGESIZE
33358 # else /* no EXEC_PAGESIZE */
33360 # define getpagesize() NBPG * CLSIZE
33363 # endif /* no CLSIZE */
33364 # else /* no NBPG */
33366 # define getpagesize() NBPC
33367 # else /* no NBPC */
33369 # define getpagesize() PAGESIZE
33370 # endif /* PAGESIZE */
33371 # endif /* no NBPC */
33372 # endif /* no NBPG */
33373 # endif /* no EXEC_PAGESIZE */
33374 # else /* no HAVE_SYS_PARAM_H */
33375 # define getpagesize() 8192 /* punt totally */
33376 # endif /* no HAVE_SYS_PARAM_H */
33377 # endif /* no _SC_PAGESIZE */
33379 #endif /* no HAVE_GETPAGESIZE */
33384 char *data, *data2, *data3;
33388 pagesize = getpagesize ();
33390 /* First, make a file with some known garbage in it. */
33391 data = (char *) malloc (pagesize);
33394 for (i = 0; i < pagesize; ++i)
33395 *(data + i) = rand ();
33397 fd = creat ("conftest.mmap", 0600);
33400 if (write (fd, data, pagesize) != pagesize)
33404 /* Next, try to mmap the file at a fixed address which already has
33405 something else allocated at it. If we can, also make sure that
33406 we see the same garbage. */
33407 fd = open ("conftest.mmap", O_RDWR);
33410 data2 = (char *) malloc (2 * pagesize);
33413 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33414 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33415 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33417 for (i = 0; i < pagesize; ++i)
33418 if (*(data + i) != *(data2 + i))
33421 /* Finally, make sure that changes to the mapped area do not
33422 percolate back to the file as seen by read(). (This is a bug on
33423 some variants of i386 svr4.0.) */
33424 for (i = 0; i < pagesize; ++i)
33425 *(data2 + i) = *(data2 + i) + 1;
33426 data3 = (char *) malloc (pagesize);
33429 if (read (fd, data3, pagesize) != pagesize)
33431 for (i = 0; i < pagesize; ++i)
33432 if (*(data + i) != *(data3 + i))
33438 rm -f conftest
$ac_exeext
33439 if { (ac_try
="$ac_link"
33440 case "(($ac_try" in
33441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33442 *) ac_try_echo=$ac_try;;
33444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33445 (eval "$ac_link") 2>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33449 { (case "(($ac_try" in
33450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33451 *) ac_try_echo
=$ac_try;;
33453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33454 (eval "$ac_try") 2>&5
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); }; }; then
33458 ac_cv_func_mmap_fixed_mapped
=yes
33460 echo "$as_me: program exited with status $ac_status" >&5
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.
$ac_ext >&5
33464 ( exit $ac_status )
33465 ac_cv_func_mmap_fixed_mapped
=no
33467 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33472 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33473 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33474 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33476 cat >>confdefs.h
<<\_ACEOF
33477 #define HAVE_MMAP 1
33481 rm -f conftest.mmap
33483 { echo "$as_me:$LINENO: checking for mmap of files" >&5
33484 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
33485 if test "${ac_cv_func_mmap_file+set}" = set; then
33486 echo $ECHO_N "(cached) $ECHO_C" >&6
33489 ac_cpp
='$CPP $CPPFLAGS'
33490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33494 if test "$cross_compiling" = yes; then
33495 ac_cv_func_mmap_file
=no
33497 cat >conftest.
$ac_ext <<_ACEOF
33501 cat confdefs.h
>>conftest.
$ac_ext
33502 cat >>conftest.
$ac_ext <<_ACEOF
33503 /* end confdefs.h. */
33505 #include <sys/types.h>
33506 #include <sys/mman.h>
33514 fd = creat ("foo",0777);
33515 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33517 return (fd != (int) MAP_FAILED);
33522 rm -f conftest
$ac_exeext
33523 if { (ac_try
="$ac_link"
33524 case "(($ac_try" in
33525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33526 *) ac_try_echo=$ac_try;;
33528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33529 (eval "$ac_link") 2>&5
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33533 { (case "(($ac_try" in
33534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33535 *) ac_try_echo
=$ac_try;;
33537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33538 (eval "$ac_try") 2>&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); }; }; then
33542 ac_cv_func_mmap_file
=yes
33544 echo "$as_me: program exited with status $ac_status" >&5
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.
$ac_ext >&5
33548 ( exit $ac_status )
33549 ac_cv_func_mmap_file
=no
33551 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33556 ac_cpp
='$CPP $CPPFLAGS'
33557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33563 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
33564 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33565 if test "$ac_cv_func_mmap_file" = yes; then
33567 cat >>confdefs.h
<<\_ACEOF
33568 #define HAVE_MMAP_FILE
33575 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
33576 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
33577 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33578 echo $ECHO_N "(cached) $ECHO_C" >&6
33580 if test "$llvm_cv_os_type" = "Interix" ; then
33581 ac_cv_need_dev_zero_for_mmap
=yes
33583 ac_cv_need_dev_zero_for_mmap
=no
33587 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
33588 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33589 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33591 cat >>confdefs.h
<<\_ACEOF
33592 #define NEED_DEV_ZERO_FOR_MMAP 1
33597 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
33599 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
33600 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
33602 if test "$ac_cv_func_mmap_file" = "no"
33604 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
33605 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
33611 for ac_func
in __dso_handle
33613 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33616 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33617 echo $ECHO_N "(cached) $ECHO_C" >&6
33619 cat >conftest.
$ac_ext <<_ACEOF
33622 cat confdefs.h
>>conftest.
$ac_ext
33623 cat >>conftest.
$ac_ext <<_ACEOF
33624 /* end confdefs.h. */
33625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33627 #define $ac_func innocuous_$ac_func
33629 /* System header to define __stub macros and hopefully few prototypes,
33630 which can conflict with char $ac_func (); below.
33631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33632 <limits.h> exists even on freestanding compilers. */
33635 # include <limits.h>
33637 # include <assert.h>
33642 /* Override any GCC internal prototype to avoid an error.
33643 Use char because int might match the return type of a GCC
33644 builtin and then its argument prototype would still apply. */
33649 /* The GNU C library defines this for functions which it implements
33650 to always fail with ENOSYS. Some functions are actually named
33651 something starting with __ and the normal name is an alias. */
33652 #if defined __stub_$ac_func || defined __stub___$ac_func
33659 return $ac_func ();
33664 rm -f conftest.
$ac_objext conftest
$ac_exeext
33665 if { (ac_try
="$ac_link"
33666 case "(($ac_try" in
33667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33668 *) ac_try_echo=$ac_try;;
33670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33671 (eval "$ac_link") 2>conftest.er1
33673 grep -v '^ *+' conftest.er1 >conftest.err
33675 cat conftest.err >&5
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); } &&
33678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33679 { (case "(($ac_try" in
33680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33681 *) ac_try_echo
=$ac_try;;
33683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33684 (eval "$ac_try") 2>&5
33686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687 (exit $ac_status); }; } &&
33688 { ac_try
='test -s conftest$ac_exeext'
33689 { (case "(($ac_try" in
33690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33691 *) ac_try_echo=$ac_try;;
33693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33694 (eval "$ac_try") 2>&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); }; }; then
33698 eval "$as_ac_var=yes"
33700 echo "$as_me: failed program was:" >&5
33701 sed 's/^/| /' conftest.$ac_ext >&5
33703 eval "$as_ac_var=no"
33706 rm -f core conftest.err conftest.$ac_objext \
33707 conftest$ac_exeext conftest.$ac_ext
33709 ac_res=`eval echo '${'$as_ac_var'}'`
33710 { echo "$as_me:$LINENO: result: $ac_res" >&5
33711 echo "${ECHO_T}$ac_res" >&6; }
33712 if test `eval echo '${'$as_ac_var'}'` = yes; then
33713 cat >>confdefs.h <<_ACEOF
33714 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
33721 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
33722 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
33723 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33726 llvm_cv_llvmgcc_sanity="no"
33727 if test -x "$LLVMGCC" ; then
33728 cp /dev/null conftest.c
33729 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
33730 grep 'target datalayout =' > /dev/null 2>&1
33731 if test $? -eq 0 ; then
33732 llvm_cv_llvmgcc_sanity="yes"
33737 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
33738 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
33740 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
33741 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
33742 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
33743 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1
`
33744 LLVMCC1=$llvmcc1path
33746 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus
`
33747 LLVMCC1PLUS=$llvmcc1pluspath
33749 llvmgccdir=`echo "$llvmcc1path" |
sed 's,/libexec/.*,,'`
33750 LLVMGCCDIR=$llvmgccdir
33752 llvmgcclibexec=`echo "$llvmcc1path" |
sed 's,/cc1,,'`
33753 LLVMGCCLIBEXEC=$llvmgcclibexec
33755 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 |
sed 's/^\([0-9.]*\).*/\1/'`
33756 llvmgccmajvers=`echo $llvmgccversion |
sed 's/^\([0-9]\).*/\1/'`
33757 LLVMGCC_VERSION=$llvmgccversion
33759 LLVMGCC_MAJVERS=$llvmgccmajvers
33761 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 |
grep '^Configured with:' |
sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
33762 LLVMGCC_LANGS=$llvmgcclangs
33764 { echo "$as_me:$LINENO: result: ok" >&5
33765 echo "${ECHO_T}ok" >&6; }
33768 SHLIBEXT=$libltdl_cv_shlibext
33771 # Translate the various configuration directories and other basic
33772 # information into substitutions that will end up in Makefile.config.in
33773 # that these configured values can be used by the makefiles
33774 if test "${prefix}" = "NONE" ; then
33775 prefix="/usr/local"
33777 eval LLVM_PREFIX="${prefix}";
33778 eval LLVM_BINDIR="${prefix}/bin";
33779 eval LLVM_LIBDIR="${prefix}/lib";
33780 eval LLVM_DATADIR="${prefix}/share/llvm";
33781 eval LLVM_DOCSDIR="${prefix}/docs/llvm";
33782 eval LLVM_ETCDIR="${prefix}/etc/llvm";
33783 eval LLVM_INCLUDEDIR="${prefix}/include";
33784 eval LLVM_INFODIR="${prefix}/info";
33785 eval LLVM_MANDIR="${prefix}/man";
33786 LLVM_CONFIGTIME=`date`
33798 # Place the various directores into the config.h file as #defines so that we
33799 # can know about the installation paths within LLVM.
33801 cat >>confdefs.h <<_ACEOF
33802 #define LLVM_PREFIX "$LLVM_PREFIX"
33806 cat >>confdefs.h <<_ACEOF
33807 #define LLVM_BINDIR "$LLVM_BINDIR"
33811 cat >>confdefs.h <<_ACEOF
33812 #define LLVM_LIBDIR "$LLVM_LIBDIR"
33816 cat >>confdefs.h <<_ACEOF
33817 #define LLVM_DATADIR "$LLVM_DATADIR"
33821 cat >>confdefs.h <<_ACEOF
33822 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
33826 cat >>confdefs.h <<_ACEOF
33827 #define LLVM_ETCDIR "$LLVM_ETCDIR"
33831 cat >>confdefs.h <<_ACEOF
33832 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
33836 cat >>confdefs.h <<_ACEOF
33837 #define LLVM_INFODIR "$LLVM_INFODIR"
33841 cat >>confdefs.h <<_ACEOF
33842 #define LLVM_MANDIR "$LLVM_MANDIR"
33846 cat >>confdefs.h <<_ACEOF
33847 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
33851 cat >>confdefs.h <<_ACEOF
33852 #define LLVM_HOSTTRIPLE "$host"
33856 # Determine which bindings to build.
33857 if test "$BINDINGS_TO_BUILD" = auto ; then
33858 BINDINGS_TO_BUILD=""
33859 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
33860 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
33863 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
33866 # This isn't really configurey, but it avoids having to repeat the list in
33871 # Do any work necessary to ensure that bindings have what they need.
33872 binding_prereqs_failed=0
33873 for a_binding in $BINDINGS_TO_BUILD ; do
33874 case "$a_binding" in
33876 if test "x$OCAMLC" = x ; then
33877 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
33878 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
33879 binding_prereqs_failed=1
33881 if test "x$OCAMLDEP" = x ; then
33882 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
33883 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
33884 binding_prereqs_failed=1
33886 if test "x$OCAMLOPT" = x ; then
33887 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
33888 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
33890 if test "x$with_ocaml_libdir" != xauto ; then
33891 OCAML_LIBDIR=$with_ocaml_libdir
33894 ocaml_stdlib="`"$OCAMLC" -where`"
33895 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
33897 # ocaml stdlib is beneath our prefix; use stdlib
33898 OCAML_LIBDIR=$ocaml_stdlib
33901 # ocaml stdlib is outside our prefix; use libdir/ocaml
33902 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
33909 if test "$binding_prereqs_failed" = 1 ; then
33910 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
33911 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
33912 { (exit 1); exit 1; }; }
33915 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
33916 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
33917 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33921 ac_cpp='$CXXCPP $CPPFLAGS'
33922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33926 oldcxxflags="$CXXFLAGS"
33927 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
33928 cat >conftest.$ac_ext <<_ACEOF
33931 cat confdefs.h >>conftest.$ac_ext
33932 cat >>conftest.$ac_ext <<_ACEOF
33933 /* end confdefs.h. */
33943 rm -f conftest.$ac_objext
33944 if { (ac_try="$ac_compile"
33945 case "(($ac_try" in
33946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33947 *) ac_try_echo
=$ac_try;;
33949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33950 (eval "$ac_compile") 2>conftest.er1
33952 grep -v '^ *+' conftest.er1
>conftest.err
33954 cat conftest.err
>&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); } &&
33957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33958 { (case "(($ac_try" in
33959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33960 *) ac_try_echo=$ac_try;;
33962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33963 (eval "$ac_try") 2>&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); }; } &&
33967 { ac_try='test -s conftest.$ac_objext'
33968 { (case "(($ac_try" in
33969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33970 *) ac_try_echo
=$ac_try;;
33972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33973 (eval "$ac_try") 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; }; then
33977 llvm_cv_cxx_visibility_inlines_hidden
=yes
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.
$ac_ext >&5
33982 llvm_cv_cxx_visibility_inlines_hidden
=no
33985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33986 CXXFLAGS
="$oldcxxflags"
33988 ac_cpp
='$CPP $CPPFLAGS'
33989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33995 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
33996 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
33997 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
33998 ENABLE_VISIBILITY_INLINES_HIDDEN
=1
34001 ENABLE_VISIBILITY_INLINES_HIDDEN
=0
34006 if test "$llvm_cv_link_use_r" = "yes" ; then
34013 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
34014 RDYNAMIC
="-Wl,-export-dynamic"
34021 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
34023 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
34025 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator.h"
34028 ac_config_files
="$ac_config_files Makefile.config"
34031 ac_config_files
="$ac_config_files llvm.spec"
34034 ac_config_files
="$ac_config_files docs/doxygen.cfg"
34037 ac_config_files
="$ac_config_files tools/llvmc/plugins/Base/Base.td"
34040 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
34043 ac_config_commands
="$ac_config_commands setup"
34045 ac_config_commands
="$ac_config_commands Makefile"
34048 ac_config_commands
="$ac_config_commands Makefile.common"
34051 ac_config_commands
="$ac_config_commands examples/Makefile"
34054 ac_config_commands
="$ac_config_commands lib/Makefile"
34057 ac_config_commands
="$ac_config_commands runtime/Makefile"
34060 ac_config_commands
="$ac_config_commands test/Makefile"
34063 ac_config_commands
="$ac_config_commands test/Makefile.tests"
34066 ac_config_commands
="$ac_config_commands unittests/Makefile"
34069 ac_config_commands
="$ac_config_commands tools/Makefile"
34072 ac_config_commands
="$ac_config_commands utils/Makefile"
34075 ac_config_commands
="$ac_config_commands projects/Makefile"
34078 ac_config_commands
="$ac_config_commands bindings/Makefile"
34081 ac_config_commands
="$ac_config_commands bindings/ocaml/Makefile.ocaml"
34085 cat >confcache
<<\_ACEOF
34086 # This file is a shell script that caches the results of configure
34087 # tests run on this system so they can be shared between configure
34088 # scripts and configure runs, see configure's option --config-cache.
34089 # It is not useful on other systems. If it contains results you don't
34090 # want to keep, you may remove or edit it.
34092 # config.status only pays attention to the cache file if you give it
34093 # the --recheck option to rerun configure.
34095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34097 # following values.
34101 # The following way of writing the cache mishandles newlines in values,
34102 # but we know of no workaround that is simple, portable, and efficient.
34103 # So, we kill variables containing newlines.
34104 # Ultrix sh set writes to stderr and can't be redirected directly,
34105 # and sets the high bit in the cache file unless we assign to the vars.
34107 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34108 eval ac_val
=\$
$ac_var
34112 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
34113 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
34116 _ | IFS | as_nl
) ;; #(
34117 *) $as_unset $ac_var ;;
34123 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34124 *${as_nl}ac_space
=\
*)
34125 # `set' does not quote correctly, so add quotes (double-quote
34126 # substitution turns \\\\ into \\, and sed turns \\ into \).
34129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34132 # `set' quotes correctly as required by POSIX, so do not add quotes.
34133 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34144 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34146 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
34147 if test -w "$cache_file"; then
34148 test "x$cache_file" != "x/dev/null" &&
34149 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
34150 echo "$as_me: updating cache $cache_file" >&6;}
34151 cat confcache
>$cache_file
34153 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
34154 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34159 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34160 # Let make expand exec_prefix.
34161 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34163 DEFS
=-DHAVE_CONFIG_H
34167 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34168 # 1. Remove the extension, and $U if already installed.
34169 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
34170 ac_i
=`echo "$ac_i" | sed "$ac_script"`
34171 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34172 # will be set to the directory where LIBOBJS objects are built.
34173 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34174 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
34176 LIBOBJS
=$ac_libobjs
34178 LTLIBOBJS
=$ac_ltlibobjs
34181 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
34182 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
34183 Usually this means the macro was only invoked conditionally." >&5
34184 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
34185 Usually this means the macro was only invoked conditionally." >&2;}
34186 { (exit 1); exit 1; }; }
34188 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
34189 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34190 Usually this means the macro was only invoked conditionally." >&5
34191 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34192 Usually this means the macro was only invoked conditionally." >&2;}
34193 { (exit 1); exit 1; }; }
34196 : ${CONFIG_STATUS=./config.status}
34197 ac_clean_files_save
=$ac_clean_files
34198 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34199 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34200 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34201 cat >$CONFIG_STATUS <<_ACEOF
34203 # Generated by $as_me.
34204 # Run this file to recreate the current configuration.
34205 # Compiler output produced by configure, useful for debugging
34206 # configure, is in config.log if it exists.
34209 ac_cs_recheck=false
34211 SHELL=\${CONFIG_SHELL-$SHELL}
34214 cat >>$CONFIG_STATUS <<\_ACEOF
34215 ## --------------------- ##
34216 ## M4sh Initialization. ##
34217 ## --------------------- ##
34219 # Be Bourne compatible
34220 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34223 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34224 # is contrary to our usage. Disable this feature.
34225 alias -g '${1+"$@"}'='"$@"'
34226 setopt NO_GLOB_SUBST
34228 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
34230 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
34231 DUALCASE
=1; export DUALCASE
# for MKS sh
34235 # Avoid depending upon Character Ranges.
34236 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34237 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34238 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34239 as_cr_digits
='0123456789'
34240 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34242 # The user is always right.
34243 if test "${PATH_SEPARATOR+set}" != set; then
34244 echo "#! /bin/sh" >conf$$.sh
34245 echo "exit 0" >>conf$$.sh
34247 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34255 # Support unset when possible.
34256 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34264 # We need space, tab and new line, in precisely that order. Quoting is
34265 # there to prevent editors from complaining about space-tab.
34266 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34267 # splitting by setting IFS to empty value.)
34272 # Find who we are. Look in the path if we contain no directory separator.
34274 *[\\/]* ) as_myself
=$0 ;;
34275 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34276 for as_dir
in $PATH
34279 test -z "$as_dir" && as_dir
=.
34280 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34286 # We did not find ourselves, most probably we were run as `sh COMMAND'
34287 # in which case we are not to be found in the path.
34288 if test "x$as_myself" = x
; then
34291 if test ! -f "$as_myself"; then
34292 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34293 { (exit 1); exit 1; }
34296 # Work around bugs in pre-3.0 UWIN ksh.
34297 for as_var
in ENV MAIL MAILPATH
34298 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34306 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34307 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34308 LC_TELEPHONE LC_TIME
34310 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34311 eval $as_var=C
; export $as_var
34313 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34317 # Required to use basename.
34318 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34319 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34325 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34326 as_basename
=basename
34332 # Name of the executable.
34333 as_me
=`$as_basename -- "$0" ||
34334 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34335 X"$0" : 'X\(//\)$' \| \
34336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34338 sed '/^.*\/\([^/][^/]*\)\/*$/{
34357 as_lineno_1
=$LINENO
34358 as_lineno_2
=$LINENO
34359 test "x$as_lineno_1" != "x$as_lineno_2" &&
34360 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
34362 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34363 # uniformly replaced by the line number. The first 'sed' inserts a
34364 # line-number line after each line using $LINENO; the second 'sed'
34365 # does the real work. The second script uses 'N' to pair each
34366 # line-number line with the line containing $LINENO, and appends
34367 # trailing '-' during substitution so that $LINENO is not a special
34368 # case at line end.
34369 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34370 # scripts with optimization help from Paolo Bonzini. Blame Lee
34371 # E. McMahon (1931-1989) for sed's syntax. :-)
34383 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34386 ' >$as_me.lineno
&&
34387 chmod +x
"$as_me.lineno" ||
34388 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34389 { (exit 1); exit 1; }; }
34391 # Don't try to exec as it changes $[0], causing all sort of problems
34392 # (the dirname of $[0] is not the place where we might find the
34393 # original and so on. Autoconf is especially sensitive to this).
34394 .
"./$as_me.lineno"
34395 # Exit status is that of the last command.
34400 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
34406 ECHO_C
= ECHO_N
= ECHO_T
=
34407 case `echo -n x` in
34409 case `echo 'x\c'` in
34410 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
34417 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34418 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34424 rm -f conf$$ conf$$.exe conf$$.
file
34425 if test -d conf$$.dir
; then
34426 rm -f conf$$.dir
/conf$$.
file
34432 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34434 # ... but there are two gotchas:
34435 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34436 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34437 # In both cases, we have to default to `cp -p'.
34438 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
34440 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34445 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
34446 rmdir conf$$.dir
2>/dev
/null
34448 if mkdir
-p .
2>/dev
/null
; then
34451 test -d .
/-p && rmdir .
/-p
34455 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
34456 # systems may use methods other than mode bits to determine executability.
34457 cat >conf$$.
file <<_ASEOF
34461 chmod +x conf$$.
file
34462 if test -x conf$$.
file >/dev
/null
2>&1; then
34463 as_executable_p
="test -x"
34469 # Sed expression to map a string onto a valid CPP name.
34470 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34472 # Sed expression to map a string onto a valid variable name.
34473 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34478 # Save the log message, to keep $[0] and so on meaningful, and to
34479 # report actual input values of CONFIG_FILES etc. instead of their
34480 # values after options handling.
34482 This file was extended by llvm $as_me 2.6svn, which was
34483 generated by GNU Autoconf 2.60. Invocation command line was
34485 CONFIG_FILES = $CONFIG_FILES
34486 CONFIG_HEADERS = $CONFIG_HEADERS
34487 CONFIG_LINKS = $CONFIG_LINKS
34488 CONFIG_COMMANDS = $CONFIG_COMMANDS
34491 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34496 cat >>$CONFIG_STATUS <<_ACEOF
34497 # Files that config.status was made for.
34498 config_files="$ac_config_files"
34499 config_headers="$ac_config_headers"
34500 config_commands="$ac_config_commands"
34504 cat >>$CONFIG_STATUS <<\_ACEOF
34506 \`$as_me' instantiates files from templates according to the
34507 current configuration.
34509 Usage: $0 [OPTIONS] [FILE]...
34511 -h, --help print this help, then exit
34512 -V, --version print version number, then exit
34513 -q, --quiet do not print progress messages
34514 -d, --debug don't remove temporary files
34515 --recheck update $as_me by reconfiguring in the same conditions
34516 --file=FILE[:TEMPLATE]
34517 instantiate the configuration file FILE
34518 --header=FILE[:TEMPLATE]
34519 instantiate the configuration header FILE
34521 Configuration files:
34524 Configuration headers:
34527 Configuration commands:
34530 Report bugs to <bug-autoconf@gnu.org>."
34533 cat >>$CONFIG_STATUS <<_ACEOF
34535 llvm config.status 2.6svn
34536 configured by $0, generated by GNU Autoconf 2.60,
34537 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34539 Copyright (C) 2006 Free Software Foundation, Inc.
34540 This config.status script is free software; the Free Software Foundation
34541 gives unlimited permission to copy, distribute and modify it."
34548 cat >>$CONFIG_STATUS <<\_ACEOF
34549 # If no file are specified by the user, then we need to provide default
34550 # value. By we need to know if files were specified by the user.
34556 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34557 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34568 # Handling of the options.
34569 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34571 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34572 echo "$ac_cs_version"; exit ;;
34573 --debug |
--debu |
--deb |
--de |
--d |
-d )
34575 --file |
--fil |
--fi |
--f )
34577 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34578 ac_need_defaults
=false
;;
34579 --header |
--heade |
--head |
--hea )
34581 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34582 ac_need_defaults
=false
;;
34584 # Conflict between --help and --header
34585 { echo "$as_me: error: ambiguous option: $1
34586 Try \`$0 --help' for more information." >&2
34587 { (exit 1); exit 1; }; };;
34588 --help |
--hel |
-h )
34589 echo "$ac_cs_usage"; exit ;;
34590 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34591 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34594 # This is an error.
34595 -*) { echo "$as_me: error: unrecognized option: $1
34596 Try \`$0 --help' for more information." >&2
34597 { (exit 1); exit 1; }; } ;;
34599 *) ac_config_targets
="$ac_config_targets $1"
34600 ac_need_defaults
=false
;;
34606 ac_configure_extra_args
=
34608 if $ac_cs_silent; then
34610 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34614 cat >>$CONFIG_STATUS <<_ACEOF
34615 if \$ac_cs_recheck; then
34616 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34617 CONFIG_SHELL=$SHELL
34618 export CONFIG_SHELL
34619 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34623 cat >>$CONFIG_STATUS <<\_ACEOF
34627 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34628 ## Running $as_me. ##
34634 cat >>$CONFIG_STATUS <<_ACEOF
34638 llvm_src="${srcdir}"
34642 cat >>$CONFIG_STATUS <<\_ACEOF
34644 # Handling of arguments.
34645 for ac_config_target
in $ac_config_targets
34647 case $ac_config_target in
34648 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34649 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34650 "include/llvm/ADT/iterator.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator.h" ;;
34651 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34652 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34653 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34654 "tools/llvmc/plugins/Base/Base.td") CONFIG_FILES
="$CONFIG_FILES tools/llvmc/plugins/Base/Base.td" ;;
34655 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34656 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34657 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34658 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34659 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34660 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34661 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34662 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34663 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34664 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
34665 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34666 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34667 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34668 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
34669 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
34671 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34672 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34673 { (exit 1); exit 1; }; };;
34678 # If the user did not use the arguments to specify the items to instantiate,
34679 # then the envvar interface is used. Set only those that are not.
34680 # We use the long form for the default assignment because of an extremely
34681 # bizarre bug on SunOS 4.1.3.
34682 if $ac_need_defaults; then
34683 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34684 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34685 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34688 # Have a temporary directory for convenience. Make it in the build tree
34689 # simply because there is no reason against having it here, and in addition,
34690 # creating and moving files from /tmp can sometimes cause problems.
34691 # Hook for its removal unless debugging.
34692 # Note that there is a small window in which the directory will not be cleaned:
34693 # after its creation but before its name has been assigned to `$tmp'.
34697 trap 'exit_status=$?
34698 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34700 trap '{ (exit 1); exit 1; }' 1 2 13 15
34702 # Create a (secure) tmp directory for tmp files.
34705 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34706 test -n "$tmp" && test -d "$tmp"
34709 tmp
=.
/conf$$
-$RANDOM
34710 (umask 077 && mkdir
"$tmp")
34713 echo "$me: cannot create a temporary directory in ." >&2
34714 { (exit 1); exit 1; }
34718 # Set up the sed scripts for CONFIG_FILES section.
34721 # No need to generate the scripts if there are no CONFIG_FILES.
34722 # This happens for instance when ./config.status config.h
34723 if test -n "$CONFIG_FILES"; then
34730 for ac_last_try
in false false false false false
:; do
34731 cat >conf$
$subs.
sed <<_ACEOF
34732 SHELL!$SHELL$ac_delim
34733 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34734 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34735 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34736 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34737 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34738 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34739 exec_prefix!$exec_prefix$ac_delim
34740 prefix!$prefix$ac_delim
34741 program_transform_name!$program_transform_name$ac_delim
34742 bindir!$bindir$ac_delim
34743 sbindir!$sbindir$ac_delim
34744 libexecdir!$libexecdir$ac_delim
34745 datarootdir!$datarootdir$ac_delim
34746 datadir!$datadir$ac_delim
34747 sysconfdir!$sysconfdir$ac_delim
34748 sharedstatedir!$sharedstatedir$ac_delim
34749 localstatedir!$localstatedir$ac_delim
34750 includedir!$includedir$ac_delim
34751 oldincludedir!$oldincludedir$ac_delim
34752 docdir!$docdir$ac_delim
34753 infodir!$infodir$ac_delim
34754 htmldir!$htmldir$ac_delim
34755 dvidir!$dvidir$ac_delim
34756 pdfdir!$pdfdir$ac_delim
34757 psdir!$psdir$ac_delim
34758 libdir!$libdir$ac_delim
34759 localedir!$localedir$ac_delim
34760 mandir!$mandir$ac_delim
34761 DEFS!$DEFS$ac_delim
34762 ECHO_C!$ECHO_C$ac_delim
34763 ECHO_N!$ECHO_N$ac_delim
34764 ECHO_T!$ECHO_T$ac_delim
34765 LIBS!$LIBS$ac_delim
34766 build_alias!$build_alias$ac_delim
34767 host_alias!$host_alias$ac_delim
34768 target_alias!$target_alias$ac_delim
34769 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34770 subdirs!$subdirs$ac_delim
34771 build!$build$ac_delim
34772 build_cpu!$build_cpu$ac_delim
34773 build_vendor!$build_vendor$ac_delim
34774 build_os!$build_os$ac_delim
34775 host!$host$ac_delim
34776 host_cpu!$host_cpu$ac_delim
34777 host_vendor!$host_vendor$ac_delim
34778 host_os!$host_os$ac_delim
34779 target!$target$ac_delim
34780 target_cpu!$target_cpu$ac_delim
34781 target_vendor!$target_vendor$ac_delim
34782 target_os!$target_os$ac_delim
34784 LINKALL!$LINKALL$ac_delim
34785 NOLINKALL!$NOLINKALL$ac_delim
34786 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34787 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34788 ARCH!$ARCH$ac_delim
34789 ENDIAN!$ENDIAN$ac_delim
34791 CFLAGS!$CFLAGS$ac_delim
34792 LDFLAGS!$LDFLAGS$ac_delim
34793 CPPFLAGS!$CPPFLAGS$ac_delim
34794 ac_ct_CC!$ac_ct_CC$ac_delim
34795 EXEEXT!$EXEEXT$ac_delim
34796 OBJEXT!$OBJEXT$ac_delim
34798 GREP!$GREP$ac_delim
34799 EGREP!$EGREP$ac_delim
34800 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
34801 BUILD_CC!$BUILD_CC$ac_delim
34802 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
34803 BUILD_CXX!$BUILD_CXX$ac_delim
34804 CVSBUILD!$CVSBUILD$ac_delim
34805 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
34806 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
34807 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
34808 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
34809 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
34810 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
34812 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
34813 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
34814 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
34815 ENABLE_PIC!$ENABLE_PIC$ac_delim
34816 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
34817 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
34818 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
34819 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
34821 CXXFLAGS!$CXXFLAGS$ac_delim
34822 ac_ct_CXX!$ac_ct_CXX$ac_delim
34824 ifGNUmake!$ifGNUmake$ac_delim
34825 LN_S!$LN_S$ac_delim
34828 DATE!$DATE$ac_delim
34831 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34833 elif $ac_last_try; then
34834 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34835 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34836 { (exit 1); exit 1; }; }
34838 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34842 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34843 if test -n "$ac_eof"; then
34844 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34845 ac_eof
=`expr $ac_eof + 1`
34848 cat >>$CONFIG_STATUS <<_ACEOF
34849 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34853 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34854 s/^/s,@/; s/!/@,|#_!!_#|/
34857 s/'"$ac_delim"'$/,g/; t
34859 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34860 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34861 rm -f conf$
$subs.
sed
34862 cat >>$CONFIG_STATUS <<_ACEOF
34868 for ac_last_try
in false false false false false
:; do
34869 cat >conf$
$subs.
sed <<_ACEOF
34870 FIND!$FIND$ac_delim
34871 MKDIR!$MKDIR$ac_delim
34873 RANLIB!$RANLIB$ac_delim
34877 BINPWD!$BINPWD$ac_delim
34878 GRAPHVIZ!$GRAPHVIZ$ac_delim
34881 DOTTY!$DOTTY$ac_delim
34882 PERL!$PERL$ac_delim
34883 HAVE_PERL!$HAVE_PERL$ac_delim
34884 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34885 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34886 INSTALL_DATA!$INSTALL_DATA$ac_delim
34887 BZIP2!$BZIP2$ac_delim
34888 DOXYGEN!$DOXYGEN$ac_delim
34889 GROFF!$GROFF$ac_delim
34890 GZIP!$GZIP$ac_delim
34891 POD2HTML!$POD2HTML$ac_delim
34892 POD2MAN!$POD2MAN$ac_delim
34893 RUNTEST!$RUNTEST$ac_delim
34894 TCLSH!$TCLSH$ac_delim
34896 OCAMLC!$OCAMLC$ac_delim
34897 OCAMLOPT!$OCAMLOPT$ac_delim
34898 OCAMLDEP!$OCAMLDEP$ac_delim
34899 OCAMLDOC!$OCAMLDOC$ac_delim
34901 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
34902 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
34903 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
34904 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
34905 LIBADD_DL!$LIBADD_DL$ac_delim
34906 ECHO!$ECHO$ac_delim
34908 STRIP!$STRIP$ac_delim
34909 CXXCPP!$CXXCPP$ac_delim
34911 FFLAGS!$FFLAGS$ac_delim
34912 ac_ct_F77!$ac_ct_F77$ac_delim
34913 LIBTOOL!$LIBTOOL$ac_delim
34914 LLVMGCCCOMMAND!$LLVMGCCCOMMAND$ac_delim
34915 LLVMGXXCOMMAND!$LLVMGXXCOMMAND$ac_delim
34916 LLVMGCC!$LLVMGCC$ac_delim
34917 LLVMGXX!$LLVMGXX$ac_delim
34918 USE_UDIS86!$USE_UDIS86$ac_delim
34919 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
34920 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
34921 ALLOCA!$ALLOCA$ac_delim
34922 MMAP_FILE!$MMAP_FILE$ac_delim
34923 LLVMCC1!$LLVMCC1$ac_delim
34924 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
34925 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
34926 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
34927 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
34928 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
34929 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
34930 SHLIBEXT!$SHLIBEXT$ac_delim
34931 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
34932 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
34933 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
34934 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
34935 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
34936 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
34937 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
34938 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
34939 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
34940 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
34941 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
34942 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
34943 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
34944 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
34945 RPATH!$RPATH$ac_delim
34946 RDYNAMIC!$RDYNAMIC$ac_delim
34947 LIBOBJS!$LIBOBJS$ac_delim
34948 LTLIBOBJS!$LTLIBOBJS$ac_delim
34951 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
34953 elif $ac_last_try; then
34954 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34955 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34956 { (exit 1); exit 1; }; }
34958 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34962 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34963 if test -n "$ac_eof"; then
34964 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34965 ac_eof
=`expr $ac_eof + 1`
34968 cat >>$CONFIG_STATUS <<_ACEOF
34969 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34973 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34974 s/^/s,@/; s/!/@,|#_!!_#|/
34977 s/'"$ac_delim"'$/,g/; t
34979 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34980 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34981 rm -f conf$
$subs.
sed
34982 cat >>$CONFIG_STATUS <<_ACEOF
34989 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34990 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34991 # trailing colons and then remove the whole line if VPATH becomes empty
34992 # (actually we leave an empty line to preserve line numbers).
34993 if test "x$srcdir" = x.
; then
34994 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34995 s/:*\$(srcdir):*/:/
34996 s/:*\${srcdir}:*/:/
34998 s/^\([^=]*=[ ]*\):*/\1/
35004 cat >>$CONFIG_STATUS <<\_ACEOF
35005 fi # test -n "$CONFIG_FILES"
35008 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
35011 :[FHLC
]) ac_mode
=$ac_tag; continue;;
35013 case $ac_mode$ac_tag in
35015 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
35016 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
35017 { (exit 1); exit 1; }; };;
35018 :[FH
]-) ac_tag
=-:-;;
35019 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
35036 -) ac_f
="$tmp/stdin";;
35037 *) # Look for the file first in the build tree, then in the source tree
35038 # (if the path is not absolute). The absolute path cannot be DOS-style,
35039 # because $ac_f cannot contain `:'.
35043 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
35045 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
35046 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
35047 { (exit 1); exit 1; }; };;
35049 ac_file_inputs
="$ac_file_inputs $ac_f"
35052 # Let's still pretend it is `configure' which instantiates (i.e., don't
35053 # use $as_me), people would be surprised to read:
35054 # /* config.h. Generated by config.status. */
35055 configure_input
="Generated from "`IFS=:
35056 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
35057 if test x
"$ac_file" != x-
; then
35058 configure_input
="$ac_file. $configure_input"
35059 { echo "$as_me:$LINENO: creating $ac_file" >&5
35060 echo "$as_me: creating $ac_file" >&6;}
35064 *:-:* |
*:-) cat >"$tmp/stdin";;
35069 ac_dir
=`$as_dirname -- "$ac_file" ||
35070 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35071 X"$ac_file" : 'X\(//\)[^/]' \| \
35072 X"$ac_file" : 'X\(//\)$' \| \
35073 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35079 /^X\(\/\/\)[^/].*/{
35094 -*) as_dir
=.
/$as_dir;;
35096 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35100 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35101 *) as_qdir
=$as_dir;;
35103 as_dirs
="'$as_qdir' $as_dirs"
35104 as_dir
=`$as_dirname -- "$as_dir" ||
35105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35106 X"$as_dir" : 'X\(//\)[^/]' \| \
35107 X"$as_dir" : 'X\(//\)$' \| \
35108 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35114 /^X\(\/\/\)[^/].*/{
35127 test -d "$as_dir" && break
35129 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35130 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35131 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35132 { (exit 1); exit 1; }; }; }
35136 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35138 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35139 # A ".." for each directory in $ac_dir_suffix.
35140 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35141 case $ac_top_builddir_sub in
35142 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35143 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35146 ac_abs_top_builddir
=$ac_pwd
35147 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35148 # for backward compatibility:
35149 ac_top_builddir
=$ac_top_build_prefix
35152 .
) # We are building in place.
35154 ac_top_srcdir
=$ac_top_builddir_sub
35155 ac_abs_top_srcdir
=$ac_pwd ;;
35156 [\\/]* | ?
:[\\/]* ) # Absolute name.
35157 ac_srcdir
=$srcdir$ac_dir_suffix;
35158 ac_top_srcdir
=$srcdir
35159 ac_abs_top_srcdir
=$srcdir ;;
35160 *) # Relative name.
35161 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35162 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35163 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35165 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35175 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35176 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
35180 cat >>$CONFIG_STATUS <<\_ACEOF
35181 # If the template does not know about datarootdir, expand it.
35182 # FIXME: This hack should be removed a few years after 2.60.
35183 ac_datarootdir_hack
=; ac_datarootdir_seen
=
35185 case `sed -n '/datarootdir/ {
35194 ' $ac_file_inputs` in
35195 *datarootdir
*) ac_datarootdir_seen
=yes;;
35196 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
35197 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35198 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35200 cat >>$CONFIG_STATUS <<_ACEOF
35201 ac_datarootdir_hack='
35202 s&@datadir@&$datadir&g
35203 s&@docdir@&$docdir&g
35204 s&@infodir@&$infodir&g
35205 s&@localedir@&$localedir&g
35206 s&@mandir@&$mandir&g
35207 s&\\\${datarootdir}&$datarootdir&g' ;;
35211 # Neutralize VPATH when `$srcdir' = `.'.
35212 # Shell code in configure.ac might set extrasub.
35213 # FIXME: do we really want to maintain this feature?
35214 cat >>$CONFIG_STATUS <<_ACEOF
35218 cat >>$CONFIG_STATUS <<\_ACEOF
35220 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
35221 s
&@configure_input@
&$configure_input&;t t
35222 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
35223 s
&@srcdir@
&$ac_srcdir&;t t
35224 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
35225 s
&@top_srcdir@
&$ac_top_srcdir&;t t
35226 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
35227 s
&@builddir@
&$ac_builddir&;t t
35228 s
&@abs_builddir@
&$ac_abs_builddir&;t t
35229 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
35230 s
&@INSTALL@
&$ac_INSTALL&;t t
35231 $ac_datarootdir_hack
35232 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
35234 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35235 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
35236 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
35237 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
35238 which seems to be undefined. Please make sure it is defined." >&5
35239 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
35240 which seems to be undefined. Please make sure it is defined." >&2;}
35244 -) cat "$tmp/out"; rm -f "$tmp/out";;
35245 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35254 # Transform confdefs.h into a sed script `conftest.defines', that
35255 # substitutes the proper values into config.h.in to produce config.h.
35256 rm -f conftest.defines conftest.
tail
35257 # First, append a space to every undef/define line, to ease matching.
35258 echo 's/$/ /' >conftest.defines
35259 # Then, protect against being on the right side of a sed subst, or in
35260 # an unquoted here document, in config.status. If some macros were
35261 # called several times there might be several #defines for the same
35262 # symbol, which is useless. But do not sort them, since the last
35263 # AC_DEFINE must be honored.
35264 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
35265 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35266 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35267 # PARAMS is the parameter list in the macro definition--in most cases, it's
35268 # just an empty string.
35269 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35270 ac_dB
='\\)[ (].*,\\1define\\2'
35278 s/^[ ]*#[ ]*define[ ][ ]*//
35283 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35284 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35285 ' >>conftest.defines
35287 # Remove the space that was appended to ease matching.
35288 # Then replace #undef with comments. This is necessary, for
35289 # example, in the case of _POSIX_SOURCE, which is predefined and required
35290 # on some systems where configure will not decide to define it.
35291 # (The regexp can be short, since the line contains either #define or #undef.)
35293 s,^[ #]*u.*,/* & */,' >>conftest.defines
35295 # Break up conftest.defines:
35296 ac_max_sed_lines
=50
35298 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35299 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35300 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35302 ac_in
='$ac_file_inputs'
35303 ac_out
='"$tmp/out1"'
35304 ac_nxt
='"$tmp/out2"'
35308 # Write a here document:
35309 cat >>$CONFIG_STATUS <<_ACEOF
35310 # First, check the format of the line:
35311 cat >"\$tmp/defines.sed" <<\\CEOF
35312 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35313 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35317 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
35319 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35320 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
35321 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
35322 grep . conftest.
tail >/dev
/null ||
break
35323 rm -f conftest.defines
35324 mv conftest.
tail conftest.defines
35326 rm -f conftest.defines conftest.
tail
35328 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35329 cat >>$CONFIG_STATUS <<\_ACEOF
35330 if test x
"$ac_file" != x-
; then
35331 echo "/* $configure_input */" >"$tmp/config.h"
35332 cat "$ac_result" >>"$tmp/config.h"
35333 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
35334 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35335 echo "$as_me: $ac_file is unchanged" >&6;}
35338 mv "$tmp/config.h" $ac_file
35341 echo "/* $configure_input */"
35347 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35348 echo "$as_me: executing $ac_file commands" >&6;}
35353 case $ac_file$ac_mode in
35354 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
35355 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
35356 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
35357 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
35358 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
35359 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
35360 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
35361 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
35362 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
35363 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
35364 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
35365 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
35366 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
35367 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
35368 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
35369 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
35370 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
35371 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
35372 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
35373 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
35374 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
35375 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
35376 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
35377 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
35378 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
35379 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
35385 { (exit 0); exit 0; }
35387 chmod +x
$CONFIG_STATUS
35388 ac_clean_files
=$ac_clean_files_save
35391 # configure is writing to config.log, and then calls config.status.
35392 # config.status does its own redirection, appending to config.log.
35393 # Unfortunately, on DOS this fails, as config.log is still kept open
35394 # by configure, so config.status won't be able to write to it; its
35395 # output is simply discarded. So we exec the FD to /dev/null,
35396 # effectively closing config.log, so it can be properly (re)opened and
35397 # appended to by config.status. When coming back to configure, we
35398 # need to make the FD available again.
35399 if test "$no_create" != yes; then
35401 ac_config_status_args
=
35402 test "$silent" = yes &&
35403 ac_config_status_args
="$ac_config_status_args --quiet"
35405 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
35407 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35408 # would make configure fail if this is the last instruction.
35409 $ac_cs_success ||
{ (exit 1); exit 1; }
35413 # CONFIG_SUBDIRS section.
35415 if test "$no_recursion" != yes; then
35417 # Remove --cache-file and --srcdir arguments so they do not pile up.
35418 ac_sub_configure_args
=
35420 eval "set x $ac_configure_args"
35424 if test -n "$ac_prev"; then
35429 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
35430 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
35431 ac_prev
=cache_file
;;
35432 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
35433 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
35436 --config-cache |
-C)
35438 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
35440 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
35442 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
35444 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
35448 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35450 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
35454 # Always prepend --prefix to ensure using the same prefix
35455 # in subdir configurations.
35456 ac_arg
="--prefix=$prefix"
35458 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35460 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
35463 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
35465 # Do not complain, so a configure script can configure whichever
35466 # parts of a large source tree are present.
35467 test -d "$srcdir/$ac_dir" ||
continue
35469 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
35470 echo "$as_me:$LINENO: $ac_msg" >&5
35474 -*) as_dir
=.
/$as_dir;;
35476 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35480 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35481 *) as_qdir
=$as_dir;;
35483 as_dirs
="'$as_qdir' $as_dirs"
35484 as_dir
=`$as_dirname -- "$as_dir" ||
35485 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35486 X"$as_dir" : 'X\(//\)[^/]' \| \
35487 X"$as_dir" : 'X\(//\)$' \| \
35488 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35494 /^X\(\/\/\)[^/].*/{
35507 test -d "$as_dir" && break
35509 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35510 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35511 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35512 { (exit 1); exit 1; }; }; }
35516 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35518 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35519 # A ".." for each directory in $ac_dir_suffix.
35520 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35521 case $ac_top_builddir_sub in
35522 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35523 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35526 ac_abs_top_builddir
=$ac_pwd
35527 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35528 # for backward compatibility:
35529 ac_top_builddir
=$ac_top_build_prefix
35532 .
) # We are building in place.
35534 ac_top_srcdir
=$ac_top_builddir_sub
35535 ac_abs_top_srcdir
=$ac_pwd ;;
35536 [\\/]* | ?
:[\\/]* ) # Absolute name.
35537 ac_srcdir
=$srcdir$ac_dir_suffix;
35538 ac_top_srcdir
=$srcdir
35539 ac_abs_top_srcdir
=$srcdir ;;
35540 *) # Relative name.
35541 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35542 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35543 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35545 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35550 # Check for guested configure; otherwise get Cygnus style configure.
35551 if test -f "$ac_srcdir/configure.gnu"; then
35552 ac_sub_configure
=$ac_srcdir/configure.gnu
35553 elif test -f "$ac_srcdir/configure"; then
35554 ac_sub_configure
=$ac_srcdir/configure
35555 elif test -f "$ac_srcdir/configure.in"; then
35556 # This should be Cygnus configure.
35557 ac_sub_configure
=$ac_aux_dir/configure
35559 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35560 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35564 # The recursion is here.
35565 if test -n "$ac_sub_configure"; then
35566 # Make the cache file name correct relative to the subdirectory.
35567 case $cache_file in
35568 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35569 *) # Relative name.
35570 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35573 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35574 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35575 # The eval makes quoting arguments work.
35576 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35577 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35578 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35579 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35580 { (exit 1); exit 1; }; }