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
834 ENABLE_EXPENSIVE_CHECKS
888 CONVENIENCE_LTDL_TRUE
889 CONVENIENCE_LTDL_FALSE
927 ENABLE_VISIBILITY_INLINES_HIDDEN
933 ac_precious_vars
='build_alias
947 ac_subdirs_all
='projects/sample
949 projects/llvm-stacker
956 projects/llvm-poolalloc
958 projects/llvm-kernel'
960 # Initialize some variables set by options.
962 ac_init_version
=false
963 # The variables have the same names as the options, with
964 # dashes changed to underlines.
972 program_transform_name
=s
,x
,x
,
980 # Installation directory options.
981 # These are left unexpanded so users can "make install exec_prefix=/foo"
982 # and all the variables that are supposed to be based on exec_prefix
983 # by default will actually change.
984 # Use braces instead of parens because sh, perl, etc. also accept them.
985 # (The list follows the same order as the GNU Coding Standards.)
986 bindir
='${exec_prefix}/bin'
987 sbindir
='${exec_prefix}/sbin'
988 libexecdir
='${exec_prefix}/libexec'
989 datarootdir
='${prefix}/share'
990 datadir
='${datarootdir}'
991 sysconfdir
='${prefix}/etc'
992 sharedstatedir
='${prefix}/com'
993 localstatedir
='${prefix}/var'
994 includedir
='${prefix}/include'
995 oldincludedir
='/usr/include'
996 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
997 infodir
='${datarootdir}/info'
1002 libdir
='${exec_prefix}/lib'
1003 localedir
='${datarootdir}/locale'
1004 mandir
='${datarootdir}/man'
1010 # If the previous option needs an argument, assign it.
1011 if test -n "$ac_prev"; then
1012 eval $ac_prev=\
$ac_option
1018 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1022 # Accept the important Cygnus configure options, so we can diagnose typos.
1024 case $ac_dashdash$ac_option in
1028 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1030 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1031 bindir
=$ac_optarg ;;
1033 -build |
--build |
--buil |
--bui |
--bu)
1034 ac_prev
=build_alias
;;
1035 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1036 build_alias
=$ac_optarg ;;
1038 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1039 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1040 ac_prev
=cache_file
;;
1041 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1042 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1043 cache_file
=$ac_optarg ;;
1045 --config-cache |
-C)
1046 cache_file
=config.cache
;;
1048 -datadir |
--datadir |
--datadi |
--datad)
1050 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1051 datadir
=$ac_optarg ;;
1053 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1054 |
--dataroo |
--dataro |
--datar)
1055 ac_prev
=datarootdir
;;
1056 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1057 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1058 datarootdir
=$ac_optarg ;;
1060 -disable-* |
--disable-*)
1061 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1064 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1065 { (exit 1); exit 1; }; }
1066 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1067 eval enable_
$ac_feature=no
;;
1069 -docdir |
--docdir |
--docdi |
--doc |
--do)
1071 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1072 docdir
=$ac_optarg ;;
1074 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1076 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1077 dvidir
=$ac_optarg ;;
1079 -enable-* |
--enable-*)
1080 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1083 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1084 { (exit 1); exit 1; }; }
1085 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1086 eval enable_
$ac_feature=\
$ac_optarg ;;
1088 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1089 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1090 |
--exec |
--exe |
--ex)
1091 ac_prev
=exec_prefix
;;
1092 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1093 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1094 |
--exec=* |
--exe=* |
--ex=*)
1095 exec_prefix
=$ac_optarg ;;
1097 -gas |
--gas |
--ga |
--g)
1098 # Obsolete; use --with-gas.
1101 -help |
--help |
--hel |
--he |
-h)
1102 ac_init_help
=long
;;
1103 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1104 ac_init_help
=recursive
;;
1105 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1106 ac_init_help
=short
;;
1108 -host |
--host |
--hos |
--ho)
1109 ac_prev
=host_alias
;;
1110 -host=* |
--host=* |
--hos=* |
--ho=*)
1111 host_alias
=$ac_optarg ;;
1113 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1115 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1117 htmldir
=$ac_optarg ;;
1119 -includedir |
--includedir |
--includedi |
--included |
--include \
1120 |
--includ |
--inclu |
--incl |
--inc)
1121 ac_prev
=includedir
;;
1122 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1123 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1124 includedir
=$ac_optarg ;;
1126 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1128 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1129 infodir
=$ac_optarg ;;
1131 -libdir |
--libdir |
--libdi |
--libd)
1133 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1134 libdir
=$ac_optarg ;;
1136 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1137 |
--libexe |
--libex |
--libe)
1138 ac_prev
=libexecdir
;;
1139 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1140 |
--libexe=* |
--libex=* |
--libe=*)
1141 libexecdir
=$ac_optarg ;;
1143 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1144 ac_prev
=localedir
;;
1145 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1146 localedir
=$ac_optarg ;;
1148 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1149 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1150 ac_prev
=localstatedir
;;
1151 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1152 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1153 localstatedir
=$ac_optarg ;;
1155 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1157 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1158 mandir
=$ac_optarg ;;
1160 -nfp |
--nfp |
--nf)
1161 # Obsolete; use --without-fp.
1164 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1165 |
--no-cr |
--no-c |
-n)
1168 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1169 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1172 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1173 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1174 |
--oldin |
--oldi |
--old |
--ol |
--o)
1175 ac_prev
=oldincludedir
;;
1176 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1177 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1178 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1179 oldincludedir
=$ac_optarg ;;
1181 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1183 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1184 prefix
=$ac_optarg ;;
1186 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1187 |
--program-pre |
--program-pr |
--program-p)
1188 ac_prev
=program_prefix
;;
1189 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1190 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1191 program_prefix
=$ac_optarg ;;
1193 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1194 |
--program-suf |
--program-su |
--program-s)
1195 ac_prev
=program_suffix
;;
1196 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1197 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1198 program_suffix
=$ac_optarg ;;
1200 -program-transform-name |
--program-transform-name \
1201 |
--program-transform-nam |
--program-transform-na \
1202 |
--program-transform-n |
--program-transform- \
1203 |
--program-transform |
--program-transfor \
1204 |
--program-transfo |
--program-transf \
1205 |
--program-trans |
--program-tran \
1206 |
--progr-tra |
--program-tr |
--program-t)
1207 ac_prev
=program_transform_name
;;
1208 -program-transform-name=* |
--program-transform-name=* \
1209 |
--program-transform-nam=* |
--program-transform-na=* \
1210 |
--program-transform-n=* |
--program-transform-=* \
1211 |
--program-transform=* |
--program-transfor=* \
1212 |
--program-transfo=* |
--program-transf=* \
1213 |
--program-trans=* |
--program-tran=* \
1214 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1215 program_transform_name
=$ac_optarg ;;
1217 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1219 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1220 pdfdir
=$ac_optarg ;;
1222 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1224 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1227 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1228 |
-silent |
--silent |
--silen |
--sile |
--sil)
1231 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1233 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1235 sbindir
=$ac_optarg ;;
1237 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1238 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1239 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1241 ac_prev
=sharedstatedir
;;
1242 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1243 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1244 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1246 sharedstatedir
=$ac_optarg ;;
1248 -site |
--site |
--sit)
1250 -site=* |
--site=* |
--sit=*)
1253 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1255 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1256 srcdir
=$ac_optarg ;;
1258 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1259 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1260 ac_prev
=sysconfdir
;;
1261 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1262 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1263 sysconfdir
=$ac_optarg ;;
1265 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1266 ac_prev
=target_alias
;;
1267 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1268 target_alias
=$ac_optarg ;;
1270 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1273 -version |
--version |
--versio |
--versi |
--vers |
-V)
1274 ac_init_version
=: ;;
1277 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1280 { echo "$as_me: error: invalid package name: $ac_package" >&2
1281 { (exit 1); exit 1; }; }
1282 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1283 eval with_
$ac_package=\
$ac_optarg ;;
1285 -without-* |
--without-*)
1286 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1289 { echo "$as_me: error: invalid package name: $ac_package" >&2
1290 { (exit 1); exit 1; }; }
1291 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1292 eval with_
$ac_package=no
;;
1295 # Obsolete; use --with-x.
1298 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1299 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1300 ac_prev
=x_includes
;;
1301 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1302 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1303 x_includes
=$ac_optarg ;;
1305 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1306 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1307 ac_prev
=x_libraries
;;
1308 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1309 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1310 x_libraries
=$ac_optarg ;;
1312 -*) { echo "$as_me: error: unrecognized option: $ac_option
1313 Try \`$0 --help' for more information." >&2
1314 { (exit 1); exit 1; }; }
1318 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1319 # Reject names that are not valid shell variable names.
1320 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1321 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1322 { (exit 1); exit 1; }; }
1323 eval $ac_envvar=\
$ac_optarg
1324 export $ac_envvar ;;
1327 # FIXME: should be removed in autoconf 3.0.
1328 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1330 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1337 if test -n "$ac_prev"; then
1338 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1339 { echo "$as_me: error: missing argument to $ac_option" >&2
1340 { (exit 1); exit 1; }; }
1343 # Be sure to have absolute directory names.
1344 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345 datadir sysconfdir sharedstatedir localstatedir includedir \
1346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347 libdir localedir mandir
1349 eval ac_val
=\$
$ac_var
1351 [\\/$
]* | ?
:[\\/]* ) continue;;
1352 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1354 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1355 { (exit 1); exit 1; }; }
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1363 target
=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x
; then
1367 if test "x$build_alias" = x
; then
1368 cross_compiling
=maybe
1369 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used." >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1377 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1379 test "$silent" = yes && exec 6>/dev
/null
1382 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di
=`ls -di .` &&
1384 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1385 { echo "$as_me: error: Working directory cannot be determined" >&2
1386 { (exit 1); exit 1; }; }
1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388 { echo "$as_me: error: pwd does not report name of working directory" >&2
1389 { (exit 1); exit 1; }; }
1392 # Find the source files, if location was not specified.
1393 if test -z "$srcdir"; then
1394 ac_srcdir_defaulted
=yes
1395 # Try the directory containing this script, then the parent directory.
1396 ac_confdir
=`$as_dirname -- "$0" ||
1397 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1398 X"$0" : 'X\(//\)[^/]' \| \
1399 X"$0" : 'X\(//\)$' \| \
1400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1424 ac_srcdir_defaulted
=no
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1427 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1428 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1429 { (exit 1); exit 1; }; }
1431 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1433 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1434 { (exit 1); exit 1; }; }
1436 # When building in place, set srcdir=.
1437 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 # Remove unnecessary trailing slashes from srcdir.
1441 # Double slashes in file names in object file debugging info
1442 # mess up M-x gdb in Emacs.
1444 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1446 for ac_var
in $ac_precious_vars; do
1447 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1448 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1449 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1450 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1454 # Report the --help message.
1456 if test "$ac_init_help" = "long"; then
1457 # Omit some internal or obsolete options to make the list less imposing.
1458 # This message is too long to be a string in the A/UX 3.1 sh.
1460 \`configure' configures llvm 2.6svn to adapt to many kinds of systems.
1462 Usage: $0 [OPTION]... [VAR=VALUE]...
1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1465 VAR=VALUE. See below for descriptions of some of the useful variables.
1467 Defaults for the options are specified in brackets.
1470 -h, --help display this help and exit
1471 --help=short display options specific to this package
1472 --help=recursive display the short help of all the included packages
1473 -V, --version display version information and exit
1474 -q, --quiet, --silent do not print \`checking...' messages
1475 --cache-file=FILE cache test results in FILE [disabled]
1476 -C, --config-cache alias for \`--cache-file=config.cache'
1477 -n, --no-create do not create output files
1478 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1480 Installation directories:
1481 --prefix=PREFIX install architecture-independent files in PREFIX
1482 [$ac_default_prefix]
1483 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 By default, \`make install' will install all the files in
1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1489 for instance \`--prefix=\$HOME'.
1491 For better control, use the options below.
1493 Fine tuning of the installation directories:
1494 --bindir=DIR user executables [EPREFIX/bin]
1495 --sbindir=DIR system admin executables [EPREFIX/sbin]
1496 --libexecdir=DIR program executables [EPREFIX/libexec]
1497 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1498 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1499 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1500 --libdir=DIR object code libraries [EPREFIX/lib]
1501 --includedir=DIR C header files [PREFIX/include]
1502 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1503 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1504 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1505 --infodir=DIR info documentation [DATAROOTDIR/info]
1506 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1507 --mandir=DIR man documentation [DATAROOTDIR/man]
1508 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1509 --htmldir=DIR html documentation [DOCDIR]
1510 --dvidir=DIR dvi documentation [DOCDIR]
1511 --pdfdir=DIR pdf documentation [DOCDIR]
1512 --psdir=DIR ps documentation [DOCDIR]
1518 --build=BUILD configure
for building on BUILD
[guessed
]
1519 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1520 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short | recursive
) echo "Configuration of llvm 2.6svn:";;
1531 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1532 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1535 --enable-expensive-checks
1537 --enable-debug-runtime
1538 --enable-jit Enable Just In Time Compiling
(default is YES
)
1539 --enable-doxygen Build doxygen documentation
(default is NO
)
1540 --enable-threads Use threads
if available
(default is YES
)
1541 --enable-pic Build LLVM with Position Independent Code
(default
1543 --enable-targets Build specific
host targets
:
1544 all
,host-only
,{target-name
} (default
=all
)
1545 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1547 --enable-bindings Build specific language bindings
:
1548 all
,auto
,none
,{binding-name
} (default
=auto
)
1549 --enable-ltdl-install install libltdl
1550 --enable-shared[=PKGS
] build shared libraries
1552 --enable-static[=PKGS
] build static libraries
1554 --enable-fast-install[=PKGS
]
1555 optimize
for fast installation
1557 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1560 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1561 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1562 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1564 --with-llvmgcc Specify location of llvm-gcc driver
(default
1566 --with-llvmgxx Specify location of llvm-g
++ driver
(default
1568 --with-extra-options Specify addtional options to compile LLVM with
1569 --with-ocaml-libdir Specify
install location
for ocaml bindings
(default
1571 --with-binutils-include Specify path to binutils
/include
/ containing
1572 plugin-api.h
file for gold plugin.
1573 --with-tclinclude directory where tcl headers are
1574 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1575 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1577 --with-tags[=TAGS
] include additional configurations
[automatic
]
1578 --with-udis86=<path
> Use udis86 external x86 disassembler library
1580 Some influential environment variables
:
1581 CC C compiler
command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1584 nonstandard directory
<lib dir
>
1585 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1586 you have headers
in a nonstandard directory
<include dir
>
1588 CXX C
++ compiler
command
1589 CXXFLAGS C
++ compiler flags
1590 CXXCPP C
++ preprocessor
1591 F77 Fortran
77 compiler
command
1592 FFLAGS Fortran
77 compiler flags
1594 Use these variables to override the choices made by
`configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1597 Report bugs to <llvmbugs@cs.uiuc.edu>.
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" || continue
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1612 # A ".." for each directory in $ac_dir_suffix.
1613 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1614 case $ac_top_builddir_sub in
1615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1625 .) # We are building in place.
1627 ac_top_srcdir=$ac_top_builddir_sub
1628 ac_abs_top_srcdir=$ac_pwd ;;
1629 [\\/]* | ?:[\\/]* ) # Absolute name.
1630 ac_srcdir=$srcdir$ac_dir_suffix;
1631 ac_top_srcdir=$srcdir
1632 ac_abs_top_srcdir=$srcdir ;;
1634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635 ac_top_srcdir=$ac_top_build_prefix$srcdir
1636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640 cd "$ac_dir" || { ac_status=$?; continue; }
1641 # Check for guested configure.
1642 if test -f "$ac_srcdir/configure.gnu"; then
1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645 elif test -f "$ac_srcdir/configure"; then
1647 $SHELL "$ac_srcdir/configure" --help=recursive
1649 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 cd "$ac_pwd" || { ac_status=$?; break; }
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1658 llvm configure 2.6svn
1659 generated by GNU Autoconf 2.60
1661 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1662 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1666 Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.
1670 cat >config.log <<_ACEOF
1671 This file contains any messages produced by compilers while
1672 running configure, to aid debugging if configure makes a mistake.
1674 It was created by llvm $as_me 2.6svn, which was
1675 generated by GNU Autoconf 2.60. Invocation command line was
1687 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1688 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1689 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1690 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1691 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1693 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1694 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1696 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1697 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1698 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1699 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1700 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1701 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1702 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir=.
1711 echo "PATH: $as_dir"
1727 # Keep a trace of the command line.
1728 # Strip out --no-create and --no-recursion so they do not pile up.
1729 # Strip out --silent because we don't want to record it for future runs.
1730 # Also quote any args containing shell meta-characters.
1731 # Make two passes to allow for proper duplicate-argument suppression.
1735 ac_must_keep_next=false
1741 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1743 | -silent | --silent | --silen | --sile | --sil)
1746 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1749 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1751 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1752 if test $ac_must_keep_next = true; then
1753 ac_must_keep_next=false # Got value, back to normal.
1756 *=* | --config-cache | -C | -disable-* | --disable-* \
1757 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1758 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1759 | -with-* | --with-* | -without-* | --without-* | --x)
1760 case "$ac_configure_args0 " in
1761 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1764 -* ) ac_must_keep_next=true ;;
1767 ac_configure_args="$ac_configure_args '$ac_arg'"
1772 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1773 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1775 # When interrupted or exit'd, cleanup temporary files, and complete
1776 # config.log. We remove comments because anyway the quotes in there
1777 # would cause problems or look ugly.
1778 # WARNING: Use '\'' to represent an apostrophe within the trap.
1779 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1780 trap 'exit_status=$?
1781 # Save into config.log some information that might help in debugging.
1786 ## ---------------- ##
1787 ## Cache variables. ##
1788 ## ---------------- ##
1791 # The following way of writing the cache mishandles newlines in values,
1793 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1794 eval ac_val=\$$ac_var
1798 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1799 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1802 _ | IFS | as_nl) ;; #(
1803 *) $as_unset $ac_var ;;
1808 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1809 *${as_nl}ac_space=\ *)
1811 "s/'\''/'\''\\\\'\'''\''/g;
1812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1815 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1823 ## ----------------- ##
1824 ## Output variables. ##
1825 ## ----------------- ##
1828 for ac_var in $ac_subst_vars
1830 eval ac_val=\$$ac_var
1832 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1834 echo "$ac_var='\''$ac_val'\''"
1838 if test -n "$ac_subst_files"; then
1840 ## ------------------- ##
1841 ## File substitutions. ##
1842 ## ------------------- ##
1845 for ac_var in $ac_subst_files
1847 eval ac_val=\$$ac_var
1849 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1851 echo "$ac_var='\''$ac_val'\''"
1856 if test -s confdefs.h; then
1866 test "$ac_signal" != 0 &&
1867 echo "$as_me: caught signal $ac_signal"
1868 echo "$as_me: exit $exit_status"
1870 rm -f core *.core core.conftest.* &&
1871 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1874 for ac_signal in 1 2 13 15; do
1875 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1879 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1880 rm -f -r conftest* confdefs.h
1882 # Predefined preprocessor variables.
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_NAME "$PACKAGE_NAME"
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE_STRING "$PACKAGE_STRING"
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1909 # Let the site file select an alternate cache file if it wants to.
1910 # Prefer explicitly selected file to automatically selected ones.
1911 if test -n "$CONFIG_SITE"; then
1912 set x "$CONFIG_SITE"
1913 elif test "x$prefix" != xNONE; then
1914 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1916 set x "$ac_default_prefix/share/config.site" \
1917 "$ac_default_prefix/etc/config.site"
1922 if test -r "$ac_site_file"; then
1923 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1924 echo "$as_me: loading site script $ac_site_file" >&6;}
1925 sed 's/^/| /' "$ac_site_file" >&5
1930 if test -r "$cache_file"; then
1931 # Some versions of bash will fail to source /dev/null (special
1932 # files actually), so we avoid doing that.
1933 if test -f "$cache_file"; then
1934 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1935 echo "$as_me: loading cache $cache_file" >&6;}
1937 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1938 *) . "./$cache_file";;
1942 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1943 echo "$as_me: creating cache $cache_file" >&6;}
1947 # Check that the precious variables saved in the cache have kept the same
1949 ac_cache_corrupted=false
1950 for ac_var in $ac_precious_vars; do
1951 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1952 eval ac_new_set=\$ac_env_${ac_var}_set
1953 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1954 eval ac_new_val=\$ac_env_${ac_var}_value
1955 case $ac_old_set,$ac_new_set in
1957 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1958 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1959 ac_cache_corrupted=: ;;
1961 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1962 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1963 ac_cache_corrupted=: ;;
1966 if test "x$ac_old_val" != "x$ac_new_val"; then
1967 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1968 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1969 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1970 echo "$as_me: former value
: $ac_old_val" >&2;}
1971 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1972 echo "$as_me: current value
: $ac_new_val" >&2;}
1973 ac_cache_corrupted=:
1976 # Pass precious variables to config.status.
1977 if test "$ac_new_set" = set; then
1979 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1980 *) ac_arg=$ac_var=$ac_new_val ;;
1982 case " $ac_configure_args " in
1983 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1984 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1988 if $ac_cache_corrupted; then
1989 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1990 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1991 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1992 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1993 { (exit 1); exit 1; }; }
2021 ac_cpp='$CPP $CPPFLAGS'
2022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028 LLVM_COPYRIGHT="Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign."
2037 for ac_dir in autoconf "$srcdir"/autoconf; do
2038 if test -f "$ac_dir/install-sh"; then
2040 ac_install_sh="$ac_aux_dir/install-sh -c"
2042 elif test -f "$ac_dir/install.sh"; then
2044 ac_install_sh="$ac_aux_dir/install.sh -c"
2046 elif test -f "$ac_dir/shtool"; then
2048 ac_install_sh="$ac_aux_dir/shtool install -c"
2052 if test -z "$ac_aux_dir"; then
2053 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2054 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2055 { (exit 1); exit 1; }; }
2058 # These three variables are undocumented and unsupported,
2059 # and are intended to be withdrawn in a future Autoconf release.
2060 # They can cause serious problems if a builder's source tree is in a directory
2061 # whose full name contains unusual characters.
2062 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2063 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2064 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2068 if test ${srcdir} != "." ; then
2069 if test -f ${srcdir}/include/llvm/Config/config.h ; then
2070 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2071 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2072 { (exit 1); exit 1; }; }
2076 for i in `ls ${srcdir}/projects
`
2078 if test -d ${srcdir}/projects/${i} ; then
2081 sample) subdirs="$subdirs projects/sample"
2083 privbracket) subdirs="$subdirs projects/privbracket"
2085 llvm-stacker) subdirs="$subdirs projects/llvm-stacker"
2087 # llvm-test is the old name of the test-suite, kept here for backwards
2089 llvm-test) subdirs="$subdirs projects/llvm-test"
2091 test-suite) subdirs="$subdirs projects/test-suite"
2093 llvm-reopt) subdirs="$subdirs projects/llvm-reopt"
2095 llvm-gcc) subdirs="$subdirs projects/llvm-gcc"
2097 llvm-java) subdirs="$subdirs projects/llvm-java"
2099 llvm-tv) subdirs="$subdirs projects/llvm-tv"
2101 llvm-poolalloc) subdirs="$subdirs projects/llvm-poolalloc"
2103 poolalloc) subdirs="$subdirs projects/poolalloc"
2105 llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
2108 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2109 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2116 # Make sure we can run config.sub.
2117 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2118 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2119 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2120 { (exit 1); exit 1; }; }
2122 { echo "$as_me:$LINENO: checking build system type" >&5
2123 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2124 if test "${ac_cv_build+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 ac_build_alias=$build_alias
2128 test "x$ac_build_alias" = x &&
2129 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2130 test "x$ac_build_alias" = x &&
2131 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2132 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2133 { (exit 1); exit 1; }; }
2134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2135 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2136 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2137 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2141 echo "${ECHO_T}$ac_cv_build" >&6; }
2142 case $ac_cv_build in
2144 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2145 echo "$as_me: error: invalid value of canonical build" >&2;}
2146 { (exit 1); exit 1; }; };;
2149 ac_save_IFS=$IFS; IFS='-'
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2159 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2162 { echo "$as_me:$LINENO: checking host system type" >&5
2163 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2164 if test "${ac_cv_host+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test "x$host_alias" = x; then
2168 ac_cv_host=$ac_cv_build
2170 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2171 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2172 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2178 echo "${ECHO_T}$ac_cv_host" >&6; }
2181 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2182 echo "$as_me: error: invalid value of canonical host" >&2;}
2183 { (exit 1); exit 1; }; };;
2186 ac_save_IFS=$IFS; IFS='-'
2192 # Remember, the first character of IFS is used to create $*,
2193 # except with old shells:
2196 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2199 { echo "$as_me:$LINENO: checking target system type" >&5
2200 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2201 if test "${ac_cv_target+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 if test "x$target_alias" = x; then
2205 ac_cv_target=$ac_cv_host
2207 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2208 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2209 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2210 { (exit 1); exit 1; }; }
2214 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2215 echo "${ECHO_T}$ac_cv_target" >&6; }
2216 case $ac_cv_target in
2218 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2219 echo "$as_me: error: invalid value of canonical target" >&2;}
2220 { (exit 1); exit 1; }; };;
2222 target=$ac_cv_target
2223 ac_save_IFS=$IFS; IFS='-'
2229 # Remember, the first character of IFS is used to create $*,
2230 # except with old shells:
2233 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2236 # The aliases save the names the user supplied, while $host etc.
2237 # will get canonicalized.
2238 test -n "$target_alias" &&
2239 test "$program_prefix$program_suffix$program_transform_name" = \
2241 program_prefix=${target_alias}-
2243 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2244 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2245 if test "${llvm_cv_os_type+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 llvm_cv_link_all_option="-Wl,--whole-archive"
2251 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2252 llvm_cv_os_type="AIX"
2253 llvm_cv_platform_type="Unix" ;;
2255 llvm_cv_link_all_option="-Wl,--whole-archive"
2256 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2257 llvm_cv_os_type="IRIX"
2258 llvm_cv_platform_type="Unix" ;;
2260 llvm_cv_link_all_option="-Wl,--whole-archive"
2261 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2262 llvm_cv_os_type="Cygwin"
2263 llvm_cv_platform_type="Unix" ;;
2265 llvm_cv_link_all_option="-Wl,-all_load"
2266 llvm_cv_no_link_all_option="-Wl,-noall_load"
2267 llvm_cv_os_type="Darwin"
2268 llvm_cv_platform_type="Unix" ;;
2270 llvm_cv_link_all_option="-Wl,--whole-archive"
2271 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2272 llvm_cv_os_type="FreeBSD"
2273 llvm_cv_platform_type="Unix" ;;
2275 llvm_cv_link_all_option="-Wl,--whole-archive"
2276 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2277 llvm_cv_os_type="OpenBSD"
2278 llvm_cv_platform_type="Unix" ;;
2280 llvm_cv_link_all_option="-Wl,--whole-archive"
2281 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2282 llvm_cv_os_type="NetBSD"
2283 llvm_cv_platform_type="Unix" ;;
2285 llvm_cv_link_all_option="-Wl,--whole-archive"
2286 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2287 llvm_cv_os_type="DragonFly"
2288 llvm_cv_platform_type="Unix" ;;
2290 llvm_cv_link_all_option="-Wl,--whole-archive"
2291 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2292 llvm_cv_os_type="HP-UX"
2293 llvm_cv_platform_type="Unix" ;;
2295 llvm_cv_link_all_option="-Wl,--whole-archive"
2296 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2297 llvm_cv_os_type="Interix"
2298 llvm_cv_platform_type="Unix" ;;
2300 llvm_cv_link_all_option="-Wl,--whole-archive"
2301 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2302 llvm_cv_os_type="Linux"
2303 llvm_cv_platform_type="Unix" ;;
2305 llvm_cv_link_all_option="-Wl,-z,allextract"
2306 llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
2307 llvm_cv_os_type="SunOS"
2308 llvm_cv_platform_type="Unix" ;;
2310 llvm_cv_link_all_option="-Wl,--whole-archive"
2311 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2312 llvm_cv_os_type="Win32"
2313 llvm_cv_platform_type="Win32" ;;
2315 llvm_cv_link_all_option="-Wl,--whole-archive"
2316 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2317 llvm_cv_os_type="MingW"
2318 llvm_cv_platform_type="Win32" ;;
2320 llvm_cv_link_all_option=""
2321 llvm_cv_no_link_all_option=""
2322 llvm_cv_os_type="Unknown"
2323 llvm_cv_platform_type="Unknown" ;;
2326 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2327 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2329 if test "$llvm_cv_os_type" = "Unknown" ; then
2330 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2331 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2332 { (exit 1); exit 1; }; }
2338 LINKALL=$llvm_cv_link_all_option
2340 NOLINKALL=$llvm_cv_no_link_all_option
2343 case $llvm_cv_platform_type in
2346 cat >>confdefs.h <<\_ACEOF
2347 #define LLVM_ON_UNIX 1
2357 cat >>confdefs.h <<\_ACEOF
2358 #define LLVM_ON_WIN32 1
2368 { echo "$as_me:$LINENO: checking target architecture" >&5
2369 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2370 if test "${llvm_cv_target_arch+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 i?86-*) llvm_cv_target_arch="x86" ;;
2375 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
2376 sparc*-*) llvm_cv_target_arch="Sparc" ;;
2377 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
2378 alpha*-*) llvm_cv_target_arch="Alpha" ;;
2379 ia64-*) llvm_cv_target_arch="IA64" ;;
2380 arm-*) llvm_cv_target_arch="ARM" ;;
2381 mips-*) llvm_cv_target_arch="Mips" ;;
2382 pic16-*) llvm_cv_target_arch="PIC16" ;;
2383 xcore-*) llvm_cv_target_arch="XCore" ;;
2384 *) llvm_cv_target_arch="Unknown" ;;
2387 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2388 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2390 if test "$llvm_cv_target_arch" = "Unknown" ; then
2391 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2392 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2395 ARCH=$llvm_cv_target_arch
2399 ac_cpp='$CPP $CPPFLAGS'
2400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2403 if test -n "$ac_tool_prefix"; then
2404 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2405 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2408 if test "${ac_cv_prog_CC+set}" = set; then
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 if test -n "$CC"; then
2412 ac_cv_prog_CC="$CC" # Let the user override the test.
2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 test -z "$as_dir" && as_dir=.
2419 for ac_exec_ext in '' $ac_executable_extensions; do
2420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2421 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2432 if test -n "$CC"; then
2433 { echo "$as_me:$LINENO: result: $CC" >&5
2434 echo "${ECHO_T}$CC" >&6; }
2436 { echo "$as_me:$LINENO: result: no" >&5
2437 echo "${ECHO_T}no" >&6; }
2442 if test -z "$ac_cv_prog_CC"; then
2444 # Extract the first word of "gcc", so it can be a program name with args.
2445 set dummy gcc; ac_word=$2
2446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2448 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 if test -n "$ac_ct_CC"; then
2452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir=.
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2461 ac_cv_prog_ac_ct_CC="gcc"
2462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2472 if test -n "$ac_ct_CC"; then
2473 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2474 echo "${ECHO_T}$ac_ct_CC" >&6; }
2476 { echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6; }
2480 if test "x$ac_ct_CC" = x; then
2483 case $cross_compiling:$ac_tool_warned in
2485 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2486 whose name does not start with the host triplet. If you think this
2487 configuration is useful to you, please write to autoconf@gnu.org." >&5
2488 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2489 whose name does not start with the host triplet. If you think this
2490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2491 ac_tool_warned=yes ;;
2499 if test -z "$CC"; then
2500 if test -n "$ac_tool_prefix"; then
2501 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2502 set dummy ${ac_tool_prefix}cc; ac_word=$2
2503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2505 if test "${ac_cv_prog_CC+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test -n "$CC"; then
2509 ac_cv_prog_CC="$CC" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_CC="${ac_tool_prefix}cc"
2519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 if test -n "$CC"; then
2530 { echo "$as_me:$LINENO: result: $CC" >&5
2531 echo "${ECHO_T}$CC" >&6; }
2533 { echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6; }
2540 if test -z "$CC"; then
2541 # Extract the first word of "cc", so it can be a program name with args.
2542 set dummy cc; ac_word=$2
2543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2545 if test "${ac_cv_prog_CC+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 if test -n "$CC"; then
2549 ac_cv_prog_CC="$CC" # Let the user override the test.
2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir=.
2557 for ac_exec_ext in '' $ac_executable_extensions; do
2558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2559 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2560 ac_prog_rejected=yes
2564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 if test $ac_prog_rejected = yes; then
2572 # We found a bogon in the path, so make sure we never use it.
2573 set dummy $ac_cv_prog_CC
2575 if test $# != 0; then
2576 # We chose a different compiler from the bogus one.
2577 # However, it has the same basename, so the bogon will be chosen
2578 # first if we set CC to just the basename; use the full file name.
2580 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2586 if test -n "$CC"; then
2587 { echo "$as_me:$LINENO: result: $CC" >&5
2588 echo "${ECHO_T}$CC" >&6; }
2590 { echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6; }
2596 if test -z "$CC"; then
2597 if test -n "$ac_tool_prefix"; then
2598 for ac_prog in cl.exe
2600 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2601 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2604 if test "${ac_cv_prog_CC+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 if test -n "$CC"; then
2608 ac_cv_prog_CC="$CC" # Let the user override the test.
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir=.
2615 for ac_exec_ext in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 if test -n "$CC"; then
2629 { echo "$as_me:$LINENO: result: $CC" >&5
2630 echo "${ECHO_T}$CC" >&6; }
2632 { echo "$as_me:$LINENO: result: no" >&5
2633 echo "${ECHO_T}no" >&6; }
2637 test -n "$CC" && break
2640 if test -z "$CC"; then
2642 for ac_prog in cl.exe
2644 # Extract the first word of "$ac_prog", so it can be a program name with args.
2645 set dummy $ac_prog; ac_word=$2
2646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2648 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 if test -n "$ac_ct_CC"; then
2652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_ac_ct_CC="$ac_prog"
2662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2672 if test -n "$ac_ct_CC"; then
2673 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2674 echo "${ECHO_T}$ac_ct_CC" >&6; }
2676 { echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6; }
2681 test -n "$ac_ct_CC" && break
2684 if test "x$ac_ct_CC" = x; then
2687 case $cross_compiling:$ac_tool_warned in
2689 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2690 whose name does not start with the host triplet. If you think this
2691 configuration is useful to you, please write to autoconf@gnu.org." >&5
2692 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2693 whose name does not start with the host triplet. If you think this
2694 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2695 ac_tool_warned=yes ;;
2704 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2705 See \`config.log
' for more details." >&5
2706 echo "$as_me: error: no acceptable C compiler found in \$PATH
2707 See \`config.log' for more details.
" >&2;}
2708 { (exit 1); exit 1; }; }
2710 # Provide some information about the compiler.
2711 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2712 ac_compiler=`set X $ac_compile; echo $2`
2713 { (ac_try="$ac_compiler --version >&5"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compiler --version >&5") 2>&5
2721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2722 (exit $ac_status); }
2723 { (ac_try="$ac_compiler -v >&5"
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_compiler -v >&5") 2>&5
2731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2732 (exit $ac_status); }
2733 { (ac_try="$ac_compiler -V >&5"
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_compiler -V >&5") 2>&5
2741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2742 (exit $ac_status); }
2744 cat >conftest.$ac_ext <<_ACEOF
2747 cat confdefs.h >>conftest.$ac_ext
2748 cat >>conftest.$ac_ext <<_ACEOF
2749 /* end confdefs.h. */
2759 ac_clean_files_save=$ac_clean_files
2760 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2761 # Try to create an executable without -o first, disregard a.out.
2762 # It will help us diagnose broken compilers, and finding out an intuition
2764 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2765 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2766 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2768 # List of possible output files, starting from the most likely.
2769 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2770 # only as a last resort. b.out is created by i960 compilers.
2771 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2773 # The IRIX 6 linker writes into existing files which may not be
2774 # executable, retaining their permissions. Remove them first so a
2775 # subsequent execution test works.
2777 for ac_file in $ac_files
2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2781 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2786 if { (ac_try="$ac_link_default"
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_link_default") 2>&5
2794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2795 (exit $ac_status); }; then
2796 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2797 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2798 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2799 # so that the user can short-circuit this test for compilers unknown to
2801 for ac_file in $ac_files
2803 test -f "$ac_file" || continue
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2808 # We found the default executable, but exeext='' is most
2812 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2814 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2816 # We set ac_cv_exeext here because the later test for it is not
2817 # safe: cross compilers may not add the suffix if given an `-o'
2818 # argument, so we may need to know it at that point already.
2819 # Even if this section looks crufty: it has the advantage of
2826 test "$ac_cv_exeext" = no && ac_cv_exeext=
2829 echo "$as_me: failed program was
:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2832 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2833 See \
`config.log' for more details." >&5
2834 echo "$as_me: error: C compiler cannot create executables
2835 See \`config.log
' for more details." >&2;}
2836 { (exit 77); exit 77; }; }
2839 ac_exeext=$ac_cv_exeext
2840 { echo "$as_me:$LINENO: result: $ac_file" >&5
2841 echo "${ECHO_T}$ac_file" >&6; }
2843 # Check that the compiler produces executables we can run. If not, either
2844 # the compiler is broken, or we cross compile.
2845 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2846 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2847 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2848 # If not cross compiling, check that we can run a simple program.
2849 if test "$cross_compiling" != yes; then
2850 if { ac_try='.
/$ac_file'
2851 { (case "(($ac_try" in
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_try") 2>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then
2862 if test "$cross_compiling" = maybe; then
2865 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2866 If you meant to cross compile, use \`--host'.
2867 See \
`config.log' for more details." >&5
2868 echo "$as_me: error: cannot run C compiled programs.
2869 If you meant to cross compile, use \`--host'.
2870 See \`config.log' for more details.
" >&2;}
2871 { (exit 1); exit 1; }; }
2875 { echo "$as_me:$LINENO: result
: yes" >&5
2876 echo "${ECHO_T}yes" >&6; }
2878 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2879 ac_clean_files=$ac_clean_files_save
2880 # Check that the compiler produces executables we can run. If not, either
2881 # the compiler is broken, or we cross compile.
2882 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2883 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2884 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2885 echo "${ECHO_T}$cross_compiling" >&6; }
2887 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2888 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2889 if { (ac_try="$ac_link"
2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892 *) ac_try_echo=$ac_try;;
2894 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2895 (eval "$ac_link") 2>&5
2897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2898 (exit $ac_status); }; then
2899 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2900 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2901 # work properly (i.e., refer to `conftest.exe'), while it won't with
2903 for ac_file in conftest.exe conftest conftest.*; do
2904 test -f "$ac_file" || continue
2906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2907 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2913 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2914 See \
`config.log' for more details." >&5
2915 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2916 See \`config.log
' for more details." >&2;}
2917 { (exit 1); exit 1; }; }
2920 rm -f conftest$ac_cv_exeext
2921 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2922 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2924 rm -f conftest.$ac_ext
2925 EXEEXT=$ac_cv_exeext
2927 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2928 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2929 if test "${ac_cv_objext+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2932 cat >conftest.$ac_ext <<_ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2947 rm -f conftest.o conftest.obj
2948 if { (ac_try="$ac_compile"
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2954 (eval "$ac_compile") 2>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; then
2958 for ac_file in conftest.o conftest.obj conftest.*; do
2959 test -f "$ac_file" || continue;
2961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2962 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2967 echo "$as_me: failed program was:" >&5
2968 sed 's
/^
/|
/' conftest.$ac_ext >&5
2970 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2971 See \`config.log' for more details.
" >&5
2972 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2973 See \
`config.log' for more details." >&2;}
2974 { (exit 1); exit 1; }; }
2977 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2979 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2980 echo "${ECHO_T}$ac_cv_objext" >&6; }
2981 OBJEXT=$ac_cv_objext
2983 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2984 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2985 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2986 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 cat >conftest.$ac_ext <<_ACEOF
2991 cat confdefs.h >>conftest.$ac_ext
2992 cat >>conftest.$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
3006 rm -f conftest.$ac_objext
3007 if { (ac_try="$ac_compile"
3009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3010 *) ac_try_echo
=$ac_try;;
3012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3013 (eval "$ac_compile") 2>conftest.er1
3015 grep -v '^ *+' conftest.er1
>conftest.err
3017 cat conftest.err
>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } &&
3020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3021 { (case "(($ac_try" in
3022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3026 (eval "$ac_try") 2>&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; } &&
3030 { ac_try='test -s conftest.$ac_objext'
3031 { (case "(($ac_try" in
3032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3033 *) ac_try_echo
=$ac_try;;
3035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3036 (eval "$ac_try") 2>&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); }; }; then
3042 echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.
$ac_ext >&5
3048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3049 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3052 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3053 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3054 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3055 ac_test_CFLAGS
=${CFLAGS+set}
3056 ac_save_CFLAGS
=$CFLAGS
3057 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3058 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3059 if test "${ac_cv_prog_cc_g+set}" = set; then
3060 echo $ECHO_N "(cached) $ECHO_C" >&6
3062 ac_save_c_werror_flag
=$ac_c_werror_flag
3063 ac_c_werror_flag
=yes
3066 cat >conftest.
$ac_ext <<_ACEOF
3069 cat confdefs.h
>>conftest.
$ac_ext
3070 cat >>conftest.
$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3081 rm -f conftest.
$ac_objext
3082 if { (ac_try
="$ac_compile"
3084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3088 (eval "$ac_compile") 2>conftest.er1
3090 grep -v '^ *+' conftest.er1 >conftest.err
3092 cat conftest.err >&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } &&
3095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3096 { (case "(($ac_try" in
3097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3098 *) ac_try_echo
=$ac_try;;
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_try") 2>&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; } &&
3105 { ac_try
='test -s conftest.$ac_objext'
3106 { (case "(($ac_try" in
3107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3111 (eval "$ac_try") 2>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; }; then
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3136 rm -f conftest.$ac_objext
3137 if { (ac_try="$ac_compile"
3139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3140 *) ac_try_echo
=$ac_try;;
3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_compile") 2>conftest.er1
3145 grep -v '^ *+' conftest.er1
>conftest.err
3147 cat conftest.err
>&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } &&
3150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3151 { (case "(($ac_try" in
3152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_try") 2>&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; } &&
3160 { ac_try='test -s conftest.$ac_objext'
3161 { (case "(($ac_try" in
3162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3163 *) ac_try_echo
=$ac_try;;
3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_try") 2>&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; }; then
3172 echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.
$ac_ext >&5
3175 ac_c_werror_flag
=$ac_save_c_werror_flag
3177 cat >conftest.
$ac_ext <<_ACEOF
3180 cat confdefs.h
>>conftest.
$ac_ext
3181 cat >>conftest.
$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3192 rm -f conftest.
$ac_objext
3193 if { (ac_try
="$ac_compile"
3195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3199 (eval "$ac_compile") 2>conftest.er1
3201 grep -v '^ *+' conftest.er1 >conftest.err
3203 cat conftest.err >&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); } &&
3206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3207 { (case "(($ac_try" in
3208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3209 *) ac_try_echo
=$ac_try;;
3211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3212 (eval "$ac_try") 2>&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); }; } &&
3216 { ac_try
='test -s conftest.$ac_objext'
3217 { (case "(($ac_try" in
3218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3219 *) ac_try_echo=$ac_try;;
3221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3222 (eval "$ac_try") 2>&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; }; then
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_c_werror_flag=$ac_save_c_werror_flag
3243 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3244 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3245 if test "$ac_test_CFLAGS" = set; then
3246 CFLAGS=$ac_save_CFLAGS
3247 elif test $ac_cv_prog_cc_g = yes; then
3248 if test "$GCC" = yes; then
3254 if test "$GCC" = yes; then
3260 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3261 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3262 if test "${ac_cv_prog_cc_c89+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 ac_cv_prog_cc_c89=no
3267 cat >conftest.$ac_ext <<_ACEOF
3270 cat confdefs.h >>conftest.$ac_ext
3271 cat >>conftest.$ac_ext <<_ACEOF
3272 /* end confdefs.h. */
3275 #include <sys/types.h>
3276 #include <sys/stat.h>
3277 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3278 struct buf { int x; };
3279 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3280 static char *e (p, i)
3286 static char *f (char * (*g) (char **, int), char **p, ...)
3291 s = g (p, va_arg (v,int));
3296 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3297 function prototypes and stuff, but not '\xHH' hex character constants.
3298 These don't provoke an error unfortunately, instead are silently treated
3299 as 'x'. The following induces an error, until -std is added to get
3300 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3301 array size at least. It's necessary to write '\x00'==0 to get something
3302 that's true only with -std. */
3303 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3305 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3306 inside strings and character constants. */
3308 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3310 int test (int i, double x);
3311 struct s1 {int (*f) (int a);};
3312 struct s2 {int (*f) (double a);};
3313 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3324 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3325 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3327 CC="$ac_save_CC $ac_arg"
3328 rm -f conftest.$ac_objext
3329 if { (ac_try="$ac_compile"
3331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3332 *) ac_try_echo
=$ac_try;;
3334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compile") 2>conftest.er1
3337 grep -v '^ *+' conftest.er1
>conftest.err
3339 cat conftest.err
>&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } &&
3342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3343 { (case "(($ac_try" in
3344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3348 (eval "$ac_try") 2>&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; } &&
3352 { ac_try='test -s conftest.$ac_objext'
3353 { (case "(($ac_try" in
3354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3355 *) ac_try_echo
=$ac_try;;
3357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3358 (eval "$ac_try") 2>&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }; }; then
3362 ac_cv_prog_cc_c89
=$ac_arg
3364 echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.
$ac_ext >&5
3370 rm -f core conftest.err conftest.
$ac_objext
3371 test "x$ac_cv_prog_cc_c89" != "xno" && break
3373 rm -f conftest.
$ac_ext
3378 case "x$ac_cv_prog_cc_c89" in
3380 { echo "$as_me:$LINENO: result: none needed" >&5
3381 echo "${ECHO_T}none needed" >&6; } ;;
3383 { echo "$as_me:$LINENO: result: unsupported" >&5
3384 echo "${ECHO_T}unsupported" >&6; } ;;
3386 CC
="$CC $ac_cv_prog_cc_c89"
3387 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3388 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3393 ac_cpp
='$CPP $CPPFLAGS'
3394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3400 ac_cpp
='$CPP $CPPFLAGS'
3401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3404 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3405 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3406 # On Suns, sometimes $CPP names a directory.
3407 if test -n "$CPP" && test -d "$CPP"; then
3410 if test -z "$CPP"; then
3411 if test "${ac_cv_prog_CPP+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 # Double quotes because CPP needs to be expanded
3415 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3418 for ac_c_preproc_warn_flag
in '' yes
3420 # Use a header file that comes with gcc, so configuring glibc
3421 # with a fresh cross-compiler works.
3422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3423 # <limits.h> exists even on freestanding compilers.
3424 # On the NeXT, cc -E runs the code through the compiler's parser,
3425 # not just through cpp. "Syntax error" is here to catch this case.
3426 cat >conftest.
$ac_ext <<_ACEOF
3429 cat confdefs.h
>>conftest.
$ac_ext
3430 cat >>conftest.
$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3433 # include <limits.h>
3435 # include <assert.h>
3439 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3447 grep -v '^ *+' conftest.er1 >conftest.err
3449 cat conftest.err >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } >/dev/null; then
3452 if test -s conftest.err; then
3453 ac_cpp_err=$ac_c_preproc_warn_flag
3454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3461 if test -z "$ac_cpp_err"; then
3464 echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.$ac_ext >&5
3467 # Broken: fails on valid input.
3471 rm -f conftest.err conftest.$ac_ext
3473 # OK, works on sane cases. Now check whether nonexistent headers
3474 # can be detected and how.
3475 cat >conftest.$ac_ext <<_ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #include <ac_nonexistent.h>
3483 if { (ac_try="$ac_cpp conftest.$ac_ext"
3485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3486 *) ac_try_echo
=$ac_try;;
3488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3491 grep -v '^ *+' conftest.er1
>conftest.err
3493 cat conftest.err
>&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } >/dev
/null
; then
3496 if test -s conftest.err
; then
3497 ac_cpp_err
=$ac_c_preproc_warn_flag
3498 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3505 if test -z "$ac_cpp_err"; then
3506 # Broken: success on invalid input.
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.
$ac_ext >&5
3512 # Passes both tests.
3517 rm -f conftest.err conftest.
$ac_ext
3520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3521 rm -f conftest.err conftest.
$ac_ext
3522 if $ac_preproc_ok; then
3534 { echo "$as_me:$LINENO: result: $CPP" >&5
3535 echo "${ECHO_T}$CPP" >&6; }
3537 for ac_c_preproc_warn_flag
in '' yes
3539 # Use a header file that comes with gcc, so configuring glibc
3540 # with a fresh cross-compiler works.
3541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3542 # <limits.h> exists even on freestanding compilers.
3543 # On the NeXT, cc -E runs the code through the compiler's parser,
3544 # not just through cpp. "Syntax error" is here to catch this case.
3545 cat >conftest.
$ac_ext <<_ACEOF
3548 cat confdefs.h
>>conftest.
$ac_ext
3549 cat >>conftest.
$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3552 # include <limits.h>
3554 # include <assert.h>
3558 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3566 grep -v '^ *+' conftest.er1 >conftest.err
3568 cat conftest.err >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); } >/dev/null; then
3571 if test -s conftest.err; then
3572 ac_cpp_err=$ac_c_preproc_warn_flag
3573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3580 if test -z "$ac_cpp_err"; then
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3586 # Broken: fails on valid input.
3590 rm -f conftest.err conftest.$ac_ext
3592 # OK, works on sane cases. Now check whether nonexistent headers
3593 # can be detected and how.
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3600 #include <ac_nonexistent.h>
3602 if { (ac_try="$ac_cpp conftest.$ac_ext"
3604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3605 *) ac_try_echo
=$ac_try;;
3607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3610 grep -v '^ *+' conftest.er1
>conftest.err
3612 cat conftest.err
>&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } >/dev
/null
; then
3615 if test -s conftest.err
; then
3616 ac_cpp_err
=$ac_c_preproc_warn_flag
3617 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3624 if test -z "$ac_cpp_err"; then
3625 # Broken: success on invalid input.
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3631 # Passes both tests.
3636 rm -f conftest.err conftest.
$ac_ext
3639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3640 rm -f conftest.err conftest.
$ac_ext
3641 if $ac_preproc_ok; then
3644 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3645 See \`config.log' for more details." >&5
3646 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3647 See \`config.log' for more details." >&2;}
3648 { (exit 1); exit 1; }; }
3652 ac_cpp
='$CPP $CPPFLAGS'
3653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3658 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3659 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3660 if test "${ac_cv_path_GREP+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 # Extract the first word of "grep ggrep" to use in msg output
3664 if test -z "$GREP"; then
3665 set dummy
grep ggrep
; ac_prog_name
=$2
3666 if test "${ac_cv_path_GREP+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 ac_path_GREP_found
=false
3670 # Loop through the user's path and test for each of PROGNAME-LIST
3671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3672 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3675 test -z "$as_dir" && as_dir
=.
3676 for ac_prog
in grep ggrep
; do
3677 for ac_exec_ext
in '' $ac_executable_extensions; do
3678 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3679 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3680 # Check for GNU ac_path_GREP and select it if it is found.
3681 # Check for GNU $ac_path_GREP
3682 case `"$ac_path_GREP" --version 2>&1` in
3684 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3687 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3690 cat "conftest.in" "conftest.in" >"conftest.tmp"
3691 mv "conftest.tmp" "conftest.in"
3692 cp "conftest.in" "conftest.nl"
3693 echo 'GREP' >> "conftest.nl"
3694 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3695 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3696 ac_count
=`expr $ac_count + 1`
3697 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3698 # Best one so far, save it but keep looking for a better one
3699 ac_cv_path_GREP
="$ac_path_GREP"
3700 ac_path_GREP_max
=$ac_count
3702 # 10*(2^10) chars as input seems more than enough
3703 test $ac_count -gt 10 && break
3705 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3709 $ac_path_GREP_found && break 3
3719 GREP
="$ac_cv_path_GREP"
3720 if test -z "$GREP"; then
3721 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3722 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3723 { (exit 1); exit 1; }; }
3727 ac_cv_path_GREP
=$GREP
3732 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3733 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3734 GREP
="$ac_cv_path_GREP"
3737 { echo "$as_me:$LINENO: checking for egrep" >&5
3738 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3739 if test "${ac_cv_path_EGREP+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3743 then ac_cv_path_EGREP
="$GREP -E"
3745 # Extract the first word of "egrep" to use in msg output
3746 if test -z "$EGREP"; then
3747 set dummy
egrep; ac_prog_name
=$2
3748 if test "${ac_cv_path_EGREP+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 ac_path_EGREP_found
=false
3752 # Loop through the user's path and test for each of PROGNAME-LIST
3753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3754 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3757 test -z "$as_dir" && as_dir
=.
3758 for ac_prog
in egrep; do
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3761 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3762 # Check for GNU ac_path_EGREP and select it if it is found.
3763 # Check for GNU $ac_path_EGREP
3764 case `"$ac_path_EGREP" --version 2>&1` in
3766 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3769 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3772 cat "conftest.in" "conftest.in" >"conftest.tmp"
3773 mv "conftest.tmp" "conftest.in"
3774 cp "conftest.in" "conftest.nl"
3775 echo 'EGREP' >> "conftest.nl"
3776 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3777 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3778 ac_count
=`expr $ac_count + 1`
3779 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3780 # Best one so far, save it but keep looking for a better one
3781 ac_cv_path_EGREP
="$ac_path_EGREP"
3782 ac_path_EGREP_max
=$ac_count
3784 # 10*(2^10) chars as input seems more than enough
3785 test $ac_count -gt 10 && break
3787 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3791 $ac_path_EGREP_found && break 3
3801 EGREP
="$ac_cv_path_EGREP"
3802 if test -z "$EGREP"; then
3803 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3804 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3805 { (exit 1); exit 1; }; }
3809 ac_cv_path_EGREP
=$EGREP
3815 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3816 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3817 EGREP
="$ac_cv_path_EGREP"
3820 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3821 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3822 if test "${ac_cv_header_stdc+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 cat >conftest.
$ac_ext <<_ACEOF
3828 cat confdefs.h
>>conftest.
$ac_ext
3829 cat >>conftest.
$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3844 rm -f conftest.
$ac_objext
3845 if { (ac_try
="$ac_compile"
3847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_compile") 2>conftest.er1
3853 grep -v '^ *+' conftest.er1 >conftest.err
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } &&
3858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3859 { (case "(($ac_try" in
3860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3861 *) ac_try_echo
=$ac_try;;
3863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3864 (eval "$ac_try") 2>&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; } &&
3868 { ac_try
='test -s conftest.$ac_objext'
3869 { (case "(($ac_try" in
3870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3871 *) ac_try_echo=$ac_try;;
3873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3874 (eval "$ac_try") 2>&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; }; then
3878 ac_cv_header_stdc=yes
3880 echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.$ac_ext >&5
3883 ac_cv_header_stdc=no
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888 if test $ac_cv_header_stdc = yes; then
3889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3890 cat >conftest.$ac_ext <<_ACEOF
3893 cat confdefs.h >>conftest.$ac_ext
3894 cat >>conftest.$ac_ext <<_ACEOF
3895 /* end confdefs.h. */
3899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3900 $EGREP "memchr" >/dev/null 2>&1; then
3903 ac_cv_header_stdc=no
3909 if test $ac_cv_header_stdc = yes; then
3910 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3911 cat >conftest.$ac_ext <<_ACEOF
3914 cat confdefs.h >>conftest.$ac_ext
3915 cat >>conftest.$ac_ext <<_ACEOF
3916 /* end confdefs.h. */
3920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3921 $EGREP "free" >/dev/null 2>&1; then
3924 ac_cv_header_stdc=no
3930 if test $ac_cv_header_stdc = yes; then
3931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3932 if test "$cross_compiling" = yes; then
3935 cat >conftest.$ac_ext <<_ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3943 #if ((' ' & 0x0FF) == 0x020)
3944 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3945 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3947 # define ISLOWER(c) \
3948 (('a' <= (c) && (c) <= 'i') \
3949 || ('j' <= (c) && (c) <= 'r') \
3950 || ('s' <= (c) && (c) <= 'z'))
3951 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3954 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3959 for (i = 0; i < 256; i++)
3960 if (XOR (islower (i), ISLOWER (i))
3961 || toupper (i) != TOUPPER (i))
3966 rm -f conftest$ac_exeext
3967 if { (ac_try="$ac_link"
3969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3970 *) ac_try_echo
=$ac_try;;
3972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3973 (eval "$ac_link") 2>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3977 { (case "(($ac_try" in
3978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3979 *) ac_try_echo=$ac_try;;
3981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3982 (eval "$ac_try") 2>&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; }; then
3988 echo "$as_me: program exited with status $ac_status" >&5
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3993 ac_cv_header_stdc=no
3995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4001 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4002 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4003 if test $ac_cv_header_stdc = yes; then
4005 cat >>confdefs.h <<\_ACEOF
4006 #define STDC_HEADERS 1
4011 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4021 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4022 inttypes.h stdint.h unistd.h
4024 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 cat >conftest.$ac_ext <<_ACEOF
4033 cat confdefs.h >>conftest.$ac_ext
4034 cat >>conftest.$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4036 $ac_includes_default
4038 #include <$ac_header>
4040 rm -f conftest.$ac_objext
4041 if { (ac_try="$ac_compile"
4043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4044 *) ac_try_echo
=$ac_try;;
4046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4047 (eval "$ac_compile") 2>conftest.er1
4049 grep -v '^ *+' conftest.er1
>conftest.err
4051 cat conftest.err
>&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); } &&
4054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4055 { (case "(($ac_try" in
4056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4060 (eval "$ac_try") 2>&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; } &&
4064 { ac_try='test -s conftest.$ac_objext'
4065 { (case "(($ac_try" in
4066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4067 *) ac_try_echo
=$ac_try;;
4069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4070 (eval "$ac_try") 2>&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); }; }; then
4074 eval "$as_ac_Header=yes"
4076 echo "$as_me: failed program was:" >&5
4077 sed 's/^/| /' conftest.
$ac_ext >&5
4079 eval "$as_ac_Header=no"
4082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4084 ac_res
=`eval echo '${'$as_ac_Header'}'`
4085 { echo "$as_me:$LINENO: result: $ac_res" >&5
4086 echo "${ECHO_T}$ac_res" >&6; }
4087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4088 cat >>confdefs.h
<<_ACEOF
4089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4097 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4098 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4099 if test "${ac_cv_c_bigendian+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 # See if sys/param.h defines the BYTE_ORDER macro.
4103 cat >conftest.
$ac_ext <<_ACEOF
4106 cat confdefs.h
>>conftest.
$ac_ext
4107 cat >>conftest.
$ac_ext <<_ACEOF
4108 /* end confdefs.h. */
4109 #include <sys/types.h>
4110 #include <sys/param.h>
4115 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4123 rm -f conftest.
$ac_objext
4124 if { (ac_try
="$ac_compile"
4126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130 (eval "$ac_compile") 2>conftest.er1
4132 grep -v '^ *+' conftest.er1 >conftest.err
4134 cat conftest.err >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } &&
4137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4138 { (case "(($ac_try" in
4139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4140 *) ac_try_echo
=$ac_try;;
4142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4143 (eval "$ac_try") 2>&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); }; } &&
4147 { ac_try
='test -s conftest.$ac_objext'
4148 { (case "(($ac_try" in
4149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4150 *) ac_try_echo=$ac_try;;
4152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4153 (eval "$ac_try") 2>&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); }; }; then
4157 # It does; now see whether it defined to BIG_ENDIAN or not.
4158 cat >conftest.$ac_ext <<_ACEOF
4161 cat confdefs.h >>conftest.$ac_ext
4162 cat >>conftest.$ac_ext <<_ACEOF
4163 /* end confdefs.h. */
4164 #include <sys/types.h>
4165 #include <sys/param.h>
4170 #if BYTE_ORDER != BIG_ENDIAN
4178 rm -f conftest.$ac_objext
4179 if { (ac_try="$ac_compile"
4181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4182 *) ac_try_echo
=$ac_try;;
4184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4185 (eval "$ac_compile") 2>conftest.er1
4187 grep -v '^ *+' conftest.er1
>conftest.err
4189 cat conftest.err
>&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); } &&
4192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4193 { (case "(($ac_try" in
4194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_try") 2>&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; } &&
4202 { ac_try='test -s conftest.$ac_objext'
4203 { (case "(($ac_try" in
4204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4205 *) ac_try_echo
=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_try") 2>&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); }; }; then
4212 ac_cv_c_bigendian
=yes
4214 echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.
$ac_ext >&5
4217 ac_cv_c_bigendian
=no
4220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4222 echo "$as_me: failed program was:" >&5
4223 sed 's/^/| /' conftest.
$ac_ext >&5
4225 # It does not; compile a test program.
4226 if test "$cross_compiling" = yes; then
4227 # try to guess the endianness by grepping values into an object file
4228 ac_cv_c_bigendian
=unknown
4229 cat >conftest.
$ac_ext <<_ACEOF
4232 cat confdefs.h
>>conftest.
$ac_ext
4233 cat >>conftest.
$ac_ext <<_ACEOF
4234 /* end confdefs.h. */
4235 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4236 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4237 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4238 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4239 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4240 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4244 _ascii (); _ebcdic ();
4249 rm -f conftest.
$ac_objext
4250 if { (ac_try
="$ac_compile"
4252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4253 *) ac_try_echo=$ac_try;;
4255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4256 (eval "$ac_compile") 2>conftest.er1
4258 grep -v '^ *+' conftest.er1 >conftest.err
4260 cat conftest.err >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); } &&
4263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4264 { (case "(($ac_try" in
4265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4266 *) ac_try_echo
=$ac_try;;
4268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4269 (eval "$ac_try") 2>&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; } &&
4273 { ac_try
='test -s conftest.$ac_objext'
4274 { (case "(($ac_try" in
4275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4276 *) ac_try_echo=$ac_try;;
4278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4279 (eval "$ac_try") 2>&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); }; }; then
4283 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4284 ac_cv_c_bigendian=yes
4286 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4287 if test "$ac_cv_c_bigendian" = unknown; then
4288 ac_cv_c_bigendian=no
4290 # finding both strings is unlikely to happen, but who knows?
4291 ac_cv_c_bigendian=unknown
4295 echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 cat >conftest.$ac_ext <<_ACEOF
4306 cat confdefs.h >>conftest.$ac_ext
4307 cat >>conftest.$ac_ext <<_ACEOF
4308 /* end confdefs.h. */
4309 $ac_includes_default
4314 /* Are we little or big endian? From Harbison&Steele. */
4318 char c[sizeof (long int)];
4321 return u.c[sizeof (long int) - 1] == 1;
4327 rm -f conftest$ac_exeext
4328 if { (ac_try="$ac_link"
4330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4331 *) ac_try_echo
=$ac_try;;
4333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4334 (eval "$ac_link") 2>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4338 { (case "(($ac_try" in
4339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4343 (eval "$ac_try") 2>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 ac_cv_c_bigendian=no
4349 echo "$as_me: program exited with status $ac_status" >&5
4350 echo "$as_me: failed program was:" >&5
4351 sed 's/^/| /' conftest.$ac_ext >&5
4354 ac_cv_c_bigendian=yes
4356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4364 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4365 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4366 case $ac_cv_c_bigendian in
4374 { { echo "$as_me:$LINENO: error: unknown endianness
4375 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4376 echo "$as_me: error: unknown endianness
4377 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4378 { (exit 1); exit 1; }; } ;;
4382 if test "$cross_compiling" = yes; then
4383 LLVM_CROSS_COMPILING=1
4386 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4387 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4388 if test "${ac_cv_build_exeext+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4392 ac_cv_build_exeext=.exe
4394 ac_build_prefix=${build_alias}-
4396 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4397 set dummy ${ac_build_prefix}gcc; ac_word=$2
4398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4400 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 if test -n "$BUILD_CC"; then
4404 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 BUILD_CC=$ac_cv_prog_BUILD_CC
4424 if test -n "$BUILD_CC"; then
4425 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4426 echo "${ECHO_T}$BUILD_CC" >&6; }
4428 { echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6; }
4433 if test -z "$BUILD_CC"; then
4434 # Extract the first word of "gcc", so it can be a program name with args.
4435 set dummy gcc; ac_word=$2
4436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4438 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 if test -n "$BUILD_CC"; then
4442 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_BUILD_CC="gcc"
4452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 BUILD_CC=$ac_cv_prog_BUILD_CC
4462 if test -n "$BUILD_CC"; then
4463 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4464 echo "${ECHO_T}$BUILD_CC" >&6; }
4466 { echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6; }
4471 if test -z "$BUILD_CC"; then
4472 # Extract the first word of "cc", so it can be a program name with args.
4473 set dummy cc; ac_word=$2
4474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4476 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 if test -n "$BUILD_CC"; then
4480 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4490 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4491 ac_prog_rejected=yes
4494 ac_cv_prog_BUILD_CC="cc"
4495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 if test $ac_prog_rejected = yes; then
4503 # We found a bogon in the path, so make sure we never use it.
4504 set dummy $ac_cv_prog_BUILD_CC
4506 if test $# != 0; then
4507 # We chose a different compiler from the bogus one.
4508 # However, it has the same basename, so the bogon will be chosen
4509 # first if we set BUILD_CC to just the basename; use the full file name.
4511 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4516 BUILD_CC=$ac_cv_prog_BUILD_CC
4517 if test -n "$BUILD_CC"; then
4518 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4519 echo "${ECHO_T}$BUILD_CC" >&6; }
4521 { echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6; }
4528 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4529 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4530 { (exit 1); exit 1; }; }
4531 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4533 echo 'int main () { return 0; }' > conftest.$ac_ext
4535 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4536 (eval $ac_build_link) 2>&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; then
4540 for file in conftest.*; do
4542 *.c | *.o | *.obj | *.dSYM) ;;
4543 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4547 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4548 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4549 { (exit 1); exit 1; }; }
4552 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4557 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4558 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4559 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4560 ac_build_exeext=$BUILD_EXEEXT
4562 ac_build_prefix=${build_alias}-
4563 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4564 set dummy ${ac_build_prefix}g++; ac_word=$2
4565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4567 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4568 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 if test -n "$BUILD_CXX"; then
4571 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 test -z "$as_dir" && as_dir=.
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4580 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4591 if test -n "$BUILD_CXX"; then
4592 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4593 echo "${ECHO_T}$BUILD_CXX" >&6; }
4595 { echo "$as_me:$LINENO: result: no" >&5
4596 echo "${ECHO_T}no" >&6; }
4600 if test -z "$BUILD_CXX"; then
4601 # Extract the first word of "g++", so it can be a program name with args.
4602 set dummy g++; ac_word=$2
4603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4605 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 if test -n "$BUILD_CXX"; then
4609 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4618 ac_cv_prog_BUILD_CXX="g++"
4619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4629 if test -n "$BUILD_CXX"; then
4630 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4631 echo "${ECHO_T}$BUILD_CXX" >&6; }
4633 { echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6; }
4638 if test -z "$BUILD_CXX"; then
4639 # Extract the first word of "c++", so it can be a program name with args.
4640 set dummy c++; ac_word=$2
4641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4643 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 if test -n "$BUILD_CXX"; then
4647 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4657 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4658 ac_prog_rejected=yes
4661 ac_cv_prog_BUILD_CXX="c++"
4662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 if test $ac_prog_rejected = yes; then
4670 # We found a bogon in the path, so make sure we never use it.
4671 set dummy $ac_cv_prog_BUILD_CXX
4673 if test $# != 0; then
4674 # We chose a different compiler from the bogus one.
4675 # However, it has the same basename, so the bogon will be chosen
4676 # first if we set BUILD_CXX to just the basename; use the full file name.
4678 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4683 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4684 if test -n "$BUILD_CXX"; then
4685 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4686 echo "${ECHO_T}$BUILD_CXX" >&6; }
4688 { echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6; }
4696 LLVM_CROSS_COMPILING=0
4700 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4711 # Check whether --enable-optimized was given.
4712 if test "${enable_optimized+set}" = set; then
4713 enableval=$enable_optimized;
4718 if test ${enableval} = "no" ; then
4722 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4726 # Check whether --enable-assertions was given.
4727 if test "${enable_assertions+set}" = set; then
4728 enableval=$enable_assertions;
4733 if test ${enableval} = "yes" ; then
4737 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4741 # Check whether --enable-expensive-checks was given.
4742 if test "${enable_expensive_checks+set}" = set; then
4743 enableval=$enable_expensive_checks;
4748 if test ${enableval} = "yes" ; then
4749 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4751 EXPENSIVE_CHECKS=yes
4754 ENABLE_EXPENSIVE_CHECKS=
4760 # Check whether --enable-debug-runtime was given.
4761 if test "${enable_debug_runtime+set}" = set; then
4762 enableval=$enable_debug_runtime;
4767 if test ${enableval} = "no" ; then
4771 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4775 # Check whether --enable-jit was given.
4776 if test "${enable_jit+set}" = set; then
4777 enableval=$enable_jit;
4782 if test ${enableval} = "no"
4787 case "$llvm_cv_target_arch" in
4788 x86) TARGET_HAS_JIT=1
4790 Sparc) TARGET_HAS_JIT=0
4792 PowerPC) TARGET_HAS_JIT=1
4794 x86_64) TARGET_HAS_JIT=1
4796 Alpha) TARGET_HAS_JIT=1
4798 IA64) TARGET_HAS_JIT=0
4800 ARM) TARGET_HAS_JIT=0
4802 Mips) TARGET_HAS_JIT=0
4804 PIC16) TARGET_HAS_JIT=0
4806 XCore) TARGET_HAS_JIT=0
4813 # Check whether --enable-doxygen was given.
4814 if test "${enable_doxygen+set}" = set; then
4815 enableval=$enable_doxygen;
4820 case "$enableval" in
4821 yes) ENABLE_DOXYGEN=1
4823 no) ENABLE_DOXYGEN=0
4825 default) ENABLE_DOXYGEN=0
4827 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4828 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4829 { (exit 1); exit 1; }; } ;;
4832 # Check whether --enable-threads was given.
4833 if test "${enable_threads+set}" = set; then
4834 enableval=$enable_threads;
4839 case "$enableval" in
4840 yes) ENABLE_THREADS=1
4842 no) ENABLE_THREADS=0
4844 default) ENABLE_THREADS=1
4846 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4847 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4848 { (exit 1); exit 1; }; } ;;
4851 cat >>confdefs.h <<_ACEOF
4852 #define ENABLE_THREADS $ENABLE_THREADS
4856 # Check whether --enable-pic was given.
4857 if test "${enable_pic+set}" = set; then
4858 enableval=$enable_pic;
4863 case "$enableval" in
4868 default) ENABLE_PIC=1
4870 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4871 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4872 { (exit 1); exit 1; }; } ;;
4875 cat >>confdefs.h <<_ACEOF
4876 #define ENABLE_PIC $ENABLE_PIC
4881 # Check whether --enable-targets was given.
4882 if test "${enable_targets+set}" = set; then
4883 enableval=$enable_targets;
4888 case "$enableval" in
4889 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM Mips CellSPU PIC16 XCore CBackend MSIL CppBackend" ;;
4891 case "$llvm_cv_target_arch" in
4892 x86) TARGETS_TO_BUILD="X86" ;;
4893 x86_64) TARGETS_TO_BUILD="X86" ;;
4894 Sparc) TARGETS_TO_BUILD="Sparc" ;;
4895 PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
4896 Alpha) TARGETS_TO_BUILD="Alpha" ;;
4897 IA64) TARGETS_TO_BUILD="IA64" ;;
4898 ARM) TARGETS_TO_BUILD="ARM" ;;
4899 Mips) TARGETS_TO_BUILD="Mips" ;;
4900 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU" ;;
4901 PIC16) TARGETS_TO_BUILD="PIC16" ;;
4902 XCore) TARGETS_TO_BUILD="XCore" ;;
4903 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
4904 echo "$as_me: error: Can not set target to build" >&2;}
4905 { (exit 1); exit 1; }; } ;;
4908 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4910 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4911 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4912 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
4913 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
4914 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
4915 ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
4916 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
4917 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
4918 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
4919 pic16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
4920 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
4921 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
4922 msil) TARGETS_TO_BUILD="MSIL $TARGETS_TO_BUILD" ;;
4923 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
4924 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
4925 echo "$as_me: error: Unrecognized target $a_target" >&2;}
4926 { (exit 1); exit 1; }; } ;;
4931 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
4934 # Check whether --enable-cbe-printf-a was given.
4935 if test "${enable_cbe_printf_a+set}" = set; then
4936 enableval=$enable_cbe_printf_a;
4941 case "$enableval" in
4942 yes) ENABLE_CBE_PRINTF_A=1
4944 no) ENABLE_CBE_PRINTF_A=0
4946 default) ENABLE_CBE_PRINTF_A=1
4948 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
4949 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
4950 { (exit 1); exit 1; }; } ;;
4953 cat >>confdefs.h <<_ACEOF
4954 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
4959 # Check whether --with-llvmgccdir was given.
4960 if test "${with_llvmgccdir+set}" = set; then
4961 withval=$with_llvmgccdir;
4967 default) WITH_LLVMGCCDIR=default ;;
4968 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
4969 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
4970 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
4971 { (exit 1); exit 1; }; } ;;
4975 # Check whether --with-llvmgcc was given.
4976 if test "${with_llvmgcc+set}" = set; then
4977 withval=$with_llvmgcc; LLVMGCC=$with_llvmgcc
4983 # Check whether --with-llvmgxx was given.
4984 if test "${with_llvmgxx+set}" = set; then
4985 withval=$with_llvmgxx; LLVMGXX=$with_llvmgxx
4990 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
4991 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
4992 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
4993 { (exit 1); exit 1; }; };
4996 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
4997 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
4998 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
4999 { (exit 1); exit 1; }; };
5003 # Check whether --with-extra-options was given.
5004 if test "${with_extra_options+set}" = set; then
5005 withval=$with_extra_options;
5011 default) EXTRA_OPTIONS= ;;
5012 *) EXTRA_OPTIONS=$withval ;;
5014 EXTRA_OPTIONS=$EXTRA_OPTIONS
5017 # Check whether --enable-bindings was given.
5018 if test "${enable_bindings+set}" = set; then
5019 enableval=$enable_bindings;
5024 BINDINGS_TO_BUILD=""
5025 case "$enableval" in
5026 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5027 all ) BINDINGS_TO_BUILD="ocaml" ;;
5028 none | no) BINDINGS_TO_BUILD="" ;;
5029 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5030 case "$a_binding" in
5031 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5032 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5033 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5034 { (exit 1); exit 1; }; } ;;
5041 # Check whether --with-ocaml-libdir was given.
5042 if test "${with_ocaml_libdir+set}" = set; then
5043 withval=$with_ocaml_libdir;
5049 auto) with_ocaml_libdir="$withval" ;;
5050 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5051 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5052 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5053 { (exit 1); exit 1; }; } ;;
5057 # Check whether --with-binutils-include was given.
5058 if test "${with_binutils_include+set}" = set; then
5059 withval=$with_binutils_include;
5065 default) WITH_BINUTILS_INCDIR=default ;;
5066 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5067 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5068 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5069 { (exit 1); exit 1; }; } ;;
5071 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5072 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5074 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5075 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5076 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5077 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5078 { (exit 1); exit 1; }; };
5084 ac_cpp='$CPP $CPPFLAGS'
5085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5088 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5089 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5090 # On Suns, sometimes $CPP names a directory.
5091 if test -n "$CPP" && test -d "$CPP"; then
5094 if test -z "$CPP"; then
5095 if test "${ac_cv_prog_CPP+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 # Double quotes because CPP needs to be expanded
5099 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5102 for ac_c_preproc_warn_flag in '' yes
5104 # Use a header file that comes with gcc, so configuring glibc
5105 # with a fresh cross-compiler works.
5106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5107 # <limits.h> exists even on freestanding compilers.
5108 # On the NeXT, cc -E runs the code through the compiler's parser,
5109 # not just through cpp. "Syntax error" is here to catch this case.
5110 cat >conftest.$ac_ext <<_ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5117 # include <limits.h>
5119 # include <assert.h>
5123 if { (ac_try="$ac_cpp conftest.$ac_ext"
5125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5126 *) ac_try_echo
=$ac_try;;
5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5131 grep -v '^ *+' conftest.er1
>conftest.err
5133 cat conftest.err
>&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } >/dev
/null
; then
5136 if test -s conftest.err
; then
5137 ac_cpp_err
=$ac_c_preproc_warn_flag
5138 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5145 if test -z "$ac_cpp_err"; then
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.
$ac_ext >&5
5151 # Broken: fails on valid input.
5155 rm -f conftest.err conftest.
$ac_ext
5157 # OK, works on sane cases. Now check whether nonexistent headers
5158 # can be detected and how.
5159 cat >conftest.
$ac_ext <<_ACEOF
5162 cat confdefs.h
>>conftest.
$ac_ext
5163 cat >>conftest.
$ac_ext <<_ACEOF
5164 /* end confdefs.h. */
5165 #include <ac_nonexistent.h>
5167 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5175 grep -v '^ *+' conftest.er1 >conftest.err
5177 cat conftest.err >&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); } >/dev/null; then
5180 if test -s conftest.err; then
5181 ac_cpp_err=$ac_c_preproc_warn_flag
5182 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5189 if test -z "$ac_cpp_err"; then
5190 # Broken: success on invalid input.
5193 echo "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.$ac_ext >&5
5196 # Passes both tests.
5201 rm -f conftest.err conftest.$ac_ext
5204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5205 rm -f conftest.err conftest.
$ac_ext
5206 if $ac_preproc_ok; then
5218 { echo "$as_me:$LINENO: result: $CPP" >&5
5219 echo "${ECHO_T}$CPP" >&6; }
5221 for ac_c_preproc_warn_flag
in '' yes
5223 # Use a header file that comes with gcc, so configuring glibc
5224 # with a fresh cross-compiler works.
5225 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5226 # <limits.h> exists even on freestanding compilers.
5227 # On the NeXT, cc -E runs the code through the compiler's parser,
5228 # not just through cpp. "Syntax error" is here to catch this case.
5229 cat >conftest.
$ac_ext <<_ACEOF
5232 cat confdefs.h
>>conftest.
$ac_ext
5233 cat >>conftest.
$ac_ext <<_ACEOF
5234 /* end confdefs.h. */
5236 # include <limits.h>
5238 # include <assert.h>
5242 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5245 *) ac_try_echo=$ac_try;;
5247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5250 grep -v '^ *+' conftest.er1 >conftest.err
5252 cat conftest.err >&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } >/dev/null; then
5255 if test -s conftest.err; then
5256 ac_cpp_err=$ac_c_preproc_warn_flag
5257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5264 if test -z "$ac_cpp_err"; then
5267 echo "$as_me: failed program was:" >&5
5268 sed 's/^/| /' conftest.$ac_ext >&5
5270 # Broken: fails on valid input.
5274 rm -f conftest.err conftest.$ac_ext
5276 # OK, works on sane cases. Now check whether nonexistent headers
5277 # can be detected and how.
5278 cat >conftest.$ac_ext <<_ACEOF
5281 cat confdefs.h >>conftest.$ac_ext
5282 cat >>conftest.$ac_ext <<_ACEOF
5283 /* end confdefs.h. */
5284 #include <ac_nonexistent.h>
5286 if { (ac_try="$ac_cpp conftest.$ac_ext"
5288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5289 *) ac_try_echo
=$ac_try;;
5291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5294 grep -v '^ *+' conftest.er1
>conftest.err
5296 cat conftest.err
>&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); } >/dev
/null
; then
5299 if test -s conftest.err
; then
5300 ac_cpp_err
=$ac_c_preproc_warn_flag
5301 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5308 if test -z "$ac_cpp_err"; then
5309 # Broken: success on invalid input.
5312 echo "$as_me: failed program was:" >&5
5313 sed 's/^/| /' conftest.
$ac_ext >&5
5315 # Passes both tests.
5320 rm -f conftest.err conftest.
$ac_ext
5323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5324 rm -f conftest.err conftest.
$ac_ext
5325 if $ac_preproc_ok; then
5328 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5329 See \`config.log' for more details." >&5
5330 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5331 See \`config.log' for more details." >&2;}
5332 { (exit 1); exit 1; }; }
5336 ac_cpp
='$CPP $CPPFLAGS'
5337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5342 ac_cpp
='$CPP $CPPFLAGS'
5343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5346 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5350 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5353 if test "${ac_cv_prog_CC+set}" = set; then
5354 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 if test -n "$CC"; then
5357 ac_cv_prog_CC
="$CC" # Let the user override the test.
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5366 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 if test -n "$CC"; then
5378 { echo "$as_me:$LINENO: result: $CC" >&5
5379 echo "${ECHO_T}$CC" >&6; }
5381 { echo "$as_me:$LINENO: result: no" >&5
5382 echo "${ECHO_T}no" >&6; }
5386 test -n "$CC" && break
5389 if test -z "$CC"; then
5393 # Extract the first word of "$ac_prog", so it can be a program name with args.
5394 set dummy
$ac_prog; ac_word
=$2
5395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5397 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 if test -n "$ac_ct_CC"; then
5401 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_ac_ct_CC
="$ac_prog"
5411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5421 if test -n "$ac_ct_CC"; then
5422 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5423 echo "${ECHO_T}$ac_ct_CC" >&6; }
5425 { echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6; }
5430 test -n "$ac_ct_CC" && break
5433 if test "x$ac_ct_CC" = x
; then
5436 case $cross_compiling:$ac_tool_warned in
5438 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5439 whose name does not start with the host triplet. If you think this
5440 configuration is useful to you, please write to autoconf@gnu.org." >&5
5441 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5442 whose name does not start with the host triplet. If you think this
5443 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5444 ac_tool_warned
=yes ;;
5451 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5452 See \`config.log' for more details." >&5
5453 echo "$as_me: error: no acceptable C compiler found in \$PATH
5454 See \`config.log' for more details." >&2;}
5455 { (exit 1); exit 1; }; }
5457 # Provide some information about the compiler.
5458 echo "$as_me:$LINENO: checking for C compiler version" >&5
5459 ac_compiler
=`set X $ac_compile; echo $2`
5460 { (ac_try
="$ac_compiler --version >&5"
5462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5463 *) ac_try_echo=$ac_try;;
5465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466 (eval "$ac_compiler --version >&5") 2>&5
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); }
5470 { (ac_try="$ac_compiler -v >&5"
5472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5473 *) ac_try_echo
=$ac_try;;
5475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5476 (eval "$ac_compiler -v >&5") 2>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }
5480 { (ac_try
="$ac_compiler -V >&5"
5482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5483 *) ac_try_echo=$ac_try;;
5485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_compiler -V >&5") 2>&5
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }
5491 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5492 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5493 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 cat >conftest.$ac_ext <<_ACEOF
5499 cat confdefs.h >>conftest.$ac_ext
5500 cat >>conftest.$ac_ext <<_ACEOF
5501 /* end confdefs.h. */
5514 rm -f conftest.$ac_objext
5515 if { (ac_try="$ac_compile"
5517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5518 *) ac_try_echo
=$ac_try;;
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_compile") 2>conftest.er1
5523 grep -v '^ *+' conftest.er1
>conftest.err
5525 cat conftest.err
>&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } &&
5528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5529 { (case "(($ac_try" in
5530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5534 (eval "$ac_try") 2>&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); }; } &&
5538 { ac_try='test -s conftest.$ac_objext'
5539 { (case "(($ac_try" in
5540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5541 *) ac_try_echo
=$ac_try;;
5543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5544 (eval "$ac_try") 2>&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }; }; then
5550 echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.
$ac_ext >&5
5556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5557 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5560 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5561 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5562 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5563 ac_test_CFLAGS
=${CFLAGS+set}
5564 ac_save_CFLAGS
=$CFLAGS
5565 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5566 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5567 if test "${ac_cv_prog_cc_g+set}" = set; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5570 ac_save_c_werror_flag
=$ac_c_werror_flag
5571 ac_c_werror_flag
=yes
5574 cat >conftest.
$ac_ext <<_ACEOF
5577 cat confdefs.h
>>conftest.
$ac_ext
5578 cat >>conftest.
$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5589 rm -f conftest.
$ac_objext
5590 if { (ac_try
="$ac_compile"
5592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5596 (eval "$ac_compile") 2>conftest.er1
5598 grep -v '^ *+' conftest.er1 >conftest.err
5600 cat conftest.err >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } &&
5603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5604 { (case "(($ac_try" in
5605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5606 *) ac_try_echo
=$ac_try;;
5608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5609 (eval "$ac_try") 2>&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; } &&
5613 { ac_try
='test -s conftest.$ac_objext'
5614 { (case "(($ac_try" in
5615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5616 *) ac_try_echo=$ac_try;;
5618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5619 (eval "$ac_try") 2>&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); }; }; then
5625 echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.$ac_ext >&5
5629 cat >conftest.$ac_ext <<_ACEOF
5632 cat confdefs.h >>conftest.$ac_ext
5633 cat >>conftest.$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5644 rm -f conftest.$ac_objext
5645 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
5653 grep -v '^ *+' conftest.er1
>conftest.err
5655 cat conftest.err
>&5
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 (exit $ac_status); } &&
5658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5659 { (case "(($ac_try" in
5660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5661 *) ac_try_echo=$ac_try;;
5663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5664 (eval "$ac_try") 2>&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); }; } &&
5668 { ac_try='test -s conftest.$ac_objext'
5669 { (case "(($ac_try" in
5670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5671 *) ac_try_echo
=$ac_try;;
5673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5674 (eval "$ac_try") 2>&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; }; then
5680 echo "$as_me: failed program was:" >&5
5681 sed 's/^/| /' conftest.
$ac_ext >&5
5683 ac_c_werror_flag
=$ac_save_c_werror_flag
5685 cat >conftest.
$ac_ext <<_ACEOF
5688 cat confdefs.h
>>conftest.
$ac_ext
5689 cat >>conftest.
$ac_ext <<_ACEOF
5690 /* end confdefs.h. */
5700 rm -f conftest.
$ac_objext
5701 if { (ac_try
="$ac_compile"
5703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5704 *) ac_try_echo=$ac_try;;
5706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5707 (eval "$ac_compile") 2>conftest.er1
5709 grep -v '^ *+' conftest.er1 >conftest.err
5711 cat conftest.err >&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); } &&
5714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5715 { (case "(($ac_try" in
5716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5717 *) ac_try_echo
=$ac_try;;
5719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5720 (eval "$ac_try") 2>&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); }; } &&
5724 { ac_try
='test -s conftest.$ac_objext'
5725 { (case "(($ac_try" in
5726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5727 *) ac_try_echo=$ac_try;;
5729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5730 (eval "$ac_try") 2>&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); }; }; then
5736 echo "$as_me: failed program was:" >&5
5737 sed 's/^/| /' conftest.$ac_ext >&5
5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749 ac_c_werror_flag=$ac_save_c_werror_flag
5751 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5752 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5753 if test "$ac_test_CFLAGS" = set; then
5754 CFLAGS=$ac_save_CFLAGS
5755 elif test $ac_cv_prog_cc_g = yes; then
5756 if test "$GCC" = yes; then
5762 if test "$GCC" = yes; then
5768 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5769 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5770 if test "${ac_cv_prog_cc_c89+set}" = set; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 ac_cv_prog_cc_c89=no
5775 cat >conftest.$ac_ext <<_ACEOF
5778 cat confdefs.h >>conftest.$ac_ext
5779 cat >>conftest.$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5783 #include <sys/types.h>
5784 #include <sys/stat.h>
5785 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5786 struct buf { int x; };
5787 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5788 static char *e (p, i)
5794 static char *f (char * (*g) (char **, int), char **p, ...)
5799 s = g (p, va_arg (v,int));
5804 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5805 function prototypes and stuff, but not '\xHH' hex character constants.
5806 These don't provoke an error unfortunately, instead are silently treated
5807 as 'x'. The following induces an error, until -std is added to get
5808 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5809 array size at least. It's necessary to write '\x00'==0 to get something
5810 that's true only with -std. */
5811 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5813 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5814 inside strings and character constants. */
5816 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5818 int test (int i, double x);
5819 struct s1 {int (*f) (int a);};
5820 struct s2 {int (*f) (double a);};
5821 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5827 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5832 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5833 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5835 CC="$ac_save_CC $ac_arg"
5836 rm -f conftest.$ac_objext
5837 if { (ac_try="$ac_compile"
5839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5840 *) ac_try_echo
=$ac_try;;
5842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5843 (eval "$ac_compile") 2>conftest.er1
5845 grep -v '^ *+' conftest.er1
>conftest.err
5847 cat conftest.err
>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } &&
5850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5851 { (case "(($ac_try" in
5852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5853 *) ac_try_echo=$ac_try;;
5855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5856 (eval "$ac_try") 2>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; } &&
5860 { ac_try='test -s conftest.$ac_objext'
5861 { (case "(($ac_try" in
5862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5863 *) ac_try_echo
=$ac_try;;
5865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5866 (eval "$ac_try") 2>&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); }; }; then
5870 ac_cv_prog_cc_c89
=$ac_arg
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.
$ac_ext >&5
5878 rm -f core conftest.err conftest.
$ac_objext
5879 test "x$ac_cv_prog_cc_c89" != "xno" && break
5881 rm -f conftest.
$ac_ext
5886 case "x$ac_cv_prog_cc_c89" in
5888 { echo "$as_me:$LINENO: result: none needed" >&5
5889 echo "${ECHO_T}none needed" >&6; } ;;
5891 { echo "$as_me:$LINENO: result: unsupported" >&5
5892 echo "${ECHO_T}unsupported" >&6; } ;;
5894 CC
="$CC $ac_cv_prog_cc_c89"
5895 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5896 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5901 ac_cpp
='$CPP $CPPFLAGS'
5902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5907 ac_cpp
='$CXXCPP $CPPFLAGS'
5908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5911 if test -z "$CXX"; then
5912 if test -n "$CCC"; then
5915 if test -n "$ac_tool_prefix"; then
5918 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5919 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5922 if test "${ac_cv_prog_CXX+set}" = set; then
5923 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 if test -n "$CXX"; then
5926 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir
=.
5933 for ac_exec_ext
in '' $ac_executable_extensions; do
5934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5935 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 if test -n "$CXX"; then
5947 { echo "$as_me:$LINENO: result: $CXX" >&5
5948 echo "${ECHO_T}$CXX" >&6; }
5950 { echo "$as_me:$LINENO: result: no" >&5
5951 echo "${ECHO_T}no" >&6; }
5955 test -n "$CXX" && break
5958 if test -z "$CXX"; then
5962 # Extract the first word of "$ac_prog", so it can be a program name with args.
5963 set dummy
$ac_prog; ac_word
=$2
5964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5966 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5967 echo $ECHO_N "(cached) $ECHO_C" >&6
5969 if test -n "$ac_ct_CXX"; then
5970 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir
=.
5977 for ac_exec_ext
in '' $ac_executable_extensions; do
5978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5979 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5990 if test -n "$ac_ct_CXX"; then
5991 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5992 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5994 { echo "$as_me:$LINENO: result: no" >&5
5995 echo "${ECHO_T}no" >&6; }
5999 test -n "$ac_ct_CXX" && break
6002 if test "x$ac_ct_CXX" = x
; then
6005 case $cross_compiling:$ac_tool_warned in
6007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6008 whose name does not start with the host triplet. If you think this
6009 configuration is useful to you, please write to autoconf@gnu.org." >&5
6010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6011 whose name does not start with the host triplet. If you think this
6012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6013 ac_tool_warned
=yes ;;
6021 # Provide some information about the compiler.
6022 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6023 ac_compiler
=`set X $ac_compile; echo $2`
6024 { (ac_try
="$ac_compiler --version >&5"
6026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6027 *) ac_try_echo=$ac_try;;
6029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6030 (eval "$ac_compiler --version >&5") 2>&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); }
6034 { (ac_try="$ac_compiler -v >&5"
6036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6037 *) ac_try_echo
=$ac_try;;
6039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6040 (eval "$ac_compiler -v >&5") 2>&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }
6044 { (ac_try
="$ac_compiler -V >&5"
6046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6047 *) ac_try_echo=$ac_try;;
6049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6050 (eval "$ac_compiler -V >&5") 2>&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }
6055 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6056 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6057 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6060 cat >conftest.$ac_ext <<_ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6078 rm -f conftest.$ac_objext
6079 if { (ac_try="$ac_compile"
6081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6082 *) ac_try_echo
=$ac_try;;
6084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6085 (eval "$ac_compile") 2>conftest.er1
6087 grep -v '^ *+' conftest.er1
>conftest.err
6089 cat conftest.err
>&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } &&
6092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6093 { (case "(($ac_try" in
6094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6095 *) ac_try_echo=$ac_try;;
6097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6098 (eval "$ac_try") 2>&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); }; } &&
6102 { ac_try='test -s conftest.$ac_objext'
6103 { (case "(($ac_try" in
6104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6105 *) ac_try_echo
=$ac_try;;
6107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6108 (eval "$ac_try") 2>&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; }; then
6114 echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.
$ac_ext >&5
6120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6124 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6125 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6126 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6127 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6128 ac_save_CXXFLAGS
=$CXXFLAGS
6129 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6130 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6131 if test "${ac_cv_prog_cxx_g+set}" = set; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6134 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6135 ac_cxx_werror_flag
=yes
6138 cat >conftest.
$ac_ext <<_ACEOF
6141 cat confdefs.h
>>conftest.
$ac_ext
6142 cat >>conftest.
$ac_ext <<_ACEOF
6143 /* end confdefs.h. */
6153 rm -f conftest.
$ac_objext
6154 if { (ac_try
="$ac_compile"
6156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6157 *) ac_try_echo=$ac_try;;
6159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6160 (eval "$ac_compile") 2>conftest.er1
6162 grep -v '^ *+' conftest.er1 >conftest.err
6164 cat conftest.err >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); } &&
6167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6168 { (case "(($ac_try" in
6169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6170 *) ac_try_echo
=$ac_try;;
6172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6173 (eval "$ac_try") 2>&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); }; } &&
6177 { ac_try
='test -s conftest.$ac_objext'
6178 { (case "(($ac_try" in
6179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6180 *) ac_try_echo=$ac_try;;
6182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183 (eval "$ac_try") 2>&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; }; then
6187 ac_cv_prog_cxx_g=yes
6189 echo "$as_me: failed program was:" >&5
6190 sed 's/^/| /' conftest.$ac_ext >&5
6193 cat >conftest.$ac_ext <<_ACEOF
6196 cat confdefs.h >>conftest.$ac_ext
6197 cat >>conftest.$ac_ext <<_ACEOF
6198 /* end confdefs.h. */
6208 rm -f conftest.$ac_objext
6209 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
6217 grep -v '^ *+' conftest.er1
>conftest.err
6219 cat conftest.err
>&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } &&
6222 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6223 { (case "(($ac_try" in
6224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6225 *) ac_try_echo=$ac_try;;
6227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6228 (eval "$ac_try") 2>&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); }; } &&
6232 { ac_try='test -s conftest.$ac_objext'
6233 { (case "(($ac_try" in
6234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6235 *) ac_try_echo
=$ac_try;;
6237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6238 (eval "$ac_try") 2>&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); }; }; then
6244 echo "$as_me: failed program was:" >&5
6245 sed 's/^/| /' conftest.
$ac_ext >&5
6247 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6249 cat >conftest.
$ac_ext <<_ACEOF
6252 cat confdefs.h
>>conftest.
$ac_ext
6253 cat >>conftest.
$ac_ext <<_ACEOF
6254 /* end confdefs.h. */
6264 rm -f conftest.
$ac_objext
6265 if { (ac_try
="$ac_compile"
6267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6268 *) ac_try_echo=$ac_try;;
6270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6271 (eval "$ac_compile") 2>conftest.er1
6273 grep -v '^ *+' conftest.er1 >conftest.err
6275 cat conftest.err >&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); } &&
6278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6279 { (case "(($ac_try" in
6280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6281 *) ac_try_echo
=$ac_try;;
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_try") 2>&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; } &&
6288 { ac_try
='test -s conftest.$ac_objext'
6289 { (case "(($ac_try" in
6290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6291 *) ac_try_echo=$ac_try;;
6293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6294 (eval "$ac_try") 2>&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6298 ac_cv_prog_cxx_g=yes
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6313 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6315 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6316 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6317 if test "$ac_test_CXXFLAGS" = set; then
6318 CXXFLAGS=$ac_save_CXXFLAGS
6319 elif test $ac_cv_prog_cxx_g = yes; then
6320 if test "$GXX" = yes; then
6326 if test "$GXX" = yes; then
6333 ac_cpp='$CPP $CPPFLAGS'
6334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6339 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6340 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6341 if test "${lt_cv_path_NM+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 if test -n "$NM"; then
6345 # Let the user override the test.
6348 lt_nm_to_check="${ac_tool_prefix}nm"
6349 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6350 lt_nm_to_check="$lt_nm_to_check nm"
6352 for lt_tmp_nm in $lt_nm_to_check; do
6353 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6354 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6356 test -z "$ac_dir" && ac_dir=.
6357 tmp_nm="$ac_dir/$lt_tmp_nm"
6358 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6359 # Check to see if the nm accepts a BSD-compat flag.
6360 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6361 # nm: unknown option "B" ignored
6362 # Tru64's nm complains that
/dev
/null is an invalid object
file
6363 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6364 */dev
/null
* |
*'Invalid file or object type'*)
6365 lt_cv_path_NM
="$tmp_nm -B"
6369 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6371 lt_cv_path_NM
="$tmp_nm -p"
6375 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6376 continue # so that we can try to find one that supports BSD flags
6385 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6388 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6389 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6394 { echo "$as_me:$LINENO: checking for GNU make" >&5
6395 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6396 if test "${llvm_cv_gnu_make_command+set}" = set; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 llvm_cv_gnu_make_command
=''
6400 for a
in "$MAKE" make gmake gnumake
; do
6401 if test -z "$a" ; then continue ; fi ;
6402 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6404 llvm_cv_gnu_make_command
=$a ;
6409 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6410 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6411 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6415 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6416 echo "${ECHO_T}\"Not found\"" >&6; };
6420 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6421 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6423 if test "$LN_S" = "ln -s"; then
6424 { echo "$as_me:$LINENO: result: yes" >&5
6425 echo "${ECHO_T}yes" >&6; }
6427 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6428 echo "${ECHO_T}no, using $LN_S" >&6; }
6431 # Extract the first word of "cmp", so it can be a program name with args.
6432 set dummy
cmp; ac_word
=$2
6433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6435 if test "${ac_cv_path_CMP+set}" = set; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6440 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir
=.
6448 for ac_exec_ext
in '' $ac_executable_extensions; do
6449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6450 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6458 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6463 if test -n "$CMP"; then
6464 { echo "$as_me:$LINENO: result: $CMP" >&5
6465 echo "${ECHO_T}$CMP" >&6; }
6467 { echo "$as_me:$LINENO: result: no" >&5
6468 echo "${ECHO_T}no" >&6; }
6472 # Extract the first word of "cp", so it can be a program name with args.
6473 set dummy
cp; ac_word
=$2
6474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6476 if test "${ac_cv_path_CP+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir
=.
6489 for ac_exec_ext
in '' $ac_executable_extensions; do
6490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6491 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6504 if test -n "$CP"; then
6505 { echo "$as_me:$LINENO: result: $CP" >&5
6506 echo "${ECHO_T}$CP" >&6; }
6508 { echo "$as_me:$LINENO: result: no" >&5
6509 echo "${ECHO_T}no" >&6; }
6513 # Extract the first word of "date", so it can be a program name with args.
6514 set dummy
date; ac_word
=$2
6515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6517 if test "${ac_cv_path_DATE+set}" = set; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir
=.
6530 for ac_exec_ext
in '' $ac_executable_extensions; do
6531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6532 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6544 DATE
=$ac_cv_path_DATE
6545 if test -n "$DATE"; then
6546 { echo "$as_me:$LINENO: result: $DATE" >&5
6547 echo "${ECHO_T}$DATE" >&6; }
6549 { echo "$as_me:$LINENO: result: no" >&5
6550 echo "${ECHO_T}no" >&6; }
6554 # Extract the first word of "find", so it can be a program name with args.
6555 set dummy
find; ac_word
=$2
6556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6558 if test "${ac_cv_path_FIND+set}" = set; then
6559 echo $ECHO_N "(cached) $ECHO_C" >&6
6563 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6570 test -z "$as_dir" && as_dir
=.
6571 for ac_exec_ext
in '' $ac_executable_extensions; do
6572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6573 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6585 FIND
=$ac_cv_path_FIND
6586 if test -n "$FIND"; then
6587 { echo "$as_me:$LINENO: result: $FIND" >&5
6588 echo "${ECHO_T}$FIND" >&6; }
6590 { echo "$as_me:$LINENO: result: no" >&5
6591 echo "${ECHO_T}no" >&6; }
6595 # Extract the first word of "grep", so it can be a program name with args.
6596 set dummy
grep; ac_word
=$2
6597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6599 if test "${ac_cv_path_GREP+set}" = set; then
6600 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6611 test -z "$as_dir" && as_dir
=.
6612 for ac_exec_ext
in '' $ac_executable_extensions; do
6613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6614 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6626 GREP
=$ac_cv_path_GREP
6627 if test -n "$GREP"; then
6628 { echo "$as_me:$LINENO: result: $GREP" >&5
6629 echo "${ECHO_T}$GREP" >&6; }
6631 { echo "$as_me:$LINENO: result: no" >&5
6632 echo "${ECHO_T}no" >&6; }
6636 # Extract the first word of "mkdir", so it can be a program name with args.
6637 set dummy mkdir
; ac_word
=$2
6638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6640 if test "${ac_cv_path_MKDIR+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir
=.
6653 for ac_exec_ext
in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6667 MKDIR
=$ac_cv_path_MKDIR
6668 if test -n "$MKDIR"; then
6669 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6670 echo "${ECHO_T}$MKDIR" >&6; }
6672 { echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6; }
6677 # Extract the first word of "mv", so it can be a program name with args.
6678 set dummy
mv; ac_word
=$2
6679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6681 if test "${ac_cv_path_MV+set}" = set; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6686 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir
=.
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6696 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6709 if test -n "$MV"; then
6710 { echo "$as_me:$LINENO: result: $MV" >&5
6711 echo "${ECHO_T}$MV" >&6; }
6713 { echo "$as_me:$LINENO: result: no" >&5
6714 echo "${ECHO_T}no" >&6; }
6718 if test -n "$ac_tool_prefix"; then
6719 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6720 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6723 if test "${ac_cv_prog_RANLIB+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6726 if test -n "$RANLIB"; then
6727 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6733 test -z "$as_dir" && as_dir
=.
6734 for ac_exec_ext
in '' $ac_executable_extensions; do
6735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6736 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 RANLIB
=$ac_cv_prog_RANLIB
6747 if test -n "$RANLIB"; then
6748 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6749 echo "${ECHO_T}$RANLIB" >&6; }
6751 { echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6; }
6757 if test -z "$ac_cv_prog_RANLIB"; then
6758 ac_ct_RANLIB
=$RANLIB
6759 # Extract the first word of "ranlib", so it can be a program name with args.
6760 set dummy ranlib
; ac_word
=$2
6761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6763 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 if test -n "$ac_ct_RANLIB"; then
6767 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6773 test -z "$as_dir" && as_dir
=.
6774 for ac_exec_ext
in '' $ac_executable_extensions; do
6775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6776 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6787 if test -n "$ac_ct_RANLIB"; then
6788 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6789 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6791 { echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6; }
6795 if test "x$ac_ct_RANLIB" = x
; then
6798 case $cross_compiling:$ac_tool_warned in
6800 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6801 whose name does not start with the host triplet. If you think this
6802 configuration is useful to you, please write to autoconf@gnu.org." >&5
6803 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6804 whose name does not start with the host triplet. If you think this
6805 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6806 ac_tool_warned
=yes ;;
6808 RANLIB
=$ac_ct_RANLIB
6811 RANLIB
="$ac_cv_prog_RANLIB"
6814 # Extract the first word of "rm", so it can be a program name with args.
6815 set dummy
rm; ac_word
=$2
6816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6818 if test "${ac_cv_path_RM+set}" = set; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6823 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir
=.
6831 for ac_exec_ext
in '' $ac_executable_extensions; do
6832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6833 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6846 if test -n "$RM"; then
6847 { echo "$as_me:$LINENO: result: $RM" >&5
6848 echo "${ECHO_T}$RM" >&6; }
6850 { echo "$as_me:$LINENO: result: no" >&5
6851 echo "${ECHO_T}no" >&6; }
6855 # Extract the first word of "sed", so it can be a program name with args.
6856 set dummy
sed; ac_word
=$2
6857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6859 if test "${ac_cv_path_SED+set}" = set; then
6860 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
6867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir
=.
6872 for ac_exec_ext
in '' $ac_executable_extensions; do
6873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6874 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
6875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6882 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
6887 if test -n "$SED"; then
6888 { echo "$as_me:$LINENO: result: $SED" >&5
6889 echo "${ECHO_T}$SED" >&6; }
6891 { echo "$as_me:$LINENO: result: no" >&5
6892 echo "${ECHO_T}no" >&6; }
6896 # Extract the first word of "tar", so it can be a program name with args.
6897 set dummy
tar; ac_word
=$2
6898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6900 if test "${ac_cv_path_TAR+set}" = set; then
6901 echo $ECHO_N "(cached) $ECHO_C" >&6
6905 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
6908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir
=.
6913 for ac_exec_ext
in '' $ac_executable_extensions; do
6914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6915 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
6916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6923 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
6928 if test -n "$TAR"; then
6929 { echo "$as_me:$LINENO: result: $TAR" >&5
6930 echo "${ECHO_T}$TAR" >&6; }
6932 { echo "$as_me:$LINENO: result: no" >&5
6933 echo "${ECHO_T}no" >&6; }
6937 # Extract the first word of "pwd", so it can be a program name with args.
6938 set dummy
pwd; ac_word
=$2
6939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6941 if test "${ac_cv_path_BINPWD+set}" = set; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6946 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
6949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6953 test -z "$as_dir" && as_dir
=.
6954 for ac_exec_ext
in '' $ac_executable_extensions; do
6955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6956 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
6957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
6968 BINPWD
=$ac_cv_path_BINPWD
6969 if test -n "$BINPWD"; then
6970 { echo "$as_me:$LINENO: result: $BINPWD" >&5
6971 echo "${ECHO_T}$BINPWD" >&6; }
6973 { echo "$as_me:$LINENO: result: no" >&5
6974 echo "${ECHO_T}no" >&6; }
6979 # Extract the first word of "Graphviz", so it can be a program name with args.
6980 set dummy Graphviz
; ac_word
=$2
6981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6983 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
6984 echo $ECHO_N "(cached) $ECHO_C" >&6
6988 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
6991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir
=.
6996 for ac_exec_ext
in '' $ac_executable_extensions; do
6997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6998 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
6999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7006 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7010 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7011 if test -n "$GRAPHVIZ"; then
7012 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7013 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7015 { echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6; }
7020 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7022 cat >>confdefs.h
<<\_ACEOF
7023 #define HAVE_GRAPHVIZ 1
7026 if test "$llvm_cv_os_type" = "MingW" ; then
7027 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7030 cat >>confdefs.h
<<_ACEOF
7031 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7035 # Extract the first word of "dot", so it can be a program name with args.
7036 set dummy dot
; ac_word
=$2
7037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7039 if test "${ac_cv_path_DOT+set}" = set; then
7040 echo $ECHO_N "(cached) $ECHO_C" >&6
7044 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir
=.
7052 for ac_exec_ext
in '' $ac_executable_extensions; do
7053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7054 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7062 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7067 if test -n "$DOT"; then
7068 { echo "$as_me:$LINENO: result: $DOT" >&5
7069 echo "${ECHO_T}$DOT" >&6; }
7071 { echo "$as_me:$LINENO: result: no" >&5
7072 echo "${ECHO_T}no" >&6; }
7076 if test "$DOT" != "echo dot" ; then
7078 cat >>confdefs.h
<<\_ACEOF
7082 if test "$llvm_cv_os_type" = "MingW" ; then
7083 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7086 cat >>confdefs.h
<<_ACEOF
7087 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7091 for ac_prog
in gv gsview32
7093 # Extract the first word of "$ac_prog", so it can be a program name with args.
7094 set dummy
$ac_prog; ac_word
=$2
7095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7097 if test "${ac_cv_path_GV+set}" = set; then
7098 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir
=.
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7112 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 if test -n "$GV"; then
7125 { echo "$as_me:$LINENO: result: $GV" >&5
7126 echo "${ECHO_T}$GV" >&6; }
7128 { echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6; }
7133 test -n "$GV" && break
7135 test -n "$GV" || GV
="echo gv"
7137 if test "$GV" != "echo gv" ; then
7139 cat >>confdefs.h
<<\_ACEOF
7143 if test "$llvm_cv_os_type" = "MingW" ; then
7144 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7147 cat >>confdefs.h
<<_ACEOF
7148 #define LLVM_PATH_GV "$GV${EXEEXT}"
7152 # Extract the first word of "dotty", so it can be a program name with args.
7153 set dummy dotty
; ac_word
=$2
7154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7156 if test "${ac_cv_path_DOTTY+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir
=.
7169 for ac_exec_ext
in '' $ac_executable_extensions; do
7170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7171 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7179 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7183 DOTTY
=$ac_cv_path_DOTTY
7184 if test -n "$DOTTY"; then
7185 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7186 echo "${ECHO_T}$DOTTY" >&6; }
7188 { echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6; }
7193 if test "$DOTTY" != "echo dotty" ; then
7195 cat >>confdefs.h
<<\_ACEOF
7196 #define HAVE_DOTTY 1
7199 if test "$llvm_cv_os_type" = "MingW" ; then
7200 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7203 cat >>confdefs.h
<<_ACEOF
7204 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7210 # Extract the first word of "perl", so it can be a program name with args.
7211 set dummy perl
; ac_word
=$2
7212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7214 if test "${ac_cv_path_PERL+set}" = set; then
7215 echo $ECHO_N "(cached) $ECHO_C" >&6
7219 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7226 test -z "$as_dir" && as_dir
=.
7227 for ac_exec_ext
in '' $ac_executable_extensions; do
7228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7229 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7237 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7241 PERL
=$ac_cv_path_PERL
7242 if test -n "$PERL"; then
7243 { echo "$as_me:$LINENO: result: $PERL" >&5
7244 echo "${ECHO_T}$PERL" >&6; }
7246 { echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6; }
7251 if test "$PERL" != "none"; then
7252 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7253 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7254 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7255 { echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6; }
7259 { echo "$as_me:$LINENO: result: not found" >&5
7260 echo "${ECHO_T}not found" >&6; }
7265 if test x
"$PERL" = xnone
; then
7268 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7269 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7270 { (exit 1); exit 1; }; }
7276 # Find a good install program. We prefer a C program (faster),
7277 # so one script is as good as another. But avoid the broken or
7278 # incompatible versions:
7279 # SysV /etc/install, /usr/sbin/install
7280 # SunOS /usr/etc/install
7281 # IRIX /sbin/install
7283 # AmigaOS /C/install, which installs bootblocks on floppy discs
7284 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7285 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7286 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7287 # OS/2's system install, which has a completely different semantic
7288 # ./install, which can be erroneously created by make from ./install.sh.
7289 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7290 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7291 if test -z "$INSTALL"; then
7292 if test "${ac_cv_path_install+set}" = set; then
7293 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir
=.
7300 # Account for people who put trailing slashes in PATH elements.
7302 .
/ | .
// |
/cC
/* | \
7303 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7304 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7307 # OSF1 and SCO ODT 3.0 have their own names for install.
7308 # Don't use installbsd from OSF since it installs stuff as root
7310 for ac_prog
in ginstall scoinst
install; do
7311 for ac_exec_ext
in '' $ac_executable_extensions; do
7312 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7313 if test $ac_prog = install &&
7314 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7315 # AIX install. It has an incompatible calling convention.
7317 elif test $ac_prog = install &&
7318 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7319 # program-specific install script used by HP pwplus--don't use.
7322 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7335 if test "${ac_cv_path_install+set}" = set; then
7336 INSTALL
=$ac_cv_path_install
7338 # As a last resort, use the slow shell script. Don't cache a
7339 # value for INSTALL within a source directory, because that will
7340 # break other packages using the cache if that directory is
7341 # removed, or if the value is a relative name.
7342 INSTALL
=$ac_install_sh
7345 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7346 echo "${ECHO_T}$INSTALL" >&6; }
7348 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7349 # It thinks the first close brace ends the variable substitution.
7350 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7352 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7354 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7357 # Extract the first word of "bzip2", so it can be a program name with args.
7358 set dummy
bzip2; ac_word
=$2
7359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7361 if test "${ac_cv_path_BZIP2+set}" = set; then
7362 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7373 test -z "$as_dir" && as_dir
=.
7374 for ac_exec_ext
in '' $ac_executable_extensions; do
7375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7376 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7387 BZIP2
=$ac_cv_path_BZIP2
7388 if test -n "$BZIP2"; then
7389 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7390 echo "${ECHO_T}$BZIP2" >&6; }
7392 { echo "$as_me:$LINENO: result: no" >&5
7393 echo "${ECHO_T}no" >&6; }
7397 # Extract the first word of "doxygen", so it can be a program name with args.
7398 set dummy doxygen
; ac_word
=$2
7399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7401 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7402 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7413 test -z "$as_dir" && as_dir
=.
7414 for ac_exec_ext
in '' $ac_executable_extensions; do
7415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7416 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7427 DOXYGEN
=$ac_cv_path_DOXYGEN
7428 if test -n "$DOXYGEN"; then
7429 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7430 echo "${ECHO_T}$DOXYGEN" >&6; }
7432 { echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6; }
7437 # Extract the first word of "groff", so it can be a program name with args.
7438 set dummy
groff; ac_word
=$2
7439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7441 if test "${ac_cv_path_GROFF+set}" = set; then
7442 echo $ECHO_N "(cached) $ECHO_C" >&6
7446 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7453 test -z "$as_dir" && as_dir
=.
7454 for ac_exec_ext
in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7467 GROFF
=$ac_cv_path_GROFF
7468 if test -n "$GROFF"; then
7469 { echo "$as_me:$LINENO: result: $GROFF" >&5
7470 echo "${ECHO_T}$GROFF" >&6; }
7472 { echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6; }
7477 # Extract the first word of "gzip", so it can be a program name with args.
7478 set dummy
gzip; ac_word
=$2
7479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7481 if test "${ac_cv_path_GZIP+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7486 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7493 test -z "$as_dir" && as_dir
=.
7494 for ac_exec_ext
in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7507 GZIP
=$ac_cv_path_GZIP
7508 if test -n "$GZIP"; then
7509 { echo "$as_me:$LINENO: result: $GZIP" >&5
7510 echo "${ECHO_T}$GZIP" >&6; }
7512 { echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6; }
7517 # Extract the first word of "pod2html", so it can be a program name with args.
7518 set dummy pod2html
; ac_word
=$2
7519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7521 if test "${ac_cv_path_POD2HTML+set}" = set; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7526 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7533 test -z "$as_dir" && as_dir
=.
7534 for ac_exec_ext
in '' $ac_executable_extensions; do
7535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7536 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7547 POD2HTML
=$ac_cv_path_POD2HTML
7548 if test -n "$POD2HTML"; then
7549 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7550 echo "${ECHO_T}$POD2HTML" >&6; }
7552 { echo "$as_me:$LINENO: result: no" >&5
7553 echo "${ECHO_T}no" >&6; }
7557 # Extract the first word of "pod2man", so it can be a program name with args.
7558 set dummy pod2man
; ac_word
=$2
7559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7561 if test "${ac_cv_path_POD2MAN+set}" = set; then
7562 echo $ECHO_N "(cached) $ECHO_C" >&6
7566 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7573 test -z "$as_dir" && as_dir
=.
7574 for ac_exec_ext
in '' $ac_executable_extensions; do
7575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7576 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7587 POD2MAN
=$ac_cv_path_POD2MAN
7588 if test -n "$POD2MAN"; then
7589 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7590 echo "${ECHO_T}$POD2MAN" >&6; }
7592 { echo "$as_me:$LINENO: result: no" >&5
7593 echo "${ECHO_T}no" >&6; }
7597 # Extract the first word of "runtest", so it can be a program name with args.
7598 set dummy runtest
; ac_word
=$2
7599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7601 if test "${ac_cv_path_RUNTEST+set}" = set; then
7602 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7613 test -z "$as_dir" && as_dir
=.
7614 for ac_exec_ext
in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7627 RUNTEST
=$ac_cv_path_RUNTEST
7628 if test -n "$RUNTEST"; then
7629 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7630 echo "${ECHO_T}$RUNTEST" >&6; }
7632 { echo "$as_me:$LINENO: result: no" >&5
7633 echo "${ECHO_T}no" >&6; }
7639 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7640 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7642 # Check whether --with-tclinclude was given.
7643 if test "${with_tclinclude+set}" = set; then
7644 withval
=$with_tclinclude; with_tclinclude
=${withval}
7649 if test "${ac_cv_path_tclsh+set}" = set; then
7650 echo $ECHO_N "(cached) $ECHO_C" >&6
7653 if test x
"${with_tclinclude}" != x
; then
7654 if test -f ${with_tclinclude}/tclsh
; then
7655 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7656 elif test -f ${with_tclinclude}/src
/tclsh
; then
7657 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7659 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7660 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7661 { (exit 1); exit 1; }; }
7665 if test x
"${ac_cv_path_tclsh}" = x
; then
7666 { echo "$as_me:$LINENO: result: none" >&5
7667 echo "${ECHO_T}none" >&6; }
7668 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
7670 # Extract the first word of "$ac_prog", so it can be a program name with args.
7671 set dummy
$ac_prog; ac_word
=$2
7672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7674 if test "${ac_cv_path_TCLSH+set}" = set; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7686 test -z "$as_dir" && as_dir
=.
7687 for ac_exec_ext
in '' $ac_executable_extensions; do
7688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7689 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 TCLSH
=$ac_cv_path_TCLSH
7701 if test -n "$TCLSH"; then
7702 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7703 echo "${ECHO_T}$TCLSH" >&6; }
7705 { echo "$as_me:$LINENO: result: no" >&5
7706 echo "${ECHO_T}no" >&6; }
7710 test -n "$TCLSH" && break
7713 if test x
"${TCLSH}" = x
; then
7714 ac_cv_path_tclsh
='';
7716 ac_cv_path_tclsh
="${TCLSH}";
7719 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7720 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7721 TCLSH="${ac_cv_path_tclsh}"
7727 # Extract the first word of "zip", so it can be a program name with args.
7728 set dummy zip; ac_word=$2
7729 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7730 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7731 if test "${ac_cv_path_ZIP+set}" = set; then
7732 echo $ECHO_N "(cached
) $ECHO_C" >&6
7736 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7746 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7747 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7758 if test -n "$ZIP"; then
7759 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7760 echo "${ECHO_T}$ZIP" >&6; }
7762 { echo "$as_me:$LINENO: result
: no
" >&5
7763 echo "${ECHO_T}no
" >&6; }
7767 for ac_prog in ocamlc
7769 # Extract the first word of "$ac_prog", so it can be a program name with args.
7770 set dummy $ac_prog; ac_word=$2
7771 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7772 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7773 if test "${ac_cv_path_OCAMLC+set}" = set; then
7774 echo $ECHO_N "(cached
) $ECHO_C" >&6
7778 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7785 test -z "$as_dir" && as_dir=.
7786 for ac_exec_ext in '' $ac_executable_extensions; do
7787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7788 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7789 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7799 OCAMLC=$ac_cv_path_OCAMLC
7800 if test -n "$OCAMLC"; then
7801 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
7802 echo "${ECHO_T}$OCAMLC" >&6; }
7804 { echo "$as_me:$LINENO: result
: no
" >&5
7805 echo "${ECHO_T}no
" >&6; }
7809 test -n "$OCAMLC" && break
7812 for ac_prog in ocamlopt
7814 # Extract the first word of "$ac_prog", so it can be a program name with args.
7815 set dummy $ac_prog; ac_word=$2
7816 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7817 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7818 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
7819 echo $ECHO_N "(cached
) $ECHO_C" >&6
7823 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 test -z "$as_dir" && as_dir=.
7831 for ac_exec_ext in '' $ac_executable_extensions; do
7832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7833 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
7834 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7844 OCAMLOPT=$ac_cv_path_OCAMLOPT
7845 if test -n "$OCAMLOPT"; then
7846 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
7847 echo "${ECHO_T}$OCAMLOPT" >&6; }
7849 { echo "$as_me:$LINENO: result
: no
" >&5
7850 echo "${ECHO_T}no
" >&6; }
7854 test -n "$OCAMLOPT" && break
7857 for ac_prog in ocamldep
7859 # Extract the first word of "$ac_prog", so it can be a program name with args.
7860 set dummy $ac_prog; ac_word=$2
7861 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7862 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7863 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
7864 echo $ECHO_N "(cached
) $ECHO_C" >&6
7868 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7878 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
7879 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7889 OCAMLDEP=$ac_cv_path_OCAMLDEP
7890 if test -n "$OCAMLDEP"; then
7891 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
7892 echo "${ECHO_T}$OCAMLDEP" >&6; }
7894 { echo "$as_me:$LINENO: result
: no
" >&5
7895 echo "${ECHO_T}no
" >&6; }
7899 test -n "$OCAMLDEP" && break
7902 for ac_prog in ocamldoc
7904 # Extract the first word of "$ac_prog", so it can be a program name with args.
7905 set dummy $ac_prog; ac_word=$2
7906 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7907 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7908 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
7909 echo $ECHO_N "(cached
) $ECHO_C" >&6
7913 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7923 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
7924 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7934 OCAMLDOC=$ac_cv_path_OCAMLDOC
7935 if test -n "$OCAMLDOC"; then
7936 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
7937 echo "${ECHO_T}$OCAMLDOC" >&6; }
7939 { echo "$as_me:$LINENO: result
: no
" >&5
7940 echo "${ECHO_T}no
" >&6; }
7944 test -n "$OCAMLDOC" && break
7947 for ac_prog in gas as
7949 # Extract the first word of "$ac_prog", so it can be a program name with args.
7950 set dummy $ac_prog; ac_word=$2
7951 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7952 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7953 if test "${ac_cv_path_GAS+set}" = set; then
7954 echo $ECHO_N "(cached
) $ECHO_C" >&6
7958 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7968 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
7969 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7980 if test -n "$GAS"; then
7981 { echo "$as_me:$LINENO: result
: $GAS" >&5
7982 echo "${ECHO_T}$GAS" >&6; }
7984 { echo "$as_me:$LINENO: result
: no
" >&5
7985 echo "${ECHO_T}no
" >&6; }
7989 test -n "$GAS" && break
7993 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
7994 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
7995 if test "${llvm_cv_link_use_r+set}" = set; then
7996 echo $ECHO_N "(cached
) $ECHO_C" >&6
7999 ac_cpp='$CPP $CPPFLAGS'
8000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8005 CFLAGS="$CFLAGS -Wl,-R.
"
8006 cat >conftest.$ac_ext <<_ACEOF
8009 cat confdefs.h >>conftest.$ac_ext
8010 cat >>conftest.$ac_ext <<_ACEOF
8011 /* end confdefs.h. */
8016 int main() { return 0; }
8021 rm -f conftest.$ac_objext conftest$ac_exeext
8022 if { (ac_try="$ac_link"
8024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8025 *) ac_try_echo=$ac_try;;
8027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8028 (eval "$ac_link") 2>conftest.er1
8030 grep -v '^ *+' conftest.er1 >conftest.err
8032 cat conftest.err >&5
8033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8034 (exit $ac_status); } &&
8035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8036 { (case "(($ac_try" in
8037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8038 *) ac_try_echo=$ac_try;;
8040 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8041 (eval "$ac_try") 2>&5
8043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8044 (exit $ac_status); }; } &&
8045 { ac_try='test -s conftest$ac_exeext'
8046 { (case "(($ac_try" in
8047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048 *) ac_try_echo=$ac_try;;
8050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8051 (eval "$ac_try") 2>&5
8053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8054 (exit $ac_status); }; }; then
8055 llvm_cv_link_use_r=yes
8057 echo "$as_me: failed program was
:" >&5
8058 sed 's/^/| /' conftest.$ac_ext >&5
8060 llvm_cv_link_use_r=no
8063 rm -f core conftest.err conftest.$ac_objext \
8064 conftest$ac_exeext conftest.$ac_ext
8067 ac_cpp='$CPP $CPPFLAGS'
8068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8074 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
8075 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8076 if test "$llvm_cv_link_use_r" = yes ; then
8078 cat >>confdefs.h <<\_ACEOF
8079 #define HAVE_LINK_R 1
8085 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-export-dynamic option
" >&5
8086 echo $ECHO_N "checking
for compiler
-Wl,-export-dynamic option...
$ECHO_C" >&6; }
8087 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
8088 echo $ECHO_N "(cached
) $ECHO_C" >&6
8091 ac_cpp='$CPP $CPPFLAGS'
8092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8097 CFLAGS="$CFLAGS -Wl,-export-dynamic"
8098 cat >conftest.$ac_ext <<_ACEOF
8101 cat confdefs.h >>conftest.$ac_ext
8102 cat >>conftest.$ac_ext <<_ACEOF
8103 /* end confdefs.h. */
8108 int main() { return 0; }
8113 rm -f conftest.$ac_objext conftest$ac_exeext
8114 if { (ac_try="$ac_link"
8116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8117 *) ac_try_echo=$ac_try;;
8119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8120 (eval "$ac_link") 2>conftest.er1
8122 grep -v '^ *+' conftest.er1 >conftest.err
8124 cat conftest.err >&5
8125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8126 (exit $ac_status); } &&
8127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8128 { (case "(($ac_try" in
8129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8130 *) ac_try_echo=$ac_try;;
8132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8133 (eval "$ac_try") 2>&5
8135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8136 (exit $ac_status); }; } &&
8137 { ac_try='test -s conftest$ac_exeext'
8138 { (case "(($ac_try" in
8139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8140 *) ac_try_echo=$ac_try;;
8142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8143 (eval "$ac_try") 2>&5
8145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 llvm_cv_link_use_export_dynamic=yes
8149 echo "$as_me: failed program was
:" >&5
8150 sed 's/^/| /' conftest.$ac_ext >&5
8152 llvm_cv_link_use_export_dynamic=no
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8159 ac_cpp='$CPP $CPPFLAGS'
8160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8166 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_export_dynamic" >&5
8167 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
8168 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
8170 cat >>confdefs.h <<\_ACEOF
8171 #define HAVE_LINK_EXPORT_DYNAMIC 1
8179 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8180 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8181 if test "${ac_cv_c_const+set}" = set; then
8182 echo $ECHO_N "(cached
) $ECHO_C" >&6
8184 cat >conftest.$ac_ext <<_ACEOF
8187 cat confdefs.h >>conftest.$ac_ext
8188 cat >>conftest.$ac_ext <<_ACEOF
8189 /* end confdefs.h. */
8194 /* FIXME: Include the comments suggested by Paul. */
8196 /* Ultrix mips cc rejects this. */
8197 typedef int charset[2];
8199 /* SunOS 4.1.1 cc rejects this. */
8200 char const *const *ccp;
8202 /* NEC SVR4.0.2 mips cc rejects this. */
8203 struct point {int x, y;};
8204 static struct point const zero = {0,0};
8205 /* AIX XL C 1.02.0.0 rejects this.
8206 It does not let you subtract one const X* pointer from another in
8207 an arm of an if-expression whose if-part is not a constant
8209 const char *g = "string
";
8210 ccp = &g + (g ? g-g : 0);
8211 /* HPUX 7.0 cc rejects these. */
8214 ccp = (char const *const *) p;
8215 { /* SCO 3.2v4 cc rejects this. */
8217 char const *s = 0 ? (char *) 0 : (char const *) 0;
8222 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8224 const int *foo = &x[0];
8227 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8228 typedef const int *iptr;
8232 { /* AIX XL C 1.02.0.0 rejects this saying
8233 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8234 struct s { int j; const int *ap[3]; };
8235 struct s *b; b->j = 5;
8237 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8241 return !x[0] && !zero.x;
8248 rm -f conftest.$ac_objext
8249 if { (ac_try="$ac_compile"
8251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8252 *) ac_try_echo=$ac_try;;
8254 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8255 (eval "$ac_compile") 2>conftest.er1
8257 grep -v '^ *+' conftest.er1 >conftest.err
8259 cat conftest.err >&5
8260 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8261 (exit $ac_status); } &&
8262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8263 { (case "(($ac_try" in
8264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8265 *) ac_try_echo=$ac_try;;
8267 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8268 (eval "$ac_try") 2>&5
8270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8271 (exit $ac_status); }; } &&
8272 { ac_try='test -s conftest.$ac_objext'
8273 { (case "(($ac_try" in
8274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8275 *) ac_try_echo=$ac_try;;
8277 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8278 (eval "$ac_try") 2>&5
8280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8281 (exit $ac_status); }; }; then
8284 echo "$as_me: failed program was
:" >&5
8285 sed 's/^/| /' conftest.$ac_ext >&5
8290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8292 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8293 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8294 if test $ac_cv_c_const = no; then
8296 cat >>confdefs.h <<\_ACEOF
8308 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8309 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8310 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8311 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8312 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8313 echo $ECHO_N "(cached
) $ECHO_C" >&6
8315 cat >conftest.$ac_ext <<_ACEOF
8318 cat confdefs.h >>conftest.$ac_ext
8319 cat >>conftest.$ac_ext <<_ACEOF
8320 /* end confdefs.h. */
8321 #include <sys/types.h>
8333 rm -f conftest.$ac_objext
8334 if { (ac_try="$ac_compile"
8336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8337 *) ac_try_echo=$ac_try;;
8339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8340 (eval "$ac_compile") 2>conftest.er1
8342 grep -v '^ *+' conftest.er1 >conftest.err
8344 cat conftest.err >&5
8345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8346 (exit $ac_status); } &&
8347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8348 { (case "(($ac_try" in
8349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8350 *) ac_try_echo=$ac_try;;
8352 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8353 (eval "$ac_try") 2>&5
8355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8356 (exit $ac_status); }; } &&
8357 { ac_try='test -s conftest.$ac_objext'
8358 { (case "(($ac_try" in
8359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8360 *) ac_try_echo=$ac_try;;
8362 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8363 (eval "$ac_try") 2>&5
8365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8366 (exit $ac_status); }; }; then
8367 eval "$as_ac_Header=yes"
8369 echo "$as_me: failed program was
:" >&5
8370 sed 's/^/| /' conftest.$ac_ext >&5
8372 eval "$as_ac_Header=no
"
8375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8377 ac_res=`eval echo '${'$as_ac_Header'}'`
8378 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8379 echo "${ECHO_T}$ac_res" >&6; }
8380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8381 cat >>confdefs.h <<_ACEOF
8382 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8385 ac_header_dirent=$ac_hdr; break
8389 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8390 if test $ac_header_dirent = dirent.h; then
8391 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8392 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8393 if test "${ac_cv_search_opendir+set}" = set; then
8394 echo $ECHO_N "(cached
) $ECHO_C" >&6
8396 ac_func_search_save_LIBS=$LIBS
8397 cat >conftest.$ac_ext <<_ACEOF
8400 cat confdefs.h >>conftest.$ac_ext
8401 cat >>conftest.$ac_ext <<_ACEOF
8402 /* end confdefs.h. */
8404 /* Override any GCC internal prototype to avoid an error.
8405 Use char because int might match the return type of a GCC
8406 builtin and then its argument prototype would still apply. */
8419 for ac_lib in '' dir; do
8420 if test -z "$ac_lib"; then
8421 ac_res="none required
"
8424 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8426 rm -f conftest.$ac_objext conftest$ac_exeext
8427 if { (ac_try="$ac_link"
8429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8430 *) ac_try_echo=$ac_try;;
8432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8433 (eval "$ac_link") 2>conftest.er1
8435 grep -v '^ *+' conftest.er1 >conftest.err
8437 cat conftest.err >&5
8438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8439 (exit $ac_status); } &&
8440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8441 { (case "(($ac_try" in
8442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8445 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8446 (eval "$ac_try") 2>&5
8448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8449 (exit $ac_status); }; } &&
8450 { ac_try='test -s conftest$ac_exeext'
8451 { (case "(($ac_try" in
8452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8453 *) ac_try_echo=$ac_try;;
8455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8456 (eval "$ac_try") 2>&5
8458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8459 (exit $ac_status); }; }; then
8460 ac_cv_search_opendir=$ac_res
8462 echo "$as_me: failed program was
:" >&5
8463 sed 's/^/| /' conftest.$ac_ext >&5
8468 rm -f core conftest.err conftest.$ac_objext \
8470 if test "${ac_cv_search_opendir+set}" = set; then
8474 if test "${ac_cv_search_opendir+set}" = set; then
8477 ac_cv_search_opendir=no
8480 LIBS=$ac_func_search_save_LIBS
8482 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8483 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8484 ac_res=$ac_cv_search_opendir
8485 if test "$ac_res" != no; then
8486 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8491 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8492 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8493 if test "${ac_cv_search_opendir+set}" = set; then
8494 echo $ECHO_N "(cached
) $ECHO_C" >&6
8496 ac_func_search_save_LIBS=$LIBS
8497 cat >conftest.$ac_ext <<_ACEOF
8500 cat confdefs.h >>conftest.$ac_ext
8501 cat >>conftest.$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8504 /* Override any GCC internal prototype to avoid an error.
8505 Use char because int might match the return type of a GCC
8506 builtin and then its argument prototype would still apply. */
8519 for ac_lib in '' x; do
8520 if test -z "$ac_lib"; then
8521 ac_res="none required
"
8524 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8526 rm -f conftest.$ac_objext conftest$ac_exeext
8527 if { (ac_try="$ac_link"
8529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8530 *) ac_try_echo=$ac_try;;
8532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8533 (eval "$ac_link") 2>conftest.er1
8535 grep -v '^ *+' conftest.er1 >conftest.err
8537 cat conftest.err >&5
8538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8539 (exit $ac_status); } &&
8540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8541 { (case "(($ac_try" in
8542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8543 *) ac_try_echo=$ac_try;;
8545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8546 (eval "$ac_try") 2>&5
8548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8549 (exit $ac_status); }; } &&
8550 { ac_try='test -s conftest$ac_exeext'
8551 { (case "(($ac_try" in
8552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_try") 2>&5
8558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8559 (exit $ac_status); }; }; then
8560 ac_cv_search_opendir=$ac_res
8562 echo "$as_me: failed program was
:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8568 rm -f core conftest.err conftest.$ac_objext \
8570 if test "${ac_cv_search_opendir+set}" = set; then
8574 if test "${ac_cv_search_opendir+set}" = set; then
8577 ac_cv_search_opendir=no
8580 LIBS=$ac_func_search_save_LIBS
8582 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8583 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8584 ac_res=$ac_cv_search_opendir
8585 if test "$ac_res" != no; then
8586 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8593 for ac_header in dlfcn.h
8595 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8596 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8597 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8598 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8599 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8600 echo $ECHO_N "(cached
) $ECHO_C" >&6
8602 ac_res=`eval echo '${'$as_ac_Header'}'`
8603 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8604 echo "${ECHO_T}$ac_res" >&6; }
8606 # Is the header compilable?
8607 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8608 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8609 cat >conftest.$ac_ext <<_ACEOF
8612 cat confdefs.h >>conftest.$ac_ext
8613 cat >>conftest.$ac_ext <<_ACEOF
8614 /* end confdefs.h. */
8615 $ac_includes_default
8616 #include <$ac_header>
8618 rm -f conftest.$ac_objext
8619 if { (ac_try="$ac_compile"
8621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8622 *) ac_try_echo=$ac_try;;
8624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8625 (eval "$ac_compile") 2>conftest.er1
8627 grep -v '^ *+' conftest.er1 >conftest.err
8629 cat conftest.err >&5
8630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8631 (exit $ac_status); } &&
8632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8633 { (case "(($ac_try" in
8634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8635 *) ac_try_echo=$ac_try;;
8637 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8638 (eval "$ac_try") 2>&5
8640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8641 (exit $ac_status); }; } &&
8642 { ac_try='test -s conftest.$ac_objext'
8643 { (case "(($ac_try" in
8644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8645 *) ac_try_echo=$ac_try;;
8647 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8648 (eval "$ac_try") 2>&5
8650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8651 (exit $ac_status); }; }; then
8652 ac_header_compiler=yes
8654 echo "$as_me: failed program was
:" >&5
8655 sed 's/^/| /' conftest.$ac_ext >&5
8657 ac_header_compiler=no
8660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8661 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8662 echo "${ECHO_T}$ac_header_compiler" >&6; }
8664 # Is the header present?
8665 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8666 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8667 cat >conftest.$ac_ext <<_ACEOF
8670 cat confdefs.h >>conftest.$ac_ext
8671 cat >>conftest.$ac_ext <<_ACEOF
8672 /* end confdefs.h. */
8673 #include <$ac_header>
8675 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8678 *) ac_try_echo=$ac_try;;
8680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8681 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8683 grep -v '^ *+' conftest.er1 >conftest.err
8685 cat conftest.err >&5
8686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8687 (exit $ac_status); } >/dev/null; then
8688 if test -s conftest.err; then
8689 ac_cpp_err=$ac_c_preproc_warn_flag
8690 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8697 if test -z "$ac_cpp_err"; then
8698 ac_header_preproc=yes
8700 echo "$as_me: failed program was
:" >&5
8701 sed 's/^/| /' conftest.$ac_ext >&5
8703 ac_header_preproc=no
8706 rm -f conftest.err conftest.$ac_ext
8707 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8708 echo "${ECHO_T}$ac_header_preproc" >&6; }
8710 # So? What about this header?
8711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8713 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8714 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8715 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8717 ac_header_preproc=yes
8720 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8721 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8722 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8723 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8724 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8725 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8726 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8727 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8728 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8730 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8731 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8733 ## ----------------------------------- ##
8734 ## Report this to llvmbugs@cs.uiuc.edu ##
8735 ## ----------------------------------- ##
8737 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8740 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8741 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8742 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8743 echo $ECHO_N "(cached
) $ECHO_C" >&6
8745 eval "$as_ac_Header=\
$ac_header_preproc"
8747 ac_res=`eval echo '${'$as_ac_Header'}'`
8748 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8749 echo "${ECHO_T}$ac_res" >&6; }
8752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8753 cat >>confdefs.h <<_ACEOF
8754 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8761 # Check whether --enable-ltdl-install was given.
8762 if test "${enable_ltdl_install+set}" = set; then
8763 enableval=$enable_ltdl_install;
8769 if test x"${enable_ltdl_install-no}" != xno; then
8771 INSTALL_LTDL_FALSE='#'
8773 INSTALL_LTDL_TRUE='#'
8779 if test x"${enable_ltdl_convenience-no}" != xno; then
8780 CONVENIENCE_LTDL_TRUE=
8781 CONVENIENCE_LTDL_FALSE='#'
8783 CONVENIENCE_LTDL_TRUE='#'
8784 CONVENIENCE_LTDL_FALSE=
8788 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8789 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8791 libname_spec='lib$name'
8799 shlibpath_overrides_runpath=unknown
8801 dynamic_linker="$host_os ld.so
"
8802 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8803 if test "$GCC" = yes; then
8804 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8805 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8806 # if the path contains ";" then we assume it to be the separator
8807 # otherwise default to the standard path separator (i.e. ":") - it is
8808 # assumed that no part of a normal pathname contains ";" but that should
8809 # okay in the real world where ";" in dirpaths is itself problematic.
8810 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8812 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8815 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8817 need_lib_prefix=unknown
8818 hardcode_into_libs=no
8820 # when you set need_version to no, make sure it does not cause -set_version
8821 # flags to be left without arguments
8822 need_version=unknown
8827 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8828 shlibpath_var=LIBPATH
8830 # AIX 3 has no versioning support, so we append a major version to the name.
8831 soname_spec='${libname}${release}${shared_ext}$major'
8838 hardcode_into_libs=yes
8839 if test "$host_cpu" = ia64; then
8840 # AIX 5 supports IA64
8841 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8842 shlibpath_var=LD_LIBRARY_PATH
8844 # With GCC up to 2.95.x, collect2 would create an import file
8845 # for dependence libraries. The import file would start with
8846 # the line `#! .'. This would cause the generated library to
8847 # depend on `.', always an invalid library. This was fixed in
8848 # development snapshots of GCC prior to 3.0.
8850 aix4 | aix4.[01] | aix4.[01].*)
8851 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8853 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8860 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8861 # soname into executable. Probably we can add versioning support to
8862 # collect2, so additional links can be useful in future.
8863 if test "$aix_use_runtimelinking" = yes; then
8864 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8865 # instead of lib<name>.a to let people know that these are not
8866 # typical AIX shared libraries.
8867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8869 # We preserve .a as extension for shared libraries through AIX4.2
8870 # and later when we are not doing run time linking.
8871 library_names_spec='${libname}${release}.a $libname.a'
8872 soname_spec='${libname}${release}${shared_ext}$major'
8874 shlibpath_var=LIBPATH
8879 library_names_spec='$libname.ixlibrary $libname.a'
8880 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8881 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'
8885 library_names_spec='${libname}${shared_ext}'
8886 dynamic_linker="$host_os ld.so
"
8887 shlibpath_var=LIBRARY_PATH
8893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8894 soname_spec='${libname}${release}${shared_ext}$major'
8895 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8896 shlibpath_var=LD_LIBRARY_PATH
8897 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8898 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8899 # the default ld.so.conf also contains /usr/contrib/lib and
8900 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8901 # libtool to hard-code these into programs
8904 cygwin* | mingw* | pw32*)
8905 version_type=windows
8910 case $GCC,$host_os in
8911 yes,cygwin* | yes,mingw* | yes,pw32*)
8912 library_names_spec='$libname.dll.a'
8913 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8914 postinstall_cmds='base_file=`basename \${file}`~
8915 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8916 dldir=$destdir/`dirname \$dlpath`~
8917 test -d \$dldir || mkdir -p \$dldir~
8918 $install_prog $dir/$dlname \$dldir/$dlname~
8919 chmod a+x \$dldir/$dlname'
8920 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8921 dlpath=$dir/\$dldll~
8923 shlibpath_overrides_runpath=yes
8927 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8928 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8929 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8932 # MinGW DLLs use traditional 'lib' prefix
8933 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8934 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8935 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8936 # It is most probably a Windows format PATH printed by
8937 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8938 # path with ; separators, and with drive letters. We can handle the
8939 # drive letters (cygwin fileutils understands them), so leave them,
8940 # especially as we might pass files found there to a mingw objdump,
8941 # which wouldn't understand a cygwinified path. Ahh.
8942 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8944 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8948 # pw32 DLLs use 'pw' prefix rather than 'lib'
8949 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8955 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8958 dynamic_linker='Win32 ld.exe'
8959 # FIXME: first we should search . and the directory the executable is in
8963 darwin* | rhapsody*)
8964 dynamic_linker="$host_os dyld
"
8968 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8969 soname_spec='${libname}${release}${major}$shared_ext'
8970 shlibpath_overrides_runpath=yes
8971 shlibpath_var=DYLD_LIBRARY_PATH
8972 shrext_cmds='.dylib'
8973 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8974 if test "$GCC" = yes; then
8975 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
"`
8977 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8979 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8987 soname_spec='${libname}${release}${shared_ext}$major'
8988 shlibpath_var=LD_LIBRARY_PATH
8999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9000 soname_spec='${libname}${release}${shared_ext}$major'
9001 shlibpath_var=LD_LIBRARY_PATH
9002 shlibpath_overrides_runpath=no
9003 hardcode_into_libs=yes
9004 dynamic_linker='GNU ld.so'
9007 freebsd* | dragonfly*)
9008 # DragonFly does not have aout. When/if they implement a new
9009 # versioning mechanism, adjust this.
9010 if test -x /usr/bin/objformat; then
9011 objformat=`/usr/bin/objformat`
9014 freebsd[123]*) objformat=aout ;;
9018 version_type=freebsd-$objformat
9019 case $version_type in
9021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9026 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9030 shlibpath_var=LD_LIBRARY_PATH
9033 shlibpath_overrides_runpath=yes
9035 freebsd3.[01]* | freebsdelf3.[01]*)
9036 shlibpath_overrides_runpath=yes
9037 hardcode_into_libs=yes
9039 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9040 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9041 shlibpath_overrides_runpath=no
9042 hardcode_into_libs=yes
9044 freebsd*) # from 4.6 on
9045 shlibpath_overrides_runpath=yes
9046 hardcode_into_libs=yes
9055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9056 soname_spec='${libname}${release}${shared_ext}$major'
9057 shlibpath_var=LD_LIBRARY_PATH
9058 hardcode_into_libs=yes
9061 hpux9* | hpux10* | hpux11*)
9062 # Give a soname corresponding to the major version so that dld.sl refuses to
9063 # link against other versions.
9070 hardcode_into_libs=yes
9071 dynamic_linker="$host_os dld.so
"
9072 shlibpath_var=LD_LIBRARY_PATH
9073 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9075 soname_spec='${libname}${release}${shared_ext}$major'
9076 if test "X
$HPUX_IA64_MODE" = X32; then
9077 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
9079 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
9081 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9085 hardcode_into_libs=yes
9086 dynamic_linker="$host_os dld.sl
"
9087 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9088 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9090 soname_spec='${libname}${release}${shared_ext}$major'
9091 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
9092 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9096 dynamic_linker="$host_os dld.sl
"
9097 shlibpath_var=SHLIB_PATH
9098 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9100 soname_spec='${libname}${release}${shared_ext}$major'
9103 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9104 postinstall_cmds='chmod 555 $lib'
9111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9112 soname_spec='${libname}${release}${shared_ext}$major'
9113 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9114 shlibpath_var=LD_LIBRARY_PATH
9115 shlibpath_overrides_runpath=no
9116 hardcode_into_libs=yes
9119 irix5* | irix6* | nonstopux*)
9121 nonstopux*) version_type=nonstopux ;;
9123 if test "$lt_cv_prog_gnu_ld" = yes; then
9131 soname_spec='${libname}${release}${shared_ext}$major'
9132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9134 irix5* | nonstopux*)
9138 case $LD in # libtool.m4 will add one of these switches to LD
9139 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9140 libsuff= shlibsuff= libmagic=32-bit;;
9141 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9142 libsuff=32 shlibsuff=N32 libmagic=N32;;
9143 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9144 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9145 *) libsuff= shlibsuff= libmagic=never-match;;
9149 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9150 shlibpath_overrides_runpath=no
9151 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9152 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
9153 hardcode_into_libs=yes
9156 # No shared lib support for Linux oldld, aout, or coff.
9157 linux*oldld* | linux*aout* | linux*coff*)
9161 # This must be Linux ELF.
9166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9167 soname_spec='${libname}${release}${shared_ext}$major'
9168 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
9169 shlibpath_var=LD_LIBRARY_PATH
9170 shlibpath_overrides_runpath=no
9171 # This implies no fast_install, which is unacceptable.
9172 # Some rework will be needed to allow for fast_install
9173 # before this can be enabled.
9174 hardcode_into_libs=yes
9176 # Append ld.so.conf contents to the search path
9177 if test -f /etc/ld.so.conf; then
9178 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' ' '`
9179 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9182 # We used to test for /lib/ld.so.1 and disable shared libraries on
9183 # powerpc, because MkLinux only supported shared libraries with the
9184 # GNU dynamic linker. Since this was broken with cross compilers,
9185 # most powerpc-linux boxes support dynamic linking these days and
9186 # people can always --disable-shared, the test was removed, and we
9187 # assume the GNU/Linux dynamic linker is in use.
9188 dynamic_linker='GNU/Linux ld.so'
9195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9196 soname_spec='${libname}${release}${shared_ext}$major'
9197 shlibpath_var=LD_LIBRARY_PATH
9198 shlibpath_overrides_runpath=no
9199 hardcode_into_libs=yes
9200 dynamic_linker='GNU ld.so'
9207 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9209 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9210 dynamic_linker='NetBSD (a.out) ld.so'
9212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9213 soname_spec='${libname}${release}${shared_ext}$major'
9214 dynamic_linker='NetBSD ld.elf_so'
9216 shlibpath_var=LD_LIBRARY_PATH
9217 shlibpath_overrides_runpath=yes
9218 hardcode_into_libs=yes
9223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9224 shlibpath_var=LD_LIBRARY_PATH
9225 shlibpath_overrides_runpath=yes
9232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9233 soname_spec='${libname}${release}${shared_ext}$major'
9234 shlibpath_var=LD_LIBRARY_PATH
9235 shlibpath_overrides_runpath=yes
9240 sys_lib_dlsearch_path_spec="/usr
/lib
"
9242 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9244 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9245 *) need_version=no ;;
9247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9248 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9249 shlibpath_var=LD_LIBRARY_PATH
9250 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9252 openbsd2.[89] | openbsd2.[89].*)
9253 shlibpath_overrides_runpath=no
9256 shlibpath_overrides_runpath=yes
9260 shlibpath_overrides_runpath=yes
9265 libname_spec='$name'
9268 library_names_spec='$libname${shared_ext} $libname.a'
9269 dynamic_linker='OS/2 ld.exe'
9270 shlibpath_var=LIBPATH
9273 osf3* | osf4* | osf5*)
9277 soname_spec='${libname}${release}${shared_ext}$major'
9278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9279 shlibpath_var=LD_LIBRARY_PATH
9280 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9281 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9289 soname_spec='${libname}${release}${shared_ext}$major'
9290 shlibpath_var=LD_LIBRARY_PATH
9291 shlibpath_overrides_runpath=yes
9292 hardcode_into_libs=yes
9293 # ldd complains unless libraries are executable
9294 postinstall_cmds='chmod +x $lib'
9299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9300 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9301 shlibpath_var=LD_LIBRARY_PATH
9302 shlibpath_overrides_runpath=yes
9303 if test "$with_gnu_ld" = yes; then
9311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9312 soname_spec='${libname}${release}${shared_ext}$major'
9313 shlibpath_var=LD_LIBRARY_PATH
9314 case $host_vendor in
9316 shlibpath_overrides_runpath=no
9318 export_dynamic_flag_spec='${wl}-Blargedynsym'
9319 runpath_var=LD_RUN_PATH
9327 shlibpath_overrides_runpath=no
9328 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9334 if test -d /usr/nec ;then
9336 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9337 soname_spec='$libname${shared_ext}.$major'
9338 shlibpath_var=LD_LIBRARY_PATH
9342 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9343 version_type=freebsd-elf
9346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9347 soname_spec='${libname}${release}${shared_ext}$major'
9348 shlibpath_var=LD_LIBRARY_PATH
9349 hardcode_into_libs=yes
9350 if test "$with_gnu_ld" = yes; then
9351 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9352 shlibpath_overrides_runpath=no
9354 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9355 shlibpath_overrides_runpath=yes
9358 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9362 sys_lib_dlsearch_path_spec='/usr/lib'
9367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9368 soname_spec='${libname}${release}${shared_ext}$major'
9369 shlibpath_var=LD_LIBRARY_PATH
9376 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9377 echo "${ECHO_T}$dynamic_linker" >&6; }
9378 test "$dynamic_linker" = no && can_build_shared=no
9380 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9381 if test "$GCC" = yes; then
9382 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9386 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9387 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9388 if test "${libltdl_cv_shlibext+set}" = set; then
9389 echo $ECHO_N "(cached
) $ECHO_C" >&6
9393 eval libltdl_cv_shlibext=$shrext_cmds
9396 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9397 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9398 if test -n "$libltdl_cv_shlibext"; then
9400 cat >>confdefs.h <<_ACEOF
9401 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9407 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9408 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9409 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9410 echo $ECHO_N "(cached
) $ECHO_C" >&6
9412 libltdl_cv_shlibpath_var="$shlibpath_var"
9414 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9415 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9416 if test -n "$libltdl_cv_shlibpath_var"; then
9418 cat >>confdefs.h <<_ACEOF
9419 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9425 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9426 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9427 if test "${libltdl_cv_sys_search_path+set}" = set; then
9428 echo $ECHO_N "(cached
) $ECHO_C" >&6
9430 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9432 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9433 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9434 if test -n "$libltdl_cv_sys_search_path"; then
9436 for dir in $libltdl_cv_sys_search_path; do
9437 if test -z "$sys_search_path"; then
9438 sys_search_path="$dir"
9440 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9444 cat >>confdefs.h <<_ACEOF
9445 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9450 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9451 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9452 if test "${libltdl_cv_objdir+set}" = set; then
9453 echo $ECHO_N "(cached
) $ECHO_C" >&6
9455 libltdl_cv_objdir="$objdir"
9456 if test -n "$objdir"; then
9459 rm -f .libs 2>/dev/null
9460 mkdir .libs 2>/dev/null
9461 if test -d .libs; then
9462 libltdl_cv_objdir=.libs
9464 # MS-DOS does not allow filenames that begin with a dot.
9465 libltdl_cv_objdir=_libs
9467 rmdir .libs 2>/dev/null
9471 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9472 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9474 cat >>confdefs.h <<_ACEOF
9475 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9483 # Check for command to grab the raw symbol name followed by C symbol from nm.
9484 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9485 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9486 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9487 echo $ECHO_N "(cached
) $ECHO_C" >&6
9490 # These are sane defaults that work on at least a few old systems.
9491 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9493 # Character class describing NM global symbol codes.
9494 symcode='[BCDEGRST]'
9496 # Regexp to match symbols that can be accessed directly from C.
9497 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9499 # Transform an extracted symbol line into a proper C declaration
9500 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9502 # Transform an extracted symbol line into symbol name and symbol address
9503 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'"
9505 # Define system-specific variables.
9510 cygwin* | mingw* | pw32*)
9511 symcode='[ABCDGISTW]'
9513 hpux*) # Its linker distinguishes data from code symbols
9514 if test "$host_cpu" = ia64; then
9515 symcode='[ABCDEGRST]'
9517 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9518 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'"
9521 if test "$host_cpu" = ia64; then
9522 symcode='[ABCDGIRSTW]'
9523 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9524 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'"
9528 symcode='[BCDEGRST]'
9531 symcode='[BCDEGQRST]'
9542 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9550 # Handle CRLF in mingw tool chain
9554 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9558 # If we're using GNU nm, then use its standard symbol codes.
9559 case `$NM -V 2>&1` in
9560 *GNU* | *'with BFD'*)
9561 symcode='[ABCDGIRSTW]' ;;
9564 # Try without a prefix undercore, then with it.
9565 for ac_symprfx in "" "_
"; do
9567 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9568 symxfrm="\\1 $ac_symprfx\\2 \\2"
9570 # Write the raw and C identifiers.
9571 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9573 # Check to see that the pipe works correctly.
9577 cat > conftest.$ac_ext <<EOF
9582 void nm_test_func(){}
9586 int main(){nm_test_var='a';nm_test_func();return(0);}
9589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9590 (eval $ac_compile) 2>&5
9592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9593 (exit $ac_status); }; then
9594 # Now try to grab the symbols.
9596 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9597 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9600 (exit $ac_status); } && test -s "$nlist"; then
9601 # Try sorting and uniquifying the output.
9602 if sort "$nlist" | uniq > "$nlist"T; then
9603 mv -f "$nlist"T "$nlist"
9608 # Make sure that we snagged all the symbols we need.
9609 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9610 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9611 cat <<EOF > conftest.$ac_ext
9617 # Now generate the symbol file.
9618 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9620 cat <<EOF >> conftest.$ac_ext
9621 #if defined (__STDC__) && __STDC__
9622 # define lt_ptr_t void *
9624 # define lt_ptr_t char *
9628 /* The mapping between symbol names and symbols. */
9633 lt_preloaded_symbols[] =
9636 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9637 cat <<\EOF >> conftest.$ac_ext
9645 # Now try linking the two files.
9646 mv conftest.$ac_objext conftstm.$ac_objext
9647 lt_save_LIBS="$LIBS"
9648 lt_save_CFLAGS="$CFLAGS"
9649 LIBS="conftstm.
$ac_objext"
9650 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9652 (eval $ac_link) 2>&5
9654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9655 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9658 LIBS="$lt_save_LIBS"
9659 CFLAGS="$lt_save_CFLAGS"
9661 echo "cannot
find nm_test_func
in $nlist" >&5
9664 echo "cannot
find nm_test_var
in $nlist" >&5
9667 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9670 echo "$progname: failed program was
:" >&5
9671 cat conftest.$ac_ext >&5
9673 rm -f conftest* conftst*
9675 # Do not use the global_symbol_pipe unless it works.
9676 if test "$pipe_works" = yes; then
9679 lt_cv_sys_global_symbol_pipe=
9685 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9686 lt_cv_sys_global_symbol_to_cdecl=
9688 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9689 { echo "$as_me:$LINENO: result
: failed
" >&5
9690 echo "${ECHO_T}failed
" >&6; }
9692 { echo "$as_me:$LINENO: result
: ok
" >&5
9693 echo "${ECHO_T}ok
" >&6; }
9697 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9698 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9699 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9700 echo $ECHO_N "(cached
) $ECHO_C" >&6
9702 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9703 libltdl_cv_preloaded_symbols=yes
9705 libltdl_cv_preloaded_symbols=no
9709 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9710 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9711 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9713 cat >>confdefs.h <<\_ACEOF
9714 #define HAVE_PRELOADED_SYMBOLS 1
9722 ac_cpp='$CPP $CPPFLAGS'
9723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9728 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9729 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9730 if test "${ac_cv_func_shl_load+set}" = set; then
9731 echo $ECHO_N "(cached
) $ECHO_C" >&6
9733 cat >conftest.$ac_ext <<_ACEOF
9736 cat confdefs.h >>conftest.$ac_ext
9737 cat >>conftest.$ac_ext <<_ACEOF
9738 /* end confdefs.h. */
9739 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9741 #define shl_load innocuous_shl_load
9743 /* System header to define __stub macros and hopefully few prototypes,
9744 which can conflict with char shl_load (); below.
9745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9746 <limits.h> exists even on freestanding compilers. */
9749 # include <limits.h>
9751 # include <assert.h>
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9763 /* The GNU C library defines this for functions which it implements
9764 to always fail with ENOSYS. Some functions are actually named
9765 something starting with __ and the normal name is an alias. */
9766 #if defined __stub_shl_load || defined __stub___shl_load
9778 rm -f conftest.$ac_objext conftest$ac_exeext
9779 if { (ac_try="$ac_link"
9781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9782 *) ac_try_echo=$ac_try;;
9784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9785 (eval "$ac_link") 2>conftest.er1
9787 grep -v '^ *+' conftest.er1 >conftest.err
9789 cat conftest.err >&5
9790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9791 (exit $ac_status); } &&
9792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9793 { (case "(($ac_try" in
9794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9795 *) ac_try_echo=$ac_try;;
9797 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9798 (eval "$ac_try") 2>&5
9800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9801 (exit $ac_status); }; } &&
9802 { ac_try='test -s conftest$ac_exeext'
9803 { (case "(($ac_try" in
9804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9805 *) ac_try_echo=$ac_try;;
9807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9808 (eval "$ac_try") 2>&5
9810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9811 (exit $ac_status); }; }; then
9812 ac_cv_func_shl_load=yes
9814 echo "$as_me: failed program was
:" >&5
9815 sed 's/^/| /' conftest.$ac_ext >&5
9817 ac_cv_func_shl_load=no
9820 rm -f core conftest.err conftest.$ac_objext \
9821 conftest$ac_exeext conftest.$ac_ext
9823 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9824 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9825 if test $ac_cv_func_shl_load = yes; then
9827 cat >>confdefs.h <<\_ACEOF
9828 #define HAVE_SHL_LOAD 1
9832 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9833 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9834 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9835 echo $ECHO_N "(cached
) $ECHO_C" >&6
9837 ac_check_lib_save_LIBS=$LIBS
9839 cat >conftest.$ac_ext <<_ACEOF
9842 cat confdefs.h >>conftest.$ac_ext
9843 cat >>conftest.$ac_ext <<_ACEOF
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9861 rm -f conftest.$ac_objext conftest$ac_exeext
9862 if { (ac_try="$ac_link"
9864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9865 *) ac_try_echo=$ac_try;;
9867 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9868 (eval "$ac_link") 2>conftest.er1
9870 grep -v '^ *+' conftest.er1 >conftest.err
9872 cat conftest.err >&5
9873 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9874 (exit $ac_status); } &&
9875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9876 { (case "(($ac_try" in
9877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9878 *) ac_try_echo=$ac_try;;
9880 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9881 (eval "$ac_try") 2>&5
9883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9884 (exit $ac_status); }; } &&
9885 { ac_try='test -s conftest$ac_exeext'
9886 { (case "(($ac_try" in
9887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9888 *) ac_try_echo=$ac_try;;
9890 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9891 (eval "$ac_try") 2>&5
9893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9894 (exit $ac_status); }; }; then
9895 ac_cv_lib_dld_shl_load=yes
9897 echo "$as_me: failed program was
:" >&5
9898 sed 's/^/| /' conftest.$ac_ext >&5
9900 ac_cv_lib_dld_shl_load=no
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 LIBS=$ac_check_lib_save_LIBS
9907 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9908 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9909 if test $ac_cv_lib_dld_shl_load = yes; then
9911 cat >>confdefs.h <<\_ACEOF
9912 #define HAVE_SHL_LOAD 1
9915 LIBADD_DL="$LIBADD_DL -ldld"
9917 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9918 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9919 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9920 echo $ECHO_N "(cached
) $ECHO_C" >&6
9922 ac_check_lib_save_LIBS=$LIBS
9924 cat >conftest.$ac_ext <<_ACEOF
9927 cat confdefs.h >>conftest.$ac_ext
9928 cat >>conftest.$ac_ext <<_ACEOF
9929 /* end confdefs.h. */
9931 /* Override any GCC internal prototype to avoid an error.
9932 Use char because int might match the return type of a GCC
9933 builtin and then its argument prototype would still apply. */
9946 rm -f conftest.$ac_objext conftest$ac_exeext
9947 if { (ac_try="$ac_link"
9949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9950 *) ac_try_echo=$ac_try;;
9952 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9953 (eval "$ac_link") 2>conftest.er1
9955 grep -v '^ *+' conftest.er1 >conftest.err
9957 cat conftest.err >&5
9958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9959 (exit $ac_status); } &&
9960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9961 { (case "(($ac_try" in
9962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9963 *) ac_try_echo=$ac_try;;
9965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9966 (eval "$ac_try") 2>&5
9968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9969 (exit $ac_status); }; } &&
9970 { ac_try='test -s conftest$ac_exeext'
9971 { (case "(($ac_try" in
9972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9973 *) ac_try_echo=$ac_try;;
9975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9976 (eval "$ac_try") 2>&5
9978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9979 (exit $ac_status); }; }; then
9980 ac_cv_lib_dl_dlopen=yes
9982 echo "$as_me: failed program was
:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9985 ac_cv_lib_dl_dlopen=no
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LIBS=$ac_check_lib_save_LIBS
9992 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
9993 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9994 if test $ac_cv_lib_dl_dlopen = yes; then
9996 cat >>confdefs.h <<\_ACEOF
9997 #define HAVE_LIBDL 1
10000 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
10002 cat >conftest.$ac_ext <<_ACEOF
10005 cat confdefs.h >>conftest.$ac_ext
10006 cat >>conftest.$ac_ext <<_ACEOF
10007 /* end confdefs.h. */
10009 # include <dlfcn.h>
10020 rm -f conftest.$ac_objext conftest$ac_exeext
10021 if { (ac_try="$ac_link"
10022 case "(($ac_try" in
10023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_link") 2>conftest.er1
10029 grep -v '^ *+' conftest.er1 >conftest.err
10031 cat conftest.err >&5
10032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10033 (exit $ac_status); } &&
10034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10035 { (case "(($ac_try" in
10036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10037 *) ac_try_echo=$ac_try;;
10039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10040 (eval "$ac_try") 2>&5
10042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10043 (exit $ac_status); }; } &&
10044 { ac_try='test -s conftest$ac_exeext'
10045 { (case "(($ac_try" in
10046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10047 *) ac_try_echo=$ac_try;;
10049 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10050 (eval "$ac_try") 2>&5
10052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10053 (exit $ac_status); }; }; then
10055 cat >>confdefs.h <<\_ACEOF
10056 #define HAVE_LIBDL 1
10058 libltdl_cv_func_dlopen="yes"
10060 echo "$as_me: failed program was
:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10063 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
10064 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
10065 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10066 echo $ECHO_N "(cached
) $ECHO_C" >&6
10068 ac_check_lib_save_LIBS=$LIBS
10069 LIBS="-lsvld $LIBS"
10070 cat >conftest.$ac_ext <<_ACEOF
10073 cat confdefs.h >>conftest.$ac_ext
10074 cat >>conftest.$ac_ext <<_ACEOF
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10092 rm -f conftest.$ac_objext conftest$ac_exeext
10093 if { (ac_try="$ac_link"
10094 case "(($ac_try" in
10095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10096 *) ac_try_echo=$ac_try;;
10098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10099 (eval "$ac_link") 2>conftest.er1
10101 grep -v '^ *+' conftest.er1 >conftest.err
10103 cat conftest.err >&5
10104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10105 (exit $ac_status); } &&
10106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10107 { (case "(($ac_try" in
10108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10109 *) ac_try_echo=$ac_try;;
10111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10112 (eval "$ac_try") 2>&5
10114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10115 (exit $ac_status); }; } &&
10116 { ac_try='test -s conftest$ac_exeext'
10117 { (case "(($ac_try" in
10118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10119 *) ac_try_echo=$ac_try;;
10121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10122 (eval "$ac_try") 2>&5
10124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10125 (exit $ac_status); }; }; then
10126 ac_cv_lib_svld_dlopen=yes
10128 echo "$as_me: failed program was
:" >&5
10129 sed 's/^/| /' conftest.$ac_ext >&5
10131 ac_cv_lib_svld_dlopen=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_lib_save_LIBS
10138 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
10139 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10140 if test $ac_cv_lib_svld_dlopen = yes; then
10142 cat >>confdefs.h <<\_ACEOF
10143 #define HAVE_LIBDL 1
10146 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10148 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
10149 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
10150 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10151 echo $ECHO_N "(cached
) $ECHO_C" >&6
10153 ac_check_lib_save_LIBS=$LIBS
10155 cat >conftest.$ac_ext <<_ACEOF
10158 cat confdefs.h >>conftest.$ac_ext
10159 cat >>conftest.$ac_ext <<_ACEOF
10160 /* end confdefs.h. */
10162 /* Override any GCC internal prototype to avoid an error.
10163 Use char because int might match the return type of a GCC
10164 builtin and then its argument prototype would still apply. */
10172 return dld_link ();
10177 rm -f conftest.$ac_objext conftest$ac_exeext
10178 if { (ac_try="$ac_link"
10179 case "(($ac_try" in
10180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10181 *) ac_try_echo=$ac_try;;
10183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10184 (eval "$ac_link") 2>conftest.er1
10186 grep -v '^ *+' conftest.er1 >conftest.err
10188 cat conftest.err >&5
10189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10190 (exit $ac_status); } &&
10191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10192 { (case "(($ac_try" in
10193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10194 *) ac_try_echo=$ac_try;;
10196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10197 (eval "$ac_try") 2>&5
10199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10200 (exit $ac_status); }; } &&
10201 { ac_try='test -s conftest$ac_exeext'
10202 { (case "(($ac_try" in
10203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204 *) ac_try_echo=$ac_try;;
10206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10207 (eval "$ac_try") 2>&5
10209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10210 (exit $ac_status); }; }; then
10211 ac_cv_lib_dld_dld_link=yes
10213 echo "$as_me: failed program was
:" >&5
10214 sed 's/^/| /' conftest.$ac_ext >&5
10216 ac_cv_lib_dld_dld_link=no
10219 rm -f core conftest.err conftest.$ac_objext \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_lib_save_LIBS
10223 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10224 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10225 if test $ac_cv_lib_dld_dld_link = yes; then
10227 cat >>confdefs.h <<\_ACEOF
10231 LIBADD_DL="$LIBADD_DL -ldld"
10233 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10234 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10235 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10236 echo $ECHO_N "(cached
) $ECHO_C" >&6
10238 cat >conftest.$ac_ext <<_ACEOF
10241 cat confdefs.h >>conftest.$ac_ext
10242 cat >>conftest.$ac_ext <<_ACEOF
10243 /* end confdefs.h. */
10244 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10246 #define _dyld_func_lookup innocuous__dyld_func_lookup
10248 /* System header to define __stub macros and hopefully few prototypes,
10249 which can conflict with char _dyld_func_lookup (); below.
10250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10251 <limits.h> exists even on freestanding compilers. */
10254 # include <limits.h>
10256 # include <assert.h>
10259 #undef _dyld_func_lookup
10261 /* Override any GCC internal prototype to avoid an error.
10262 Use char because int might match the return type of a GCC
10263 builtin and then its argument prototype would still apply. */
10267 char _dyld_func_lookup ();
10268 /* The GNU C library defines this for functions which it implements
10269 to always fail with ENOSYS. Some functions are actually named
10270 something starting with __ and the normal name is an alias. */
10271 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10278 return _dyld_func_lookup ();
10283 rm -f conftest.$ac_objext conftest$ac_exeext
10284 if { (ac_try="$ac_link"
10285 case "(($ac_try" in
10286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10287 *) ac_try_echo=$ac_try;;
10289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10290 (eval "$ac_link") 2>conftest.er1
10292 grep -v '^ *+' conftest.er1 >conftest.err
10294 cat conftest.err >&5
10295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10296 (exit $ac_status); } &&
10297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10298 { (case "(($ac_try" in
10299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10300 *) ac_try_echo=$ac_try;;
10302 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10303 (eval "$ac_try") 2>&5
10305 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10306 (exit $ac_status); }; } &&
10307 { ac_try='test -s conftest$ac_exeext'
10308 { (case "(($ac_try" in
10309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10310 *) ac_try_echo=$ac_try;;
10312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10313 (eval "$ac_try") 2>&5
10315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10316 (exit $ac_status); }; }; then
10317 ac_cv_func__dyld_func_lookup=yes
10319 echo "$as_me: failed program was
:" >&5
10320 sed 's/^/| /' conftest.$ac_ext >&5
10322 ac_cv_func__dyld_func_lookup=no
10325 rm -f core conftest.err conftest.$ac_objext \
10326 conftest$ac_exeext conftest.$ac_ext
10328 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10329 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10330 if test $ac_cv_func__dyld_func_lookup = yes; then
10332 cat >>confdefs.h <<\_ACEOF
10333 #define HAVE_DYLD 1
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10359 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10361 lt_save_LIBS="$LIBS"
10362 LIBS="$LIBS $LIBADD_DL"
10364 for ac_func in dlerror
10366 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10367 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10368 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10369 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10370 echo $ECHO_N "(cached
) $ECHO_C" >&6
10372 cat >conftest.$ac_ext <<_ACEOF
10375 cat confdefs.h >>conftest.$ac_ext
10376 cat >>conftest.$ac_ext <<_ACEOF
10377 /* end confdefs.h. */
10378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10380 #define $ac_func innocuous_$ac_func
10382 /* System header to define __stub macros and hopefully few prototypes,
10383 which can conflict with char $ac_func (); below.
10384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10385 <limits.h> exists even on freestanding compilers. */
10388 # include <limits.h>
10390 # include <assert.h>
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10402 /* The GNU C library defines this for functions which it implements
10403 to always fail with ENOSYS. Some functions are actually named
10404 something starting with __ and the normal name is an alias. */
10405 #if defined __stub_$ac_func || defined __stub___$ac_func
10412 return $ac_func ();
10417 rm -f conftest.$ac_objext conftest$ac_exeext
10418 if { (ac_try="$ac_link"
10419 case "(($ac_try" in
10420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10421 *) ac_try_echo=$ac_try;;
10423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10424 (eval "$ac_link") 2>conftest.er1
10426 grep -v '^ *+' conftest.er1 >conftest.err
10428 cat conftest.err >&5
10429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10430 (exit $ac_status); } &&
10431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10432 { (case "(($ac_try" in
10433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10434 *) ac_try_echo=$ac_try;;
10436 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10437 (eval "$ac_try") 2>&5
10439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10440 (exit $ac_status); }; } &&
10441 { ac_try='test -s conftest$ac_exeext'
10442 { (case "(($ac_try" in
10443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10444 *) ac_try_echo=$ac_try;;
10446 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10447 (eval "$ac_try") 2>&5
10449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10450 (exit $ac_status); }; }; then
10451 eval "$as_ac_var=yes"
10453 echo "$as_me: failed program was
:" >&5
10454 sed 's/^/| /' conftest.$ac_ext >&5
10456 eval "$as_ac_var=no
"
10459 rm -f core conftest.err conftest.$ac_objext \
10460 conftest$ac_exeext conftest.$ac_ext
10462 ac_res=`eval echo '${'$as_ac_var'}'`
10463 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10464 echo "${ECHO_T}$ac_res" >&6; }
10465 if test `eval echo '${'$as_ac_var'}'` = yes; then
10466 cat >>confdefs.h <<_ACEOF
10467 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10473 LIBS="$lt_save_LIBS"
10476 ac_cpp='$CPP $CPPFLAGS'
10477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10483 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10484 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10485 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10486 echo $ECHO_N "(cached
) $ECHO_C" >&6
10488 ac_cv_sys_symbol_underscore=no
10489 cat > conftest.$ac_ext <<EOF
10490 void nm_test_func(){}
10491 int main(){nm_test_func;return 0;}
10493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10494 (eval $ac_compile) 2>&5
10496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10497 (exit $ac_status); }; then
10498 # Now try to grab the symbols.
10499 ac_nlist=conftest.nm
10500 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10501 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10504 (exit $ac_status); } && test -s "$ac_nlist"; then
10505 # See whether the symbols have a leading underscore.
10506 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10507 ac_cv_sys_symbol_underscore=yes
10509 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10512 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10516 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10519 echo "configure
: failed program was
:" >&5
10525 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10526 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10529 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10530 if test x"$libltdl_cv_func_dlopen" = xyes ||
10531 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10532 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10533 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10534 if test "${libltdl_cv_need_uscore+set}" = set; then
10535 echo $ECHO_N "(cached
) $ECHO_C" >&6
10537 libltdl_cv_need_uscore=unknown
10539 LIBS="$LIBS $LIBADD_DL"
10540 if test "$cross_compiling" = yes; then :
10541 libltdl_cv_need_uscore=cross
10543 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10544 lt_status=$lt_dlunknown
10545 cat > conftest.$ac_ext <<EOF
10546 #line 10546 "configure
"
10547 #include "confdefs.h
"
10556 # define LT_DLGLOBAL RTLD_GLOBAL
10559 # define LT_DLGLOBAL DL_GLOBAL
10561 # define LT_DLGLOBAL 0
10565 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10566 find out it does not work in some platform. */
10567 #ifndef LT_DLLAZY_OR_NOW
10569 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10572 # define LT_DLLAZY_OR_NOW DL_LAZY
10575 # define LT_DLLAZY_OR_NOW RTLD_NOW
10578 # define LT_DLLAZY_OR_NOW DL_NOW
10580 # define LT_DLLAZY_OR_NOW 0
10588 extern "C
" void exit (int);
10591 void fnord() { int i=42;}
10594 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10595 int status = $lt_dlunknown;
10599 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10600 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10601 /* dlclose (self); */
10609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10610 (eval $ac_link) 2>&5
10612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10613 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10614 (./conftest; exit; ) >&5 2>/dev/null
10616 case x$lt_status in
10617 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10618 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10619 x$lt_dlunknown|x*) ;;
10622 # compilation failed
10631 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10632 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10636 if test x"$libltdl_cv_need_uscore" = xyes; then
10638 cat >>confdefs.h <<\_ACEOF
10639 #define NEED_USCORE 1
10645 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10646 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10647 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10648 echo $ECHO_N "(cached
) $ECHO_C" >&6
10650 # PORTME does your system automatically load deplibs for dlopen?
10651 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10652 # For now, we just catch OSes we know something about -- in the
10653 # future, we'll try test this programmatically.
10654 libltdl_cv_sys_dlopen_deplibs=unknown
10656 aix3*|aix4.1.*|aix4.2.*)
10657 # Unknown whether this is true for these versions of AIX, but
10658 # we want this `case' here to explicitly catch those versions.
10659 libltdl_cv_sys_dlopen_deplibs=unknown
10662 libltdl_cv_sys_dlopen_deplibs=yes
10665 # Assuming the user has installed a libdl from somewhere, this is true
10666 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10667 libltdl_cv_sys_dlopen_deplibs=yes
10669 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10670 # GNU and its variants, using gnu ld.so (Glibc)
10671 libltdl_cv_sys_dlopen_deplibs=yes
10674 libltdl_cv_sys_dlopen_deplibs=yes
10677 libltdl_cv_sys_dlopen_deplibs=yes
10679 irix[12345]*|irix6.[01]*)
10680 # Catch all versions of IRIX before 6.2, and indicate that we don't
10681 # know how it worked for any of those versions.
10682 libltdl_cv_sys_dlopen_deplibs=unknown
10685 # The case above catches anything before 6.2, and it's known that
10686 # at 6.2 and later dlopen does load deplibs.
10687 libltdl_cv_sys_dlopen_deplibs=yes
10690 libltdl_cv_sys_dlopen_deplibs=yes
10693 libltdl_cv_sys_dlopen_deplibs=yes
10696 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10697 # it did *not* use an RPATH in a shared library to find objects the
10698 # library depends on, so we explictly say `no'.
10699 libltdl_cv_sys_dlopen_deplibs=no
10701 osf5.0|osf5.0a|osf5.1)
10702 # dlopen *does* load deplibs and with the right loader patch applied
10703 # it even uses RPATH in a shared library to search for shared objects
10704 # that the library depends on, but there's no easy way to know if that
10705 # patch is installed. Since this is the case, all we can really
10706 # say is unknown -- it depends on the patch being installed. If
10707 # it is, this changes to `yes'. Without it, it would be `no'.
10708 libltdl_cv_sys_dlopen_deplibs=unknown
10711 # the two cases above should catch all versions of osf <= 5.1. Read
10712 # the comments above for what we know about them.
10713 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10714 # is used to find them so we can finally say `yes'.
10715 libltdl_cv_sys_dlopen_deplibs=yes
10718 libltdl_cv_sys_dlopen_deplibs=yes
10720 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10721 libltdl_cv_sys_dlopen_deplibs=yes
10726 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10727 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10728 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10730 cat >>confdefs.h <<\_ACEOF
10731 #define LTDL_DLOPEN_DEPLIBS 1
10737 for ac_header in argz.h
10739 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10740 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10741 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10742 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10743 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10744 echo $ECHO_N "(cached
) $ECHO_C" >&6
10746 ac_res=`eval echo '${'$as_ac_Header'}'`
10747 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10748 echo "${ECHO_T}$ac_res" >&6; }
10750 # Is the header compilable?
10751 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10752 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10753 cat >conftest.$ac_ext <<_ACEOF
10756 cat confdefs.h >>conftest.$ac_ext
10757 cat >>conftest.$ac_ext <<_ACEOF
10758 /* end confdefs.h. */
10759 $ac_includes_default
10760 #include <$ac_header>
10762 rm -f conftest.$ac_objext
10763 if { (ac_try="$ac_compile"
10764 case "(($ac_try" in
10765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10766 *) ac_try_echo=$ac_try;;
10768 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10769 (eval "$ac_compile") 2>conftest.er1
10771 grep -v '^ *+' conftest.er1 >conftest.err
10773 cat conftest.err >&5
10774 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10775 (exit $ac_status); } &&
10776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10777 { (case "(($ac_try" in
10778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10779 *) ac_try_echo=$ac_try;;
10781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10782 (eval "$ac_try") 2>&5
10784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10785 (exit $ac_status); }; } &&
10786 { ac_try='test -s conftest.$ac_objext'
10787 { (case "(($ac_try" in
10788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10789 *) ac_try_echo=$ac_try;;
10791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10792 (eval "$ac_try") 2>&5
10794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10795 (exit $ac_status); }; }; then
10796 ac_header_compiler=yes
10798 echo "$as_me: failed program was
:" >&5
10799 sed 's/^/| /' conftest.$ac_ext >&5
10801 ac_header_compiler=no
10804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10805 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10806 echo "${ECHO_T}$ac_header_compiler" >&6; }
10808 # Is the header present?
10809 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10810 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10811 cat >conftest.$ac_ext <<_ACEOF
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10817 #include <$ac_header>
10819 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10820 case "(($ac_try" in
10821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10822 *) ac_try_echo=$ac_try;;
10824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10825 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10827 grep -v '^ *+' conftest.er1 >conftest.err
10829 cat conftest.err >&5
10830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10831 (exit $ac_status); } >/dev/null; then
10832 if test -s conftest.err; then
10833 ac_cpp_err=$ac_c_preproc_warn_flag
10834 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10841 if test -z "$ac_cpp_err"; then
10842 ac_header_preproc=yes
10844 echo "$as_me: failed program was
:" >&5
10845 sed 's/^/| /' conftest.$ac_ext >&5
10847 ac_header_preproc=no
10850 rm -f conftest.err conftest.$ac_ext
10851 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10852 echo "${ECHO_T}$ac_header_preproc" >&6; }
10854 # So? What about this header?
10855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10857 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10858 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10859 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10861 ac_header_preproc=yes
10864 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10865 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10866 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10867 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10868 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10869 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10870 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10871 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10872 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10874 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10875 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10877 ## ----------------------------------- ##
10878 ## Report this to llvmbugs@cs.uiuc.edu ##
10879 ## ----------------------------------- ##
10881 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10884 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10885 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10886 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10887 echo $ECHO_N "(cached
) $ECHO_C" >&6
10889 eval "$as_ac_Header=\
$ac_header_preproc"
10891 ac_res=`eval echo '${'$as_ac_Header'}'`
10892 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10893 echo "${ECHO_T}$ac_res" >&6; }
10896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10897 cat >>confdefs.h <<_ACEOF
10898 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10906 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10907 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10908 if test "${ac_cv_type_error_t+set}" = set; then
10909 echo $ECHO_N "(cached
) $ECHO_C" >&6
10911 cat >conftest.$ac_ext <<_ACEOF
10914 cat confdefs.h >>conftest.$ac_ext
10915 cat >>conftest.$ac_ext <<_ACEOF
10916 /* end confdefs.h. */
10921 typedef error_t ac__type_new_;
10925 if ((ac__type_new_ *) 0)
10927 if (sizeof (ac__type_new_))
10933 rm -f conftest.$ac_objext
10934 if { (ac_try="$ac_compile"
10935 case "(($ac_try" in
10936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10937 *) ac_try_echo=$ac_try;;
10939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10940 (eval "$ac_compile") 2>conftest.er1
10942 grep -v '^ *+' conftest.er1 >conftest.err
10944 cat conftest.err >&5
10945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10946 (exit $ac_status); } &&
10947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10948 { (case "(($ac_try" in
10949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10950 *) ac_try_echo=$ac_try;;
10952 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10953 (eval "$ac_try") 2>&5
10955 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10956 (exit $ac_status); }; } &&
10957 { ac_try='test -s conftest.$ac_objext'
10958 { (case "(($ac_try" in
10959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10960 *) ac_try_echo=$ac_try;;
10962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10963 (eval "$ac_try") 2>&5
10965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10966 (exit $ac_status); }; }; then
10967 ac_cv_type_error_t=yes
10969 echo "$as_me: failed program was
:" >&5
10970 sed 's/^/| /' conftest.$ac_ext >&5
10972 ac_cv_type_error_t=no
10975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10977 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
10978 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10979 if test $ac_cv_type_error_t = yes; then
10981 cat >>confdefs.h <<_ACEOF
10982 #define HAVE_ERROR_T 1
10988 cat >>confdefs.h <<\_ACEOF
10989 #define error_t int
11000 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
11002 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11003 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11004 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11005 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11006 echo $ECHO_N "(cached
) $ECHO_C" >&6
11008 cat >conftest.$ac_ext <<_ACEOF
11011 cat confdefs.h >>conftest.$ac_ext
11012 cat >>conftest.$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11016 #define $ac_func innocuous_$ac_func
11018 /* System header to define __stub macros and hopefully few prototypes,
11019 which can conflict with char $ac_func (); below.
11020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11021 <limits.h> exists even on freestanding compilers. */
11024 # include <limits.h>
11026 # include <assert.h>
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11038 /* The GNU C library defines this for functions which it implements
11039 to always fail with ENOSYS. Some functions are actually named
11040 something starting with __ and the normal name is an alias. */
11041 #if defined __stub_$ac_func || defined __stub___$ac_func
11048 return $ac_func ();
11053 rm -f conftest.$ac_objext conftest$ac_exeext
11054 if { (ac_try="$ac_link"
11055 case "(($ac_try" in
11056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11057 *) ac_try_echo=$ac_try;;
11059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11060 (eval "$ac_link") 2>conftest.er1
11062 grep -v '^ *+' conftest.er1 >conftest.err
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11068 { (case "(($ac_try" in
11069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11070 *) ac_try_echo=$ac_try;;
11072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11073 (eval "$ac_try") 2>&5
11075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11076 (exit $ac_status); }; } &&
11077 { ac_try='test -s conftest$ac_exeext'
11078 { (case "(($ac_try" in
11079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11080 *) ac_try_echo=$ac_try;;
11082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11083 (eval "$ac_try") 2>&5
11085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11086 (exit $ac_status); }; }; then
11087 eval "$as_ac_var=yes"
11089 echo "$as_me: failed program was
:" >&5
11090 sed 's/^/| /' conftest.$ac_ext >&5
11092 eval "$as_ac_var=no
"
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11098 ac_res=`eval echo '${'$as_ac_var'}'`
11099 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11100 echo "${ECHO_T}$ac_res" >&6; }
11101 if test `eval echo '${'$as_ac_var'}'` = yes; then
11102 cat >>confdefs.h <<_ACEOF
11103 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11136 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11139 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11140 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11141 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11142 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11143 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11144 echo $ECHO_N "(cached
) $ECHO_C" >&6
11146 ac_res=`eval echo '${'$as_ac_Header'}'`
11147 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11148 echo "${ECHO_T}$ac_res" >&6; }
11150 # Is the header compilable?
11151 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11152 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11153 cat >conftest.$ac_ext <<_ACEOF
11156 cat confdefs.h >>conftest.$ac_ext
11157 cat >>conftest.$ac_ext <<_ACEOF
11158 /* end confdefs.h. */
11159 $ac_includes_default
11160 #include <$ac_header>
11162 rm -f conftest.$ac_objext
11163 if { (ac_try="$ac_compile"
11164 case "(($ac_try" in
11165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11166 *) ac_try_echo=$ac_try;;
11168 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11169 (eval "$ac_compile") 2>conftest.er1
11171 grep -v '^ *+' conftest.er1 >conftest.err
11173 cat conftest.err >&5
11174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11175 (exit $ac_status); } &&
11176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11177 { (case "(($ac_try" in
11178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11179 *) ac_try_echo=$ac_try;;
11181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11182 (eval "$ac_try") 2>&5
11184 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11185 (exit $ac_status); }; } &&
11186 { ac_try='test -s conftest.$ac_objext'
11187 { (case "(($ac_try" in
11188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11189 *) ac_try_echo=$ac_try;;
11191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11192 (eval "$ac_try") 2>&5
11194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11195 (exit $ac_status); }; }; then
11196 ac_header_compiler=yes
11198 echo "$as_me: failed program was
:" >&5
11199 sed 's/^/| /' conftest.$ac_ext >&5
11201 ac_header_compiler=no
11204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11205 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11206 echo "${ECHO_T}$ac_header_compiler" >&6; }
11208 # Is the header present?
11209 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11210 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11211 cat >conftest.$ac_ext <<_ACEOF
11214 cat confdefs.h >>conftest.$ac_ext
11215 cat >>conftest.$ac_ext <<_ACEOF
11216 /* end confdefs.h. */
11217 #include <$ac_header>
11219 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11220 case "(($ac_try" in
11221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11222 *) ac_try_echo=$ac_try;;
11224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11227 grep -v '^ *+' conftest.er1 >conftest.err
11229 cat conftest.err >&5
11230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11231 (exit $ac_status); } >/dev/null; then
11232 if test -s conftest.err; then
11233 ac_cpp_err=$ac_c_preproc_warn_flag
11234 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11241 if test -z "$ac_cpp_err"; then
11242 ac_header_preproc=yes
11244 echo "$as_me: failed program was
:" >&5
11245 sed 's/^/| /' conftest.$ac_ext >&5
11247 ac_header_preproc=no
11250 rm -f conftest.err conftest.$ac_ext
11251 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11252 echo "${ECHO_T}$ac_header_preproc" >&6; }
11254 # So? What about this header?
11255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11257 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11258 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11259 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11260 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11261 ac_header_preproc=yes
11264 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11265 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11266 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11267 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11268 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11269 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11270 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11271 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11272 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11274 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11275 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11277 ## ----------------------------------- ##
11278 ## Report this to llvmbugs@cs.uiuc.edu ##
11279 ## ----------------------------------- ##
11281 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11284 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11285 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11286 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11287 echo $ECHO_N "(cached
) $ECHO_C" >&6
11289 eval "$as_ac_Header=\
$ac_header_preproc"
11291 ac_res=`eval echo '${'$as_ac_Header'}'`
11292 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11293 echo "${ECHO_T}$ac_res" >&6; }
11296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11297 cat >>confdefs.h <<_ACEOF
11298 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11309 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11311 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11312 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11313 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11314 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11315 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11316 echo $ECHO_N "(cached
) $ECHO_C" >&6
11318 ac_res=`eval echo '${'$as_ac_Header'}'`
11319 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11320 echo "${ECHO_T}$ac_res" >&6; }
11322 # Is the header compilable?
11323 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11324 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11325 cat >conftest.$ac_ext <<_ACEOF
11328 cat confdefs.h >>conftest.$ac_ext
11329 cat >>conftest.$ac_ext <<_ACEOF
11330 /* end confdefs.h. */
11331 $ac_includes_default
11332 #include <$ac_header>
11334 rm -f conftest.$ac_objext
11335 if { (ac_try="$ac_compile"
11336 case "(($ac_try" in
11337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11338 *) ac_try_echo=$ac_try;;
11340 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11341 (eval "$ac_compile") 2>conftest.er1
11343 grep -v '^ *+' conftest.er1 >conftest.err
11345 cat conftest.err >&5
11346 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11347 (exit $ac_status); } &&
11348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11349 { (case "(($ac_try" in
11350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11351 *) ac_try_echo=$ac_try;;
11353 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11354 (eval "$ac_try") 2>&5
11356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11357 (exit $ac_status); }; } &&
11358 { ac_try='test -s conftest.$ac_objext'
11359 { (case "(($ac_try" in
11360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11361 *) ac_try_echo=$ac_try;;
11363 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11364 (eval "$ac_try") 2>&5
11366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11367 (exit $ac_status); }; }; then
11368 ac_header_compiler=yes
11370 echo "$as_me: failed program was
:" >&5
11371 sed 's/^/| /' conftest.$ac_ext >&5
11373 ac_header_compiler=no
11376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11377 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11378 echo "${ECHO_T}$ac_header_compiler" >&6; }
11380 # Is the header present?
11381 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11382 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11383 cat >conftest.$ac_ext <<_ACEOF
11386 cat confdefs.h >>conftest.$ac_ext
11387 cat >>conftest.$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11389 #include <$ac_header>
11391 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11392 case "(($ac_try" in
11393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11399 grep -v '^ *+' conftest.er1 >conftest.err
11401 cat conftest.err >&5
11402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11403 (exit $ac_status); } >/dev/null; then
11404 if test -s conftest.err; then
11405 ac_cpp_err=$ac_c_preproc_warn_flag
11406 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11413 if test -z "$ac_cpp_err"; then
11414 ac_header_preproc=yes
11416 echo "$as_me: failed program was
:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11419 ac_header_preproc=no
11422 rm -f conftest.err conftest.$ac_ext
11423 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11424 echo "${ECHO_T}$ac_header_preproc" >&6; }
11426 # So? What about this header?
11427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11429 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11430 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11431 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11433 ac_header_preproc=yes
11436 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11437 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11438 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11439 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11440 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11441 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11442 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11443 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11444 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11446 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11447 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11449 ## ----------------------------------- ##
11450 ## Report this to llvmbugs@cs.uiuc.edu ##
11451 ## ----------------------------------- ##
11453 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11456 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11457 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11458 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11459 echo $ECHO_N "(cached
) $ECHO_C" >&6
11461 eval "$as_ac_Header=\
$ac_header_preproc"
11463 ac_res=`eval echo '${'$as_ac_Header'}'`
11464 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11465 echo "${ECHO_T}$ac_res" >&6; }
11468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11469 cat >>confdefs.h <<_ACEOF
11470 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11479 for ac_header in string.h strings.h
11481 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11482 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11483 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11484 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11485 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11486 echo $ECHO_N "(cached
) $ECHO_C" >&6
11488 ac_res=`eval echo '${'$as_ac_Header'}'`
11489 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11490 echo "${ECHO_T}$ac_res" >&6; }
11492 # Is the header compilable?
11493 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11494 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11495 cat >conftest.$ac_ext <<_ACEOF
11498 cat confdefs.h >>conftest.$ac_ext
11499 cat >>conftest.$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11501 $ac_includes_default
11502 #include <$ac_header>
11504 rm -f conftest.$ac_objext
11505 if { (ac_try="$ac_compile"
11506 case "(($ac_try" in
11507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11508 *) ac_try_echo=$ac_try;;
11510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11511 (eval "$ac_compile") 2>conftest.er1
11513 grep -v '^ *+' conftest.er1 >conftest.err
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11519 { (case "(($ac_try" in
11520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11521 *) ac_try_echo=$ac_try;;
11523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11524 (eval "$ac_try") 2>&5
11526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11527 (exit $ac_status); }; } &&
11528 { ac_try='test -s conftest.$ac_objext'
11529 { (case "(($ac_try" in
11530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11531 *) ac_try_echo=$ac_try;;
11533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11534 (eval "$ac_try") 2>&5
11536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11537 (exit $ac_status); }; }; then
11538 ac_header_compiler=yes
11540 echo "$as_me: failed program was
:" >&5
11541 sed 's/^/| /' conftest.$ac_ext >&5
11543 ac_header_compiler=no
11546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11547 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11548 echo "${ECHO_T}$ac_header_compiler" >&6; }
11550 # Is the header present?
11551 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11552 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11553 cat >conftest.$ac_ext <<_ACEOF
11556 cat confdefs.h >>conftest.$ac_ext
11557 cat >>conftest.$ac_ext <<_ACEOF
11558 /* end confdefs.h. */
11559 #include <$ac_header>
11561 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11562 case "(($ac_try" in
11563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11564 *) ac_try_echo=$ac_try;;
11566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11567 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11569 grep -v '^ *+' conftest.er1 >conftest.err
11571 cat conftest.err >&5
11572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11573 (exit $ac_status); } >/dev/null; then
11574 if test -s conftest.err; then
11575 ac_cpp_err=$ac_c_preproc_warn_flag
11576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11583 if test -z "$ac_cpp_err"; then
11584 ac_header_preproc=yes
11586 echo "$as_me: failed program was
:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11589 ac_header_preproc=no
11592 rm -f conftest.err conftest.$ac_ext
11593 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11594 echo "${ECHO_T}$ac_header_preproc" >&6; }
11596 # So? What about this header?
11597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11599 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11600 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11601 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11603 ac_header_preproc=yes
11606 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11607 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11608 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11609 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11610 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11611 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11612 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11613 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11614 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11616 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11617 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11619 ## ----------------------------------- ##
11620 ## Report this to llvmbugs@cs.uiuc.edu ##
11621 ## ----------------------------------- ##
11623 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11626 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11627 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11628 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11629 echo $ECHO_N "(cached
) $ECHO_C" >&6
11631 eval "$as_ac_Header=\
$ac_header_preproc"
11633 ac_res=`eval echo '${'$as_ac_Header'}'`
11634 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11635 echo "${ECHO_T}$ac_res" >&6; }
11638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11639 cat >>confdefs.h <<_ACEOF
11640 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11650 for ac_func in strchr index
11652 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11653 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11654 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11655 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11656 echo $ECHO_N "(cached
) $ECHO_C" >&6
11658 cat >conftest.$ac_ext <<_ACEOF
11661 cat confdefs.h >>conftest.$ac_ext
11662 cat >>conftest.$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11666 #define $ac_func innocuous_$ac_func
11668 /* System header to define __stub macros and hopefully few prototypes,
11669 which can conflict with char $ac_func (); below.
11670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11671 <limits.h> exists even on freestanding compilers. */
11674 # include <limits.h>
11676 # include <assert.h>
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11688 /* The GNU C library defines this for functions which it implements
11689 to always fail with ENOSYS. Some functions are actually named
11690 something starting with __ and the normal name is an alias. */
11691 #if defined __stub_$ac_func || defined __stub___$ac_func
11698 return $ac_func ();
11703 rm -f conftest.$ac_objext conftest$ac_exeext
11704 if { (ac_try="$ac_link"
11705 case "(($ac_try" in
11706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11707 *) ac_try_echo=$ac_try;;
11709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11710 (eval "$ac_link") 2>conftest.er1
11712 grep -v '^ *+' conftest.er1 >conftest.err
11714 cat conftest.err >&5
11715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11716 (exit $ac_status); } &&
11717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11718 { (case "(($ac_try" in
11719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11720 *) ac_try_echo=$ac_try;;
11722 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11723 (eval "$ac_try") 2>&5
11725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11726 (exit $ac_status); }; } &&
11727 { ac_try='test -s conftest$ac_exeext'
11728 { (case "(($ac_try" in
11729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11730 *) ac_try_echo=$ac_try;;
11732 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11733 (eval "$ac_try") 2>&5
11735 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11736 (exit $ac_status); }; }; then
11737 eval "$as_ac_var=yes"
11739 echo "$as_me: failed program was
:" >&5
11740 sed 's/^/| /' conftest.$ac_ext >&5
11742 eval "$as_ac_var=no
"
11745 rm -f core conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11748 ac_res=`eval echo '${'$as_ac_var'}'`
11749 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11750 echo "${ECHO_T}$ac_res" >&6; }
11751 if test `eval echo '${'$as_ac_var'}'` = yes; then
11752 cat >>confdefs.h <<_ACEOF
11753 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11761 for ac_func in strrchr rindex
11763 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11764 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11765 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11766 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11767 echo $ECHO_N "(cached
) $ECHO_C" >&6
11769 cat >conftest.$ac_ext <<_ACEOF
11772 cat confdefs.h >>conftest.$ac_ext
11773 cat >>conftest.$ac_ext <<_ACEOF
11774 /* end confdefs.h. */
11775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11777 #define $ac_func innocuous_$ac_func
11779 /* System header to define __stub macros and hopefully few prototypes,
11780 which can conflict with char $ac_func (); below.
11781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11782 <limits.h> exists even on freestanding compilers. */
11785 # include <limits.h>
11787 # include <assert.h>
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11799 /* The GNU C library defines this for functions which it implements
11800 to always fail with ENOSYS. Some functions are actually named
11801 something starting with __ and the normal name is an alias. */
11802 #if defined __stub_$ac_func || defined __stub___$ac_func
11809 return $ac_func ();
11814 rm -f conftest.$ac_objext conftest$ac_exeext
11815 if { (ac_try="$ac_link"
11816 case "(($ac_try" in
11817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11818 *) ac_try_echo=$ac_try;;
11820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11821 (eval "$ac_link") 2>conftest.er1
11823 grep -v '^ *+' conftest.er1 >conftest.err
11825 cat conftest.err >&5
11826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11827 (exit $ac_status); } &&
11828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11829 { (case "(($ac_try" in
11830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11831 *) ac_try_echo=$ac_try;;
11833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11834 (eval "$ac_try") 2>&5
11836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11837 (exit $ac_status); }; } &&
11838 { ac_try='test -s conftest$ac_exeext'
11839 { (case "(($ac_try" in
11840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11841 *) ac_try_echo=$ac_try;;
11843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11844 (eval "$ac_try") 2>&5
11846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 eval "$as_ac_var=yes"
11850 echo "$as_me: failed program was
:" >&5
11851 sed 's/^/| /' conftest.$ac_ext >&5
11853 eval "$as_ac_var=no
"
11856 rm -f core conftest.err conftest.$ac_objext \
11857 conftest$ac_exeext conftest.$ac_ext
11859 ac_res=`eval echo '${'$as_ac_var'}'`
11860 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11861 echo "${ECHO_T}$ac_res" >&6; }
11862 if test `eval echo '${'$as_ac_var'}'` = yes; then
11863 cat >>confdefs.h <<_ACEOF
11864 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11872 for ac_func in memcpy bcopy
11874 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11875 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11876 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11877 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11878 echo $ECHO_N "(cached
) $ECHO_C" >&6
11880 cat >conftest.$ac_ext <<_ACEOF
11883 cat confdefs.h >>conftest.$ac_ext
11884 cat >>conftest.$ac_ext <<_ACEOF
11885 /* end confdefs.h. */
11886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11888 #define $ac_func innocuous_$ac_func
11890 /* System header to define __stub macros and hopefully few prototypes,
11891 which can conflict with char $ac_func (); below.
11892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11893 <limits.h> exists even on freestanding compilers. */
11896 # include <limits.h>
11898 # include <assert.h>
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11910 /* The GNU C library defines this for functions which it implements
11911 to always fail with ENOSYS. Some functions are actually named
11912 something starting with __ and the normal name is an alias. */
11913 #if defined __stub_$ac_func || defined __stub___$ac_func
11920 return $ac_func ();
11925 rm -f conftest.$ac_objext conftest$ac_exeext
11926 if { (ac_try="$ac_link"
11927 case "(($ac_try" in
11928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11929 *) ac_try_echo=$ac_try;;
11931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11932 (eval "$ac_link") 2>conftest.er1
11934 grep -v '^ *+' conftest.er1 >conftest.err
11936 cat conftest.err >&5
11937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11940 { (case "(($ac_try" in
11941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11942 *) ac_try_echo=$ac_try;;
11944 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11945 (eval "$ac_try") 2>&5
11947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11948 (exit $ac_status); }; } &&
11949 { ac_try='test -s conftest$ac_exeext'
11950 { (case "(($ac_try" in
11951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11952 *) ac_try_echo=$ac_try;;
11954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11955 (eval "$ac_try") 2>&5
11957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 eval "$as_ac_var=yes"
11961 echo "$as_me: failed program was
:" >&5
11962 sed 's/^/| /' conftest.$ac_ext >&5
11964 eval "$as_ac_var=no
"
11967 rm -f core conftest.err conftest.$ac_objext \
11968 conftest$ac_exeext conftest.$ac_ext
11970 ac_res=`eval echo '${'$as_ac_var'}'`
11971 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11972 echo "${ECHO_T}$ac_res" >&6; }
11973 if test `eval echo '${'$as_ac_var'}'` = yes; then
11974 cat >>confdefs.h <<_ACEOF
11975 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11983 for ac_func in memmove strcmp
11985 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11986 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11987 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11988 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11989 echo $ECHO_N "(cached
) $ECHO_C" >&6
11991 cat >conftest.$ac_ext <<_ACEOF
11994 cat confdefs.h >>conftest.$ac_ext
11995 cat >>conftest.$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
11997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11999 #define $ac_func innocuous_$ac_func
12001 /* System header to define __stub macros and hopefully few prototypes,
12002 which can conflict with char $ac_func (); below.
12003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 <limits.h> exists even on freestanding compilers. */
12007 # include <limits.h>
12009 # include <assert.h>
12014 /* Override any GCC internal prototype to avoid an error.
12015 Use char because int might match the return type of a GCC
12016 builtin and then its argument prototype would still apply. */
12021 /* The GNU C library defines this for functions which it implements
12022 to always fail with ENOSYS. Some functions are actually named
12023 something starting with __ and the normal name is an alias. */
12024 #if defined __stub_$ac_func || defined __stub___$ac_func
12031 return $ac_func ();
12036 rm -f conftest.$ac_objext conftest$ac_exeext
12037 if { (ac_try="$ac_link"
12038 case "(($ac_try" in
12039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12040 *) ac_try_echo=$ac_try;;
12042 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12043 (eval "$ac_link") 2>conftest.er1
12045 grep -v '^ *+' conftest.er1 >conftest.err
12047 cat conftest.err >&5
12048 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12049 (exit $ac_status); } &&
12050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12051 { (case "(($ac_try" in
12052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12053 *) ac_try_echo=$ac_try;;
12055 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12056 (eval "$ac_try") 2>&5
12058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12059 (exit $ac_status); }; } &&
12060 { ac_try='test -s conftest$ac_exeext'
12061 { (case "(($ac_try" in
12062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12063 *) ac_try_echo=$ac_try;;
12065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12066 (eval "$ac_try") 2>&5
12068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12069 (exit $ac_status); }; }; then
12070 eval "$as_ac_var=yes"
12072 echo "$as_me: failed program was
:" >&5
12073 sed 's/^/| /' conftest.$ac_ext >&5
12075 eval "$as_ac_var=no
"
12078 rm -f core conftest.err conftest.$ac_objext \
12079 conftest$ac_exeext conftest.$ac_ext
12081 ac_res=`eval echo '${'$as_ac_var'}'`
12082 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12083 echo "${ECHO_T}$ac_res" >&6; }
12084 if test `eval echo '${'$as_ac_var'}'` = yes; then
12085 cat >>confdefs.h <<_ACEOF
12086 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12095 for ac_func in closedir opendir readdir
12097 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12098 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12099 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12100 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12101 echo $ECHO_N "(cached
) $ECHO_C" >&6
12103 cat >conftest.$ac_ext <<_ACEOF
12106 cat confdefs.h >>conftest.$ac_ext
12107 cat >>conftest.$ac_ext <<_ACEOF
12108 /* end confdefs.h. */
12109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12111 #define $ac_func innocuous_$ac_func
12113 /* System header to define __stub macros and hopefully few prototypes,
12114 which can conflict with char $ac_func (); below.
12115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12116 <limits.h> exists even on freestanding compilers. */
12119 # include <limits.h>
12121 # include <assert.h>
12126 /* Override any GCC internal prototype to avoid an error.
12127 Use char because int might match the return type of a GCC
12128 builtin and then its argument prototype would still apply. */
12133 /* The GNU C library defines this for functions which it implements
12134 to always fail with ENOSYS. Some functions are actually named
12135 something starting with __ and the normal name is an alias. */
12136 #if defined __stub_$ac_func || defined __stub___$ac_func
12143 return $ac_func ();
12148 rm -f conftest.$ac_objext conftest$ac_exeext
12149 if { (ac_try="$ac_link"
12150 case "(($ac_try" in
12151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12152 *) ac_try_echo=$ac_try;;
12154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12155 (eval "$ac_link") 2>conftest.er1
12157 grep -v '^ *+' conftest.er1 >conftest.err
12159 cat conftest.err >&5
12160 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12161 (exit $ac_status); } &&
12162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12163 { (case "(($ac_try" in
12164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12165 *) ac_try_echo=$ac_try;;
12167 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12168 (eval "$ac_try") 2>&5
12170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12171 (exit $ac_status); }; } &&
12172 { ac_try='test -s conftest$ac_exeext'
12173 { (case "(($ac_try" in
12174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12175 *) ac_try_echo=$ac_try;;
12177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12178 (eval "$ac_try") 2>&5
12180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12181 (exit $ac_status); }; }; then
12182 eval "$as_ac_var=yes"
12184 echo "$as_me: failed program was
:" >&5
12185 sed 's/^/| /' conftest.$ac_ext >&5
12187 eval "$as_ac_var=no
"
12190 rm -f core conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12193 ac_res=`eval echo '${'$as_ac_var'}'`
12194 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12195 echo "${ECHO_T}$ac_res" >&6; }
12196 if test `eval echo '${'$as_ac_var'}'` = yes; then
12197 cat >>confdefs.h <<_ACEOF
12198 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12205 # Check whether --enable-shared was given.
12206 if test "${enable_shared+set}" = set; then
12207 enableval=$enable_shared; p=${PACKAGE-default}
12209 yes) enable_shared=yes ;;
12210 no) enable_shared=no ;;
12213 # Look at the argument we got. We use all the common list separators.
12214 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12215 for pkg in $enableval; do
12217 if test "X
$pkg" = "X
$p"; then
12229 # Check whether --enable-static was given.
12230 if test "${enable_static+set}" = set; then
12231 enableval=$enable_static; p=${PACKAGE-default}
12233 yes) enable_static=yes ;;
12234 no) enable_static=no ;;
12237 # Look at the argument we got. We use all the common list separators.
12238 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12239 for pkg in $enableval; do
12241 if test "X
$pkg" = "X
$p"; then
12253 # Check whether --enable-fast-install was given.
12254 if test "${enable_fast_install+set}" = set; then
12255 enableval=$enable_fast_install; p=${PACKAGE-default}
12257 yes) enable_fast_install=yes ;;
12258 no) enable_fast_install=no ;;
12260 enable_fast_install=no
12261 # Look at the argument we got. We use all the common list separators.
12262 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12263 for pkg in $enableval; do
12265 if test "X
$pkg" = "X
$p"; then
12266 enable_fast_install=yes
12273 enable_fast_install=yes
12277 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12278 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12279 if test "${lt_cv_path_SED+set}" = set; then
12280 echo $ECHO_N "(cached
) $ECHO_C" >&6
12282 # Loop through the user's path and test for sed and gsed.
12283 # Then use that list of sed's as ones to test for truncation.
12284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12285 for as_dir in $PATH
12288 test -z "$as_dir" && as_dir=.
12289 for lt_ac_prog in sed gsed; do
12290 for ac_exec_ext in '' $ac_executable_extensions; do
12291 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12292 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12299 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12300 # along with /bin/sed that truncates output.
12301 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12302 test ! -f $lt_ac_sed && continue
12303 cat /dev/null > conftest.in
12305 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12306 # Check for GNU sed and select it if it is found.
12307 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12308 lt_cv_path_SED=$lt_ac_sed
12312 cat conftest.in conftest.in >conftest.tmp
12313 mv conftest.tmp conftest.in
12314 cp conftest.in conftest.nl
12316 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12317 cmp -s conftest.out conftest.nl || break
12318 # 10000 chars as input seems more than enough
12319 test $lt_ac_count -gt 10 && break
12320 lt_ac_count=`expr $lt_ac_count + 1`
12321 if test $lt_ac_count -gt $lt_ac_max; then
12322 lt_ac_max=$lt_ac_count
12323 lt_cv_path_SED=$lt_ac_sed
12330 SED=$lt_cv_path_SED
12331 { echo "$as_me:$LINENO: result
: $SED" >&5
12332 echo "${ECHO_T}$SED" >&6; }
12335 # Check whether --with-gnu-ld was given.
12336 if test "${with_gnu_ld+set}" = set; then
12337 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12343 if test "$GCC" = yes; then
12344 # Check if gcc -print-prog-name=ld gives a path.
12345 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12346 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12349 # gcc leaves a trailing carriage return which upsets mingw
12350 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12352 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12355 # Accept absolute paths.
12357 re_direlt='/[^/][^/]*/\.\./'
12358 # Canonicalize the pathname of ld
12359 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12360 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12361 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12363 test -z "$LD" && LD="$ac_prog"
12366 # If it fails, then pretend we aren't using GCC.
12370 # If it is relative, then search for the first ld in PATH.
12371 with_gnu_ld=unknown
12374 elif test "$with_gnu_ld" = yes; then
12375 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12376 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12378 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12379 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12381 if test "${lt_cv_path_LD+set}" = set; then
12382 echo $ECHO_N "(cached
) $ECHO_C" >&6
12384 if test -z "$LD"; then
12385 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12386 for ac_dir in $PATH; do
12388 test -z "$ac_dir" && ac_dir=.
12389 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12390 lt_cv_path_LD="$ac_dir/$ac_prog"
12391 # Check to see if the program is GNU ld. I'd rather use --version,
12392 # but apparently some variants of GNU ld only accept -v.
12393 # Break only if it was the GNU/non-GNU ld that we prefer.
12394 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12395 *GNU* | *'with BFD'*)
12396 test "$with_gnu_ld" != no && break
12399 test "$with_gnu_ld" != yes && break
12406 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12410 LD="$lt_cv_path_LD"
12411 if test -n "$LD"; then
12412 { echo "$as_me:$LINENO: result
: $LD" >&5
12413 echo "${ECHO_T}$LD" >&6; }
12415 { echo "$as_me:$LINENO: result
: no
" >&5
12416 echo "${ECHO_T}no
" >&6; }
12418 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12419 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12420 { (exit 1); exit 1; }; }
12421 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12422 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12423 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12424 echo $ECHO_N "(cached
) $ECHO_C" >&6
12426 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12427 case `$LD -v 2>&1 </dev/null` in
12428 *GNU* | *'with BFD'*)
12429 lt_cv_prog_gnu_ld=yes
12432 lt_cv_prog_gnu_ld=no
12436 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12437 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12438 with_gnu_ld=$lt_cv_prog_gnu_ld
12441 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12442 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12443 if test "${lt_cv_ld_reload_flag+set}" = set; then
12444 echo $ECHO_N "(cached
) $ECHO_C" >&6
12446 lt_cv_ld_reload_flag='-r'
12448 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12449 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12450 reload_flag=$lt_cv_ld_reload_flag
12451 case $reload_flag in
12453 *) reload_flag=" $reload_flag" ;;
12455 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12458 if test "$GCC" = yes; then
12459 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12461 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12466 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12467 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12468 if test "${lt_cv_deplibs_check_method+set}" = set; then
12469 echo $ECHO_N "(cached
) $ECHO_C" >&6
12471 lt_cv_file_magic_cmd='$MAGIC_CMD'
12472 lt_cv_file_magic_test_file=
12473 lt_cv_deplibs_check_method='unknown'
12474 # Need to set the preceding variable on all platforms that support
12475 # interlibrary dependencies.
12476 # 'none' -- dependencies not supported.
12477 # `unknown' -- same as none, but documents that we really don't know.
12478 # 'pass_all' -- all dependencies passed with no checks.
12479 # 'test_compile' -- check by making test program.
12480 # 'file_magic [[regex]]' -- check by looking for files in library path
12481 # which responds to the $file_magic_cmd with a given extended regex.
12482 # If you have `file' or equivalent on your system and you're not sure
12483 # whether `pass_all' will *always* work, you probably want this one.
12487 lt_cv_deplibs_check_method=pass_all
12491 lt_cv_deplibs_check_method=pass_all
12495 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12496 lt_cv_file_magic_cmd='/usr/bin/file -L'
12497 lt_cv_file_magic_test_file=/shlib/libc.so
12501 # func_win32_libid is a shell function defined in ltmain.sh
12502 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12503 lt_cv_file_magic_cmd='func_win32_libid'
12507 # Base MSYS/MinGW do not provide the 'file' command needed by
12508 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12509 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12510 lt_cv_file_magic_cmd='$OBJDUMP -f'
12513 darwin* | rhapsody*)
12514 lt_cv_deplibs_check_method=pass_all
12517 freebsd* | kfreebsd*-gnu | dragonfly*)
12518 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12521 # Not sure whether the presence of OpenBSD here was a mistake.
12522 # Let's accept both of them until this is cleared up.
12523 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12524 lt_cv_file_magic_cmd=/usr/bin/file
12525 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12529 lt_cv_deplibs_check_method=pass_all
12534 lt_cv_deplibs_check_method=pass_all
12537 hpux10.20* | hpux11*)
12538 lt_cv_file_magic_cmd=/usr/bin/file
12541 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12542 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12545 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]'
12546 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12549 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12550 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12556 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12557 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12560 irix5* | irix6* | nonstopux*)
12562 *-32|*"-32 ") libmagic=32-bit;;
12563 *-n32|*"-n32 ") libmagic=N32;;
12564 *-64|*"-64 ") libmagic=64-bit;;
12565 *) libmagic=never-match;;
12567 lt_cv_deplibs_check_method=pass_all
12570 # This must be Linux ELF.
12572 lt_cv_deplibs_check_method=pass_all
12576 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12577 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12579 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12584 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12585 lt_cv_file_magic_cmd=/usr/bin/file
12586 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12590 lt_cv_deplibs_check_method=unknown
12594 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12595 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12597 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12601 osf3* | osf4* | osf5*)
12602 lt_cv_deplibs_check_method=pass_all
12606 lt_cv_deplibs_check_method=pass_all
12610 case $host_vendor in
12612 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]'
12613 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12616 lt_cv_deplibs_check_method=pass_all
12619 lt_cv_file_magic_cmd='/bin/file'
12620 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12623 lt_cv_file_magic_cmd='/bin/file'
12624 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12625 lt_cv_file_magic_test_file=/lib/libc.so
12628 lt_cv_deplibs_check_method=pass_all
12631 lt_cv_deplibs_check_method=pass_all
12636 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12637 lt_cv_deplibs_check_method=pass_all
12642 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12643 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12644 file_magic_cmd=$lt_cv_file_magic_cmd
12645 deplibs_check_method=$lt_cv_deplibs_check_method
12646 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12650 # If no C compiler was specified, use CC.
12653 # If no C compiler flags were specified, use CFLAGS.
12654 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12656 # Allow CC to be a program name with arguments.
12659 # Check whether --enable-libtool-lock was given.
12660 if test "${enable_libtool_lock+set}" = set; then
12661 enableval=$enable_libtool_lock;
12664 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12666 # Some flags need to be propagated to the compiler or linker for good
12670 # Find out which ABI we are using.
12671 echo 'int i;' > conftest.$ac_ext
12672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12673 (eval $ac_compile) 2>&5
12675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12676 (exit $ac_status); }; then
12677 case `/usr/bin/file conftest.$ac_objext` in
12679 HPUX_IA64_MODE="32"
12682 HPUX_IA64_MODE="64"
12689 # Find out which ABI we are using.
12690 echo '#line 12690 "configure
"' > conftest.$ac_ext
12691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12692 (eval $ac_compile) 2>&5
12694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12695 (exit $ac_status); }; then
12696 if test "$lt_cv_prog_gnu_ld" = yes; then
12697 case `/usr/bin/file conftest.$ac_objext` in
12699 LD="${LD-ld} -melf32bsmip"
12702 LD="${LD-ld} -melf32bmipn32"
12705 LD="${LD-ld} -melf64bmip"
12709 case `/usr/bin/file conftest.$ac_objext` in
12725 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12726 # Find out which ABI we are using.
12727 echo 'int i;' > conftest.$ac_ext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12729 (eval $ac_compile) 2>&5
12731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12732 (exit $ac_status); }; then
12733 case `/usr/bin/file conftest.o` in
12737 LD="${LD-ld} -m elf_i386
"
12739 ppc64-*linux*|powerpc64-*linux*)
12740 LD="${LD-ld} -m elf32ppclinux
"
12743 LD="${LD-ld} -m elf_s390
"
12746 LD="${LD-ld} -m elf32_sparc
"
12753 LD="${LD-ld} -m elf_x86_64
"
12755 ppc*-*linux*|powerpc*-*linux*)
12756 LD="${LD-ld} -m elf64ppc
"
12759 LD="${LD-ld} -m elf64_s390
"
12762 LD="${LD-ld} -m elf64_sparc
"
12772 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12773 SAVE_CFLAGS="$CFLAGS"
12774 CFLAGS="$CFLAGS -belf"
12775 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12776 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12777 if test "${lt_cv_cc_needs_belf+set}" = set; then
12778 echo $ECHO_N "(cached
) $ECHO_C" >&6
12781 ac_cpp='$CPP $CPPFLAGS'
12782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12786 cat >conftest.$ac_ext <<_ACEOF
12789 cat confdefs.h >>conftest.$ac_ext
12790 cat >>conftest.$ac_ext <<_ACEOF
12791 /* end confdefs.h. */
12801 rm -f conftest.$ac_objext conftest$ac_exeext
12802 if { (ac_try="$ac_link"
12803 case "(($ac_try" in
12804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12805 *) ac_try_echo=$ac_try;;
12807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12808 (eval "$ac_link") 2>conftest.er1
12810 grep -v '^ *+' conftest.er1 >conftest.err
12812 cat conftest.err >&5
12813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12814 (exit $ac_status); } &&
12815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12816 { (case "(($ac_try" in
12817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12818 *) ac_try_echo=$ac_try;;
12820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12821 (eval "$ac_try") 2>&5
12823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12824 (exit $ac_status); }; } &&
12825 { ac_try='test -s conftest$ac_exeext'
12826 { (case "(($ac_try" in
12827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12831 (eval "$ac_try") 2>&5
12833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12834 (exit $ac_status); }; }; then
12835 lt_cv_cc_needs_belf=yes
12837 echo "$as_me: failed program was
:" >&5
12838 sed 's/^/| /' conftest.$ac_ext >&5
12840 lt_cv_cc_needs_belf=no
12843 rm -f core conftest.err conftest.$ac_objext \
12844 conftest$ac_exeext conftest.$ac_ext
12846 ac_cpp='$CPP $CPPFLAGS'
12847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12852 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12853 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12854 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12855 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12856 CFLAGS="$SAVE_CFLAGS"
12860 # Find out which ABI we are using.
12861 echo 'int i;' > conftest.$ac_ext
12862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12863 (eval $ac_compile) 2>&5
12865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12866 (exit $ac_status); }; then
12867 case `/usr/bin/file conftest.o` in
12869 case $lt_cv_prog_gnu_ld in
12870 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12871 *) LD="${LD-ld} -64" ;;
12882 need_locks="$enable_libtool_lock"
12887 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12888 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12889 (test "X
$CXX" != "Xg
++"))) ; then
12891 ac_cpp='$CXXCPP $CPPFLAGS'
12892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12895 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12896 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12897 if test -z "$CXXCPP"; then
12898 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12899 echo $ECHO_N "(cached
) $ECHO_C" >&6
12901 # Double quotes because CXXCPP needs to be expanded
12902 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12904 ac_preproc_ok=false
12905 for ac_cxx_preproc_warn_flag in '' yes
12907 # Use a header file that comes with gcc, so configuring glibc
12908 # with a fresh cross-compiler works.
12909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12910 # <limits.h> exists even on freestanding compilers.
12911 # On the NeXT, cc -E runs the code through the compiler's parser,
12912 # not just through cpp. "Syntax error
" is here to catch this case.
12913 cat >conftest.$ac_ext <<_ACEOF
12916 cat confdefs.h >>conftest.$ac_ext
12917 cat >>conftest.$ac_ext <<_ACEOF
12918 /* end confdefs.h. */
12920 # include <limits.h>
12922 # include <assert.h>
12926 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12927 case "(($ac_try" in
12928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12929 *) ac_try_echo=$ac_try;;
12931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12932 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12934 grep -v '^ *+' conftest.er1 >conftest.err
12936 cat conftest.err >&5
12937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12938 (exit $ac_status); } >/dev/null; then
12939 if test -s conftest.err; then
12940 ac_cpp_err=$ac_cxx_preproc_warn_flag
12941 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12948 if test -z "$ac_cpp_err"; then
12951 echo "$as_me: failed program was
:" >&5
12952 sed 's/^/| /' conftest.$ac_ext >&5
12954 # Broken: fails on valid input.
12958 rm -f conftest.err conftest.$ac_ext
12960 # OK, works on sane cases. Now check whether nonexistent headers
12961 # can be detected and how.
12962 cat >conftest.$ac_ext <<_ACEOF
12965 cat confdefs.h >>conftest.$ac_ext
12966 cat >>conftest.$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12968 #include <ac_nonexistent.h>
12970 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12971 case "(($ac_try" in
12972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12973 *) ac_try_echo=$ac_try;;
12975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12976 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12978 grep -v '^ *+' conftest.er1 >conftest.err
12980 cat conftest.err >&5
12981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12982 (exit $ac_status); } >/dev/null; then
12983 if test -s conftest.err; then
12984 ac_cpp_err=$ac_cxx_preproc_warn_flag
12985 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12992 if test -z "$ac_cpp_err"; then
12993 # Broken: success on invalid input.
12996 echo "$as_me: failed program was
:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
12999 # Passes both tests.
13004 rm -f conftest.err conftest.$ac_ext
13007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13008 rm -f conftest.err conftest.$ac_ext
13009 if $ac_preproc_ok; then
13014 ac_cv_prog_CXXCPP=$CXXCPP
13017 CXXCPP=$ac_cv_prog_CXXCPP
13019 ac_cv_prog_CXXCPP=$CXXCPP
13021 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
13022 echo "${ECHO_T}$CXXCPP" >&6; }
13023 ac_preproc_ok=false
13024 for ac_cxx_preproc_warn_flag in '' yes
13026 # Use a header file that comes with gcc, so configuring glibc
13027 # with a fresh cross-compiler works.
13028 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13029 # <limits.h> exists even on freestanding compilers.
13030 # On the NeXT, cc -E runs the code through the compiler's parser,
13031 # not just through cpp. "Syntax error
" is here to catch this case.
13032 cat >conftest.$ac_ext <<_ACEOF
13035 cat confdefs.h >>conftest.$ac_ext
13036 cat >>conftest.$ac_ext <<_ACEOF
13037 /* end confdefs.h. */
13039 # include <limits.h>
13041 # include <assert.h>
13045 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13046 case "(($ac_try" in
13047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13048 *) ac_try_echo=$ac_try;;
13050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13051 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13053 grep -v '^ *+' conftest.er1 >conftest.err
13055 cat conftest.err >&5
13056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13057 (exit $ac_status); } >/dev/null; then
13058 if test -s conftest.err; then
13059 ac_cpp_err=$ac_cxx_preproc_warn_flag
13060 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13067 if test -z "$ac_cpp_err"; then
13070 echo "$as_me: failed program was
:" >&5
13071 sed 's/^/| /' conftest.$ac_ext >&5
13073 # Broken: fails on valid input.
13077 rm -f conftest.err conftest.$ac_ext
13079 # OK, works on sane cases. Now check whether nonexistent headers
13080 # can be detected and how.
13081 cat >conftest.$ac_ext <<_ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 #include <ac_nonexistent.h>
13089 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13090 case "(($ac_try" in
13091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13092 *) ac_try_echo=$ac_try;;
13094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13095 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13097 grep -v '^ *+' conftest.er1 >conftest.err
13099 cat conftest.err >&5
13100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13101 (exit $ac_status); } >/dev/null; then
13102 if test -s conftest.err; then
13103 ac_cpp_err=$ac_cxx_preproc_warn_flag
13104 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13111 if test -z "$ac_cpp_err"; then
13112 # Broken: success on invalid input.
13115 echo "$as_me: failed program was
:" >&5
13116 sed 's/^/| /' conftest.$ac_ext >&5
13118 # Passes both tests.
13123 rm -f conftest.err conftest.$ac_ext
13126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13127 rm -f conftest.err conftest.$ac_ext
13128 if $ac_preproc_ok; then
13131 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
13132 See \
`config.log' for more details." >&5
13133 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13134 See \`config.log
' for more details." >&2;}
13135 { (exit 1); exit 1; }; }
13139 ac_cpp='$CXXCPP $CPPFLAGS'
13140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13141 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13148 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13149 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13150 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13151 if test -n "$ac_tool_prefix"; then
13152 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
13154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13158 if test "${ac_cv_prog_F77+set}" = set; then
13159 echo $ECHO_N "(cached) $ECHO_C" >&6
13161 if test -n "$F77"; then
13162 ac_cv_prog_F77="$F77" # Let the user override the test.
13164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13165 for as_dir in $PATH
13168 test -z "$as_dir" && as_dir=.
13169 for ac_exec_ext in '' $ac_executable_extensions; do
13170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13171 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13181 F77=$ac_cv_prog_F77
13182 if test -n "$F77"; then
13183 { echo "$as_me:$LINENO: result: $F77" >&5
13184 echo "${ECHO_T}$F77" >&6; }
13186 { echo "$as_me:$LINENO: result: no" >&5
13187 echo "${ECHO_T}no" >&6; }
13191 test -n "$F77" && break
13194 if test -z "$F77"; then
13196 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
13198 # Extract the first word of "$ac_prog", so it can be a program name with args.
13199 set dummy $ac_prog; ac_word=$2
13200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13202 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13203 echo $ECHO_N "(cached) $ECHO_C" >&6
13205 if test -n "$ac_ct_F77"; then
13206 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $PATH
13212 test -z "$as_dir" && as_dir=.
13213 for ac_exec_ext in '' $ac_executable_extensions; do
13214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13215 ac_cv_prog_ac_ct_F77="$ac_prog"
13216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13225 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13226 if test -n "$ac_ct_F77"; then
13227 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13228 echo "${ECHO_T}$ac_ct_F77" >&6; }
13230 { echo "$as_me:$LINENO: result: no" >&5
13231 echo "${ECHO_T}no" >&6; }
13235 test -n "$ac_ct_F77" && break
13238 if test "x$ac_ct_F77" = x; then
13241 case $cross_compiling:$ac_tool_warned in
13243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13244 whose name does not start with the host triplet. If you think this
13245 configuration is useful to you, please write to autoconf@gnu.org." >&5
13246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13247 whose name does not start with the host triplet. If you think this
13248 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13249 ac_tool_warned=yes ;;
13256 # Provide some information about the compiler.
13257 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13258 ac_compiler=`set X $ac_compile; echo $2`
13259 { (ac_try="$ac_compiler --version >&5"
13260 case "(($ac_try" in
13261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13262 *) ac_try_echo=$ac_try;;
13264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13265 (eval "$ac_compiler --version >&5") 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }
13269 { (ac_try="$ac_compiler -v >&5"
13270 case "(($ac_try" in
13271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13272 *) ac_try_echo=$ac_try;;
13274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13275 (eval "$ac_compiler -v >&5") 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }
13279 { (ac_try="$ac_compiler -V >&5"
13280 case "(($ac_try" in
13281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282 *) ac_try_echo=$ac_try;;
13284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13285 (eval "$ac_compiler -V >&5") 2>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }
13291 # If we don't use
`.F' as extension, the preprocessor is not run on the
13292 # input file. (Note that this only needs to work for GNU compilers.)
13293 ac_save_ext=$ac_ext
13295 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13296 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13297 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13298 echo $ECHO_N "(cached) $ECHO_C" >&6
13300 cat >conftest.$ac_ext <<_ACEOF
13308 rm -f conftest.$ac_objext
13309 if { (ac_try="$ac_compile"
13310 case "(($ac_try" in
13311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13312 *) ac_try_echo
=$ac_try;;
13314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13315 (eval "$ac_compile") 2>conftest.er1
13317 grep -v '^ *+' conftest.er1
>conftest.err
13319 cat conftest.err
>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); } &&
13322 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13323 { (case "(($ac_try" in
13324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13325 *) ac_try_echo=$ac_try;;
13327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13328 (eval "$ac_try") 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; } &&
13332 { ac_try='test -s conftest.$ac_objext'
13333 { (case "(($ac_try" in
13334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13335 *) ac_try_echo
=$ac_try;;
13337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13338 (eval "$ac_try") 2>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13342 ac_compiler_gnu
=yes
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.
$ac_ext >&5
13350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13351 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13354 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13355 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13356 ac_ext
=$ac_save_ext
13357 ac_test_FFLAGS
=${FFLAGS+set}
13358 ac_save_FFLAGS
=$FFLAGS
13360 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13361 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13362 if test "${ac_cv_prog_f77_g+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13366 cat >conftest.
$ac_ext <<_ACEOF
13371 rm -f conftest.
$ac_objext
13372 if { (ac_try
="$ac_compile"
13373 case "(($ac_try" in
13374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13375 *) ac_try_echo=$ac_try;;
13377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13378 (eval "$ac_compile") 2>conftest.er1
13380 grep -v '^ *+' conftest.er1 >conftest.err
13382 cat conftest.err >&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } &&
13385 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13386 { (case "(($ac_try" in
13387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13388 *) ac_try_echo
=$ac_try;;
13390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13391 (eval "$ac_try") 2>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); }; } &&
13395 { ac_try
='test -s conftest.$ac_objext'
13396 { (case "(($ac_try" in
13397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13398 *) ac_try_echo=$ac_try;;
13400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13401 (eval "$ac_try") 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 ac_cv_prog_f77_g=yes
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13410 ac_cv_prog_f77_g=no
13413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13416 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13417 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13418 if test "$ac_test_FFLAGS" = set; then
13419 FFLAGS=$ac_save_FFLAGS
13420 elif test $ac_cv_prog_f77_g = yes; then
13421 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13427 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13434 G77=`test $ac_compiler_gnu = yes && echo yes`
13436 ac_cpp='$CPP $CPPFLAGS'
13437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13443 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13445 # find the maximum length of command line arguments
13446 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13447 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13448 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13456 # On DJGPP, this test can blow up pretty badly due to problems in libc
13457 # (any single argument exceeding 2000 bytes causes a buffer overrun
13458 # during glob expansion). Even if it were fixed, the result of this
13459 # check would be larger than it should be.
13460 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13464 # Under GNU Hurd, this test is not required because there is
13465 # no limit to the length of command line arguments.
13466 # Libtool will interpret -1 as no limit whatsoever
13467 lt_cv_sys_max_cmd_len=-1;
13471 # On Win9x/ME, this test blows up -- it succeeds, but takes
13472 # about 5 minutes as the teststring grows exponentially.
13473 # Worse, since 9x/ME are not pre-emptively multitasking,
13474 # you end up with a "frozen" computer, even though with patience
13475 # the test eventually succeeds (with a max line length of 256k).
13476 # Instead, let's just punt: use the minimum linelength reported by
13477 # all of the supported platforms: 8192 (on NT/2K/XP).
13478 lt_cv_sys_max_cmd_len=8192;
13482 # On AmigaOS with pdksh, this test takes hours, literally.
13483 # So we just punt and use a minimum line length of 8192.
13484 lt_cv_sys_max_cmd_len=8192;
13487 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13488 # This has been around since 386BSD, at least. Likely further.
13489 if test -x /sbin/sysctl; then
13490 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13491 elif test -x /usr/sbin/sysctl; then
13492 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13494 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13496 # And add a safety zone
13497 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13498 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13502 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13503 lt_cv_sys_max_cmd_len=196608
13507 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13508 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13509 # nice to cause kernel panics so lets avoid the loop below.
13510 # First set a reasonable default.
13511 lt_cv_sys_max_cmd_len=16384
13513 if test -x /sbin/sysconfig; then
13514 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13515 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13520 lt_cv_sys_max_cmd_len=102400
13522 sysv5* | sco5v6* | sysv4.2uw2*)
13523 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13524 if test -n "$kargmax"; then
13525 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13527 lt_cv_sys_max_cmd_len=32768
13531 # If test is not a shell built-in, we'll probably end up computing a
13532 # maximum length that is only half of the actual maximum length, but
13534 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13535 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13536 = "XX$teststring") >/dev/null 2>&1 &&
13537 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13538 lt_cv_sys_max_cmd_len=$new_result &&
13539 test $i != 17 # 1/2 MB should be enough
13542 teststring=$teststring$teststring
13545 # Add a significant safety factor because C++ compilers can tack on massive
13546 # amounts of additional arguments before passing them to the linker.
13547 # It appears as though 1/2 is a usable value.
13548 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13554 if test -n $lt_cv_sys_max_cmd_len ; then
13555 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13556 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13558 { echo "$as_me:$LINENO: result: none" >&5
13559 echo "${ECHO_T}none" >&6; }
13565 # Check for command to grab the raw symbol name followed by C symbol from nm.
13566 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13567 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13568 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 # These are sane defaults that work on at least a few old systems.
13573 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13575 # Character class describing NM global symbol codes.
13576 symcode='[BCDEGRST]'
13578 # Regexp to match symbols that can be accessed directly from C.
13579 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13581 # Transform an extracted symbol line into a proper C declaration
13582 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13584 # Transform an extracted symbol line into symbol name and symbol address
13585 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'"
13587 # Define system-specific variables.
13592 cygwin* | mingw* | pw32*)
13593 symcode='[ABCDGISTW]'
13595 hpux*) # Its linker distinguishes data from code symbols
13596 if test "$host_cpu" = ia64; then
13597 symcode='[ABCDEGRST]'
13599 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13600 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'"
13603 if test "$host_cpu" = ia64; then
13604 symcode='[ABCDGIRSTW]'
13605 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13606 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'"
13609 irix* | nonstopux*)
13610 symcode='[BCDEGRST]'
13613 symcode='[BCDEGQRST]'
13624 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13632 # Handle CRLF in mingw tool chain
13636 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13640 # If we're using GNU nm, then use its standard symbol codes.
13641 case `$NM -V 2>&1` in
13642 *GNU* | *'with BFD'*)
13643 symcode='[ABCDGIRSTW]' ;;
13646 # Try without a prefix undercore, then with it.
13647 for ac_symprfx in "" "_"; do
13649 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13650 symxfrm="\\1 $ac_symprfx\\2 \\2"
13652 # Write the raw and C identifiers.
13653 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13655 # Check to see that the pipe works correctly.
13659 cat > conftest.$ac_ext <<EOF
13664 void nm_test_func(){}
13668 int main(){nm_test_var='a';nm_test_func();return(0);}
13671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13672 (eval $ac_compile) 2>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; then
13676 # Now try to grab the symbols.
13678 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13679 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); } && test -s "$nlist"; then
13683 # Try sorting and uniquifying the output.
13684 if sort "$nlist" | uniq > "$nlist"T; then
13685 mv -f "$nlist"T "$nlist"
13690 # Make sure that we snagged all the symbols we need.
13691 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13692 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13693 cat <<EOF > conftest.$ac_ext
13699 # Now generate the symbol file.
13700 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13702 cat <<EOF >> conftest.$ac_ext
13703 #if defined (__STDC__) && __STDC__
13704 # define lt_ptr_t void *
13706 # define lt_ptr_t char *
13710 /* The mapping between symbol names and symbols. */
13715 lt_preloaded_symbols[] =
13718 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13719 cat <<\EOF >> conftest.$ac_ext
13727 # Now try linking the two files.
13728 mv conftest.$ac_objext conftstm.$ac_objext
13729 lt_save_LIBS="$LIBS"
13730 lt_save_CFLAGS="$CFLAGS"
13731 LIBS="conftstm.$ac_objext"
13732 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13734 (eval $ac_link) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13740 LIBS="$lt_save_LIBS"
13741 CFLAGS="$lt_save_CFLAGS"
13743 echo "cannot find nm_test_func in $nlist" >&5
13746 echo "cannot find nm_test_var in $nlist" >&5
13749 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13752 echo "$progname: failed program was:" >&5
13753 cat conftest.$ac_ext >&5
13755 rm -f conftest* conftst*
13757 # Do not use the global_symbol_pipe unless it works.
13758 if test "$pipe_works" = yes; then
13761 lt_cv_sys_global_symbol_pipe=
13767 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13768 lt_cv_sys_global_symbol_to_cdecl=
13770 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13771 { echo "$as_me:$LINENO: result: failed" >&5
13772 echo "${ECHO_T}failed" >&6; }
13774 { echo "$as_me:$LINENO: result: ok" >&5
13775 echo "${ECHO_T}ok" >&6; }
13778 { echo "$as_me:$LINENO: checking for objdir" >&5
13779 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13780 if test "${lt_cv_objdir+set}" = set; then
13781 echo $ECHO_N "(cached) $ECHO_C" >&6
13783 rm -f .libs 2>/dev/null
13784 mkdir .libs 2>/dev/null
13785 if test -d .libs; then
13788 # MS-DOS does not allow filenames that begin with a dot.
13791 rmdir .libs 2>/dev/null
13793 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13794 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13795 objdir=$lt_cv_objdir
13803 # AIX sometimes has problems with the GCC collect2 program. For some
13804 # reason, if we set the COLLECT_NAMES environment variable, the problems
13805 # vanish in a puff of smoke.
13806 if test "X${COLLECT_NAMES+set}" != Xset; then
13808 export COLLECT_NAMES
13813 # Sed substitution that helps us do robust quoting. It backslashifies
13814 # metacharacters that are still active within double-quoted strings.
13815 Xsed='sed -e 1s/^X//'
13816 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13818 # Same as above, but do not quote variable references.
13819 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13821 # Sed substitution to delay expansion of an escaped shell variable in a
13822 # double_quote_subst'ed string.
13823 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13825 # Sed substitution to avoid accidental globbing in evaled expressions
13826 no_glob_subst='s/\*/\\\*/g'
13831 # Global variables:
13832 default_ofile=mklib
13833 can_build_shared=yes
13835 # All known linkers require a `.a' archive for static linking (except MSVC,
13836 # which needs '.lib').
13838 ltmain="$ac_aux_dir/ltmain.sh
"
13839 ofile="$default_ofile"
13840 with_gnu_ld="$lt_cv_prog_gnu_ld"
13842 if test -n "$ac_tool_prefix"; then
13843 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13844 set dummy ${ac_tool_prefix}ar; ac_word=$2
13845 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13846 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13847 if test "${ac_cv_prog_AR+set}" = set; then
13848 echo $ECHO_N "(cached
) $ECHO_C" >&6
13850 if test -n "$AR"; then
13851 ac_cv_prog_AR="$AR" # Let the user override the test.
13853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13854 for as_dir in $PATH
13857 test -z "$as_dir" && as_dir=.
13858 for ac_exec_ext in '' $ac_executable_extensions; do
13859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13860 ac_cv_prog_AR="${ac_tool_prefix}ar"
13861 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13871 if test -n "$AR"; then
13872 { echo "$as_me:$LINENO: result
: $AR" >&5
13873 echo "${ECHO_T}$AR" >&6; }
13875 { echo "$as_me:$LINENO: result
: no
" >&5
13876 echo "${ECHO_T}no
" >&6; }
13881 if test -z "$ac_cv_prog_AR"; then
13883 # Extract the first word of "ar", so it can be a program name with args.
13884 set dummy ar; ac_word=$2
13885 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13886 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13887 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13888 echo $ECHO_N "(cached
) $ECHO_C" >&6
13890 if test -n "$ac_ct_AR"; then
13891 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13894 for as_dir in $PATH
13897 test -z "$as_dir" && as_dir=.
13898 for ac_exec_ext in '' $ac_executable_extensions; do
13899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13900 ac_cv_prog_ac_ct_AR="ar"
13901 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13910 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13911 if test -n "$ac_ct_AR"; then
13912 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13913 echo "${ECHO_T}$ac_ct_AR" >&6; }
13915 { echo "$as_me:$LINENO: result
: no
" >&5
13916 echo "${ECHO_T}no
" >&6; }
13919 if test "x
$ac_ct_AR" = x; then
13922 case $cross_compiling:$ac_tool_warned in
13924 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13925 whose name does not start with the
host triplet. If you think this
13926 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13927 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13928 whose name does not start with the
host triplet. If you think this
13929 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13930 ac_tool_warned=yes ;;
13935 AR="$ac_cv_prog_AR"
13938 if test -n "$ac_tool_prefix"; then
13939 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13940 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13941 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13942 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13943 if test "${ac_cv_prog_RANLIB+set}" = set; then
13944 echo $ECHO_N "(cached
) $ECHO_C" >&6
13946 if test -n "$RANLIB"; then
13947 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13950 for as_dir in $PATH
13953 test -z "$as_dir" && as_dir=.
13954 for ac_exec_ext in '' $ac_executable_extensions; do
13955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13956 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13957 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13966 RANLIB=$ac_cv_prog_RANLIB
13967 if test -n "$RANLIB"; then
13968 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
13969 echo "${ECHO_T}$RANLIB" >&6; }
13971 { echo "$as_me:$LINENO: result
: no
" >&5
13972 echo "${ECHO_T}no
" >&6; }
13977 if test -z "$ac_cv_prog_RANLIB"; then
13978 ac_ct_RANLIB=$RANLIB
13979 # Extract the first word of "ranlib
", so it can be a program name with args.
13980 set dummy ranlib; ac_word=$2
13981 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13982 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13983 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13984 echo $ECHO_N "(cached
) $ECHO_C" >&6
13986 if test -n "$ac_ct_RANLIB"; then
13987 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990 for as_dir in $PATH
13993 test -z "$as_dir" && as_dir=.
13994 for ac_exec_ext in '' $ac_executable_extensions; do
13995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13996 ac_cv_prog_ac_ct_RANLIB="ranlib
"
13997 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14006 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14007 if test -n "$ac_ct_RANLIB"; then
14008 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
14009 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14011 { echo "$as_me:$LINENO: result
: no
" >&5
14012 echo "${ECHO_T}no
" >&6; }
14015 if test "x
$ac_ct_RANLIB" = x; then
14018 case $cross_compiling:$ac_tool_warned in
14020 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14021 whose name does not start with the
host triplet. If you think this
14022 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14023 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14024 whose name does not start with the
host triplet. If you think this
14025 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14026 ac_tool_warned=yes ;;
14028 RANLIB=$ac_ct_RANLIB
14031 RANLIB="$ac_cv_prog_RANLIB"
14034 if test -n "$ac_tool_prefix"; then
14035 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14036 set dummy ${ac_tool_prefix}strip; ac_word=$2
14037 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14039 if test "${ac_cv_prog_STRIP+set}" = set; then
14040 echo $ECHO_N "(cached
) $ECHO_C" >&6
14042 if test -n "$STRIP"; then
14043 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14046 for as_dir in $PATH
14049 test -z "$as_dir" && as_dir=.
14050 for ac_exec_ext in '' $ac_executable_extensions; do
14051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14052 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14062 STRIP=$ac_cv_prog_STRIP
14063 if test -n "$STRIP"; then
14064 { echo "$as_me:$LINENO: result
: $STRIP" >&5
14065 echo "${ECHO_T}$STRIP" >&6; }
14067 { echo "$as_me:$LINENO: result
: no
" >&5
14068 echo "${ECHO_T}no
" >&6; }
14073 if test -z "$ac_cv_prog_STRIP"; then
14075 # Extract the first word of "strip
", so it can be a program name with args.
14076 set dummy strip; ac_word=$2
14077 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14078 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14079 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14080 echo $ECHO_N "(cached
) $ECHO_C" >&6
14082 if test -n "$ac_ct_STRIP"; then
14083 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14086 for as_dir in $PATH
14089 test -z "$as_dir" && as_dir=.
14090 for ac_exec_ext in '' $ac_executable_extensions; do
14091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14092 ac_cv_prog_ac_ct_STRIP="strip
"
14093 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14102 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14103 if test -n "$ac_ct_STRIP"; then
14104 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
14105 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14107 { echo "$as_me:$LINENO: result
: no
" >&5
14108 echo "${ECHO_T}no
" >&6; }
14111 if test "x
$ac_ct_STRIP" = x; then
14114 case $cross_compiling:$ac_tool_warned in
14116 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14117 whose name does not start with the
host triplet. If you think this
14118 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14119 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14120 whose name does not start with the
host triplet. If you think this
14121 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14122 ac_tool_warned=yes ;;
14127 STRIP="$ac_cv_prog_STRIP"
14132 old_CFLAGS="$CFLAGS"
14134 # Set sane defaults for various variables
14135 test -z "$AR" && AR=ar
14136 test -z "$AR_FLAGS" && AR_FLAGS=cru
14137 test -z "$AS" && AS=as
14138 test -z "$CC" && CC=cc
14139 test -z "$LTCC" && LTCC=$CC
14140 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14141 test -z "$DLLTOOL" && DLLTOOL=dlltool
14142 test -z "$LD" && LD=ld
14143 test -z "$LN_S" && LN_S="ln -s"
14144 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14145 test -z "$NM" && NM=nm
14146 test -z "$SED" && SED=sed
14147 test -z "$OBJDUMP" && OBJDUMP=objdump
14148 test -z "$RANLIB" && RANLIB=:
14149 test -z "$STRIP" && STRIP=:
14150 test -z "$ac_objext" && ac_objext=o
14152 # Determine commands to create old-style static archives.
14153 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14154 old_postinstall_cmds='chmod 644 $oldlib'
14155 old_postuninstall_cmds=
14157 if test -n "$RANLIB"; then
14160 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
14163 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
14166 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
14169 for cc_temp in $compiler""; do
14171 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14172 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14177 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14180 # Only perform the check for file, if the check method requires it
14181 case $deplibs_check_method in
14183 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14184 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14185 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14186 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14187 echo $ECHO_N "(cached
) $ECHO_C" >&6
14191 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14194 lt_save_MAGIC_CMD="$MAGIC_CMD"
14195 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14196 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14197 for ac_dir in $ac_dummy; do
14199 test -z "$ac_dir" && ac_dir=.
14200 if test -f $ac_dir/${ac_tool_prefix}file; then
14201 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14202 if test -n "$file_magic_test_file"; then
14203 case $deplibs_check_method in
14205 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14206 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14207 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14208 $EGREP "$file_magic_regex" > /dev/null; then
14213 *** Warning: the command libtool uses to detect shared libraries,
14214 *** $file_magic_cmd, produces output that libtool cannot recognize.
14215 *** The result is that libtool may fail to recognize shared libraries
14216 *** as such. This will affect the creation of libtool libraries that
14217 *** depend on shared libraries, but programs linked with such libtool
14218 *** libraries will work regardless of this problem. Nevertheless, you
14219 *** may want to report the problem to your system manager and/or to
14220 *** bug-libtool@gnu.org
14230 MAGIC_CMD="$lt_save_MAGIC_CMD"
14235 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14236 if test -n "$MAGIC_CMD"; then
14237 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14238 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14240 { echo "$as_me:$LINENO: result
: no
" >&5
14241 echo "${ECHO_T}no
" >&6; }
14244 if test -z "$lt_cv_path_MAGIC_CMD"; then
14245 if test -n "$ac_tool_prefix"; then
14246 { echo "$as_me:$LINENO: checking
for file" >&5
14247 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14248 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14249 echo $ECHO_N "(cached
) $ECHO_C" >&6
14253 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14256 lt_save_MAGIC_CMD="$MAGIC_CMD"
14257 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14258 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14259 for ac_dir in $ac_dummy; do
14261 test -z "$ac_dir" && ac_dir=.
14262 if test -f $ac_dir/file; then
14263 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14264 if test -n "$file_magic_test_file"; then
14265 case $deplibs_check_method in
14267 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14268 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14269 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14270 $EGREP "$file_magic_regex" > /dev/null; then
14275 *** Warning: the command libtool uses to detect shared libraries,
14276 *** $file_magic_cmd, produces output that libtool cannot recognize.
14277 *** The result is that libtool may fail to recognize shared libraries
14278 *** as such. This will affect the creation of libtool libraries that
14279 *** depend on shared libraries, but programs linked with such libtool
14280 *** libraries will work regardless of this problem. Nevertheless, you
14281 *** may want to report the problem to your system manager and/or to
14282 *** bug-libtool@gnu.org
14292 MAGIC_CMD="$lt_save_MAGIC_CMD"
14297 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14298 if test -n "$MAGIC_CMD"; then
14299 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14300 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14302 { echo "$as_me:$LINENO: result
: no
" >&5
14303 echo "${ECHO_T}no
" >&6; }
14316 enable_win32_dll=no
14318 # Check whether --enable-libtool-lock was given.
14319 if test "${enable_libtool_lock+set}" = set; then
14320 enableval=$enable_libtool_lock;
14323 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14326 # Check whether --with-pic was given.
14327 if test "${with_pic+set}" = set; then
14328 withval=$with_pic; pic_mode="$withval"
14333 test -z "$pic_mode" && pic_mode=default
14335 # Use C for the default configuration in the libtool script
14339 ac_cpp='$CPP $CPPFLAGS'
14340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14345 # Source file extension for C test sources.
14348 # Object file extension for compiled C test sources.
14352 # Code to be used in simple compile tests
14353 lt_simple_compile_test_code="int some_variable
= 0;\n"
14355 # Code to be used in simple link tests
14356 lt_simple_link_test_code='int main(){return(0);}\n'
14359 # If no C compiler was specified, use CC.
14362 # If no C compiler flags were specified, use CFLAGS.
14363 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14365 # Allow CC to be a program name with arguments.
14369 # save warnings/boilerplate of simple test code
14370 ac_outfile=conftest.$ac_objext
14371 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14372 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14373 _lt_compiler_boilerplate=`cat conftest.err`
14376 ac_outfile=conftest.$ac_objext
14377 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14378 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14379 _lt_linker_boilerplate=`cat conftest.err`
14384 lt_prog_compiler_no_builtin_flag=
14386 if test "$GCC" = yes; then
14387 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14390 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14391 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14392 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14393 echo $ECHO_N "(cached
) $ECHO_C" >&6
14395 lt_cv_prog_compiler_rtti_exceptions=no
14396 ac_outfile=conftest.$ac_objext
14397 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14398 lt_compiler_flag="-fno-rtti -fno-exceptions"
14399 # Insert the option either (1) after the last *FLAGS variable, or
14400 # (2) before a word containing "conftest.
", or (3) at the end.
14401 # Note that $ac_compile itself does not contain backslashes and begins
14402 # with a dollar sign (not a hyphen), so the echo should work correctly.
14403 # The option is referenced via a variable to avoid confusing sed.
14404 lt_compile=`echo "$ac_compile" | $SED \
14405 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14406 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14407 -e 's:$: $lt_compiler_flag:'`
14408 (eval echo "\"\
$as_me:14408: $lt_compile\"" >&5)
14409 (eval "$lt_compile" 2>conftest.err)
14411 cat conftest.err >&5
14412 echo "$as_me:14412: \$?
= $ac_status" >&5
14413 if (exit $ac_status) && test -s "$ac_outfile"; then
14414 # The compiler can only warn and ignore the option if not recognized
14415 # So say no if there are warnings other than the usual output.
14416 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14417 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14418 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14419 lt_cv_prog_compiler_rtti_exceptions=yes
14425 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14426 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14428 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14429 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14436 lt_prog_compiler_wl=
14437 lt_prog_compiler_pic=
14438 lt_prog_compiler_static=
14440 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14441 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14443 if test "$GCC" = yes; then
14444 lt_prog_compiler_wl='-Wl,'
14445 lt_prog_compiler_static='-static'
14449 # All AIX code is PIC.
14450 if test "$host_cpu" = ia64; then
14451 # AIX 5 now supports IA64 processor
14452 lt_prog_compiler_static='-Bstatic'
14457 # FIXME: we need at least 68020 code to build shared libraries, but
14458 # adding the `-m68020' flag to GCC prevents building anything better,
14460 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14463 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14464 # PIC is the default for these OSes.
14467 mingw* | pw32* | os2*)
14468 # This hack is so that the source file can tell whether it is being
14469 # built for inclusion in a dll (and should export symbols for example).
14470 lt_prog_compiler_pic='-DDLL_EXPORT'
14473 darwin* | rhapsody*)
14474 # PIC is the default on this platform
14475 # Common symbols not allowed in MH_DYLIB files
14476 lt_prog_compiler_pic='-fno-common'
14480 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14481 # Instead, we relocate shared libraries at runtime.
14485 # Just because we use GCC doesn't mean we suddenly get shared libraries
14486 # on systems that don't support them.
14487 lt_prog_compiler_can_build_shared=no
14492 if test -d /usr/nec; then
14493 lt_prog_compiler_pic=-Kconform_pic
14498 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14499 # not for PA HP-UX.
14505 lt_prog_compiler_pic='-fPIC'
14511 lt_prog_compiler_pic='-fPIC'
14515 # PORTME Check for flag to pass linker flags through the system compiler.
14518 lt_prog_compiler_wl='-Wl,'
14519 if test "$host_cpu" = ia64; then
14520 # AIX 5 now supports IA64 processor
14521 lt_prog_compiler_static='-Bstatic'
14523 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14527 # PIC is the default on this platform
14528 # Common symbols not allowed in MH_DYLIB files
14529 case $cc_basename in
14531 lt_prog_compiler_pic='-qnocommon'
14532 lt_prog_compiler_wl='-Wl,'
14537 mingw* | pw32* | os2*)
14538 # This hack is so that the source file can tell whether it is being
14539 # built for inclusion in a dll (and should export symbols for example).
14540 lt_prog_compiler_pic='-DDLL_EXPORT'
14543 hpux9* | hpux10* | hpux11*)
14544 lt_prog_compiler_wl='-Wl,'
14545 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14546 # not for PA HP-UX.
14552 lt_prog_compiler_pic='+Z'
14555 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14556 lt_prog_compiler_static='${wl}-a ${wl}archive'
14559 irix5* | irix6* | nonstopux*)
14560 lt_prog_compiler_wl='-Wl,'
14561 # PIC (with -KPIC) is the default.
14562 lt_prog_compiler_static='-non_shared'
14566 lt_prog_compiler_pic='-KPIC'
14567 lt_prog_compiler_static='-Bstatic'
14571 case $cc_basename in
14573 lt_prog_compiler_wl='-Wl,'
14574 lt_prog_compiler_pic='-KPIC'
14575 lt_prog_compiler_static='-static'
14577 pgcc* | pgf77* | pgf90* | pgf95*)
14578 # Portland Group compilers (*not* the Pentium gcc compiler,
14579 # which looks to be a dead project)
14580 lt_prog_compiler_wl='-Wl,'
14581 lt_prog_compiler_pic='-fpic'
14582 lt_prog_compiler_static='-Bstatic'
14585 lt_prog_compiler_wl='-Wl,'
14586 # All Alpha code is PIC.
14587 lt_prog_compiler_static='-non_shared'
14592 osf3* | osf4* | osf5*)
14593 lt_prog_compiler_wl='-Wl,'
14594 # All OSF/1 code is PIC.
14595 lt_prog_compiler_static='-non_shared'
14599 lt_prog_compiler_pic='-KPIC'
14600 lt_prog_compiler_static='-Bstatic'
14601 case $cc_basename in
14602 f77* | f90* | f95*)
14603 lt_prog_compiler_wl='-Qoption ld ';;
14605 lt_prog_compiler_wl='-Wl,';;
14610 lt_prog_compiler_wl='-Qoption ld '
14611 lt_prog_compiler_pic='-PIC'
14612 lt_prog_compiler_static='-Bstatic'
14615 sysv4 | sysv4.2uw2* | sysv4.3*)
14616 lt_prog_compiler_wl='-Wl,'
14617 lt_prog_compiler_pic='-KPIC'
14618 lt_prog_compiler_static='-Bstatic'
14622 if test -d /usr/nec ;then
14623 lt_prog_compiler_pic='-Kconform_pic'
14624 lt_prog_compiler_static='-Bstatic'
14628 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14629 lt_prog_compiler_wl='-Wl,'
14630 lt_prog_compiler_pic='-KPIC'
14631 lt_prog_compiler_static='-Bstatic'
14635 lt_prog_compiler_wl='-Wl,'
14636 lt_prog_compiler_can_build_shared=no
14640 lt_prog_compiler_pic='-pic'
14641 lt_prog_compiler_static='-Bstatic'
14645 lt_prog_compiler_can_build_shared=no
14650 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14651 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14654 # Check to make sure the PIC flag actually works.
14656 if test -n "$lt_prog_compiler_pic"; then
14658 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14659 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14660 if test "${lt_prog_compiler_pic_works+set}" = set; then
14661 echo $ECHO_N "(cached
) $ECHO_C" >&6
14663 lt_prog_compiler_pic_works=no
14664 ac_outfile=conftest.$ac_objext
14665 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14666 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14667 # Insert the option either (1) after the last *FLAGS variable, or
14668 # (2) before a word containing "conftest.
", or (3) at the end.
14669 # Note that $ac_compile itself does not contain backslashes and begins
14670 # with a dollar sign (not a hyphen), so the echo should work correctly.
14671 # The option is referenced via a variable to avoid confusing sed.
14672 lt_compile=`echo "$ac_compile" | $SED \
14673 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14674 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14675 -e 's:$: $lt_compiler_flag:'`
14676 (eval echo "\"\
$as_me:14676: $lt_compile\"" >&5)
14677 (eval "$lt_compile" 2>conftest.err)
14679 cat conftest.err >&5
14680 echo "$as_me:14680: \$?
= $ac_status" >&5
14681 if (exit $ac_status) && test -s "$ac_outfile"; then
14682 # The compiler can only warn and ignore the option if not recognized
14683 # So say no if there are warnings other than the usual output.
14684 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14685 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14686 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14687 lt_prog_compiler_pic_works=yes
14693 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14694 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14696 if test x"$lt_prog_compiler_pic_works" = xyes; then
14697 case $lt_prog_compiler_pic in
14699 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14702 lt_prog_compiler_pic=
14703 lt_prog_compiler_can_build_shared=no
14708 # For platforms which do not support PIC, -DPIC is meaningless:
14710 lt_prog_compiler_pic=
14713 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14718 # Check to make sure the static flag actually works.
14720 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14721 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14722 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14723 if test "${lt_prog_compiler_static_works+set}" = set; then
14724 echo $ECHO_N "(cached
) $ECHO_C" >&6
14726 lt_prog_compiler_static_works=no
14727 save_LDFLAGS="$LDFLAGS"
14728 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14729 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14730 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14731 # The linker can only warn and ignore the option if not recognized
14732 # So say no if there are warnings
14733 if test -s conftest.err; then
14734 # Append any errors to the config.log.
14735 cat conftest.err 1>&5
14736 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14737 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14738 if diff conftest.exp conftest.er2 >/dev/null; then
14739 lt_prog_compiler_static_works=yes
14742 lt_prog_compiler_static_works=yes
14746 LDFLAGS="$save_LDFLAGS"
14749 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14750 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14752 if test x"$lt_prog_compiler_static_works" = xyes; then
14755 lt_prog_compiler_static=
14759 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14760 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14761 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14762 echo $ECHO_N "(cached
) $ECHO_C" >&6
14764 lt_cv_prog_compiler_c_o=no
14765 $rm -r conftest 2>/dev/null
14769 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14771 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14772 # Insert the option either (1) after the last *FLAGS variable, or
14773 # (2) before a word containing "conftest.
", or (3) at the end.
14774 # Note that $ac_compile itself does not contain backslashes and begins
14775 # with a dollar sign (not a hyphen), so the echo should work correctly.
14776 lt_compile=`echo "$ac_compile" | $SED \
14777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14779 -e 's:$: $lt_compiler_flag:'`
14780 (eval echo "\"\
$as_me:14780: $lt_compile\"" >&5)
14781 (eval "$lt_compile" 2>out/conftest.err)
14783 cat out/conftest.err >&5
14784 echo "$as_me:14784: \$?
= $ac_status" >&5
14785 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14787 # The compiler can only warn and ignore the option if not recognized
14788 # So say no if there are warnings
14789 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14790 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14791 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14792 lt_cv_prog_compiler_c_o=yes
14797 # SGI C++ compiler will create directory out/ii_files/ for
14798 # template instantiation
14799 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14800 $rm out/* && rmdir out
14806 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14807 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14810 hard_links="nottested
"
14811 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14812 # do not overwrite the value of need_locks provided by the user
14813 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14814 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14817 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14819 ln conftest.a conftest.b 2>&5 || hard_links=no
14820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14821 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14822 echo "${ECHO_T}$hard_links" >&6; }
14823 if test "$hard_links" = no; then
14824 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14825 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14832 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14833 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14836 allow_undefined_flag=
14837 enable_shared_with_static_runtimes=no
14839 archive_expsym_cmds=
14840 old_archive_From_new_cmds=
14841 old_archive_from_expsyms_cmds=
14842 export_dynamic_flag_spec=
14843 whole_archive_flag_spec=
14844 thread_safe_flag_spec=
14845 hardcode_libdir_flag_spec=
14846 hardcode_libdir_flag_spec_ld=
14847 hardcode_libdir_separator=
14849 hardcode_minus_L=no
14850 hardcode_shlibpath_var=unsupported
14851 link_all_deplibs=unknown
14852 hardcode_automatic=no
14854 module_expsym_cmds=
14855 always_export_symbols=no
14856 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14857 # include_expsyms should be a list of space-separated symbols to be *always*
14858 # included in the symbol list
14860 # exclude_expsyms can be an extended regexp of symbols to exclude
14861 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14862 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14863 # as well as any symbol that contains `d'.
14864 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14865 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14866 # platforms (ab)use it in PIC code, but their linkers get confused if
14867 # the symbol is explicitly referenced. Since portable code cannot
14868 # rely on this symbol name, it's probably fine to never include it in
14869 # preloaded symbol tables.
14870 extract_expsyms_cmds=
14871 # Just being paranoid about ensuring that cc_basename is set.
14872 for cc_temp in $compiler""; do
14874 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14875 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14880 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14883 cygwin* | mingw* | pw32*)
14884 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14885 # When not using gcc, we currently assume that we are using
14886 # Microsoft Visual C++.
14887 if test "$GCC" != yes; then
14892 # we just hope/assume this is gcc and not c89 (= MSVC++)
14901 if test "$with_gnu_ld" = yes; then
14902 # If archive_cmds runs LD, not CC, wlarc should be empty
14905 # Set some defaults for GNU ld with shared library support. These
14906 # are reset later if shared libraries are not supported. Putting them
14907 # here allows them to be overridden if necessary.
14908 runpath_var=LD_RUN_PATH
14909 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14910 export_dynamic_flag_spec='${wl}--export-dynamic'
14911 # ancient GNU ld didn't support --whole-archive et. al.
14912 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14913 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14915 whole_archive_flag_spec=
14917 supports_anon_versioning=no
14918 case `$LD -v 2>/dev/null` in
14919 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14920 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14921 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14922 *\ 2.11.*) ;; # other 2.11 versions
14923 *) supports_anon_versioning=yes ;;
14926 # See if GNU ld supports shared libraries.
14928 aix3* | aix4* | aix5*)
14929 # On AIX/PPC, the GNU linker is very broken
14930 if test "$host_cpu" != ia64; then
14934 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14935 *** to be unable to reliably create shared libraries on AIX.
14936 *** Therefore, libtool is disabling shared libraries support. If you
14937 *** really care for shared libraries, you may want to modify your PATH
14938 *** so that a non-GNU linker is found, and then restart.
14945 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)'
14946 hardcode_libdir_flag_spec
='-L$libdir'
14947 hardcode_minus_L
=yes
14949 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14950 # that the semantics of dynamic libraries on AmigaOS, at least up
14951 # to version 4, is to share data among multiple programs linked
14952 # with the same dynamic library. Since this doesn't match the
14953 # behavior of shared libraries on other platforms, we can't use
14959 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14960 allow_undefined_flag
=unsupported
14961 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14962 # support --undefined. This deserves some investigation. FIXME
14963 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14969 cygwin
* | mingw
* | pw32
*)
14970 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14971 # as there is no search path for DLLs.
14972 hardcode_libdir_flag_spec
='-L$libdir'
14973 allow_undefined_flag
=unsupported
14974 always_export_symbols
=no
14975 enable_shared_with_static_runtimes
=yes
14976 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14978 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14979 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14980 # If the export-symbols file already is a .def file (1st line
14981 # is EXPORTS), use it as is; otherwise, prepend...
14982 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14983 cp $export_symbols $output_objdir/$soname.def;
14985 echo EXPORTS > $output_objdir/$soname.def;
14986 cat $export_symbols >> $output_objdir/$soname.def;
14988 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14996 hardcode_shlibpath_var
=no
14997 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
14998 export_dynamic_flag_spec
='${wl}-E'
14999 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15000 # Instead, shared libraries are loaded at an image base (0x10000000 by
15001 # default) and relocated if they conflict, which is a slow very memory
15002 # consuming and fragmenting process. To avoid this, we pick a random,
15003 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15004 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15005 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15006 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'
15010 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15012 case $cc_basename,$host_cpu in
15013 pgcc
*) # Portland Group C compiler
15014 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'
15015 tmp_addflag
=' $pic_flag'
15017 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15018 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'
15019 tmp_addflag
=' $pic_flag -Mnomain' ;;
15020 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15021 tmp_addflag
=' -i_dynamic' ;;
15022 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15023 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15024 ifc
* | ifort
*) # Intel Fortran compiler
15025 tmp_addflag
=' -nofor_main' ;;
15027 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15029 if test $supports_anon_versioning = yes; then
15030 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
15031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15032 $echo "local: *; };" >> $output_objdir/$libname.ver~
15033 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15041 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15042 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15045 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15046 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15051 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15055 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15056 *** create shared libraries on Solaris systems. Therefore, libtool
15057 *** is disabling shared libraries support. We urge you to upgrade GNU
15058 *** binutils to release 2.9.1 or newer. Another option is to modify
15059 *** your PATH or compiler configuration so that the native linker is
15060 *** used, and then restart.
15063 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15064 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15065 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15071 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15072 case `$LD -v 2>&1` in
15073 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15077 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15078 *** reliably create shared libraries on SCO systems. Therefore, libtool
15079 *** is disabling shared libraries support. We urge you to upgrade GNU
15080 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15081 *** your PATH or compiler configuration so that the native linker is
15082 *** used, and then restart.
15087 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15088 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15089 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15090 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15099 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15101 hardcode_direct
=yes
15102 hardcode_shlibpath_var
=no
15106 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15107 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15108 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15115 if test "$ld_shlibs" = no
; then
15117 hardcode_libdir_flag_spec
=
15118 export_dynamic_flag_spec
=
15119 whole_archive_flag_spec
=
15122 # PORTME fill in a description of your system's linker (not GNU ld)
15125 allow_undefined_flag
=unsupported
15126 always_export_symbols
=yes
15127 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'
15128 # Note: this linker hardcodes the directories in LIBPATH if there
15129 # are no directories specified by -L.
15130 hardcode_minus_L
=yes
15131 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15132 # Neither direct hardcoding nor static linking is supported with a
15134 hardcode_direct
=unsupported
15139 if test "$host_cpu" = ia64
; then
15140 # On IA64, the linker does run time linking by default, so we don't
15141 # have to do anything special.
15142 aix_use_runtimelinking
=no
15143 exp_sym_flag
='-Bexport'
15146 # If we're using GNU nm, then we don't want the "-C" option.
15147 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15148 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15149 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'
15151 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'
15153 aix_use_runtimelinking
=no
15155 # Test if we are trying to use run time linking or normal
15156 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15157 # need to do runtime linking.
15158 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15159 for ld_flag
in $LDFLAGS; do
15160 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15161 aix_use_runtimelinking
=yes
15168 exp_sym_flag
='-bexport'
15169 no_entry_flag
='-bnoentry'
15172 # When large executables or shared objects are built, AIX ld can
15173 # have problems creating the table of contents. If linking a library
15174 # or program results in "error TOC overflow" add -mminimal-toc to
15175 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15176 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15179 hardcode_direct
=yes
15180 hardcode_libdir_separator
=':'
15181 link_all_deplibs
=yes
15183 if test "$GCC" = yes; then
15184 case $host_os in aix4.
[012]|aix4.
[012].
*)
15185 # We only want to do this on AIX 4.2 and lower, the check
15186 # below for broken collect2 doesn't work under 4.3+
15187 collect2name
=`${CC} -print-prog-name=collect2`
15188 if test -f "$collect2name" && \
15189 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15191 # We have reworked collect2
15192 hardcode_direct
=yes
15194 # We have old collect2
15195 hardcode_direct
=unsupported
15196 # It fails to find uninstalled libraries when the uninstalled
15197 # path is not listed in the libpath. Setting hardcode_minus_L
15198 # to unsupported forces relinking
15199 hardcode_minus_L
=yes
15200 hardcode_libdir_flag_spec
='-L$libdir'
15201 hardcode_libdir_separator
=
15205 shared_flag
='-shared'
15206 if test "$aix_use_runtimelinking" = yes; then
15207 shared_flag
="$shared_flag "'${wl}-G'
15211 if test "$host_cpu" = ia64
; then
15212 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15213 # chokes on -Wl,-G. The following line is correct:
15216 if test "$aix_use_runtimelinking" = yes; then
15217 shared_flag
='${wl}-G'
15219 shared_flag
='${wl}-bM:SRE'
15224 # It seems that -bexpall does not export symbols beginning with
15225 # underscore (_), so it is better to generate a list of symbols to export.
15226 always_export_symbols
=yes
15227 if test "$aix_use_runtimelinking" = yes; then
15228 # Warning - without using the other runtime loading flags (-brtl),
15229 # -berok will link without error, but may produce a broken library.
15230 allow_undefined_flag
='-berok'
15231 # Determine the default libpath from the value encoded in an empty executable.
15232 cat >conftest.
$ac_ext <<_ACEOF
15235 cat confdefs.h
>>conftest.
$ac_ext
15236 cat >>conftest.
$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15247 rm -f conftest.
$ac_objext conftest
$ac_exeext
15248 if { (ac_try
="$ac_link"
15249 case "(($ac_try" in
15250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15251 *) ac_try_echo=$ac_try;;
15253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15254 (eval "$ac_link") 2>conftest.er1
15256 grep -v '^ *+' conftest.er1 >conftest.err
15258 cat conftest.err >&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); } &&
15261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15262 { (case "(($ac_try" in
15263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15264 *) ac_try_echo
=$ac_try;;
15266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15267 (eval "$ac_try") 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; } &&
15271 { ac_try
='test -s conftest$ac_exeext'
15272 { (case "(($ac_try" in
15273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15274 *) ac_try_echo=$ac_try;;
15276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15277 (eval "$ac_try") 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; }; then
15282 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15284 # Check for a 64-bit object if we didn't find anything.
15285 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; }
15288 echo "$as_me: failed program was:" >&5
15289 sed 's/^/| /' conftest.$ac_ext >&5
15294 rm -f core conftest.err conftest.$ac_objext \
15295 conftest$ac_exeext conftest.$ac_ext
15296 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15298 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15299 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"
15301 if test "$host_cpu" = ia64; then
15302 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15303 allow_undefined_flag="-z nodefs"
15304 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"
15306 # Determine the default libpath from the value encoded in an empty executable.
15307 cat >conftest.$ac_ext <<_ACEOF
15310 cat confdefs.h >>conftest.$ac_ext
15311 cat >>conftest.$ac_ext <<_ACEOF
15312 /* end confdefs.h. */
15322 rm -f conftest.$ac_objext conftest$ac_exeext
15323 if { (ac_try="$ac_link"
15324 case "(($ac_try" in
15325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15326 *) ac_try_echo
=$ac_try;;
15328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15329 (eval "$ac_link") 2>conftest.er1
15331 grep -v '^ *+' conftest.er1
>conftest.err
15333 cat conftest.err
>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } &&
15336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15337 { (case "(($ac_try" in
15338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15339 *) ac_try_echo=$ac_try;;
15341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15342 (eval "$ac_try") 2>&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); }; } &&
15346 { ac_try='test -s conftest$ac_exeext'
15347 { (case "(($ac_try" in
15348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15349 *) ac_try_echo
=$ac_try;;
15351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15352 (eval "$ac_try") 2>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15357 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15359 # Check for a 64-bit object if we didn't find anything.
15360 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; }
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15369 rm -f core conftest.err conftest.
$ac_objext \
15370 conftest
$ac_exeext conftest.
$ac_ext
15371 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15373 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15374 # Warning - without using the other run time loading flags,
15375 # -berok will link without error, but may produce a broken library.
15376 no_undefined_flag
=' ${wl}-bernotok'
15377 allow_undefined_flag
=' ${wl}-berok'
15378 # Exported symbols can be pulled into shared objects from archives
15379 whole_archive_flag_spec
='$convenience'
15380 archive_cmds_need_lc
=yes
15381 # This is similar to how AIX traditionally builds its shared libraries.
15382 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'
15388 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)'
15389 hardcode_libdir_flag_spec
='-L$libdir'
15390 hardcode_minus_L
=yes
15391 # see comment about different semantics on the GNU ld section
15396 export_dynamic_flag_spec
=-rdynamic
15399 cygwin
* | mingw
* | pw32
*)
15400 # When not using gcc, we currently assume that we are using
15401 # Microsoft Visual C++.
15402 # hardcode_libdir_flag_spec is actually meaningless, as there is
15403 # no search path for DLLs.
15404 hardcode_libdir_flag_spec
=' '
15405 allow_undefined_flag
=unsupported
15406 # Tell ltmain to make .lib files, not .a files.
15408 # Tell ltmain to make .dll files, not .so files.
15410 # FIXME: Setting linknames here is a bad hack.
15411 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15412 # The linker will automatically build a .lib file if we build a DLL.
15413 old_archive_From_new_cmds
='true'
15414 # FIXME: Should let the user specify the lib program.
15415 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15416 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15417 enable_shared_with_static_runtimes
=yes
15420 darwin
* | rhapsody
*)
15422 rhapsody
* | darwin1.
[012])
15423 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15426 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15427 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15429 case ${MACOSX_DEPLOYMENT_TARGET} in
15431 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15434 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15440 archive_cmds_need_lc
=no
15442 hardcode_automatic
=yes
15443 hardcode_shlibpath_var
=unsupported
15444 whole_archive_flag_spec
=''
15445 link_all_deplibs
=yes
15446 if test "$GCC" = yes ; then
15447 output_verbose_link_cmd
='echo'
15448 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15449 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15450 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15451 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}'
15452 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}'
15454 case $cc_basename in
15456 output_verbose_link_cmd
='echo'
15457 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15458 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15459 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15460 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}'
15461 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}'
15471 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15472 hardcode_libdir_flag_spec
='-L$libdir'
15473 hardcode_shlibpath_var
=no
15480 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15481 # support. Future versions do this automatically, but an explicit c++rt0.o
15482 # does not break anything, and helps significantly (at the cost of a little
15485 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15486 hardcode_libdir_flag_spec
='-R$libdir'
15487 hardcode_direct
=yes
15488 hardcode_shlibpath_var
=no
15491 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15493 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15494 hardcode_direct
=yes
15495 hardcode_minus_L
=yes
15496 hardcode_shlibpath_var
=no
15499 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15500 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15501 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15502 hardcode_libdir_flag_spec
='-R$libdir'
15503 hardcode_direct
=yes
15504 hardcode_shlibpath_var
=no
15508 if test "$GCC" = yes; then
15509 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'
15511 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'
15513 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15514 hardcode_libdir_separator
=:
15515 hardcode_direct
=yes
15517 # hardcode_minus_L: Not really in the search PATH,
15518 # but as the default location of the library.
15519 hardcode_minus_L
=yes
15520 export_dynamic_flag_spec
='${wl}-E'
15524 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15525 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15527 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15529 if test "$with_gnu_ld" = no
; then
15530 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15531 hardcode_libdir_separator
=:
15533 hardcode_direct
=yes
15534 export_dynamic_flag_spec
='${wl}-E'
15536 # hardcode_minus_L: Not really in the search PATH,
15537 # but as the default location of the library.
15538 hardcode_minus_L
=yes
15543 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15546 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15549 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15552 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15558 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15561 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15564 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15568 if test "$with_gnu_ld" = no
; then
15569 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15570 hardcode_libdir_separator
=:
15574 hardcode_libdir_flag_spec_ld
='+b $libdir'
15576 hardcode_shlibpath_var
=no
15579 hardcode_direct
=yes
15580 export_dynamic_flag_spec
='${wl}-E'
15582 # hardcode_minus_L: Not really in the search PATH,
15583 # but as the default location of the library.
15584 hardcode_minus_L
=yes
15590 irix5
* | irix6
* | nonstopux
*)
15591 if test "$GCC" = yes; then
15592 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'
15594 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'
15595 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15597 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15598 hardcode_libdir_separator
=:
15599 link_all_deplibs
=yes
15603 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15604 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15606 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15608 hardcode_libdir_flag_spec
='-R$libdir'
15609 hardcode_direct
=yes
15610 hardcode_shlibpath_var
=no
15614 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15615 hardcode_direct
=yes
15616 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15617 hardcode_libdir_separator
=:
15618 hardcode_shlibpath_var
=no
15622 hardcode_direct
=yes
15623 hardcode_shlibpath_var
=no
15624 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15625 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15626 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15627 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15628 export_dynamic_flag_spec
='${wl}-E'
15631 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15632 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15633 hardcode_libdir_flag_spec
='-R$libdir'
15636 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15637 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15644 hardcode_libdir_flag_spec
='-L$libdir'
15645 hardcode_minus_L
=yes
15646 allow_undefined_flag
=unsupported
15647 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'
15648 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15652 if test "$GCC" = yes; then
15653 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15654 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'
15656 allow_undefined_flag
=' -expect_unresolved \*'
15657 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'
15659 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15660 hardcode_libdir_separator
=:
15663 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15664 if test "$GCC" = yes; then
15665 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15666 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'
15667 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15669 allow_undefined_flag
=' -expect_unresolved \*'
15670 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'
15671 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15672 $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'
15674 # Both c and cxx compiler support -rpath directly
15675 hardcode_libdir_flag_spec
='-rpath $libdir'
15677 hardcode_libdir_separator
=:
15681 no_undefined_flag
=' -z text'
15682 if test "$GCC" = yes; then
15684 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15685 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15686 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15689 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15690 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15691 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15693 hardcode_libdir_flag_spec
='-R$libdir'
15694 hardcode_shlibpath_var
=no
15696 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15698 # The compiler driver will combine linker options so we
15699 # cannot just pass the convience library names through
15700 # without $wl, iff we do not link with $LD.
15701 # Luckily, gcc supports the same syntax we need for Sun Studio.
15702 # Supported since Solaris 2.6 (maybe 2.5.1?)
15705 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15707 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' ;;
15710 link_all_deplibs
=yes
15714 if test "x$host_vendor" = xsequent
; then
15715 # Use $CC to link under sequent, because it throws in some extra .o
15716 # files that make .init and .fini sections work.
15717 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15719 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15721 hardcode_libdir_flag_spec
='-L$libdir'
15722 hardcode_direct
=yes
15723 hardcode_minus_L
=yes
15724 hardcode_shlibpath_var
=no
15728 case $host_vendor in
15730 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15731 hardcode_direct
=yes # is this really true???
15734 ## LD is ld it makes a PLAMLIB
15735 ## CC just makes a GrossModule.
15736 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15737 reload_cmds
='$CC -r -o $output$reload_objs'
15741 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15742 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15745 runpath_var
='LD_RUN_PATH'
15746 hardcode_shlibpath_var
=no
15750 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15751 hardcode_shlibpath_var
=no
15752 export_dynamic_flag_spec
='-Bexport'
15756 if test -d /usr
/nec
; then
15757 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15758 hardcode_shlibpath_var
=no
15759 runpath_var
=LD_RUN_PATH
15760 hardcode_runpath_var
=yes
15765 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15766 no_undefined_flag
='${wl}-z,text'
15767 archive_cmds_need_lc
=no
15768 hardcode_shlibpath_var
=no
15769 runpath_var
='LD_RUN_PATH'
15771 if test "$GCC" = yes; then
15772 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15773 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15775 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15776 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15780 sysv5
* | sco3.2v5
* | sco5v6
*)
15781 # Note: We can NOT use -z defs as we might desire, because we do not
15782 # link with -lc, and that would cause any symbols used from libc to
15783 # always be unresolved, which means just about no library would
15784 # ever link correctly. If we're not using GNU ld we use -z text
15785 # though, which does catch some bad symbols but isn't as heavy-handed
15787 no_undefined_flag
='${wl}-z,text'
15788 allow_undefined_flag
='${wl}-z,nodefs'
15789 archive_cmds_need_lc
=no
15790 hardcode_shlibpath_var
=no
15791 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15792 hardcode_libdir_separator
=':'
15793 link_all_deplibs
=yes
15794 export_dynamic_flag_spec
='${wl}-Bexport'
15795 runpath_var
='LD_RUN_PATH'
15797 if test "$GCC" = yes; then
15798 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15799 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15801 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15802 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15807 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15808 hardcode_libdir_flag_spec
='-L$libdir'
15809 hardcode_shlibpath_var
=no
15818 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15819 echo "${ECHO_T}$ld_shlibs" >&6; }
15820 test "$ld_shlibs" = no
&& can_build_shared
=no
15823 # Do we need to explicitly link libc?
15825 case "x$archive_cmds_need_lc" in
15827 # Assume -lc should be added
15828 archive_cmds_need_lc
=yes
15830 if test "$enable_shared" = yes && test "$GCC" = yes; then
15831 case $archive_cmds in
15833 # FIXME: we may have to deal with multi-command sequences.
15836 # Test whether the compiler implicitly links with -lc since on some
15837 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15838 # to ld, don't add -lc before -lgcc.
15839 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15840 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15842 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15845 (eval $ac_compile) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } 2>conftest.err
; then
15851 libobjs
=conftest.
$ac_objext
15853 wl
=$lt_prog_compiler_wl
15854 pic_flag
=$lt_prog_compiler_pic
15860 lt_save_allow_undefined_flag
=$allow_undefined_flag
15861 allow_undefined_flag
=
15862 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15863 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }
15868 archive_cmds_need_lc
=no
15870 archive_cmds_need_lc
=yes
15872 allow_undefined_flag
=$lt_save_allow_undefined_flag
15874 cat conftest.err
1>&5
15877 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15878 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15885 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15886 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15887 library_names_spec
=
15888 libname_spec
='lib$name'
15892 postuninstall_cmds
=
15896 shlibpath_overrides_runpath
=unknown
15898 dynamic_linker
="$host_os ld.so"
15899 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15900 if test "$GCC" = yes; then
15901 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15902 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15903 # if the path contains ";" then we assume it to be the separator
15904 # otherwise default to the standard path separator (i.e. ":") - it is
15905 # assumed that no part of a normal pathname contains ";" but that should
15906 # okay in the real world where ";" in dirpaths is itself problematic.
15907 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15909 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15912 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15914 need_lib_prefix
=unknown
15915 hardcode_into_libs
=no
15917 # when you set need_version to no, make sure it does not cause -set_version
15918 # flags to be left without arguments
15919 need_version
=unknown
15924 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15925 shlibpath_var
=LIBPATH
15927 # AIX 3 has no versioning support, so we append a major version to the name.
15928 soname_spec
='${libname}${release}${shared_ext}$major'
15935 hardcode_into_libs
=yes
15936 if test "$host_cpu" = ia64
; then
15937 # AIX 5 supports IA64
15938 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15939 shlibpath_var
=LD_LIBRARY_PATH
15941 # With GCC up to 2.95.x, collect2 would create an import file
15942 # for dependence libraries. The import file would start with
15943 # the line `#! .'. This would cause the generated library to
15944 # depend on `.', always an invalid library. This was fixed in
15945 # development snapshots of GCC prior to 3.0.
15947 aix4 | aix4.
[01] | aix4.
[01].
*)
15948 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15950 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15953 can_build_shared
=no
15957 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15958 # soname into executable. Probably we can add versioning support to
15959 # collect2, so additional links can be useful in future.
15960 if test "$aix_use_runtimelinking" = yes; then
15961 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15962 # instead of lib<name>.a to let people know that these are not
15963 # typical AIX shared libraries.
15964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15966 # We preserve .a as extension for shared libraries through AIX4.2
15967 # and later when we are not doing run time linking.
15968 library_names_spec
='${libname}${release}.a $libname.a'
15969 soname_spec
='${libname}${release}${shared_ext}$major'
15971 shlibpath_var
=LIBPATH
15976 library_names_spec
='$libname.ixlibrary $libname.a'
15977 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15978 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'
15982 library_names_spec
='${libname}${shared_ext}'
15983 dynamic_linker
="$host_os ld.so"
15984 shlibpath_var
=LIBRARY_PATH
15990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15991 soname_spec
='${libname}${release}${shared_ext}$major'
15992 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15993 shlibpath_var
=LD_LIBRARY_PATH
15994 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15995 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15996 # the default ld.so.conf also contains /usr/contrib/lib and
15997 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15998 # libtool to hard-code these into programs
16001 cygwin
* | mingw
* | pw32
*)
16002 version_type
=windows
16007 case $GCC,$host_os in
16008 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16009 library_names_spec
='$libname.dll.a'
16010 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16011 postinstall_cmds
='base_file=`basename \${file}`~
16012 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16013 dldir=$destdir/`dirname \$dlpath`~
16014 test -d \$dldir || mkdir -p \$dldir~
16015 $install_prog $dir/$dlname \$dldir/$dlname~
16016 chmod a+x \$dldir/$dlname'
16017 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16018 dlpath=$dir/\$dldll~
16020 shlibpath_overrides_runpath
=yes
16024 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16025 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16026 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16029 # MinGW DLLs use traditional 'lib' prefix
16030 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16031 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16032 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16033 # It is most probably a Windows format PATH printed by
16034 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16035 # path with ; separators, and with drive letters. We can handle the
16036 # drive letters (cygwin fileutils understands them), so leave them,
16037 # especially as we might pass files found there to a mingw objdump,
16038 # which wouldn't understand a cygwinified path. Ahh.
16039 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16041 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16045 # pw32 DLLs use 'pw' prefix rather than 'lib'
16046 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16052 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16055 dynamic_linker
='Win32 ld.exe'
16056 # FIXME: first we should search . and the directory the executable is in
16060 darwin
* | rhapsody
*)
16061 dynamic_linker
="$host_os dyld"
16062 version_type
=darwin
16065 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16066 soname_spec
='${libname}${release}${major}$shared_ext'
16067 shlibpath_overrides_runpath
=yes
16068 shlibpath_var
=DYLD_LIBRARY_PATH
16069 shrext_cmds
='.dylib'
16070 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16071 if test "$GCC" = yes; then
16072 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"`
16074 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16076 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16084 soname_spec
='${libname}${release}${shared_ext}$major'
16085 shlibpath_var
=LD_LIBRARY_PATH
16096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16097 soname_spec
='${libname}${release}${shared_ext}$major'
16098 shlibpath_var
=LD_LIBRARY_PATH
16099 shlibpath_overrides_runpath
=no
16100 hardcode_into_libs
=yes
16101 dynamic_linker
='GNU ld.so'
16104 freebsd
* | dragonfly
*)
16105 # DragonFly does not have aout. When/if they implement a new
16106 # versioning mechanism, adjust this.
16107 if test -x /usr
/bin
/objformat
; then
16108 objformat
=`/usr/bin/objformat`
16111 freebsd
[123]*) objformat
=aout
;;
16112 *) objformat
=elf
;;
16115 version_type
=freebsd-
$objformat
16116 case $version_type in
16118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16123 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16127 shlibpath_var
=LD_LIBRARY_PATH
16130 shlibpath_overrides_runpath
=yes
16132 freebsd3.
[01]* | freebsdelf3.
[01]*)
16133 shlibpath_overrides_runpath
=yes
16134 hardcode_into_libs
=yes
16136 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16137 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16138 shlibpath_overrides_runpath
=no
16139 hardcode_into_libs
=yes
16141 freebsd
*) # from 4.6 on
16142 shlibpath_overrides_runpath
=yes
16143 hardcode_into_libs
=yes
16152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16153 soname_spec
='${libname}${release}${shared_ext}$major'
16154 shlibpath_var
=LD_LIBRARY_PATH
16155 hardcode_into_libs
=yes
16158 hpux9
* | hpux10
* | hpux11
*)
16159 # Give a soname corresponding to the major version so that dld.sl refuses to
16160 # link against other versions.
16167 hardcode_into_libs
=yes
16168 dynamic_linker
="$host_os dld.so"
16169 shlibpath_var
=LD_LIBRARY_PATH
16170 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16172 soname_spec
='${libname}${release}${shared_ext}$major'
16173 if test "X$HPUX_IA64_MODE" = X32
; then
16174 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16176 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16178 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16182 hardcode_into_libs
=yes
16183 dynamic_linker
="$host_os dld.sl"
16184 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16185 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16187 soname_spec
='${libname}${release}${shared_ext}$major'
16188 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16189 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16193 dynamic_linker
="$host_os dld.sl"
16194 shlibpath_var
=SHLIB_PATH
16195 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16197 soname_spec
='${libname}${release}${shared_ext}$major'
16200 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16201 postinstall_cmds
='chmod 555 $lib'
16208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16209 soname_spec
='${libname}${release}${shared_ext}$major'
16210 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16211 shlibpath_var
=LD_LIBRARY_PATH
16212 shlibpath_overrides_runpath
=no
16213 hardcode_into_libs
=yes
16216 irix5
* | irix6
* | nonstopux
*)
16218 nonstopux
*) version_type
=nonstopux
;;
16220 if test "$lt_cv_prog_gnu_ld" = yes; then
16228 soname_spec
='${libname}${release}${shared_ext}$major'
16229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16231 irix5
* | nonstopux
*)
16232 libsuff
= shlibsuff
=
16235 case $LD in # libtool.m4 will add one of these switches to LD
16236 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16237 libsuff
= shlibsuff
= libmagic
=32-bit;;
16238 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16239 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16240 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16241 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16242 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16246 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16247 shlibpath_overrides_runpath
=no
16248 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16249 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16250 hardcode_into_libs
=yes
16253 # No shared lib support for Linux oldld, aout, or coff.
16254 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16258 # This must be Linux ELF.
16263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16264 soname_spec
='${libname}${release}${shared_ext}$major'
16265 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16266 shlibpath_var
=LD_LIBRARY_PATH
16267 shlibpath_overrides_runpath
=no
16268 # This implies no fast_install, which is unacceptable.
16269 # Some rework will be needed to allow for fast_install
16270 # before this can be enabled.
16271 hardcode_into_libs
=yes
16273 # Append ld.so.conf contents to the search path
16274 if test -f /etc
/ld.so.conf
; then
16275 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' ' '`
16276 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16279 # We used to test for /lib/ld.so.1 and disable shared libraries on
16280 # powerpc, because MkLinux only supported shared libraries with the
16281 # GNU dynamic linker. Since this was broken with cross compilers,
16282 # most powerpc-linux boxes support dynamic linking these days and
16283 # people can always --disable-shared, the test was removed, and we
16284 # assume the GNU/Linux dynamic linker is in use.
16285 dynamic_linker
='GNU/Linux ld.so'
16292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16293 soname_spec
='${libname}${release}${shared_ext}$major'
16294 shlibpath_var
=LD_LIBRARY_PATH
16295 shlibpath_overrides_runpath
=no
16296 hardcode_into_libs
=yes
16297 dynamic_linker
='GNU ld.so'
16304 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16306 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16307 dynamic_linker
='NetBSD (a.out) ld.so'
16309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16310 soname_spec
='${libname}${release}${shared_ext}$major'
16311 dynamic_linker
='NetBSD ld.elf_so'
16313 shlibpath_var
=LD_LIBRARY_PATH
16314 shlibpath_overrides_runpath
=yes
16315 hardcode_into_libs
=yes
16320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16321 shlibpath_var
=LD_LIBRARY_PATH
16322 shlibpath_overrides_runpath
=yes
16329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16330 soname_spec
='${libname}${release}${shared_ext}$major'
16331 shlibpath_var
=LD_LIBRARY_PATH
16332 shlibpath_overrides_runpath
=yes
16337 sys_lib_dlsearch_path_spec
="/usr/lib"
16339 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16341 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16342 *) need_version
=no
;;
16344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16345 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16346 shlibpath_var
=LD_LIBRARY_PATH
16347 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16349 openbsd2.
[89] | openbsd2.
[89].
*)
16350 shlibpath_overrides_runpath
=no
16353 shlibpath_overrides_runpath
=yes
16357 shlibpath_overrides_runpath
=yes
16362 libname_spec
='$name'
16365 library_names_spec
='$libname${shared_ext} $libname.a'
16366 dynamic_linker
='OS/2 ld.exe'
16367 shlibpath_var
=LIBPATH
16370 osf3
* | osf4
* | osf5
*)
16374 soname_spec
='${libname}${release}${shared_ext}$major'
16375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16376 shlibpath_var
=LD_LIBRARY_PATH
16377 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16378 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16386 soname_spec
='${libname}${release}${shared_ext}$major'
16387 shlibpath_var
=LD_LIBRARY_PATH
16388 shlibpath_overrides_runpath
=yes
16389 hardcode_into_libs
=yes
16390 # ldd complains unless libraries are executable
16391 postinstall_cmds
='chmod +x $lib'
16396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16397 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16398 shlibpath_var
=LD_LIBRARY_PATH
16399 shlibpath_overrides_runpath
=yes
16400 if test "$with_gnu_ld" = yes; then
16408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16409 soname_spec
='${libname}${release}${shared_ext}$major'
16410 shlibpath_var
=LD_LIBRARY_PATH
16411 case $host_vendor in
16413 shlibpath_overrides_runpath
=no
16415 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16416 runpath_var
=LD_RUN_PATH
16424 shlibpath_overrides_runpath
=no
16425 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16431 if test -d /usr
/nec
;then
16433 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16434 soname_spec
='$libname${shared_ext}.$major'
16435 shlibpath_var
=LD_LIBRARY_PATH
16439 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16440 version_type
=freebsd-elf
16443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16444 soname_spec
='${libname}${release}${shared_ext}$major'
16445 shlibpath_var
=LD_LIBRARY_PATH
16446 hardcode_into_libs
=yes
16447 if test "$with_gnu_ld" = yes; then
16448 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16449 shlibpath_overrides_runpath
=no
16451 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16452 shlibpath_overrides_runpath
=yes
16455 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16459 sys_lib_dlsearch_path_spec
='/usr/lib'
16464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16465 soname_spec
='${libname}${release}${shared_ext}$major'
16466 shlibpath_var
=LD_LIBRARY_PATH
16473 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16474 echo "${ECHO_T}$dynamic_linker" >&6; }
16475 test "$dynamic_linker" = no
&& can_build_shared
=no
16477 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16478 if test "$GCC" = yes; then
16479 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16482 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16483 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16485 if test -n "$hardcode_libdir_flag_spec" || \
16486 test -n "$runpath_var" || \
16487 test "X$hardcode_automatic" = "Xyes" ; then
16489 # We can hardcode non-existant directories.
16490 if test "$hardcode_direct" != no
&&
16491 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16492 # have to relink, otherwise we might link with an installed library
16493 # when we should be linking with a yet-to-be-installed one
16494 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16495 test "$hardcode_minus_L" != no
; then
16496 # Linking always hardcodes the temporary library directory.
16497 hardcode_action
=relink
16499 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16500 hardcode_action
=immediate
16503 # We cannot hardcode anything, or else we can only hardcode existing
16505 hardcode_action
=unsupported
16507 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16508 echo "${ECHO_T}$hardcode_action" >&6; }
16510 if test "$hardcode_action" = relink
; then
16511 # Fast installation is not supported
16512 enable_fast_install
=no
16513 elif test "$shlibpath_overrides_runpath" = yes ||
16514 test "$enable_shared" = no
; then
16515 # Fast installation is not necessary
16516 enable_fast_install
=needless
16521 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16522 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16523 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16524 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16525 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16526 { echo "$as_me:$LINENO: result: yes" >&5
16527 echo "${ECHO_T}yes" >&6; }
16529 # FIXME - insert some real tests, host_os isn't really good enough
16532 if test -n "$STRIP" ; then
16533 striplib
="$STRIP -x"
16534 { echo "$as_me:$LINENO: result: yes" >&5
16535 echo "${ECHO_T}yes" >&6; }
16537 { echo "$as_me:$LINENO: result: no" >&5
16538 echo "${ECHO_T}no" >&6; }
16542 { echo "$as_me:$LINENO: result: no" >&5
16543 echo "${ECHO_T}no" >&6; }
16548 if test "x$enable_dlopen" != xyes
; then
16549 enable_dlopen
=unknown
16550 enable_dlopen_self
=unknown
16551 enable_dlopen_self_static
=unknown
16558 lt_cv_dlopen
="load_add_on"
16560 lt_cv_dlopen_self
=yes
16564 lt_cv_dlopen
="LoadLibrary"
16569 lt_cv_dlopen
="dlopen"
16574 # if libdl is installed we need to link against it
16575 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16576 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16577 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16578 echo $ECHO_N "(cached) $ECHO_C" >&6
16580 ac_check_lib_save_LIBS
=$LIBS
16582 cat >conftest.
$ac_ext <<_ACEOF
16585 cat confdefs.h
>>conftest.
$ac_ext
16586 cat >>conftest.
$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16589 /* Override any GCC internal prototype to avoid an error.
16590 Use char because int might match the return type of a GCC
16591 builtin and then its argument prototype would still apply. */
16604 rm -f conftest.
$ac_objext conftest
$ac_exeext
16605 if { (ac_try
="$ac_link"
16606 case "(($ac_try" in
16607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16608 *) ac_try_echo=$ac_try;;
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_link") 2>conftest.er1
16613 grep -v '^ *+' conftest.er1 >conftest.err
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } &&
16618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16619 { (case "(($ac_try" in
16620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16621 *) ac_try_echo
=$ac_try;;
16623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16624 (eval "$ac_try") 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; } &&
16628 { ac_try
='test -s conftest$ac_exeext'
16629 { (case "(($ac_try" in
16630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16631 *) ac_try_echo=$ac_try;;
16633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16634 (eval "$ac_try") 2>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; }; then
16638 ac_cv_lib_dl_dlopen=yes
16640 echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.$ac_ext >&5
16643 ac_cv_lib_dl_dlopen=no
16646 rm -f core conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16648 LIBS=$ac_check_lib_save_LIBS
16650 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16651 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16652 if test $ac_cv_lib_dl_dlopen = yes; then
16653 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16656 lt_cv_dlopen="dyld"
16658 lt_cv_dlopen_self=yes
16665 { echo "$as_me:$LINENO: checking for shl_load" >&5
16666 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16667 if test "${ac_cv_func_shl_load+set}" = set; then
16668 echo $ECHO_N "(cached) $ECHO_C" >&6
16670 cat >conftest.$ac_ext <<_ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16678 #define shl_load innocuous_shl_load
16680 /* System header to define __stub macros and hopefully few prototypes,
16681 which can conflict with char shl_load (); below.
16682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16683 <limits.h> exists even on freestanding compilers. */
16686 # include <limits.h>
16688 # include <assert.h>
16693 /* Override any GCC internal prototype to avoid an error.
16694 Use char because int might match the return type of a GCC
16695 builtin and then its argument prototype would still apply. */
16700 /* The GNU C library defines this for functions which it implements
16701 to always fail with ENOSYS. Some functions are actually named
16702 something starting with __ and the normal name is an alias. */
16703 #if defined __stub_shl_load || defined __stub___shl_load
16710 return shl_load ();
16715 rm -f conftest.$ac_objext conftest$ac_exeext
16716 if { (ac_try="$ac_link"
16717 case "(($ac_try" in
16718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16719 *) ac_try_echo
=$ac_try;;
16721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16722 (eval "$ac_link") 2>conftest.er1
16724 grep -v '^ *+' conftest.er1
>conftest.err
16726 cat conftest.err
>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); } &&
16729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16730 { (case "(($ac_try" in
16731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16732 *) ac_try_echo=$ac_try;;
16734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16735 (eval "$ac_try") 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; } &&
16739 { ac_try='test -s conftest$ac_exeext'
16740 { (case "(($ac_try" in
16741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16742 *) ac_try_echo
=$ac_try;;
16744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16745 (eval "$ac_try") 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; }; then
16749 ac_cv_func_shl_load
=yes
16751 echo "$as_me: failed program was:" >&5
16752 sed 's/^/| /' conftest.
$ac_ext >&5
16754 ac_cv_func_shl_load
=no
16757 rm -f core conftest.err conftest.
$ac_objext \
16758 conftest
$ac_exeext conftest.
$ac_ext
16760 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16761 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16762 if test $ac_cv_func_shl_load = yes; then
16763 lt_cv_dlopen
="shl_load"
16765 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16766 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16767 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16768 echo $ECHO_N "(cached) $ECHO_C" >&6
16770 ac_check_lib_save_LIBS
=$LIBS
16772 cat >conftest.
$ac_ext <<_ACEOF
16775 cat confdefs.h
>>conftest.
$ac_ext
16776 cat >>conftest.
$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16779 /* Override any GCC internal prototype to avoid an error.
16780 Use char because int might match the return type of a GCC
16781 builtin and then its argument prototype would still apply. */
16789 return shl_load ();
16794 rm -f conftest.
$ac_objext conftest
$ac_exeext
16795 if { (ac_try
="$ac_link"
16796 case "(($ac_try" in
16797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16798 *) ac_try_echo=$ac_try;;
16800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16801 (eval "$ac_link") 2>conftest.er1
16803 grep -v '^ *+' conftest.er1 >conftest.err
16805 cat conftest.err >&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } &&
16808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16809 { (case "(($ac_try" in
16810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16811 *) ac_try_echo
=$ac_try;;
16813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16814 (eval "$ac_try") 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; } &&
16818 { ac_try
='test -s conftest$ac_exeext'
16819 { (case "(($ac_try" in
16820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16821 *) ac_try_echo=$ac_try;;
16823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16824 (eval "$ac_try") 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; }; then
16828 ac_cv_lib_dld_shl_load=yes
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16833 ac_cv_lib_dld_shl_load=no
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_lib_save_LIBS
16840 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16841 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16842 if test $ac_cv_lib_dld_shl_load = yes; then
16843 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16845 { echo "$as_me:$LINENO: checking for dlopen" >&5
16846 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16847 if test "${ac_cv_func_dlopen+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 cat >conftest.$ac_ext <<_ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16858 #define dlopen innocuous_dlopen
16860 /* System header to define __stub macros and hopefully few prototypes,
16861 which can conflict with char dlopen (); below.
16862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16863 <limits.h> exists even on freestanding compilers. */
16866 # include <limits.h>
16868 # include <assert.h>
16873 /* Override any GCC internal prototype to avoid an error.
16874 Use char because int might match the return type of a GCC
16875 builtin and then its argument prototype would still apply. */
16880 /* The GNU C library defines this for functions which it implements
16881 to always fail with ENOSYS. Some functions are actually named
16882 something starting with __ and the normal name is an alias. */
16883 #if defined __stub_dlopen || defined __stub___dlopen
16895 rm -f conftest.$ac_objext conftest$ac_exeext
16896 if { (ac_try="$ac_link"
16897 case "(($ac_try" in
16898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16899 *) ac_try_echo
=$ac_try;;
16901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16902 (eval "$ac_link") 2>conftest.er1
16904 grep -v '^ *+' conftest.er1
>conftest.err
16906 cat conftest.err
>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } &&
16909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16910 { (case "(($ac_try" in
16911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16912 *) ac_try_echo=$ac_try;;
16914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16915 (eval "$ac_try") 2>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; } &&
16919 { ac_try='test -s conftest$ac_exeext'
16920 { (case "(($ac_try" in
16921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16922 *) ac_try_echo
=$ac_try;;
16924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16925 (eval "$ac_try") 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_func_dlopen
=yes
16931 echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.
$ac_ext >&5
16934 ac_cv_func_dlopen
=no
16937 rm -f core conftest.err conftest.
$ac_objext \
16938 conftest
$ac_exeext conftest.
$ac_ext
16940 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16941 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16942 if test $ac_cv_func_dlopen = yes; then
16943 lt_cv_dlopen
="dlopen"
16945 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16946 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16947 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16950 ac_check_lib_save_LIBS
=$LIBS
16952 cat >conftest.
$ac_ext <<_ACEOF
16955 cat confdefs.h
>>conftest.
$ac_ext
16956 cat >>conftest.
$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16959 /* Override any GCC internal prototype to avoid an error.
16960 Use char because int might match the return type of a GCC
16961 builtin and then its argument prototype would still apply. */
16974 rm -f conftest.
$ac_objext conftest
$ac_exeext
16975 if { (ac_try
="$ac_link"
16976 case "(($ac_try" in
16977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16978 *) ac_try_echo=$ac_try;;
16980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16981 (eval "$ac_link") 2>conftest.er1
16983 grep -v '^ *+' conftest.er1 >conftest.err
16985 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } &&
16988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16989 { (case "(($ac_try" in
16990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16991 *) ac_try_echo
=$ac_try;;
16993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16994 (eval "$ac_try") 2>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; } &&
16998 { ac_try
='test -s conftest$ac_exeext'
16999 { (case "(($ac_try" in
17000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17001 *) ac_try_echo=$ac_try;;
17003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17004 (eval "$ac_try") 2>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; }; then
17008 ac_cv_lib_dl_dlopen=yes
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.$ac_ext >&5
17013 ac_cv_lib_dl_dlopen=no
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17018 LIBS=$ac_check_lib_save_LIBS
17020 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17021 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17022 if test $ac_cv_lib_dl_dlopen = yes; then
17023 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17025 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17026 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17027 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 ac_check_lib_save_LIBS=$LIBS
17031 LIBS="-lsvld $LIBS"
17032 cat >conftest.$ac_ext <<_ACEOF
17035 cat confdefs.h >>conftest.$ac_ext
17036 cat >>conftest.$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17054 rm -f conftest.$ac_objext conftest$ac_exeext
17055 if { (ac_try="$ac_link"
17056 case "(($ac_try" in
17057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17058 *) ac_try_echo
=$ac_try;;
17060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061 (eval "$ac_link") 2>conftest.er1
17063 grep -v '^ *+' conftest.er1
>conftest.err
17065 cat conftest.err
>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } &&
17068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17069 { (case "(($ac_try" in
17070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17071 *) ac_try_echo=$ac_try;;
17073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17074 (eval "$ac_try") 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; } &&
17078 { ac_try='test -s conftest$ac_exeext'
17079 { (case "(($ac_try" in
17080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17081 *) ac_try_echo
=$ac_try;;
17083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17084 (eval "$ac_try") 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17088 ac_cv_lib_svld_dlopen
=yes
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.
$ac_ext >&5
17093 ac_cv_lib_svld_dlopen
=no
17096 rm -f core conftest.err conftest.
$ac_objext \
17097 conftest
$ac_exeext conftest.
$ac_ext
17098 LIBS
=$ac_check_lib_save_LIBS
17100 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17101 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17102 if test $ac_cv_lib_svld_dlopen = yes; then
17103 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17105 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17106 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17107 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17110 ac_check_lib_save_LIBS
=$LIBS
17112 cat >conftest.
$ac_ext <<_ACEOF
17115 cat confdefs.h
>>conftest.
$ac_ext
17116 cat >>conftest.
$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17119 /* Override any GCC internal prototype to avoid an error.
17120 Use char because int might match the return type of a GCC
17121 builtin and then its argument prototype would still apply. */
17129 return dld_link ();
17134 rm -f conftest.
$ac_objext conftest
$ac_exeext
17135 if { (ac_try
="$ac_link"
17136 case "(($ac_try" in
17137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17138 *) ac_try_echo=$ac_try;;
17140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17141 (eval "$ac_link") 2>conftest.er1
17143 grep -v '^ *+' conftest.er1 >conftest.err
17145 cat conftest.err >&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } &&
17148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17149 { (case "(($ac_try" in
17150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17151 *) ac_try_echo
=$ac_try;;
17153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17154 (eval "$ac_try") 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; } &&
17158 { ac_try
='test -s conftest$ac_exeext'
17159 { (case "(($ac_try" in
17160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17161 *) ac_try_echo=$ac_try;;
17163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17164 (eval "$ac_try") 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_cv_lib_dld_dld_link=yes
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17173 ac_cv_lib_dld_dld_link=no
17176 rm -f core conftest.err conftest.$ac_objext \
17177 conftest$ac_exeext conftest.$ac_ext
17178 LIBS=$ac_check_lib_save_LIBS
17180 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17181 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17182 if test $ac_cv_lib_dld_dld_link = yes; then
17183 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17204 if test "x$lt_cv_dlopen" != xno; then
17210 case $lt_cv_dlopen in
17212 save_CPPFLAGS="$CPPFLAGS"
17213 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17215 save_LDFLAGS="$LDFLAGS"
17216 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17219 LIBS="$lt_cv_dlopen_libs $LIBS"
17221 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17222 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17223 if test "${lt_cv_dlopen_self+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 if test "$cross_compiling" = yes; then :
17227 lt_cv_dlopen_self=cross
17229 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17230 lt_status=$lt_dlunknown
17231 cat > conftest.$ac_ext <<EOF
17232 #line 17232 "configure"
17233 #include "confdefs.h"
17242 # define LT_DLGLOBAL RTLD_GLOBAL
17245 # define LT_DLGLOBAL DL_GLOBAL
17247 # define LT_DLGLOBAL 0
17251 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17252 find out it does not work in some platform. */
17253 #ifndef LT_DLLAZY_OR_NOW
17255 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17258 # define LT_DLLAZY_OR_NOW DL_LAZY
17261 # define LT_DLLAZY_OR_NOW RTLD_NOW
17264 # define LT_DLLAZY_OR_NOW DL_NOW
17266 # define LT_DLLAZY_OR_NOW 0
17274 extern "C" void exit (int);
17277 void fnord() { int i=42;}
17280 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17281 int status = $lt_dlunknown;
17285 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17286 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17287 /* dlclose (self); */
17295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17296 (eval $ac_link) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17300 (./conftest; exit; ) >&5 2>/dev/null
17302 case x$lt_status in
17303 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17304 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17305 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17308 # compilation failed
17309 lt_cv_dlopen_self=no
17316 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17317 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17319 if test "x$lt_cv_dlopen_self" = xyes; then
17320 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17321 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17322 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17323 if test "${lt_cv_dlopen_self_static+set}" = set; then
17324 echo $ECHO_N "(cached) $ECHO_C" >&6
17326 if test "$cross_compiling" = yes; then :
17327 lt_cv_dlopen_self_static=cross
17329 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17330 lt_status=$lt_dlunknown
17331 cat > conftest.$ac_ext <<EOF
17332 #line 17332 "configure"
17333 #include "confdefs.h"
17342 # define LT_DLGLOBAL RTLD_GLOBAL
17345 # define LT_DLGLOBAL DL_GLOBAL
17347 # define LT_DLGLOBAL 0
17351 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17352 find out it does not work in some platform. */
17353 #ifndef LT_DLLAZY_OR_NOW
17355 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17358 # define LT_DLLAZY_OR_NOW DL_LAZY
17361 # define LT_DLLAZY_OR_NOW RTLD_NOW
17364 # define LT_DLLAZY_OR_NOW DL_NOW
17366 # define LT_DLLAZY_OR_NOW 0
17374 extern "C" void exit (int);
17377 void fnord() { int i=42;}
17380 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17381 int status = $lt_dlunknown;
17385 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17386 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17387 /* dlclose (self); */
17395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17396 (eval $ac_link) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17400 (./conftest; exit; ) >&5 2>/dev/null
17402 case x$lt_status in
17403 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17404 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17405 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17408 # compilation failed
17409 lt_cv_dlopen_self_static=no
17416 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17417 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17420 CPPFLAGS="$save_CPPFLAGS"
17421 LDFLAGS="$save_LDFLAGS"
17426 case $lt_cv_dlopen_self in
17427 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17428 *) enable_dlopen_self=unknown ;;
17431 case $lt_cv_dlopen_self_static in
17432 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17433 *) enable_dlopen_self_static=unknown ;;
17438 # Report which library types will actually be built
17439 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17440 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17441 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17442 echo "${ECHO_T}$can_build_shared" >&6; }
17444 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17445 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17446 test "$can_build_shared" = "no" && enable_shared=no
17448 # On AIX, shared libraries and static libraries use the same namespace, and
17449 # are all built from PIC.
17452 test "$enable_shared" = yes && enable_static=no
17453 if test -n "$RANLIB"; then
17454 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17455 postinstall_cmds='$RANLIB $lib'
17460 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17461 test "$enable_shared" = yes && enable_static=no
17465 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17466 echo "${ECHO_T}$enable_shared" >&6; }
17468 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17469 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17470 # Make sure either enable_shared or enable_static is yes.
17471 test "$enable_shared" = yes || enable_static=yes
17472 { echo "$as_me:$LINENO: result: $enable_static" >&5
17473 echo "${ECHO_T}$enable_static" >&6; }
17475 # The else clause should only fire when bootstrapping the
17476 # libtool distribution, otherwise you forgot to ship ltmain.sh
17477 # with your package, and you will get complaints that there are
17478 # no rules to generate ltmain.sh.
17479 if test -f "$ltmain"; then
17480 # See if we are running on zsh, and set the options which allow our commands through
17481 # without removal of \ escapes.
17482 if test -n "${ZSH_VERSION+set}" ; then
17483 setopt NO_GLOB_SUBST
17485 # Now quote all the things that may contain metacharacters while being
17486 # careful not to overquote the AC_SUBSTed values. We take copies of the
17487 # variables and quote the copies for generation of the libtool script.
17488 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17490 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17491 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17492 deplibs_check_method reload_flag reload_cmds need_locks \
17493 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17494 lt_cv_sys_global_symbol_to_c_name_address \
17495 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17496 old_postinstall_cmds old_postuninstall_cmds \
17500 lt_prog_compiler_wl \
17501 lt_prog_compiler_pic \
17502 lt_prog_compiler_static \
17503 lt_prog_compiler_no_builtin_flag \
17504 export_dynamic_flag_spec \
17505 thread_safe_flag_spec \
17506 whole_archive_flag_spec \
17507 enable_shared_with_static_runtimes \
17509 old_archive_from_new_cmds \
17514 compiler_lib_search_path \
17516 archive_expsym_cmds \
17518 postuninstall_cmds \
17519 old_archive_from_expsyms_cmds \
17520 allow_undefined_flag \
17521 no_undefined_flag \
17522 export_symbols_cmds \
17523 hardcode_libdir_flag_spec \
17524 hardcode_libdir_flag_spec_ld \
17525 hardcode_libdir_separator \
17526 hardcode_automatic \
17528 module_expsym_cmds \
17529 lt_cv_prog_compiler_c_o \
17531 include_expsyms; do
17534 old_archive_cmds | \
17535 old_archive_from_new_cmds | \
17537 archive_expsym_cmds | \
17539 module_expsym_cmds | \
17540 old_archive_from_expsyms_cmds | \
17541 export_symbols_cmds | \
17542 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17543 postinstall_cmds | postuninstall_cmds | \
17544 old_postinstall_cmds | old_postuninstall_cmds | \
17545 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17546 # Double-quote double-evaled strings.
17547 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17550 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17556 *'\$0 --fallback-echo"')
17557 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17561 cfgfile="${ofile}T"
17562 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17564 { echo "$as_me:$LINENO: creating $ofile" >&5
17565 echo "$as_me: creating $ofile" >&6;}
17567 cat <<__EOF__ >> "$cfgfile"
17570 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17571 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17572 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17574 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17575 # Free Software Foundation, Inc.
17577 # This file is part of GNU Libtool:
17578 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17580 # This program is free software; you can redistribute it and/or modify
17581 # it under the terms of the GNU General Public License as published by
17582 # the Free Software Foundation; either version 2 of the License, or
17583 # (at your option) any later version.
17585 # This program is distributed in the hope that it will be useful, but
17586 # WITHOUT ANY WARRANTY; without even the implied warranty of
17587 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17588 # General Public License for more details.
17590 # You should have received a copy of the GNU General Public License
17591 # along with this program; if not, write to the Free Software
17592 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17594 # As a special exception to the GNU General Public License, if you
17595 # distribute this file as part of a program that contains a
17596 # configuration script generated by Autoconf, you may include it under
17597 # the same distribution terms that you use for the rest of that program.
17599 # A sed program that does not truncate output.
17602 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17603 Xsed="$SED -e 1s/^X//"
17605 # The HP-UX ksh and POSIX shell print the target directory to stdout
17606 # if CDPATH is set.
17607 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17609 # The names of the tagged configurations supported by this script.
17612 # ### BEGIN LIBTOOL CONFIG
17614 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17616 # Shell to use when invoking shell scripts.
17619 # Whether or not to build shared libraries.
17620 build_libtool_libs=$enable_shared
17622 # Whether or not to build static libraries.
17623 build_old_libs=$enable_static
17625 # Whether or not to add -lc for building shared libraries.
17626 build_libtool_need_lc=$archive_cmds_need_lc
17628 # Whether or not to disallow shared libs when runtime libs are static
17629 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17631 # Whether or not to optimize for fast installation.
17632 fast_install=$enable_fast_install
17635 host_alias=$host_alias
17639 # The build system.
17640 build_alias=$build_alias
17644 # An echo program that does not interpret backslashes.
17649 AR_FLAGS=$lt_AR_FLAGS
17654 # LTCC compiler flags.
17655 LTCFLAGS=$lt_LTCFLAGS
17657 # A language-specific compiler.
17660 # Is the compiler the GNU C compiler?
17666 # The linker used to build libraries.
17669 # Whether we need hard or soft links.
17672 # A BSD-compatible nm program.
17675 # A symbol stripping program
17678 # Used to examine libraries when file_magic_cmd begins "file"
17679 MAGIC_CMD=$MAGIC_CMD
17681 # Used on cygwin: DLL creation program.
17684 # Used on cygwin: object dumper.
17687 # Used on cygwin: assembler.
17690 # The name of the directory that contains temporary libtool files.
17693 # How to create reloadable object files.
17694 reload_flag=$lt_reload_flag
17695 reload_cmds=$lt_reload_cmds
17697 # How to pass a linker flag through the compiler.
17698 wl=$lt_lt_prog_compiler_wl
17700 # Object file suffix (normally "o").
17701 objext="$ac_objext"
17703 # Old archive suffix (normally "a").
17706 # Shared library suffix (normally ".so").
17707 shrext_cmds='$shrext_cmds'
17709 # Executable file suffix (normally "").
17712 # Additional compiler flags for building library objects.
17713 pic_flag=$lt_lt_prog_compiler_pic
17716 # What is the maximum length of a command?
17717 max_cmd_len=$lt_cv_sys_max_cmd_len
17719 # Does compiler simultaneously support -c and -o options?
17720 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17722 # Must we lock files when doing compilation?
17723 need_locks=$lt_need_locks
17725 # Do we need the lib prefix for modules?
17726 need_lib_prefix=$need_lib_prefix
17728 # Do we need a version for libraries?
17729 need_version=$need_version
17731 # Whether dlopen is supported.
17732 dlopen_support=$enable_dlopen
17734 # Whether dlopen of programs is supported.
17735 dlopen_self=$enable_dlopen_self
17737 # Whether dlopen of statically linked programs is supported.
17738 dlopen_self_static=$enable_dlopen_self_static
17740 # Compiler flag to prevent dynamic linking.
17741 link_static_flag=$lt_lt_prog_compiler_static
17743 # Compiler flag to turn off builtin functions.
17744 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17746 # Compiler flag to allow reflexive dlopens.
17747 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17749 # Compiler flag to generate shared objects directly from archives.
17750 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17752 # Compiler flag to generate thread-safe objects.
17753 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17755 # Library versioning type.
17756 version_type=$version_type
17758 # Format of library name prefix.
17759 libname_spec=$lt_libname_spec
17761 # List of archive names. First name is the real one, the rest are links.
17762 # The last name is the one that the linker finds with -lNAME.
17763 library_names_spec=$lt_library_names_spec
17765 # The coded name of the library, if different from the real name.
17766 soname_spec=$lt_soname_spec
17768 # Commands used to build and install an old-style archive.
17770 old_archive_cmds=$lt_old_archive_cmds
17771 old_postinstall_cmds=$lt_old_postinstall_cmds
17772 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17774 # Create an old-style archive from a shared archive.
17775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17777 # Create a temporary old-style archive to link instead of a shared archive.
17778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17780 # Commands used to build and install a shared archive.
17781 archive_cmds=$lt_archive_cmds
17782 archive_expsym_cmds=$lt_archive_expsym_cmds
17783 postinstall_cmds=$lt_postinstall_cmds
17784 postuninstall_cmds=$lt_postuninstall_cmds
17786 # Commands used to build a loadable module (assumed same as above if empty)
17787 module_cmds=$lt_module_cmds
17788 module_expsym_cmds=$lt_module_expsym_cmds
17790 # Commands to strip libraries.
17791 old_striplib=$lt_old_striplib
17792 striplib=$lt_striplib
17794 # Dependencies to place before the objects being linked to create a
17796 predep_objects=$lt_predep_objects
17798 # Dependencies to place after the objects being linked to create a
17800 postdep_objects=$lt_postdep_objects
17802 # Dependencies to place before the objects being linked to create a
17804 predeps=$lt_predeps
17806 # Dependencies to place after the objects being linked to create a
17808 postdeps=$lt_postdeps
17810 # The library search path used internally by the compiler when linking
17811 # a shared library.
17812 compiler_lib_search_path=$lt_compiler_lib_search_path
17814 # Method to check whether dependent libraries are shared objects.
17815 deplibs_check_method=$lt_deplibs_check_method
17817 # Command to use when deplibs_check_method == file_magic.
17818 file_magic_cmd=$lt_file_magic_cmd
17820 # Flag that allows shared libraries with undefined symbols to be built.
17821 allow_undefined_flag=$lt_allow_undefined_flag
17823 # Flag that forces no undefined symbols.
17824 no_undefined_flag=$lt_no_undefined_flag
17826 # Commands used to finish a libtool library installation in a directory.
17827 finish_cmds=$lt_finish_cmds
17829 # Same as above, but a single script fragment to be evaled but not shown.
17830 finish_eval=$lt_finish_eval
17832 # Take the output of nm and produce a listing of raw symbols and C names.
17833 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17835 # Transform the output of nm in a proper C declaration
17836 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17838 # Transform the output of nm in a C name address pair
17839 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17841 # This is the shared library runtime path variable.
17842 runpath_var=$runpath_var
17844 # This is the shared library path variable.
17845 shlibpath_var=$shlibpath_var
17847 # Is shlibpath searched before the hard-coded library search path?
17848 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17850 # How to hardcode a shared library path into an executable.
17851 hardcode_action=$hardcode_action
17853 # Whether we should hardcode library paths into libraries.
17854 hardcode_into_libs=$hardcode_into_libs
17856 # Flag to hardcode \$libdir into a binary during linking.
17857 # This must work even if \$libdir does not exist.
17858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17860 # If ld is used when linking, flag to hardcode \$libdir into
17861 # a binary during linking. This must work even if \$libdir does
17863 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17865 # Whether we need a single -rpath flag with a separated argument.
17866 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17868 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17869 # resulting binary.
17870 hardcode_direct=$hardcode_direct
17872 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17873 # resulting binary.
17874 hardcode_minus_L=$hardcode_minus_L
17876 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17877 # the resulting binary.
17878 hardcode_shlibpath_var=$hardcode_shlibpath_var
17880 # Set to yes if building a shared library automatically hardcodes DIR into the library
17881 # and all subsequent libraries and executables linked against it.
17882 hardcode_automatic=$hardcode_automatic
17884 # Variables whose values should be saved in libtool wrapper scripts and
17885 # restored at relink time.
17886 variables_saved_for_relink="$variables_saved_for_relink"
17888 # Whether libtool must link a program against all its dependency libraries.
17889 link_all_deplibs=$link_all_deplibs
17891 # Compile-time system search path for libraries
17892 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17894 # Run-time system search path for libraries
17895 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17897 # Fix the shell variable \$srcfile for the compiler.
17898 fix_srcfile_path="$fix_srcfile_path"
17900 # Set to yes if exported symbols are required.
17901 always_export_symbols=$always_export_symbols
17903 # The commands to list exported symbols.
17904 export_symbols_cmds=$lt_export_symbols_cmds
17906 # The commands to extract the exported symbol list from a shared archive.
17907 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17909 # Symbols that should not be listed in the preloaded symbols.
17910 exclude_expsyms=$lt_exclude_expsyms
17912 # Symbols that must always be exported.
17913 include_expsyms=$lt_include_expsyms
17915 # ### END LIBTOOL CONFIG
17922 cat <<\EOF >> "$cfgfile"
17924 # AIX sometimes has problems with the GCC collect2 program. For some
17925 # reason, if we set the COLLECT_NAMES environment variable, the problems
17926 # vanish in a puff of smoke.
17927 if test "X${COLLECT_NAMES+set}" != Xset; then
17929 export COLLECT_NAMES
17935 # We use sed instead of cat because bash on DJGPP gets confused if
17936 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17937 # text mode, it properly converts lines to CR/LF. This bash problem
17938 # is reportedly fixed, but why not run on old versions too?
17939 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17941 mv -f "$cfgfile" "$ofile" || \
17942 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17946 # If there is no Makefile yet, we rely on a make rule to execute
17947 # `config.status
--recheck' to rerun these tests and create the
17948 # libtool script then.
17949 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17950 if test -f "$ltmain_in"; then
17951 test -f Makefile && make "$ltmain"
17957 ac_cpp='$CPP $CPPFLAGS'
17958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17959 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17965 # Check whether --with-tags was given.
17966 if test "${with_tags+set}" = set; then
17967 withval=$with_tags; tagnames="$withval"
17971 if test -f "$ltmain" && test -n "$tagnames"; then
17972 if test ! -f "${ofile}"; then
17973 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
17974 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
17977 if test -z "$LTCC"; then
17978 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
17979 if test -z "$LTCC"; then
17980 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
17981 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
17983 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
17984 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
17987 if test -z "$LTCFLAGS"; then
17988 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
17991 # Extract list of available tagged configurations in $ofile.
17992 # Note that this assumes the entire list is on one line.
17993 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
17995 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17996 for tagname in $tagnames; do
17998 # Check whether tagname contains only valid characters
17999 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18001 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18002 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18003 { (exit 1); exit 1; }; }
18007 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18009 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18010 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18011 { (exit 1); exit 1; }; }
18014 # Update the list of available tags.
18015 if test -n "$tagname"; then
18016 echo appending configuration tag \"$tagname\" to $ofile
18020 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18021 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
18022 (test "X$CXX" != "Xg++"))) ; then
18024 ac_cpp='$CXXCPP $CPPFLAGS'
18025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18032 archive_cmds_need_lc_CXX=no
18033 allow_undefined_flag_CXX=
18034 always_export_symbols_CXX=no
18035 archive_expsym_cmds_CXX=
18036 export_dynamic_flag_spec_CXX=
18037 hardcode_direct_CXX=no
18038 hardcode_libdir_flag_spec_CXX=
18039 hardcode_libdir_flag_spec_ld_CXX=
18040 hardcode_libdir_separator_CXX=
18041 hardcode_minus_L_CXX=no
18042 hardcode_shlibpath_var_CXX=unsupported
18043 hardcode_automatic_CXX=no
18045 module_expsym_cmds_CXX=
18046 link_all_deplibs_CXX=unknown
18047 old_archive_cmds_CXX=$old_archive_cmds
18048 no_undefined_flag_CXX=
18049 whole_archive_flag_spec_CXX=
18050 enable_shared_with_static_runtimes_CXX=no
18052 # Dependencies to place before and after the object being linked:
18053 predep_objects_CXX=
18054 postdep_objects_CXX=
18057 compiler_lib_search_path_CXX=
18059 # Source file extension for C++ test sources.
18062 # Object file extension for compiled C++ test sources.
18066 # Code to be used in simple compile tests
18067 lt_simple_compile_test_code="int some_variable = 0;\n"
18069 # Code to be used in simple link tests
18070 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18072 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18074 # If no C compiler was specified, use CC.
18077 # If no C compiler flags were specified, use CFLAGS.
18078 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18080 # Allow CC to be a program name with arguments.
18084 # save warnings/boilerplate of simple test code
18085 ac_outfile=conftest.$ac_objext
18086 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18087 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18088 _lt_compiler_boilerplate=`cat conftest.err
`
18091 ac_outfile=conftest.$ac_objext
18092 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18093 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18094 _lt_linker_boilerplate=`cat conftest.err
`
18098 # Allow CC to be a program name with arguments.
18103 lt_save_with_gnu_ld=$with_gnu_ld
18104 lt_save_path_LD=$lt_cv_path_LD
18105 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18106 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18108 $as_unset lt_cv_prog_gnu_ld
18110 if test -n "${lt_cv_path_LDCXX+set}"; then
18111 lt_cv_path_LD=$lt_cv_path_LDCXX
18113 $as_unset lt_cv_path_LD
18115 test -z "${LDCXX+set}" || LD=$LDCXX
18119 for cc_temp in $compiler""; do
18121 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18122 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18127 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18130 # We don't want -fno-exception wen compiling C++ code, so set the
18131 # no_builtin_flag separately
18132 if test "$GXX" = yes; then
18133 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18135 lt_prog_compiler_no_builtin_flag_CXX=
18138 if test "$GXX" = yes; then
18139 # Set up default GNU C++ configuration
18142 # Check whether --with-gnu-ld was given.
18143 if test "${with_gnu_ld+set}" = set; then
18144 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18150 if test "$GCC" = yes; then
18151 # Check if gcc -print-prog-name=ld gives a path.
18152 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18153 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18156 # gcc leaves a trailing carriage return which upsets mingw
18157 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
18159 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18162 # Accept absolute paths.
18164 re_direlt='/[^/][^/]*/\.\./'
18165 # Canonicalize the pathname of ld
18166 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
18167 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18168 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
18170 test -z "$LD" && LD="$ac_prog"
18173 # If it fails, then pretend we aren't using GCC.
18177 # If it is relative, then search for the first ld in PATH.
18178 with_gnu_ld=unknown
18181 elif test "$with_gnu_ld" = yes; then
18182 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18183 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18185 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18186 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18188 if test "${lt_cv_path_LD+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18191 if test -z "$LD"; then
18192 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18193 for ac_dir in $PATH; do
18195 test -z "$ac_dir" && ac_dir=.
18196 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18197 lt_cv_path_LD="$ac_dir/$ac_prog"
18198 # Check to see if the program is GNU ld. I'd rather use --version,
18199 # but apparently some variants of GNU ld only accept -v.
18200 # Break only if it was the GNU/non-GNU ld that we prefer.
18201 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18202 *GNU* | *'with BFD'*)
18203 test "$with_gnu_ld" != no && break
18206 test "$with_gnu_ld" != yes && break
18213 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18217 LD="$lt_cv_path_LD"
18218 if test -n "$LD"; then
18219 { echo "$as_me:$LINENO: result: $LD" >&5
18220 echo "${ECHO_T}$LD" >&6; }
18222 { echo "$as_me:$LINENO: result: no" >&5
18223 echo "${ECHO_T}no" >&6; }
18225 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18226 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18227 { (exit 1); exit 1; }; }
18228 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18229 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18230 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18234 case `$LD -v 2>&1 </dev
/null
` in
18235 *GNU* | *'with BFD'*)
18236 lt_cv_prog_gnu_ld=yes
18239 lt_cv_prog_gnu_ld=no
18243 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18244 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18245 with_gnu_ld=$lt_cv_prog_gnu_ld
18249 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18250 # archiving commands below assume that GNU ld is being used.
18251 if test "$with_gnu_ld" = yes; then
18252 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18253 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'
18255 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18256 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18258 # If archive_cmds runs LD, not CC, wlarc should be empty
18259 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18260 # investigate it a little bit more. (MM)
18263 # ancient GNU ld didn't support --whole-archive et. al.
18264 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18265 grep 'no-whole-archive' > /dev/null; then
18266 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18268 whole_archive_flag_spec_CXX=
18274 # A generic and very simple default shared library creation
18275 # command for GNU C++ for the case where it uses the native
18276 # linker, instead of GNU ld. If possible, this setting should
18277 # overridden to take advantage of the native linker features on
18278 # the platform it is being used on.
18279 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18282 # Commands to make compiler produce verbose output that lists
18283 # what "hidden" libraries, object files and flags are used when
18284 # linking a shared library.
18285 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18293 # PORTME: fill in a description of your system's C++ link characteristics
18294 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18295 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18299 # FIXME: insert proper C++ library support
18303 if test "$host_cpu" = ia64; then
18304 # On IA64, the linker does run time linking by default, so we don't
18305 # have to do anything special.
18306 aix_use_runtimelinking=no
18307 exp_sym_flag='-Bexport'
18310 aix_use_runtimelinking=no
18312 # Test if we are trying to use run time linking or normal
18313 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18314 # need to do runtime linking.
18315 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18316 for ld_flag in $LDFLAGS; do
18319 aix_use_runtimelinking=yes
18327 exp_sym_flag='-bexport'
18328 no_entry_flag='-bnoentry'
18331 # When large executables or shared objects are built, AIX ld can
18332 # have problems creating the table of contents. If linking a library
18333 # or program results in "error TOC overflow" add -mminimal-toc to
18334 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18335 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18337 archive_cmds_CXX=''
18338 hardcode_direct_CXX=yes
18339 hardcode_libdir_separator_CXX=':'
18340 link_all_deplibs_CXX=yes
18342 if test "$GXX" = yes; then
18343 case $host_os in aix4.[012]|aix4.[012].*)
18344 # We only want to do this on AIX 4.2 and lower, the check
18345 # below for broken collect2 doesn't work under 4.3+
18346 collect2name=`${CC} -print-prog-name=collect2
`
18347 if test -f "$collect2name" && \
18348 strings "$collect2name" | grep resolve_lib_name >/dev/null
18350 # We have reworked collect2
18351 hardcode_direct_CXX=yes
18353 # We have old collect2
18354 hardcode_direct_CXX=unsupported
18355 # It fails to find uninstalled libraries when the uninstalled
18356 # path is not listed in the libpath. Setting hardcode_minus_L
18357 # to unsupported forces relinking
18358 hardcode_minus_L_CXX=yes
18359 hardcode_libdir_flag_spec_CXX='-L$libdir'
18360 hardcode_libdir_separator_CXX=
18364 shared_flag='-shared'
18365 if test "$aix_use_runtimelinking" = yes; then
18366 shared_flag="$shared_flag "'${wl}-G'
18370 if test "$host_cpu" = ia64; then
18371 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18372 # chokes on -Wl,-G. The following line is correct:
18375 if test "$aix_use_runtimelinking" = yes; then
18376 shared_flag='${wl}-G'
18378 shared_flag='${wl}-bM:SRE'
18383 # It seems that -bexpall does not export symbols beginning with
18384 # underscore (_), so it is better to generate a list of symbols to export.
18385 always_export_symbols_CXX=yes
18386 if test "$aix_use_runtimelinking" = yes; then
18387 # Warning - without using the other runtime loading flags (-brtl),
18388 # -berok will link without error, but may produce a broken library.
18389 allow_undefined_flag_CXX='-berok'
18390 # Determine the default libpath from the value encoded in an empty executable.
18391 cat >conftest.$ac_ext <<_ACEOF
18394 cat confdefs.h >>conftest.$ac_ext
18395 cat >>conftest.$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18406 rm -f conftest.$ac_objext conftest$ac_exeext
18407 if { (ac_try="$ac_link"
18408 case "(($ac_try" in
18409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18410 *) ac_try_echo
=$ac_try;;
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_link") 2>conftest.er1
18415 grep -v '^ *+' conftest.er1
>conftest.err
18417 cat conftest.err
>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } &&
18420 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18421 { (case "(($ac_try" in
18422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_try") 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; } &&
18430 { ac_try='test -s conftest$ac_exeext'
18431 { (case "(($ac_try" in
18432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18433 *) ac_try_echo
=$ac_try;;
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_try") 2>&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18441 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18443 # Check for a 64-bit object if we didn't find anything.
18444 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; }
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.
$ac_ext >&5
18453 rm -f core conftest.err conftest.
$ac_objext \
18454 conftest
$ac_exeext conftest.
$ac_ext
18455 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18457 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18459 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"
18461 if test "$host_cpu" = ia64
; then
18462 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18463 allow_undefined_flag_CXX
="-z nodefs"
18464 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"
18466 # Determine the default libpath from the value encoded in an empty executable.
18467 cat >conftest.
$ac_ext <<_ACEOF
18470 cat confdefs.h
>>conftest.
$ac_ext
18471 cat >>conftest.
$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18482 rm -f conftest.
$ac_objext conftest
$ac_exeext
18483 if { (ac_try
="$ac_link"
18484 case "(($ac_try" in
18485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18486 *) ac_try_echo=$ac_try;;
18488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18489 (eval "$ac_link") 2>conftest.er1
18491 grep -v '^ *+' conftest.er1 >conftest.err
18493 cat conftest.err >&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } &&
18496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18497 { (case "(($ac_try" in
18498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18499 *) ac_try_echo
=$ac_try;;
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_try") 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; } &&
18506 { ac_try
='test -s conftest$ac_exeext'
18507 { (case "(($ac_try" in
18508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18509 *) ac_try_echo=$ac_try;;
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512 (eval "$ac_try") 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; }; then
18517 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18519 # Check for a 64-bit object if we didn't find anything.
18520 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; }
18523 echo "$as_me: failed program was:" >&5
18524 sed 's/^/| /' conftest.$ac_ext >&5
18529 rm -f core conftest.err conftest.$ac_objext \
18530 conftest$ac_exeext conftest.$ac_ext
18531 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18533 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18534 # Warning - without using the other run time loading flags,
18535 # -berok will link without error, but may produce a broken library.
18536 no_undefined_flag_CXX=' ${wl}-bernotok'
18537 allow_undefined_flag_CXX=' ${wl}-berok'
18538 # Exported symbols can be pulled into shared objects from archives
18539 whole_archive_flag_spec_CXX='$convenience'
18540 archive_cmds_need_lc_CXX=yes
18541 # This is similar to how AIX traditionally builds its shared libraries.
18542 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'
18548 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18549 allow_undefined_flag_CXX=unsupported
18550 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18551 # support --undefined. This deserves some investigation. FIXME
18552 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18559 case $cc_basename in
18561 # FIXME: insert proper C++ library support
18567 cygwin* | mingw* | pw32*)
18568 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18569 # as there is no search path for DLLs.
18570 hardcode_libdir_flag_spec_CXX='-L$libdir'
18571 allow_undefined_flag_CXX=unsupported
18572 always_export_symbols_CXX=no
18573 enable_shared_with_static_runtimes_CXX=yes
18575 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18576 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'
18577 # If the export-symbols file already is a .def file (1st line
18578 # is EXPORTS), use it as is; otherwise, prepend...
18579 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18580 cp $export_symbols $output_objdir/$soname.def;
18582 echo EXPORTS > $output_objdir/$soname.def;
18583 cat $export_symbols >> $output_objdir/$soname.def;
18585 $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'
18590 darwin* | rhapsody*)
18592 rhapsody* | darwin1.[012])
18593 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18596 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18597 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18599 case ${MACOSX_DEPLOYMENT_TARGET} in
18601 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18604 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18610 archive_cmds_need_lc_CXX=no
18611 hardcode_direct_CXX=no
18612 hardcode_automatic_CXX=yes
18613 hardcode_shlibpath_var_CXX=unsupported
18614 whole_archive_flag_spec_CXX=''
18615 link_all_deplibs_CXX=yes
18617 if test "$GXX" = yes ; then
18618 lt_int_apple_cc_single_mod=no
18619 output_verbose_link_cmd='echo'
18620 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18621 lt_int_apple_cc_single_mod=yes
18623 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18624 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18626 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'
18628 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18629 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18630 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18631 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}'
18633 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}'
18635 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}'
18637 case $cc_basename in
18639 output_verbose_link_cmd='echo'
18640 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'
18641 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18642 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18643 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}'
18644 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}'
18654 case $cc_basename in
18656 # FIXME: insert proper C++ library support
18660 # Green Hills C++ Compiler
18661 # FIXME: insert proper C++ library support
18665 # FIXME: insert proper C++ library support
18671 # C++ shared libraries reported to be fairly broken before switch to ELF
18675 archive_cmds_need_lc_CXX=no
18677 freebsd* | kfreebsd*-gnu | dragonfly*)
18678 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18685 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18686 hardcode_libdir_separator_CXX=:
18687 export_dynamic_flag_spec_CXX='${wl}-E'
18688 hardcode_direct_CXX=yes
18689 hardcode_minus_L_CXX=yes # Not in the search PATH,
18690 # but as the default
18691 # location of the library.
18693 case $cc_basename in
18695 # FIXME: insert proper C++ library support
18699 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'
18700 # Commands to make compiler produce verbose output that lists
18701 # what "hidden" libraries, object files and flags are used when
18702 # linking a shared library.
18704 # There doesn't appear to be a way to prevent this compiler from
18705 # explicitly linking system object files so we need to strip them
18706 # from the output so that they don't get included in the library
18708 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'
18711 if test "$GXX" = yes; then
18712 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'
18714 # FIXME: insert proper C++ library support
18721 if test $with_gnu_ld = no; then
18722 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18723 hardcode_libdir_separator_CXX=:
18727 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18730 export_dynamic_flag_spec_CXX='${wl}-E'
18736 hardcode_direct_CXX=no
18737 hardcode_shlibpath_var_CXX=no
18740 hardcode_direct_CXX=yes
18741 hardcode_minus_L_CXX=yes # Not in the search PATH,
18742 # but as the default
18743 # location of the library.
18747 case $cc_basename in
18749 # FIXME: insert proper C++ library support
18755 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18758 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18761 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18764 # Commands to make compiler produce verbose output that lists
18765 # what "hidden" libraries, object files and flags are used when
18766 # linking a shared library.
18768 # There doesn't appear to be a way to prevent this compiler from
18769 # explicitly linking system object files so we need to strip them
18770 # from the output so that they don't get included in the library
18772 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'
18775 if test "$GXX" = yes; then
18776 if test $with_gnu_ld = no; then
18779 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18782 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18785 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'
18790 # FIXME: insert proper C++ library support
18797 hardcode_direct_CXX=no
18798 hardcode_shlibpath_var_CXX=no
18799 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18800 export_dynamic_flag_spec_CXX='${wl}-E'
18801 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18802 # Instead, shared libraries are loaded at an image base (0x10000000 by
18803 # default) and relocated if they conflict, which is a slow very memory
18804 # consuming and fragmenting process. To avoid this, we pick a random,
18805 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18806 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18807 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'
18808 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'
18811 case $cc_basename in
18814 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'
18816 # Archives containing C++ object files must be created using
18817 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18818 # necessary to make sure instantiated templates are included
18820 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18823 if test "$GXX" = yes; then
18824 if test "$with_gnu_ld" = no; then
18825 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'
18827 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'
18830 link_all_deplibs_CXX=yes
18833 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18834 hardcode_libdir_separator_CXX=:
18837 case $cc_basename in
18839 # Kuck and Associates, Inc. (KAI) C++ Compiler
18841 # KCC will only create a shared library if the output file
18842 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18843 # to its proper name (with version) after linking.
18844 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'
18845 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'
18846 # Commands to make compiler produce verbose output that lists
18847 # what "hidden" libraries, object files and flags are used when
18848 # linking a shared library.
18850 # There doesn't appear to be a way to prevent this compiler from
18851 # explicitly linking system object files so we need to strip them
18852 # from the output so that they don't get included in the library
18854 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'
18856 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18857 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18859 # Archives containing C++ object files must be created using
18860 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18861 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18866 # version 8.0 and above of icpc choke on multiply defined symbols
18867 # if we add $predep_objects and $postdep_objects, however 7.1 and
18868 # earlier do not add the objects themselves.
18869 case `$CC -V 2>&1` in
18871 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18872 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'
18874 *) # Version 8.0 or newer
18877 ia64
*) tmp_idyn
=' -i_dynamic';;
18879 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18880 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'
18883 archive_cmds_need_lc_CXX
=no
18884 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18885 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18886 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18889 # Portland Group C++ compiler
18890 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18891 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'
18893 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18894 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18895 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'
18899 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18900 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'
18902 runpath_var
=LD_RUN_PATH
18903 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18904 hardcode_libdir_separator_CXX
=:
18906 # Commands to make compiler produce verbose output that lists
18907 # what "hidden" libraries, object files and flags are used when
18908 # linking a shared library.
18910 # There doesn't appear to be a way to prevent this compiler from
18911 # explicitly linking system object files so we need to strip them
18912 # from the output so that they don't get included in the library
18914 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'
18919 # FIXME: insert proper C++ library support
18923 # FIXME: insert proper C++ library support
18927 case $cc_basename in
18929 # FIXME: insert proper C++ library support
18933 # FIXME: insert proper C++ library support
18939 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18940 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18942 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18943 hardcode_direct_CXX
=yes
18944 hardcode_shlibpath_var_CXX
=no
18946 # Workaround some broken pre-1.5 toolchains
18947 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18950 # C++ shared libraries are fairly broken
18954 hardcode_direct_CXX
=yes
18955 hardcode_shlibpath_var_CXX
=no
18956 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18957 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18958 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18959 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18960 export_dynamic_flag_spec_CXX
='${wl}-E'
18961 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18963 output_verbose_link_cmd
='echo'
18966 case $cc_basename in
18968 # Kuck and Associates, Inc. (KAI) C++ Compiler
18970 # KCC will only create a shared library if the output file
18971 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18972 # to its proper name (with version) after linking.
18973 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'
18975 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18976 hardcode_libdir_separator_CXX
=:
18978 # Archives containing C++ object files must be created using
18979 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18980 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18984 # Rational C++ 2.4.1
18985 # FIXME: insert proper C++ library support
18989 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18990 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'
18992 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18993 hardcode_libdir_separator_CXX
=:
18995 # Commands to make compiler produce verbose output that lists
18996 # what "hidden" libraries, object files and flags are used when
18997 # linking a shared library.
18999 # There doesn't appear to be a way to prevent this compiler from
19000 # explicitly linking system object files so we need to strip them
19001 # from the output so that they don't get included in the library
19003 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'
19006 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19007 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19008 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'
19010 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19011 hardcode_libdir_separator_CXX
=:
19013 # Commands to make compiler produce verbose output that lists
19014 # what "hidden" libraries, object files and flags are used when
19015 # linking a shared library.
19016 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19019 # FIXME: insert proper C++ library support
19026 case $cc_basename in
19028 # Kuck and Associates, Inc. (KAI) C++ Compiler
19030 # KCC will only create a shared library if the output file
19031 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19032 # to its proper name (with version) after linking.
19033 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'
19035 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19036 hardcode_libdir_separator_CXX
=:
19038 # Archives containing C++ object files must be created using
19039 # the KAI C++ compiler.
19040 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
19043 # Rational C++ 2.4.1
19044 # FIXME: insert proper C++ library support
19048 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19049 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'
19050 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19051 echo "-hidden">> $lib.exp~
19052 $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~
19055 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19056 hardcode_libdir_separator_CXX
=:
19058 # Commands to make compiler produce verbose output that lists
19059 # what "hidden" libraries, object files and flags are used when
19060 # linking a shared library.
19062 # There doesn't appear to be a way to prevent this compiler from
19063 # explicitly linking system object files so we need to strip them
19064 # from the output so that they don't get included in the library
19066 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'
19069 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19070 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19071 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'
19073 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19074 hardcode_libdir_separator_CXX
=:
19076 # Commands to make compiler produce verbose output that lists
19077 # what "hidden" libraries, object files and flags are used when
19078 # linking a shared library.
19079 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19082 # FIXME: insert proper C++ library support
19089 # FIXME: insert proper C++ library support
19093 case $cc_basename in
19096 # FIXME: insert proper C++ library support
19101 # FIXME: insert proper C++ library support
19105 # FIXME: insert proper C++ library support
19111 case $cc_basename in
19113 # Sun C++ 4.2, 5.x and Centerline C++
19114 archive_cmds_need_lc_CXX
=yes
19115 no_undefined_flag_CXX
=' -zdefs'
19116 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19117 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19118 $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'
19120 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19121 hardcode_shlibpath_var_CXX
=no
19123 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19125 # The C++ compiler is used as linker so we must use $wl
19126 # flag to pass the commands to the underlying system
19127 # linker. We must also pass each convience library through
19128 # to the system linker between allextract/defaultextract.
19129 # The C++ compiler will combine linker options so we
19130 # cannot just pass the convience library names through
19132 # Supported since Solaris 2.6 (maybe 2.5.1?)
19133 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'
19136 link_all_deplibs_CXX
=yes
19138 output_verbose_link_cmd
='echo'
19140 # Archives containing C++ object files must be created using
19141 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19142 # necessary to make sure instantiated templates are included
19144 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19147 # Green Hills C++ Compiler
19148 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19150 # The C++ compiler must be used to create the archive.
19151 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19154 # GNU C++ compiler with Solaris linker
19155 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19156 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19157 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
19158 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19159 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19160 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19162 # Commands to make compiler produce verbose output that lists
19163 # what "hidden" libraries, object files and flags are used when
19164 # linking a shared library.
19165 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19167 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19169 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19170 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19171 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19173 # Commands to make compiler produce verbose output that lists
19174 # what "hidden" libraries, object files and flags are used when
19175 # linking a shared library.
19176 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19179 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19184 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19185 no_undefined_flag_CXX
='${wl}-z,text'
19186 archive_cmds_need_lc_CXX
=no
19187 hardcode_shlibpath_var_CXX
=no
19188 runpath_var
='LD_RUN_PATH'
19190 case $cc_basename in
19192 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19193 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19196 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19197 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19201 sysv5
* | sco3.2v5
* | sco5v6
*)
19202 # Note: We can NOT use -z defs as we might desire, because we do not
19203 # link with -lc, and that would cause any symbols used from libc to
19204 # always be unresolved, which means just about no library would
19205 # ever link correctly. If we're not using GNU ld we use -z text
19206 # though, which does catch some bad symbols but isn't as heavy-handed
19208 # For security reasons, it is highly recommended that you always
19209 # use absolute paths for naming shared libraries, and exclude the
19210 # DT_RUNPATH tag from executables and libraries. But doing so
19211 # requires that you compile everything twice, which is a pain.
19212 # So that behaviour is only enabled if SCOABSPATH is set to a
19213 # non-empty value in the environment. Most likely only useful for
19214 # creating official distributions of packages.
19215 # This is a hack until libtool officially supports absolute path
19216 # names for shared libraries.
19217 no_undefined_flag_CXX
='${wl}-z,text'
19218 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19219 archive_cmds_need_lc_CXX
=no
19220 hardcode_shlibpath_var_CXX
=no
19221 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19222 hardcode_libdir_separator_CXX
=':'
19223 link_all_deplibs_CXX
=yes
19224 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19225 runpath_var
='LD_RUN_PATH'
19227 case $cc_basename in
19229 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19230 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19233 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19234 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19239 case $cc_basename in
19241 # NonStop-UX NCC 3.20
19242 # FIXME: insert proper C++ library support
19246 # FIXME: insert proper C++ library support
19252 # FIXME: insert proper C++ library support
19256 # FIXME: insert proper C++ library support
19260 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19261 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19262 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19268 cat > conftest.
$ac_ext <<EOF
19272 Foo (void) { a = 0; }
19278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19279 (eval $ac_compile) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; then
19283 # Parse the compiler output and extract the necessary
19284 # objects, libraries and library flags.
19286 # Sentinel used to keep track of whether or not we are before
19287 # the conftest object file.
19288 pre_test_object_deps_done
=no
19290 # The `*' in the case matches for architectures that use `case' in
19291 # $output_verbose_cmd can trigger glob expansion during the loop
19292 # eval without this substitution.
19293 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19295 for p
in `eval $output_verbose_link_cmd`; do
19299 # Some compilers place space between "-{L,R}" and the path.
19300 # Remove the space.
19301 if test $p = "-L" \
19302 ||
test $p = "-R"; then
19309 if test "$pre_test_object_deps_done" = no
; then
19312 # Internal compiler library paths should come after those
19313 # provided the user. The postdeps already come after the
19314 # user supplied libs so there is no need to process them.
19315 if test -z "$compiler_lib_search_path_CXX"; then
19316 compiler_lib_search_path_CXX
="${prev}${p}"
19318 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19321 # The "-l" case would never come before the object being
19322 # linked, so don't bother handling this case.
19325 if test -z "$postdeps_CXX"; then
19326 postdeps_CXX
="${prev}${p}"
19328 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19334 # This assumes that the test object file only shows up
19335 # once in the compiler output.
19336 if test "$p" = "conftest.$objext"; then
19337 pre_test_object_deps_done
=yes
19341 if test "$pre_test_object_deps_done" = no
; then
19342 if test -z "$predep_objects_CXX"; then
19343 predep_objects_CXX
="$p"
19345 predep_objects_CXX
="$predep_objects_CXX $p"
19348 if test -z "$postdep_objects_CXX"; then
19349 postdep_objects_CXX
="$p"
19351 postdep_objects_CXX
="$postdep_objects_CXX $p"
19356 *) ;; # Ignore the rest.
19364 echo "libtool.m4: error: problem compiling CXX test program"
19367 $rm -f confest.
$objext
19369 # PORTME: override above test on systems where it is broken
19372 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19373 # hack all around it, let's just trust "g++" to DTRT.
19374 predep_objects_CXX
=
19375 postdep_objects_CXX
=
19380 case $cc_basename in
19382 # Adding this requires a known-good setup of shared libraries for
19383 # Sun compiler versions before 5.6, else PIC objects from an old
19384 # archive will be linked into the output, leading to subtle bugs.
19385 postdeps_CXX
='-lCstd -lCrun'
19392 case " $postdeps_CXX " in
19393 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19396 lt_prog_compiler_wl_CXX
=
19397 lt_prog_compiler_pic_CXX
=
19398 lt_prog_compiler_static_CXX
=
19400 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19401 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19403 # C++ specific cases for pic, static, wl, etc.
19404 if test "$GXX" = yes; then
19405 lt_prog_compiler_wl_CXX
='-Wl,'
19406 lt_prog_compiler_static_CXX
='-static'
19410 # All AIX code is PIC.
19411 if test "$host_cpu" = ia64
; then
19412 # AIX 5 now supports IA64 processor
19413 lt_prog_compiler_static_CXX
='-Bstatic'
19417 # FIXME: we need at least 68020 code to build shared libraries, but
19418 # adding the `-m68020' flag to GCC prevents building anything better,
19420 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19422 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19423 # PIC is the default for these OSes.
19425 mingw
* | os2
* | pw32
*)
19426 # This hack is so that the source file can tell whether it is being
19427 # built for inclusion in a dll (and should export symbols for example).
19428 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19430 darwin
* | rhapsody
*)
19431 # PIC is the default on this platform
19432 # Common symbols not allowed in MH_DYLIB files
19433 lt_prog_compiler_pic_CXX
='-fno-common'
19436 # DJGPP does not support shared libraries at all
19437 lt_prog_compiler_pic_CXX
=
19440 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19441 # Instead, we relocate shared libraries at runtime.
19444 if test -d /usr
/nec
; then
19445 lt_prog_compiler_pic_CXX
=-Kconform_pic
19449 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19450 # not for PA HP-UX.
19455 lt_prog_compiler_pic_CXX
='-fPIC'
19460 lt_prog_compiler_pic_CXX
='-fPIC'
19466 # All AIX code is PIC.
19467 if test "$host_cpu" = ia64
; then
19468 # AIX 5 now supports IA64 processor
19469 lt_prog_compiler_static_CXX
='-Bstatic'
19471 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19475 case $cc_basename in
19477 # Green Hills C++ Compiler
19478 # _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"
19483 # PIC is the default on this platform
19484 # Common symbols not allowed in MH_DYLIB files
19485 case $cc_basename in
19487 lt_prog_compiler_pic_CXX
='-qnocommon'
19488 lt_prog_compiler_wl_CXX
='-Wl,'
19493 case $cc_basename in
19495 lt_prog_compiler_pic_CXX
='-KPIC'
19498 # Green Hills C++ Compiler
19499 lt_prog_compiler_pic_CXX
='-pic'
19505 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19506 # FreeBSD uses GNU C++
19508 hpux9
* | hpux10
* | hpux11
*)
19509 case $cc_basename in
19511 lt_prog_compiler_wl_CXX
='-Wl,'
19512 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19513 if test "$host_cpu" != ia64
; then
19514 lt_prog_compiler_pic_CXX
='+Z'
19518 lt_prog_compiler_wl_CXX
='-Wl,'
19519 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19525 lt_prog_compiler_pic_CXX
='+Z'
19534 # This is c89, which is MS Visual C++ (no shared libs)
19535 # Anyone wants to do a port?
19537 irix5
* | irix6
* | nonstopux
*)
19538 case $cc_basename in
19540 lt_prog_compiler_wl_CXX
='-Wl,'
19541 lt_prog_compiler_static_CXX
='-non_shared'
19542 # CC pic flag -KPIC is the default.
19549 case $cc_basename in
19552 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19553 lt_prog_compiler_pic_CXX
='-fPIC'
19557 lt_prog_compiler_wl_CXX
='-Wl,'
19558 lt_prog_compiler_pic_CXX
='-KPIC'
19559 lt_prog_compiler_static_CXX
='-static'
19562 # Portland Group C++ compiler.
19563 lt_prog_compiler_wl_CXX
='-Wl,'
19564 lt_prog_compiler_pic_CXX
='-fpic'
19565 lt_prog_compiler_static_CXX
='-Bstatic'
19569 # Make sure the PIC flag is empty. It appears that all Alpha
19570 # Linux and Compaq Tru64 Unix objects are PIC.
19571 lt_prog_compiler_pic_CXX
=
19572 lt_prog_compiler_static_CXX
='-non_shared'
19583 case $cc_basename in
19585 lt_prog_compiler_pic_CXX
='-W c,exportall'
19593 osf3
* | osf4
* | osf5
*)
19594 case $cc_basename in
19596 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19599 # Rational C++ 2.4.1
19600 lt_prog_compiler_pic_CXX
='-pic'
19603 # Digital/Compaq C++
19604 lt_prog_compiler_wl_CXX
='-Wl,'
19605 # Make sure the PIC flag is empty. It appears that all Alpha
19606 # Linux and Compaq Tru64 Unix objects are PIC.
19607 lt_prog_compiler_pic_CXX
=
19608 lt_prog_compiler_static_CXX
='-non_shared'
19617 case $cc_basename in
19619 # Sun C++ 4.2, 5.x and Centerline C++
19620 lt_prog_compiler_pic_CXX
='-KPIC'
19621 lt_prog_compiler_static_CXX
='-Bstatic'
19622 lt_prog_compiler_wl_CXX
='-Qoption ld '
19625 # Green Hills C++ Compiler
19626 lt_prog_compiler_pic_CXX
='-PIC'
19633 case $cc_basename in
19636 lt_prog_compiler_pic_CXX
='-pic'
19637 lt_prog_compiler_static_CXX
='-Bstatic'
19641 lt_prog_compiler_pic_CXX
='-pic'
19648 case $cc_basename in
19650 # NonStop-UX NCC 3.20
19651 lt_prog_compiler_pic_CXX
='-KPIC'
19657 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19658 case $cc_basename in
19660 lt_prog_compiler_wl_CXX
='-Wl,'
19661 lt_prog_compiler_pic_CXX
='-KPIC'
19662 lt_prog_compiler_static_CXX
='-Bstatic'
19669 lt_prog_compiler_can_build_shared_CXX
=no
19674 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19675 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19678 # Check to make sure the PIC flag actually works.
19680 if test -n "$lt_prog_compiler_pic_CXX"; then
19682 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19683 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19684 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 lt_prog_compiler_pic_works_CXX
=no
19688 ac_outfile
=conftest.
$ac_objext
19689 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19690 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19691 # Insert the option either (1) after the last *FLAGS variable, or
19692 # (2) before a word containing "conftest.", or (3) at the end.
19693 # Note that $ac_compile itself does not contain backslashes and begins
19694 # with a dollar sign (not a hyphen), so the echo should work correctly.
19695 # The option is referenced via a variable to avoid confusing sed.
19696 lt_compile
=`echo "$ac_compile" | $SED \
19697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19699 -e 's:$: $lt_compiler_flag:'`
19700 (eval echo "\"\$as_me:19700: $lt_compile\"" >&5)
19701 (eval "$lt_compile" 2>conftest.err
)
19703 cat conftest.err
>&5
19704 echo "$as_me:19704: \$? = $ac_status" >&5
19705 if (exit $ac_status) && test -s "$ac_outfile"; then
19706 # The compiler can only warn and ignore the option if not recognized
19707 # So say no if there are warnings other than the usual output.
19708 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19709 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19710 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19711 lt_prog_compiler_pic_works_CXX
=yes
19717 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19718 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19720 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19721 case $lt_prog_compiler_pic_CXX in
19723 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19726 lt_prog_compiler_pic_CXX
=
19727 lt_prog_compiler_can_build_shared_CXX
=no
19732 # For platforms which do not support PIC, -DPIC is meaningless:
19734 lt_prog_compiler_pic_CXX
=
19737 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19742 # Check to make sure the static flag actually works.
19744 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19745 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19746 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19747 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 lt_prog_compiler_static_works_CXX
=no
19751 save_LDFLAGS
="$LDFLAGS"
19752 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19753 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19754 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19755 # The linker can only warn and ignore the option if not recognized
19756 # So say no if there are warnings
19757 if test -s conftest.err
; then
19758 # Append any errors to the config.log.
19759 cat conftest.err
1>&5
19760 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19761 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19762 if diff conftest.exp conftest.er2
>/dev
/null
; then
19763 lt_prog_compiler_static_works_CXX
=yes
19766 lt_prog_compiler_static_works_CXX
=yes
19770 LDFLAGS
="$save_LDFLAGS"
19773 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19774 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19776 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19779 lt_prog_compiler_static_CXX
=
19783 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19784 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19785 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 lt_cv_prog_compiler_c_o_CXX
=no
19789 $rm -r conftest
2>/dev
/null
19793 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19795 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19796 # Insert the option either (1) after the last *FLAGS variable, or
19797 # (2) before a word containing "conftest.", or (3) at the end.
19798 # Note that $ac_compile itself does not contain backslashes and begins
19799 # with a dollar sign (not a hyphen), so the echo should work correctly.
19800 lt_compile
=`echo "$ac_compile" | $SED \
19801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19803 -e 's:$: $lt_compiler_flag:'`
19804 (eval echo "\"\$as_me:19804: $lt_compile\"" >&5)
19805 (eval "$lt_compile" 2>out
/conftest.err
)
19807 cat out
/conftest.err
>&5
19808 echo "$as_me:19808: \$? = $ac_status" >&5
19809 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19811 # The compiler can only warn and ignore the option if not recognized
19812 # So say no if there are warnings
19813 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19814 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19815 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19816 lt_cv_prog_compiler_c_o_CXX
=yes
19821 # SGI C++ compiler will create directory out/ii_files/ for
19822 # template instantiation
19823 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19824 $rm out
/* && rmdir out
19830 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19831 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19834 hard_links
="nottested"
19835 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19836 # do not overwrite the value of need_locks provided by the user
19837 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19838 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19841 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19843 ln conftest.a conftest.b
2>&5 || hard_links
=no
19844 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19845 { echo "$as_me:$LINENO: result: $hard_links" >&5
19846 echo "${ECHO_T}$hard_links" >&6; }
19847 if test "$hard_links" = no
; then
19848 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19849 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19856 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19857 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19859 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19862 # If we're using GNU nm, then we don't want the "-C" option.
19863 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19864 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19865 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'
19867 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'
19871 export_symbols_cmds_CXX
="$ltdll_cmds"
19874 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'
19877 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19881 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19882 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19883 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19886 # Do we need to explicitly link libc?
19888 case "x$archive_cmds_need_lc_CXX" in
19890 # Assume -lc should be added
19891 archive_cmds_need_lc_CXX
=yes
19893 if test "$enable_shared" = yes && test "$GCC" = yes; then
19894 case $archive_cmds_CXX in
19896 # FIXME: we may have to deal with multi-command sequences.
19899 # Test whether the compiler implicitly links with -lc since on some
19900 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19901 # to ld, don't add -lc before -lgcc.
19902 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19903 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19905 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19908 (eval $ac_compile) 2>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } 2>conftest.err
; then
19914 libobjs
=conftest.
$ac_objext
19916 wl
=$lt_prog_compiler_wl_CXX
19917 pic_flag
=$lt_prog_compiler_pic_CXX
19923 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19924 allow_undefined_flag_CXX
=
19925 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19926 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }
19931 archive_cmds_need_lc_CXX
=no
19933 archive_cmds_need_lc_CXX
=yes
19935 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19937 cat conftest.err
1>&5
19940 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19941 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19948 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19949 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19950 library_names_spec
=
19951 libname_spec
='lib$name'
19955 postuninstall_cmds
=
19959 shlibpath_overrides_runpath
=unknown
19961 dynamic_linker
="$host_os ld.so"
19962 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19963 if test "$GCC" = yes; then
19964 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19965 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19966 # if the path contains ";" then we assume it to be the separator
19967 # otherwise default to the standard path separator (i.e. ":") - it is
19968 # assumed that no part of a normal pathname contains ";" but that should
19969 # okay in the real world where ";" in dirpaths is itself problematic.
19970 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19972 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19975 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19977 need_lib_prefix
=unknown
19978 hardcode_into_libs
=no
19980 # when you set need_version to no, make sure it does not cause -set_version
19981 # flags to be left without arguments
19982 need_version
=unknown
19987 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19988 shlibpath_var
=LIBPATH
19990 # AIX 3 has no versioning support, so we append a major version to the name.
19991 soname_spec
='${libname}${release}${shared_ext}$major'
19998 hardcode_into_libs
=yes
19999 if test "$host_cpu" = ia64
; then
20000 # AIX 5 supports IA64
20001 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20002 shlibpath_var
=LD_LIBRARY_PATH
20004 # With GCC up to 2.95.x, collect2 would create an import file
20005 # for dependence libraries. The import file would start with
20006 # the line `#! .'. This would cause the generated library to
20007 # depend on `.', always an invalid library. This was fixed in
20008 # development snapshots of GCC prior to 3.0.
20010 aix4 | aix4.
[01] | aix4.
[01].
*)
20011 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20013 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20016 can_build_shared
=no
20020 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20021 # soname into executable. Probably we can add versioning support to
20022 # collect2, so additional links can be useful in future.
20023 if test "$aix_use_runtimelinking" = yes; then
20024 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20025 # instead of lib<name>.a to let people know that these are not
20026 # typical AIX shared libraries.
20027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20029 # We preserve .a as extension for shared libraries through AIX4.2
20030 # and later when we are not doing run time linking.
20031 library_names_spec
='${libname}${release}.a $libname.a'
20032 soname_spec
='${libname}${release}${shared_ext}$major'
20034 shlibpath_var
=LIBPATH
20039 library_names_spec
='$libname.ixlibrary $libname.a'
20040 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20041 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'
20045 library_names_spec
='${libname}${shared_ext}'
20046 dynamic_linker
="$host_os ld.so"
20047 shlibpath_var
=LIBRARY_PATH
20053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20054 soname_spec
='${libname}${release}${shared_ext}$major'
20055 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20056 shlibpath_var
=LD_LIBRARY_PATH
20057 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20058 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20059 # the default ld.so.conf also contains /usr/contrib/lib and
20060 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20061 # libtool to hard-code these into programs
20064 cygwin
* | mingw
* | pw32
*)
20065 version_type
=windows
20070 case $GCC,$host_os in
20071 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20072 library_names_spec
='$libname.dll.a'
20073 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20074 postinstall_cmds
='base_file=`basename \${file}`~
20075 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20076 dldir=$destdir/`dirname \$dlpath`~
20077 test -d \$dldir || mkdir -p \$dldir~
20078 $install_prog $dir/$dlname \$dldir/$dlname~
20079 chmod a+x \$dldir/$dlname'
20080 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20081 dlpath=$dir/\$dldll~
20083 shlibpath_overrides_runpath
=yes
20087 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20088 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20089 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20092 # MinGW DLLs use traditional 'lib' prefix
20093 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20094 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20095 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20096 # It is most probably a Windows format PATH printed by
20097 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20098 # path with ; separators, and with drive letters. We can handle the
20099 # drive letters (cygwin fileutils understands them), so leave them,
20100 # especially as we might pass files found there to a mingw objdump,
20101 # which wouldn't understand a cygwinified path. Ahh.
20102 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20104 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20108 # pw32 DLLs use 'pw' prefix rather than 'lib'
20109 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20115 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20118 dynamic_linker
='Win32 ld.exe'
20119 # FIXME: first we should search . and the directory the executable is in
20123 darwin
* | rhapsody
*)
20124 dynamic_linker
="$host_os dyld"
20125 version_type
=darwin
20128 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20129 soname_spec
='${libname}${release}${major}$shared_ext'
20130 shlibpath_overrides_runpath
=yes
20131 shlibpath_var
=DYLD_LIBRARY_PATH
20132 shrext_cmds
='.dylib'
20133 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20134 if test "$GCC" = yes; then
20135 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"`
20137 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20139 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20147 soname_spec
='${libname}${release}${shared_ext}$major'
20148 shlibpath_var
=LD_LIBRARY_PATH
20159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20160 soname_spec
='${libname}${release}${shared_ext}$major'
20161 shlibpath_var
=LD_LIBRARY_PATH
20162 shlibpath_overrides_runpath
=no
20163 hardcode_into_libs
=yes
20164 dynamic_linker
='GNU ld.so'
20167 freebsd
* | dragonfly
*)
20168 # DragonFly does not have aout. When/if they implement a new
20169 # versioning mechanism, adjust this.
20170 if test -x /usr
/bin
/objformat
; then
20171 objformat
=`/usr/bin/objformat`
20174 freebsd
[123]*) objformat
=aout
;;
20175 *) objformat
=elf
;;
20178 version_type
=freebsd-
$objformat
20179 case $version_type in
20181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20186 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20190 shlibpath_var
=LD_LIBRARY_PATH
20193 shlibpath_overrides_runpath
=yes
20195 freebsd3.
[01]* | freebsdelf3.
[01]*)
20196 shlibpath_overrides_runpath
=yes
20197 hardcode_into_libs
=yes
20199 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20200 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20201 shlibpath_overrides_runpath
=no
20202 hardcode_into_libs
=yes
20204 freebsd
*) # from 4.6 on
20205 shlibpath_overrides_runpath
=yes
20206 hardcode_into_libs
=yes
20215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20216 soname_spec
='${libname}${release}${shared_ext}$major'
20217 shlibpath_var
=LD_LIBRARY_PATH
20218 hardcode_into_libs
=yes
20221 hpux9
* | hpux10
* | hpux11
*)
20222 # Give a soname corresponding to the major version so that dld.sl refuses to
20223 # link against other versions.
20230 hardcode_into_libs
=yes
20231 dynamic_linker
="$host_os dld.so"
20232 shlibpath_var
=LD_LIBRARY_PATH
20233 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20235 soname_spec
='${libname}${release}${shared_ext}$major'
20236 if test "X$HPUX_IA64_MODE" = X32
; then
20237 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20239 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20241 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20245 hardcode_into_libs
=yes
20246 dynamic_linker
="$host_os dld.sl"
20247 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20248 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20250 soname_spec
='${libname}${release}${shared_ext}$major'
20251 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20252 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20256 dynamic_linker
="$host_os dld.sl"
20257 shlibpath_var
=SHLIB_PATH
20258 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20260 soname_spec
='${libname}${release}${shared_ext}$major'
20263 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20264 postinstall_cmds
='chmod 555 $lib'
20271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20272 soname_spec
='${libname}${release}${shared_ext}$major'
20273 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20274 shlibpath_var
=LD_LIBRARY_PATH
20275 shlibpath_overrides_runpath
=no
20276 hardcode_into_libs
=yes
20279 irix5
* | irix6
* | nonstopux
*)
20281 nonstopux
*) version_type
=nonstopux
;;
20283 if test "$lt_cv_prog_gnu_ld" = yes; then
20291 soname_spec
='${libname}${release}${shared_ext}$major'
20292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20294 irix5
* | nonstopux
*)
20295 libsuff
= shlibsuff
=
20298 case $LD in # libtool.m4 will add one of these switches to LD
20299 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20300 libsuff
= shlibsuff
= libmagic
=32-bit;;
20301 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20302 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20303 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20304 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20305 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20309 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20310 shlibpath_overrides_runpath
=no
20311 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20312 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20313 hardcode_into_libs
=yes
20316 # No shared lib support for Linux oldld, aout, or coff.
20317 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20321 # This must be Linux ELF.
20326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20327 soname_spec
='${libname}${release}${shared_ext}$major'
20328 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20329 shlibpath_var
=LD_LIBRARY_PATH
20330 shlibpath_overrides_runpath
=no
20331 # This implies no fast_install, which is unacceptable.
20332 # Some rework will be needed to allow for fast_install
20333 # before this can be enabled.
20334 hardcode_into_libs
=yes
20336 # Append ld.so.conf contents to the search path
20337 if test -f /etc
/ld.so.conf
; then
20338 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' ' '`
20339 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20342 # We used to test for /lib/ld.so.1 and disable shared libraries on
20343 # powerpc, because MkLinux only supported shared libraries with the
20344 # GNU dynamic linker. Since this was broken with cross compilers,
20345 # most powerpc-linux boxes support dynamic linking these days and
20346 # people can always --disable-shared, the test was removed, and we
20347 # assume the GNU/Linux dynamic linker is in use.
20348 dynamic_linker
='GNU/Linux ld.so'
20355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20356 soname_spec
='${libname}${release}${shared_ext}$major'
20357 shlibpath_var
=LD_LIBRARY_PATH
20358 shlibpath_overrides_runpath
=no
20359 hardcode_into_libs
=yes
20360 dynamic_linker
='GNU ld.so'
20367 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20369 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20370 dynamic_linker
='NetBSD (a.out) ld.so'
20372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20373 soname_spec
='${libname}${release}${shared_ext}$major'
20374 dynamic_linker
='NetBSD ld.elf_so'
20376 shlibpath_var
=LD_LIBRARY_PATH
20377 shlibpath_overrides_runpath
=yes
20378 hardcode_into_libs
=yes
20383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20384 shlibpath_var
=LD_LIBRARY_PATH
20385 shlibpath_overrides_runpath
=yes
20392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20393 soname_spec
='${libname}${release}${shared_ext}$major'
20394 shlibpath_var
=LD_LIBRARY_PATH
20395 shlibpath_overrides_runpath
=yes
20400 sys_lib_dlsearch_path_spec
="/usr/lib"
20402 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20404 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20405 *) need_version
=no
;;
20407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20408 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20409 shlibpath_var
=LD_LIBRARY_PATH
20410 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20412 openbsd2.
[89] | openbsd2.
[89].
*)
20413 shlibpath_overrides_runpath
=no
20416 shlibpath_overrides_runpath
=yes
20420 shlibpath_overrides_runpath
=yes
20425 libname_spec
='$name'
20428 library_names_spec
='$libname${shared_ext} $libname.a'
20429 dynamic_linker
='OS/2 ld.exe'
20430 shlibpath_var
=LIBPATH
20433 osf3
* | osf4
* | osf5
*)
20437 soname_spec
='${libname}${release}${shared_ext}$major'
20438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20439 shlibpath_var
=LD_LIBRARY_PATH
20440 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20441 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20449 soname_spec
='${libname}${release}${shared_ext}$major'
20450 shlibpath_var
=LD_LIBRARY_PATH
20451 shlibpath_overrides_runpath
=yes
20452 hardcode_into_libs
=yes
20453 # ldd complains unless libraries are executable
20454 postinstall_cmds
='chmod +x $lib'
20459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20460 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20461 shlibpath_var
=LD_LIBRARY_PATH
20462 shlibpath_overrides_runpath
=yes
20463 if test "$with_gnu_ld" = yes; then
20471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20472 soname_spec
='${libname}${release}${shared_ext}$major'
20473 shlibpath_var
=LD_LIBRARY_PATH
20474 case $host_vendor in
20476 shlibpath_overrides_runpath
=no
20478 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20479 runpath_var
=LD_RUN_PATH
20487 shlibpath_overrides_runpath
=no
20488 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20494 if test -d /usr
/nec
;then
20496 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20497 soname_spec
='$libname${shared_ext}.$major'
20498 shlibpath_var
=LD_LIBRARY_PATH
20502 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20503 version_type
=freebsd-elf
20506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20507 soname_spec
='${libname}${release}${shared_ext}$major'
20508 shlibpath_var
=LD_LIBRARY_PATH
20509 hardcode_into_libs
=yes
20510 if test "$with_gnu_ld" = yes; then
20511 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20512 shlibpath_overrides_runpath
=no
20514 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20515 shlibpath_overrides_runpath
=yes
20518 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20522 sys_lib_dlsearch_path_spec
='/usr/lib'
20527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20528 soname_spec
='${libname}${release}${shared_ext}$major'
20529 shlibpath_var
=LD_LIBRARY_PATH
20536 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20537 echo "${ECHO_T}$dynamic_linker" >&6; }
20538 test "$dynamic_linker" = no
&& can_build_shared
=no
20540 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20541 if test "$GCC" = yes; then
20542 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20545 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20546 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20547 hardcode_action_CXX
=
20548 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20549 test -n "$runpath_var_CXX" || \
20550 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20552 # We can hardcode non-existant directories.
20553 if test "$hardcode_direct_CXX" != no
&&
20554 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20555 # have to relink, otherwise we might link with an installed library
20556 # when we should be linking with a yet-to-be-installed one
20557 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20558 test "$hardcode_minus_L_CXX" != no
; then
20559 # Linking always hardcodes the temporary library directory.
20560 hardcode_action_CXX
=relink
20562 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20563 hardcode_action_CXX
=immediate
20566 # We cannot hardcode anything, or else we can only hardcode existing
20568 hardcode_action_CXX
=unsupported
20570 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20571 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20573 if test "$hardcode_action_CXX" = relink
; then
20574 # Fast installation is not supported
20575 enable_fast_install
=no
20576 elif test "$shlibpath_overrides_runpath" = yes ||
20577 test "$enable_shared" = no
; then
20578 # Fast installation is not necessary
20579 enable_fast_install
=needless
20583 # The else clause should only fire when bootstrapping the
20584 # libtool distribution, otherwise you forgot to ship ltmain.sh
20585 # with your package, and you will get complaints that there are
20586 # no rules to generate ltmain.sh.
20587 if test -f "$ltmain"; then
20588 # See if we are running on zsh, and set the options which allow our commands through
20589 # without removal of \ escapes.
20590 if test -n "${ZSH_VERSION+set}" ; then
20591 setopt NO_GLOB_SUBST
20593 # Now quote all the things that may contain metacharacters while being
20594 # careful not to overquote the AC_SUBSTed values. We take copies of the
20595 # variables and quote the copies for generation of the libtool script.
20596 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20598 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20599 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20600 deplibs_check_method reload_flag reload_cmds need_locks \
20601 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20602 lt_cv_sys_global_symbol_to_c_name_address \
20603 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20604 old_postinstall_cmds old_postuninstall_cmds \
20608 lt_prog_compiler_wl_CXX \
20609 lt_prog_compiler_pic_CXX \
20610 lt_prog_compiler_static_CXX \
20611 lt_prog_compiler_no_builtin_flag_CXX \
20612 export_dynamic_flag_spec_CXX \
20613 thread_safe_flag_spec_CXX \
20614 whole_archive_flag_spec_CXX \
20615 enable_shared_with_static_runtimes_CXX \
20616 old_archive_cmds_CXX \
20617 old_archive_from_new_cmds_CXX \
20618 predep_objects_CXX \
20619 postdep_objects_CXX \
20622 compiler_lib_search_path_CXX \
20624 archive_expsym_cmds_CXX \
20625 postinstall_cmds_CXX \
20626 postuninstall_cmds_CXX \
20627 old_archive_from_expsyms_cmds_CXX \
20628 allow_undefined_flag_CXX \
20629 no_undefined_flag_CXX \
20630 export_symbols_cmds_CXX \
20631 hardcode_libdir_flag_spec_CXX \
20632 hardcode_libdir_flag_spec_ld_CXX \
20633 hardcode_libdir_separator_CXX \
20634 hardcode_automatic_CXX \
20636 module_expsym_cmds_CXX \
20637 lt_cv_prog_compiler_c_o_CXX \
20638 exclude_expsyms_CXX \
20639 include_expsyms_CXX
; do
20642 old_archive_cmds_CXX | \
20643 old_archive_from_new_cmds_CXX | \
20644 archive_cmds_CXX | \
20645 archive_expsym_cmds_CXX | \
20646 module_cmds_CXX | \
20647 module_expsym_cmds_CXX | \
20648 old_archive_from_expsyms_cmds_CXX | \
20649 export_symbols_cmds_CXX | \
20650 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20651 postinstall_cmds | postuninstall_cmds | \
20652 old_postinstall_cmds | old_postuninstall_cmds | \
20653 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20654 # Double-quote double-evaled strings.
20655 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20658 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20664 *'\$0 --fallback-echo"')
20665 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20671 cat <<__EOF__ >> "$cfgfile"
20672 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20674 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20676 # Shell to use when invoking shell scripts.
20679 # Whether or not to build shared libraries.
20680 build_libtool_libs=$enable_shared
20682 # Whether or not to build static libraries.
20683 build_old_libs=$enable_static
20685 # Whether or not to add -lc for building shared libraries.
20686 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20688 # Whether or not to disallow shared libs when runtime libs are static
20689 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20691 # Whether or not to optimize for fast installation.
20692 fast_install=$enable_fast_install
20695 host_alias=$host_alias
20699 # The build system.
20700 build_alias=$build_alias
20704 # An echo program that does not interpret backslashes.
20709 AR_FLAGS=$lt_AR_FLAGS
20714 # LTCC compiler flags.
20715 LTCFLAGS=$lt_LTCFLAGS
20717 # A language-specific compiler.
20718 CC=$lt_compiler_CXX
20720 # Is the compiler the GNU C compiler?
20726 # The linker used to build libraries.
20729 # Whether we need hard or soft links.
20732 # A BSD-compatible nm program.
20735 # A symbol stripping program
20738 # Used to examine libraries when file_magic_cmd begins "file"
20739 MAGIC_CMD=$MAGIC_CMD
20741 # Used on cygwin: DLL creation program.
20744 # Used on cygwin: object dumper.
20747 # Used on cygwin: assembler.
20750 # The name of the directory that contains temporary libtool files.
20753 # How to create reloadable object files.
20754 reload_flag=$lt_reload_flag
20755 reload_cmds=$lt_reload_cmds
20757 # How to pass a linker flag through the compiler.
20758 wl=$lt_lt_prog_compiler_wl_CXX
20760 # Object file suffix (normally "o").
20761 objext="$ac_objext"
20763 # Old archive suffix (normally "a").
20766 # Shared library suffix (normally ".so").
20767 shrext_cmds='$shrext_cmds'
20769 # Executable file suffix (normally "").
20772 # Additional compiler flags for building library objects.
20773 pic_flag=$lt_lt_prog_compiler_pic_CXX
20776 # What is the maximum length of a command?
20777 max_cmd_len=$lt_cv_sys_max_cmd_len
20779 # Does compiler simultaneously support -c and -o options?
20780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20782 # Must we lock files when doing compilation?
20783 need_locks=$lt_need_locks
20785 # Do we need the lib prefix for modules?
20786 need_lib_prefix=$need_lib_prefix
20788 # Do we need a version for libraries?
20789 need_version=$need_version
20791 # Whether dlopen is supported.
20792 dlopen_support=$enable_dlopen
20794 # Whether dlopen of programs is supported.
20795 dlopen_self=$enable_dlopen_self
20797 # Whether dlopen of statically linked programs is supported.
20798 dlopen_self_static=$enable_dlopen_self_static
20800 # Compiler flag to prevent dynamic linking.
20801 link_static_flag=$lt_lt_prog_compiler_static_CXX
20803 # Compiler flag to turn off builtin functions.
20804 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20806 # Compiler flag to allow reflexive dlopens.
20807 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20809 # Compiler flag to generate shared objects directly from archives.
20810 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20812 # Compiler flag to generate thread-safe objects.
20813 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20815 # Library versioning type.
20816 version_type=$version_type
20818 # Format of library name prefix.
20819 libname_spec=$lt_libname_spec
20821 # List of archive names. First name is the real one, the rest are links.
20822 # The last name is the one that the linker finds with -lNAME.
20823 library_names_spec=$lt_library_names_spec
20825 # The coded name of the library, if different from the real name.
20826 soname_spec=$lt_soname_spec
20828 # Commands used to build and install an old-style archive.
20830 old_archive_cmds=$lt_old_archive_cmds_CXX
20831 old_postinstall_cmds=$lt_old_postinstall_cmds
20832 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20834 # Create an old-style archive from a shared archive.
20835 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20837 # Create a temporary old-style archive to link instead of a shared archive.
20838 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20840 # Commands used to build and install a shared archive.
20841 archive_cmds=$lt_archive_cmds_CXX
20842 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20843 postinstall_cmds=$lt_postinstall_cmds
20844 postuninstall_cmds=$lt_postuninstall_cmds
20846 # Commands used to build a loadable module (assumed same as above if empty)
20847 module_cmds=$lt_module_cmds_CXX
20848 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20850 # Commands to strip libraries.
20851 old_striplib=$lt_old_striplib
20852 striplib=$lt_striplib
20854 # Dependencies to place before the objects being linked to create a
20856 predep_objects=$lt_predep_objects_CXX
20858 # Dependencies to place after the objects being linked to create a
20860 postdep_objects=$lt_postdep_objects_CXX
20862 # Dependencies to place before the objects being linked to create a
20864 predeps=$lt_predeps_CXX
20866 # Dependencies to place after the objects being linked to create a
20868 postdeps=$lt_postdeps_CXX
20870 # The library search path used internally by the compiler when linking
20871 # a shared library.
20872 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20874 # Method to check whether dependent libraries are shared objects.
20875 deplibs_check_method=$lt_deplibs_check_method
20877 # Command to use when deplibs_check_method == file_magic.
20878 file_magic_cmd=$lt_file_magic_cmd
20880 # Flag that allows shared libraries with undefined symbols to be built.
20881 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20883 # Flag that forces no undefined symbols.
20884 no_undefined_flag=$lt_no_undefined_flag_CXX
20886 # Commands used to finish a libtool library installation in a directory.
20887 finish_cmds=$lt_finish_cmds
20889 # Same as above, but a single script fragment to be evaled but not shown.
20890 finish_eval=$lt_finish_eval
20892 # Take the output of nm and produce a listing of raw symbols and C names.
20893 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20895 # Transform the output of nm in a proper C declaration
20896 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20898 # Transform the output of nm in a C name address pair
20899 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20901 # This is the shared library runtime path variable.
20902 runpath_var=$runpath_var
20904 # This is the shared library path variable.
20905 shlibpath_var=$shlibpath_var
20907 # Is shlibpath searched before the hard-coded library search path?
20908 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20910 # How to hardcode a shared library path into an executable.
20911 hardcode_action=$hardcode_action_CXX
20913 # Whether we should hardcode library paths into libraries.
20914 hardcode_into_libs=$hardcode_into_libs
20916 # Flag to hardcode \$libdir into a binary during linking.
20917 # This must work even if \$libdir does not exist.
20918 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20920 # If ld is used when linking, flag to hardcode \$libdir into
20921 # a binary during linking. This must work even if \$libdir does
20923 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20925 # Whether we need a single -rpath flag with a separated argument.
20926 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20928 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20929 # resulting binary.
20930 hardcode_direct=$hardcode_direct_CXX
20932 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20933 # resulting binary.
20934 hardcode_minus_L=$hardcode_minus_L_CXX
20936 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20937 # the resulting binary.
20938 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20940 # Set to yes if building a shared library automatically hardcodes DIR into the library
20941 # and all subsequent libraries and executables linked against it.
20942 hardcode_automatic=$hardcode_automatic_CXX
20944 # Variables whose values should be saved in libtool wrapper scripts and
20945 # restored at relink time.
20946 variables_saved_for_relink="$variables_saved_for_relink"
20948 # Whether libtool must link a program against all its dependency libraries.
20949 link_all_deplibs=$link_all_deplibs_CXX
20951 # Compile-time system search path for libraries
20952 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20954 # Run-time system search path for libraries
20955 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20957 # Fix the shell variable \$srcfile for the compiler.
20958 fix_srcfile_path="$fix_srcfile_path_CXX"
20960 # Set to yes if exported symbols are required.
20961 always_export_symbols=$always_export_symbols_CXX
20963 # The commands to list exported symbols.
20964 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20966 # The commands to extract the exported symbol list from a shared archive.
20967 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20969 # Symbols that should not be listed in the preloaded symbols.
20970 exclude_expsyms=$lt_exclude_expsyms_CXX
20972 # Symbols that must always be exported.
20973 include_expsyms=$lt_include_expsyms_CXX
20975 # ### END LIBTOOL TAG CONFIG: $tagname
20981 # If there is no Makefile yet, we rely on a make rule to execute
20982 # `config.status --recheck' to rerun these tests and create the
20983 # libtool script then.
20984 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20985 if test -f "$ltmain_in"; then
20986 test -f Makefile
&& make "$ltmain"
20992 ac_cpp
='$CPP $CPPFLAGS'
20993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21001 with_gnu_ldcxx
=$with_gnu_ld
21002 with_gnu_ld
=$lt_save_with_gnu_ld
21003 lt_cv_path_LDCXX
=$lt_cv_path_LD
21004 lt_cv_path_LD
=$lt_save_path_LD
21005 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
21006 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
21014 if test -n "$F77" && test "X$F77" != "Xno"; then
21017 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21018 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
21022 archive_cmds_need_lc_F77
=no
21023 allow_undefined_flag_F77
=
21024 always_export_symbols_F77
=no
21025 archive_expsym_cmds_F77
=
21026 export_dynamic_flag_spec_F77
=
21027 hardcode_direct_F77
=no
21028 hardcode_libdir_flag_spec_F77
=
21029 hardcode_libdir_flag_spec_ld_F77
=
21030 hardcode_libdir_separator_F77
=
21031 hardcode_minus_L_F77
=no
21032 hardcode_automatic_F77
=no
21034 module_expsym_cmds_F77
=
21035 link_all_deplibs_F77
=unknown
21036 old_archive_cmds_F77
=$old_archive_cmds
21037 no_undefined_flag_F77
=
21038 whole_archive_flag_spec_F77
=
21039 enable_shared_with_static_runtimes_F77
=no
21041 # Source file extension for f77 test sources.
21044 # Object file extension for compiled f77 test sources.
21048 # Code to be used in simple compile tests
21049 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
21051 # Code to be used in simple link tests
21052 lt_simple_link_test_code
=" program t\n end\n"
21054 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21056 # If no C compiler was specified, use CC.
21059 # If no C compiler flags were specified, use CFLAGS.
21060 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21062 # Allow CC to be a program name with arguments.
21066 # save warnings/boilerplate of simple test code
21067 ac_outfile
=conftest.
$ac_objext
21068 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
21069 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21070 _lt_compiler_boilerplate
=`cat conftest.err`
21073 ac_outfile
=conftest.
$ac_objext
21074 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
21075 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21076 _lt_linker_boilerplate
=`cat conftest.err`
21080 # Allow CC to be a program name with arguments.
21085 for cc_temp
in $compiler""; do
21087 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21088 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21093 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21096 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21097 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21098 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21099 echo "${ECHO_T}$can_build_shared" >&6; }
21101 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21102 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21103 test "$can_build_shared" = "no" && enable_shared
=no
21105 # On AIX, shared libraries and static libraries use the same namespace, and
21106 # are all built from PIC.
21109 test "$enable_shared" = yes && enable_static
=no
21110 if test -n "$RANLIB"; then
21111 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
21112 postinstall_cmds
='$RANLIB $lib'
21116 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
21117 test "$enable_shared" = yes && enable_static
=no
21121 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21122 echo "${ECHO_T}$enable_shared" >&6; }
21124 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21125 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21126 # Make sure either enable_shared or enable_static is yes.
21127 test "$enable_shared" = yes || enable_static
=yes
21128 { echo "$as_me:$LINENO: result: $enable_static" >&5
21129 echo "${ECHO_T}$enable_static" >&6; }
21134 lt_prog_compiler_wl_F77
=
21135 lt_prog_compiler_pic_F77
=
21136 lt_prog_compiler_static_F77
=
21138 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21139 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21141 if test "$GCC" = yes; then
21142 lt_prog_compiler_wl_F77
='-Wl,'
21143 lt_prog_compiler_static_F77
='-static'
21147 # All AIX code is PIC.
21148 if test "$host_cpu" = ia64
; then
21149 # AIX 5 now supports IA64 processor
21150 lt_prog_compiler_static_F77
='-Bstatic'
21155 # FIXME: we need at least 68020 code to build shared libraries, but
21156 # adding the `-m68020' flag to GCC prevents building anything better,
21158 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21161 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21162 # PIC is the default for these OSes.
21165 mingw
* | pw32
* | os2
*)
21166 # This hack is so that the source file can tell whether it is being
21167 # built for inclusion in a dll (and should export symbols for example).
21168 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21171 darwin
* | rhapsody
*)
21172 # PIC is the default on this platform
21173 # Common symbols not allowed in MH_DYLIB files
21174 lt_prog_compiler_pic_F77
='-fno-common'
21178 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21179 # Instead, we relocate shared libraries at runtime.
21183 # Just because we use GCC doesn't mean we suddenly get shared libraries
21184 # on systems that don't support them.
21185 lt_prog_compiler_can_build_shared_F77
=no
21190 if test -d /usr
/nec
; then
21191 lt_prog_compiler_pic_F77
=-Kconform_pic
21196 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21197 # not for PA HP-UX.
21203 lt_prog_compiler_pic_F77
='-fPIC'
21209 lt_prog_compiler_pic_F77
='-fPIC'
21213 # PORTME Check for flag to pass linker flags through the system compiler.
21216 lt_prog_compiler_wl_F77
='-Wl,'
21217 if test "$host_cpu" = ia64
; then
21218 # AIX 5 now supports IA64 processor
21219 lt_prog_compiler_static_F77
='-Bstatic'
21221 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21225 # PIC is the default on this platform
21226 # Common symbols not allowed in MH_DYLIB files
21227 case $cc_basename in
21229 lt_prog_compiler_pic_F77
='-qnocommon'
21230 lt_prog_compiler_wl_F77
='-Wl,'
21235 mingw
* | pw32
* | os2
*)
21236 # This hack is so that the source file can tell whether it is being
21237 # built for inclusion in a dll (and should export symbols for example).
21238 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21241 hpux9
* | hpux10
* | hpux11
*)
21242 lt_prog_compiler_wl_F77
='-Wl,'
21243 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21244 # not for PA HP-UX.
21250 lt_prog_compiler_pic_F77
='+Z'
21253 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21254 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21257 irix5
* | irix6
* | nonstopux
*)
21258 lt_prog_compiler_wl_F77
='-Wl,'
21259 # PIC (with -KPIC) is the default.
21260 lt_prog_compiler_static_F77
='-non_shared'
21264 lt_prog_compiler_pic_F77
='-KPIC'
21265 lt_prog_compiler_static_F77
='-Bstatic'
21269 case $cc_basename in
21271 lt_prog_compiler_wl_F77
='-Wl,'
21272 lt_prog_compiler_pic_F77
='-KPIC'
21273 lt_prog_compiler_static_F77
='-static'
21275 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21276 # Portland Group compilers (*not* the Pentium gcc compiler,
21277 # which looks to be a dead project)
21278 lt_prog_compiler_wl_F77
='-Wl,'
21279 lt_prog_compiler_pic_F77
='-fpic'
21280 lt_prog_compiler_static_F77
='-Bstatic'
21283 lt_prog_compiler_wl_F77
='-Wl,'
21284 # All Alpha code is PIC.
21285 lt_prog_compiler_static_F77
='-non_shared'
21290 osf3
* | osf4
* | osf5
*)
21291 lt_prog_compiler_wl_F77
='-Wl,'
21292 # All OSF/1 code is PIC.
21293 lt_prog_compiler_static_F77
='-non_shared'
21297 lt_prog_compiler_pic_F77
='-KPIC'
21298 lt_prog_compiler_static_F77
='-Bstatic'
21299 case $cc_basename in
21300 f77
* | f90
* | f95
*)
21301 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21303 lt_prog_compiler_wl_F77
='-Wl,';;
21308 lt_prog_compiler_wl_F77
='-Qoption ld '
21309 lt_prog_compiler_pic_F77
='-PIC'
21310 lt_prog_compiler_static_F77
='-Bstatic'
21313 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21314 lt_prog_compiler_wl_F77
='-Wl,'
21315 lt_prog_compiler_pic_F77
='-KPIC'
21316 lt_prog_compiler_static_F77
='-Bstatic'
21320 if test -d /usr
/nec
;then
21321 lt_prog_compiler_pic_F77
='-Kconform_pic'
21322 lt_prog_compiler_static_F77
='-Bstatic'
21326 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21327 lt_prog_compiler_wl_F77
='-Wl,'
21328 lt_prog_compiler_pic_F77
='-KPIC'
21329 lt_prog_compiler_static_F77
='-Bstatic'
21333 lt_prog_compiler_wl_F77
='-Wl,'
21334 lt_prog_compiler_can_build_shared_F77
=no
21338 lt_prog_compiler_pic_F77
='-pic'
21339 lt_prog_compiler_static_F77
='-Bstatic'
21343 lt_prog_compiler_can_build_shared_F77
=no
21348 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21349 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21352 # Check to make sure the PIC flag actually works.
21354 if test -n "$lt_prog_compiler_pic_F77"; then
21356 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21357 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21358 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 lt_prog_compiler_pic_works_F77
=no
21362 ac_outfile
=conftest.
$ac_objext
21363 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21364 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21365 # Insert the option either (1) after the last *FLAGS variable, or
21366 # (2) before a word containing "conftest.", or (3) at the end.
21367 # Note that $ac_compile itself does not contain backslashes and begins
21368 # with a dollar sign (not a hyphen), so the echo should work correctly.
21369 # The option is referenced via a variable to avoid confusing sed.
21370 lt_compile
=`echo "$ac_compile" | $SED \
21371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21373 -e 's:$: $lt_compiler_flag:'`
21374 (eval echo "\"\$as_me:21374: $lt_compile\"" >&5)
21375 (eval "$lt_compile" 2>conftest.err
)
21377 cat conftest.err
>&5
21378 echo "$as_me:21378: \$? = $ac_status" >&5
21379 if (exit $ac_status) && test -s "$ac_outfile"; then
21380 # The compiler can only warn and ignore the option if not recognized
21381 # So say no if there are warnings other than the usual output.
21382 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21383 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21384 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21385 lt_prog_compiler_pic_works_F77
=yes
21391 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21392 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21394 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21395 case $lt_prog_compiler_pic_F77 in
21397 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21400 lt_prog_compiler_pic_F77
=
21401 lt_prog_compiler_can_build_shared_F77
=no
21406 # For platforms which do not support PIC, -DPIC is meaningless:
21408 lt_prog_compiler_pic_F77
=
21411 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21416 # Check to make sure the static flag actually works.
21418 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21419 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21420 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21421 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 lt_prog_compiler_static_works_F77
=no
21425 save_LDFLAGS
="$LDFLAGS"
21426 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21427 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21428 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21429 # The linker can only warn and ignore the option if not recognized
21430 # So say no if there are warnings
21431 if test -s conftest.err
; then
21432 # Append any errors to the config.log.
21433 cat conftest.err
1>&5
21434 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21435 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21436 if diff conftest.exp conftest.er2
>/dev
/null
; then
21437 lt_prog_compiler_static_works_F77
=yes
21440 lt_prog_compiler_static_works_F77
=yes
21444 LDFLAGS
="$save_LDFLAGS"
21447 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21448 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21450 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21453 lt_prog_compiler_static_F77
=
21457 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21458 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21459 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 lt_cv_prog_compiler_c_o_F77
=no
21463 $rm -r conftest
2>/dev
/null
21467 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21469 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21470 # Insert the option either (1) after the last *FLAGS variable, or
21471 # (2) before a word containing "conftest.", or (3) at the end.
21472 # Note that $ac_compile itself does not contain backslashes and begins
21473 # with a dollar sign (not a hyphen), so the echo should work correctly.
21474 lt_compile
=`echo "$ac_compile" | $SED \
21475 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21476 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21477 -e 's:$: $lt_compiler_flag:'`
21478 (eval echo "\"\$as_me:21478: $lt_compile\"" >&5)
21479 (eval "$lt_compile" 2>out
/conftest.err
)
21481 cat out
/conftest.err
>&5
21482 echo "$as_me:21482: \$? = $ac_status" >&5
21483 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21485 # The compiler can only warn and ignore the option if not recognized
21486 # So say no if there are warnings
21487 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21488 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21489 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21490 lt_cv_prog_compiler_c_o_F77
=yes
21495 # SGI C++ compiler will create directory out/ii_files/ for
21496 # template instantiation
21497 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21498 $rm out
/* && rmdir out
21504 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21505 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21508 hard_links
="nottested"
21509 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21510 # do not overwrite the value of need_locks provided by the user
21511 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21512 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21515 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21517 ln conftest.a conftest.b
2>&5 || hard_links
=no
21518 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21519 { echo "$as_me:$LINENO: result: $hard_links" >&5
21520 echo "${ECHO_T}$hard_links" >&6; }
21521 if test "$hard_links" = no
; then
21522 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21523 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21530 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21531 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21534 allow_undefined_flag_F77
=
21535 enable_shared_with_static_runtimes_F77
=no
21537 archive_expsym_cmds_F77
=
21538 old_archive_From_new_cmds_F77
=
21539 old_archive_from_expsyms_cmds_F77
=
21540 export_dynamic_flag_spec_F77
=
21541 whole_archive_flag_spec_F77
=
21542 thread_safe_flag_spec_F77
=
21543 hardcode_libdir_flag_spec_F77
=
21544 hardcode_libdir_flag_spec_ld_F77
=
21545 hardcode_libdir_separator_F77
=
21546 hardcode_direct_F77
=no
21547 hardcode_minus_L_F77
=no
21548 hardcode_shlibpath_var_F77
=unsupported
21549 link_all_deplibs_F77
=unknown
21550 hardcode_automatic_F77
=no
21552 module_expsym_cmds_F77
=
21553 always_export_symbols_F77
=no
21554 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21555 # include_expsyms should be a list of space-separated symbols to be *always*
21556 # included in the symbol list
21557 include_expsyms_F77
=
21558 # exclude_expsyms can be an extended regexp of symbols to exclude
21559 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21560 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21561 # as well as any symbol that contains `d'.
21562 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21563 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21564 # platforms (ab)use it in PIC code, but their linkers get confused if
21565 # the symbol is explicitly referenced. Since portable code cannot
21566 # rely on this symbol name, it's probably fine to never include it in
21567 # preloaded symbol tables.
21568 extract_expsyms_cmds
=
21569 # Just being paranoid about ensuring that cc_basename is set.
21570 for cc_temp
in $compiler""; do
21572 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21573 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21578 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21581 cygwin
* | mingw
* | pw32
*)
21582 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21583 # When not using gcc, we currently assume that we are using
21584 # Microsoft Visual C++.
21585 if test "$GCC" != yes; then
21590 # we just hope/assume this is gcc and not c89 (= MSVC++)
21599 if test "$with_gnu_ld" = yes; then
21600 # If archive_cmds runs LD, not CC, wlarc should be empty
21603 # Set some defaults for GNU ld with shared library support. These
21604 # are reset later if shared libraries are not supported. Putting them
21605 # here allows them to be overridden if necessary.
21606 runpath_var
=LD_RUN_PATH
21607 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21608 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21609 # ancient GNU ld didn't support --whole-archive et. al.
21610 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21611 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21613 whole_archive_flag_spec_F77
=
21615 supports_anon_versioning
=no
21616 case `$LD -v 2>/dev/null` in
21617 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21618 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21619 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21620 *\
2.11.
*) ;; # other 2.11 versions
21621 *) supports_anon_versioning
=yes ;;
21624 # See if GNU ld supports shared libraries.
21626 aix3
* | aix4
* | aix5
*)
21627 # On AIX/PPC, the GNU linker is very broken
21628 if test "$host_cpu" != ia64
; then
21632 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21633 *** to be unable to reliably create shared libraries on AIX.
21634 *** Therefore, libtool is disabling shared libraries support. If you
21635 *** really care for shared libraries, you may want to modify your PATH
21636 *** so that a non-GNU linker is found, and then restart.
21643 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)'
21644 hardcode_libdir_flag_spec_F77
='-L$libdir'
21645 hardcode_minus_L_F77
=yes
21647 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21648 # that the semantics of dynamic libraries on AmigaOS, at least up
21649 # to version 4, is to share data among multiple programs linked
21650 # with the same dynamic library. Since this doesn't match the
21651 # behavior of shared libraries on other platforms, we can't use
21657 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21658 allow_undefined_flag_F77
=unsupported
21659 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21660 # support --undefined. This deserves some investigation. FIXME
21661 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21667 cygwin
* | mingw
* | pw32
*)
21668 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21669 # as there is no search path for DLLs.
21670 hardcode_libdir_flag_spec_F77
='-L$libdir'
21671 allow_undefined_flag_F77
=unsupported
21672 always_export_symbols_F77
=no
21673 enable_shared_with_static_runtimes_F77
=yes
21674 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21676 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21677 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21678 # If the export-symbols file already is a .def file (1st line
21679 # is EXPORTS), use it as is; otherwise, prepend...
21680 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21681 cp $export_symbols $output_objdir/$soname.def;
21683 echo EXPORTS > $output_objdir/$soname.def;
21684 cat $export_symbols >> $output_objdir/$soname.def;
21686 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21693 hardcode_direct_F77
=no
21694 hardcode_shlibpath_var_F77
=no
21695 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21696 export_dynamic_flag_spec_F77
='${wl}-E'
21697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21698 # Instead, shared libraries are loaded at an image base (0x10000000 by
21699 # default) and relocated if they conflict, which is a slow very memory
21700 # consuming and fragmenting process. To avoid this, we pick a random,
21701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21703 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'
21704 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'
21708 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21710 case $cc_basename,$host_cpu in
21711 pgcc
*) # Portland Group C compiler
21712 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'
21713 tmp_addflag
=' $pic_flag'
21715 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21716 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'
21717 tmp_addflag
=' $pic_flag -Mnomain' ;;
21718 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21719 tmp_addflag
=' -i_dynamic' ;;
21720 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21721 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21722 ifc
* | ifort
*) # Intel Fortran compiler
21723 tmp_addflag
=' -nofor_main' ;;
21725 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21727 if test $supports_anon_versioning = yes; then
21728 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21729 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21730 $echo "local: *; };" >> $output_objdir/$libname.ver~
21731 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21739 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21740 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21743 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21744 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21749 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21753 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21754 *** create shared libraries on Solaris systems. Therefore, libtool
21755 *** is disabling shared libraries support. We urge you to upgrade GNU
21756 *** binutils to release 2.9.1 or newer. Another option is to modify
21757 *** your PATH or compiler configuration so that the native linker is
21758 *** used, and then restart.
21761 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21762 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21763 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21769 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21770 case `$LD -v 2>&1` in
21771 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21775 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21776 *** reliably create shared libraries on SCO systems. Therefore, libtool
21777 *** is disabling shared libraries support. We urge you to upgrade GNU
21778 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21779 *** your PATH or compiler configuration so that the native linker is
21780 *** used, and then restart.
21785 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21786 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21787 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21788 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21797 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21799 hardcode_direct_F77
=yes
21800 hardcode_shlibpath_var_F77
=no
21804 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21805 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21806 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21813 if test "$ld_shlibs_F77" = no
; then
21815 hardcode_libdir_flag_spec_F77
=
21816 export_dynamic_flag_spec_F77
=
21817 whole_archive_flag_spec_F77
=
21820 # PORTME fill in a description of your system's linker (not GNU ld)
21823 allow_undefined_flag_F77
=unsupported
21824 always_export_symbols_F77
=yes
21825 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'
21826 # Note: this linker hardcodes the directories in LIBPATH if there
21827 # are no directories specified by -L.
21828 hardcode_minus_L_F77
=yes
21829 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21830 # Neither direct hardcoding nor static linking is supported with a
21832 hardcode_direct_F77
=unsupported
21837 if test "$host_cpu" = ia64
; then
21838 # On IA64, the linker does run time linking by default, so we don't
21839 # have to do anything special.
21840 aix_use_runtimelinking
=no
21841 exp_sym_flag
='-Bexport'
21844 # If we're using GNU nm, then we don't want the "-C" option.
21845 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21846 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21847 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'
21849 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'
21851 aix_use_runtimelinking
=no
21853 # Test if we are trying to use run time linking or normal
21854 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21855 # need to do runtime linking.
21856 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21857 for ld_flag
in $LDFLAGS; do
21858 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21859 aix_use_runtimelinking
=yes
21866 exp_sym_flag
='-bexport'
21867 no_entry_flag
='-bnoentry'
21870 # When large executables or shared objects are built, AIX ld can
21871 # have problems creating the table of contents. If linking a library
21872 # or program results in "error TOC overflow" add -mminimal-toc to
21873 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21874 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21876 archive_cmds_F77
=''
21877 hardcode_direct_F77
=yes
21878 hardcode_libdir_separator_F77
=':'
21879 link_all_deplibs_F77
=yes
21881 if test "$GCC" = yes; then
21882 case $host_os in aix4.
[012]|aix4.
[012].
*)
21883 # We only want to do this on AIX 4.2 and lower, the check
21884 # below for broken collect2 doesn't work under 4.3+
21885 collect2name
=`${CC} -print-prog-name=collect2`
21886 if test -f "$collect2name" && \
21887 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21889 # We have reworked collect2
21890 hardcode_direct_F77
=yes
21892 # We have old collect2
21893 hardcode_direct_F77
=unsupported
21894 # It fails to find uninstalled libraries when the uninstalled
21895 # path is not listed in the libpath. Setting hardcode_minus_L
21896 # to unsupported forces relinking
21897 hardcode_minus_L_F77
=yes
21898 hardcode_libdir_flag_spec_F77
='-L$libdir'
21899 hardcode_libdir_separator_F77
=
21903 shared_flag
='-shared'
21904 if test "$aix_use_runtimelinking" = yes; then
21905 shared_flag
="$shared_flag "'${wl}-G'
21909 if test "$host_cpu" = ia64
; then
21910 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21911 # chokes on -Wl,-G. The following line is correct:
21914 if test "$aix_use_runtimelinking" = yes; then
21915 shared_flag
='${wl}-G'
21917 shared_flag
='${wl}-bM:SRE'
21922 # It seems that -bexpall does not export symbols beginning with
21923 # underscore (_), so it is better to generate a list of symbols to export.
21924 always_export_symbols_F77
=yes
21925 if test "$aix_use_runtimelinking" = yes; then
21926 # Warning - without using the other runtime loading flags (-brtl),
21927 # -berok will link without error, but may produce a broken library.
21928 allow_undefined_flag_F77
='-berok'
21929 # Determine the default libpath from the value encoded in an empty executable.
21930 cat >conftest.
$ac_ext <<_ACEOF
21935 rm -f conftest.
$ac_objext conftest
$ac_exeext
21936 if { (ac_try
="$ac_link"
21937 case "(($ac_try" in
21938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_link") 2>conftest.er1
21944 grep -v '^ *+' conftest.er1 >conftest.err
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } &&
21949 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21950 { (case "(($ac_try" in
21951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21952 *) ac_try_echo
=$ac_try;;
21954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21955 (eval "$ac_try") 2>&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; } &&
21959 { ac_try
='test -s conftest$ac_exeext'
21960 { (case "(($ac_try" in
21961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21962 *) ac_try_echo=$ac_try;;
21964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21965 (eval "$ac_try") 2>&5
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; }; then
21970 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21972 # Check for a 64-bit object if we didn't find anything.
21973 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; }
21976 echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.$ac_ext >&5
21982 rm -f core conftest.err conftest.$ac_objext \
21983 conftest$ac_exeext conftest.$ac_ext
21984 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21986 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21987 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"
21989 if test "$host_cpu" = ia64; then
21990 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21991 allow_undefined_flag_F77="-z nodefs"
21992 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"
21994 # Determine the default libpath from the value encoded in an empty executable.
21995 cat >conftest.$ac_ext <<_ACEOF
22000 rm -f conftest.$ac_objext conftest$ac_exeext
22001 if { (ac_try="$ac_link"
22002 case "(($ac_try" in
22003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22004 *) ac_try_echo
=$ac_try;;
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_link") 2>conftest.er1
22009 grep -v '^ *+' conftest.er1
>conftest.err
22011 cat conftest.err
>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } &&
22014 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22015 { (case "(($ac_try" in
22016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_try") 2>&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); }; } &&
22024 { ac_try='test -s conftest$ac_exeext'
22025 { (case "(($ac_try" in
22026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22027 *) ac_try_echo
=$ac_try;;
22029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22030 (eval "$ac_try") 2>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; }; then
22035 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22037 # Check for a 64-bit object if we didn't find anything.
22038 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; }
22041 echo "$as_me: failed program was:" >&5
22042 sed 's/^/| /' conftest.
$ac_ext >&5
22047 rm -f core conftest.err conftest.
$ac_objext \
22048 conftest
$ac_exeext conftest.
$ac_ext
22049 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22051 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22052 # Warning - without using the other run time loading flags,
22053 # -berok will link without error, but may produce a broken library.
22054 no_undefined_flag_F77
=' ${wl}-bernotok'
22055 allow_undefined_flag_F77
=' ${wl}-berok'
22056 # Exported symbols can be pulled into shared objects from archives
22057 whole_archive_flag_spec_F77
='$convenience'
22058 archive_cmds_need_lc_F77
=yes
22059 # This is similar to how AIX traditionally builds its shared libraries.
22060 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'
22066 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)'
22067 hardcode_libdir_flag_spec_F77
='-L$libdir'
22068 hardcode_minus_L_F77
=yes
22069 # see comment about different semantics on the GNU ld section
22074 export_dynamic_flag_spec_F77
=-rdynamic
22077 cygwin
* | mingw
* | pw32
*)
22078 # When not using gcc, we currently assume that we are using
22079 # Microsoft Visual C++.
22080 # hardcode_libdir_flag_spec is actually meaningless, as there is
22081 # no search path for DLLs.
22082 hardcode_libdir_flag_spec_F77
=' '
22083 allow_undefined_flag_F77
=unsupported
22084 # Tell ltmain to make .lib files, not .a files.
22086 # Tell ltmain to make .dll files, not .so files.
22088 # FIXME: Setting linknames here is a bad hack.
22089 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22090 # The linker will automatically build a .lib file if we build a DLL.
22091 old_archive_From_new_cmds_F77
='true'
22092 # FIXME: Should let the user specify the lib program.
22093 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
22094 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22095 enable_shared_with_static_runtimes_F77
=yes
22098 darwin
* | rhapsody
*)
22100 rhapsody
* | darwin1.
[012])
22101 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
22104 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22105 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22107 case ${MACOSX_DEPLOYMENT_TARGET} in
22109 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22112 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
22118 archive_cmds_need_lc_F77
=no
22119 hardcode_direct_F77
=no
22120 hardcode_automatic_F77
=yes
22121 hardcode_shlibpath_var_F77
=unsupported
22122 whole_archive_flag_spec_F77
=''
22123 link_all_deplibs_F77
=yes
22124 if test "$GCC" = yes ; then
22125 output_verbose_link_cmd
='echo'
22126 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22127 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22128 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22129 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}'
22130 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}'
22132 case $cc_basename in
22134 output_verbose_link_cmd
='echo'
22135 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22136 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22137 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22138 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}'
22139 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}'
22149 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22150 hardcode_libdir_flag_spec_F77
='-L$libdir'
22151 hardcode_shlibpath_var_F77
=no
22158 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22159 # support. Future versions do this automatically, but an explicit c++rt0.o
22160 # does not break anything, and helps significantly (at the cost of a little
22163 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22164 hardcode_libdir_flag_spec_F77
='-R$libdir'
22165 hardcode_direct_F77
=yes
22166 hardcode_shlibpath_var_F77
=no
22169 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22171 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22172 hardcode_direct_F77
=yes
22173 hardcode_minus_L_F77
=yes
22174 hardcode_shlibpath_var_F77
=no
22177 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22178 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22179 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22180 hardcode_libdir_flag_spec_F77
='-R$libdir'
22181 hardcode_direct_F77
=yes
22182 hardcode_shlibpath_var_F77
=no
22186 if test "$GCC" = yes; then
22187 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'
22189 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'
22191 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22192 hardcode_libdir_separator_F77
=:
22193 hardcode_direct_F77
=yes
22195 # hardcode_minus_L: Not really in the search PATH,
22196 # but as the default location of the library.
22197 hardcode_minus_L_F77
=yes
22198 export_dynamic_flag_spec_F77
='${wl}-E'
22202 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22203 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22205 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22207 if test "$with_gnu_ld" = no
; then
22208 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22209 hardcode_libdir_separator_F77
=:
22211 hardcode_direct_F77
=yes
22212 export_dynamic_flag_spec_F77
='${wl}-E'
22214 # hardcode_minus_L: Not really in the search PATH,
22215 # but as the default location of the library.
22216 hardcode_minus_L_F77
=yes
22221 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22224 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22227 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22230 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22236 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22239 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22242 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22246 if test "$with_gnu_ld" = no
; then
22247 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22248 hardcode_libdir_separator_F77
=:
22252 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22253 hardcode_direct_F77
=no
22254 hardcode_shlibpath_var_F77
=no
22257 hardcode_direct_F77
=yes
22258 export_dynamic_flag_spec_F77
='${wl}-E'
22260 # hardcode_minus_L: Not really in the search PATH,
22261 # but as the default location of the library.
22262 hardcode_minus_L_F77
=yes
22268 irix5
* | irix6
* | nonstopux
*)
22269 if test "$GCC" = yes; then
22270 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'
22272 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'
22273 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22275 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22276 hardcode_libdir_separator_F77
=:
22277 link_all_deplibs_F77
=yes
22281 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22282 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22284 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22286 hardcode_libdir_flag_spec_F77
='-R$libdir'
22287 hardcode_direct_F77
=yes
22288 hardcode_shlibpath_var_F77
=no
22292 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22293 hardcode_direct_F77
=yes
22294 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22295 hardcode_libdir_separator_F77
=:
22296 hardcode_shlibpath_var_F77
=no
22300 hardcode_direct_F77
=yes
22301 hardcode_shlibpath_var_F77
=no
22302 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22303 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22304 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22305 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22306 export_dynamic_flag_spec_F77
='${wl}-E'
22309 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22310 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22311 hardcode_libdir_flag_spec_F77
='-R$libdir'
22314 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22315 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22322 hardcode_libdir_flag_spec_F77
='-L$libdir'
22323 hardcode_minus_L_F77
=yes
22324 allow_undefined_flag_F77
=unsupported
22325 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'
22326 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22330 if test "$GCC" = yes; then
22331 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22332 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'
22334 allow_undefined_flag_F77
=' -expect_unresolved \*'
22335 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'
22337 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22338 hardcode_libdir_separator_F77
=:
22341 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22342 if test "$GCC" = yes; then
22343 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22344 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'
22345 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22347 allow_undefined_flag_F77
=' -expect_unresolved \*'
22348 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'
22349 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~
22350 $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'
22352 # Both c and cxx compiler support -rpath directly
22353 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22355 hardcode_libdir_separator_F77
=:
22359 no_undefined_flag_F77
=' -z text'
22360 if test "$GCC" = yes; then
22362 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22363 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22364 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22367 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22368 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22369 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22371 hardcode_libdir_flag_spec_F77
='-R$libdir'
22372 hardcode_shlibpath_var_F77
=no
22374 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22376 # The compiler driver will combine linker options so we
22377 # cannot just pass the convience library names through
22378 # without $wl, iff we do not link with $LD.
22379 # Luckily, gcc supports the same syntax we need for Sun Studio.
22380 # Supported since Solaris 2.6 (maybe 2.5.1?)
22383 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22385 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' ;;
22388 link_all_deplibs_F77
=yes
22392 if test "x$host_vendor" = xsequent
; then
22393 # Use $CC to link under sequent, because it throws in some extra .o
22394 # files that make .init and .fini sections work.
22395 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22397 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22399 hardcode_libdir_flag_spec_F77
='-L$libdir'
22400 hardcode_direct_F77
=yes
22401 hardcode_minus_L_F77
=yes
22402 hardcode_shlibpath_var_F77
=no
22406 case $host_vendor in
22408 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22409 hardcode_direct_F77
=yes # is this really true???
22412 ## LD is ld it makes a PLAMLIB
22413 ## CC just makes a GrossModule.
22414 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22415 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22416 hardcode_direct_F77
=no
22419 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22420 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22423 runpath_var
='LD_RUN_PATH'
22424 hardcode_shlibpath_var_F77
=no
22428 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22429 hardcode_shlibpath_var_F77
=no
22430 export_dynamic_flag_spec_F77
='-Bexport'
22434 if test -d /usr
/nec
; then
22435 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22436 hardcode_shlibpath_var_F77
=no
22437 runpath_var
=LD_RUN_PATH
22438 hardcode_runpath_var
=yes
22443 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22444 no_undefined_flag_F77
='${wl}-z,text'
22445 archive_cmds_need_lc_F77
=no
22446 hardcode_shlibpath_var_F77
=no
22447 runpath_var
='LD_RUN_PATH'
22449 if test "$GCC" = yes; then
22450 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22451 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22453 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22454 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22458 sysv5
* | sco3.2v5
* | sco5v6
*)
22459 # Note: We can NOT use -z defs as we might desire, because we do not
22460 # link with -lc, and that would cause any symbols used from libc to
22461 # always be unresolved, which means just about no library would
22462 # ever link correctly. If we're not using GNU ld we use -z text
22463 # though, which does catch some bad symbols but isn't as heavy-handed
22465 no_undefined_flag_F77
='${wl}-z,text'
22466 allow_undefined_flag_F77
='${wl}-z,nodefs'
22467 archive_cmds_need_lc_F77
=no
22468 hardcode_shlibpath_var_F77
=no
22469 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22470 hardcode_libdir_separator_F77
=':'
22471 link_all_deplibs_F77
=yes
22472 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22473 runpath_var
='LD_RUN_PATH'
22475 if test "$GCC" = yes; then
22476 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22477 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22479 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22480 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22485 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22486 hardcode_libdir_flag_spec_F77
='-L$libdir'
22487 hardcode_shlibpath_var_F77
=no
22496 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22497 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22498 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22501 # Do we need to explicitly link libc?
22503 case "x$archive_cmds_need_lc_F77" in
22505 # Assume -lc should be added
22506 archive_cmds_need_lc_F77
=yes
22508 if test "$enable_shared" = yes && test "$GCC" = yes; then
22509 case $archive_cmds_F77 in
22511 # FIXME: we may have to deal with multi-command sequences.
22514 # Test whether the compiler implicitly links with -lc since on some
22515 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22516 # to ld, don't add -lc before -lgcc.
22517 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22518 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22520 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22523 (eval $ac_compile) 2>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); } 2>conftest.err
; then
22529 libobjs
=conftest.
$ac_objext
22531 wl
=$lt_prog_compiler_wl_F77
22532 pic_flag
=$lt_prog_compiler_pic_F77
22538 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22539 allow_undefined_flag_F77
=
22540 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22541 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }
22546 archive_cmds_need_lc_F77
=no
22548 archive_cmds_need_lc_F77
=yes
22550 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22552 cat conftest.err
1>&5
22555 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22556 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22563 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22564 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22565 library_names_spec
=
22566 libname_spec
='lib$name'
22570 postuninstall_cmds
=
22574 shlibpath_overrides_runpath
=unknown
22576 dynamic_linker
="$host_os ld.so"
22577 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22578 if test "$GCC" = yes; then
22579 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22580 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22581 # if the path contains ";" then we assume it to be the separator
22582 # otherwise default to the standard path separator (i.e. ":") - it is
22583 # assumed that no part of a normal pathname contains ";" but that should
22584 # okay in the real world where ";" in dirpaths is itself problematic.
22585 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22587 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22590 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22592 need_lib_prefix
=unknown
22593 hardcode_into_libs
=no
22595 # when you set need_version to no, make sure it does not cause -set_version
22596 # flags to be left without arguments
22597 need_version
=unknown
22602 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22603 shlibpath_var
=LIBPATH
22605 # AIX 3 has no versioning support, so we append a major version to the name.
22606 soname_spec
='${libname}${release}${shared_ext}$major'
22613 hardcode_into_libs
=yes
22614 if test "$host_cpu" = ia64
; then
22615 # AIX 5 supports IA64
22616 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22617 shlibpath_var
=LD_LIBRARY_PATH
22619 # With GCC up to 2.95.x, collect2 would create an import file
22620 # for dependence libraries. The import file would start with
22621 # the line `#! .'. This would cause the generated library to
22622 # depend on `.', always an invalid library. This was fixed in
22623 # development snapshots of GCC prior to 3.0.
22625 aix4 | aix4.
[01] | aix4.
[01].
*)
22626 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22628 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22631 can_build_shared
=no
22635 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22636 # soname into executable. Probably we can add versioning support to
22637 # collect2, so additional links can be useful in future.
22638 if test "$aix_use_runtimelinking" = yes; then
22639 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22640 # instead of lib<name>.a to let people know that these are not
22641 # typical AIX shared libraries.
22642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22644 # We preserve .a as extension for shared libraries through AIX4.2
22645 # and later when we are not doing run time linking.
22646 library_names_spec
='${libname}${release}.a $libname.a'
22647 soname_spec
='${libname}${release}${shared_ext}$major'
22649 shlibpath_var
=LIBPATH
22654 library_names_spec
='$libname.ixlibrary $libname.a'
22655 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22656 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'
22660 library_names_spec
='${libname}${shared_ext}'
22661 dynamic_linker
="$host_os ld.so"
22662 shlibpath_var
=LIBRARY_PATH
22668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22669 soname_spec
='${libname}${release}${shared_ext}$major'
22670 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22671 shlibpath_var
=LD_LIBRARY_PATH
22672 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22673 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22674 # the default ld.so.conf also contains /usr/contrib/lib and
22675 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22676 # libtool to hard-code these into programs
22679 cygwin
* | mingw
* | pw32
*)
22680 version_type
=windows
22685 case $GCC,$host_os in
22686 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22687 library_names_spec
='$libname.dll.a'
22688 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22689 postinstall_cmds
='base_file=`basename \${file}`~
22690 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22691 dldir=$destdir/`dirname \$dlpath`~
22692 test -d \$dldir || mkdir -p \$dldir~
22693 $install_prog $dir/$dlname \$dldir/$dlname~
22694 chmod a+x \$dldir/$dlname'
22695 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22696 dlpath=$dir/\$dldll~
22698 shlibpath_overrides_runpath
=yes
22702 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22703 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22704 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22707 # MinGW DLLs use traditional 'lib' prefix
22708 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22709 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22710 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22711 # It is most probably a Windows format PATH printed by
22712 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22713 # path with ; separators, and with drive letters. We can handle the
22714 # drive letters (cygwin fileutils understands them), so leave them,
22715 # especially as we might pass files found there to a mingw objdump,
22716 # which wouldn't understand a cygwinified path. Ahh.
22717 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22719 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22723 # pw32 DLLs use 'pw' prefix rather than 'lib'
22724 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22730 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22733 dynamic_linker
='Win32 ld.exe'
22734 # FIXME: first we should search . and the directory the executable is in
22738 darwin
* | rhapsody
*)
22739 dynamic_linker
="$host_os dyld"
22740 version_type
=darwin
22743 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22744 soname_spec
='${libname}${release}${major}$shared_ext'
22745 shlibpath_overrides_runpath
=yes
22746 shlibpath_var
=DYLD_LIBRARY_PATH
22747 shrext_cmds
='.dylib'
22748 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22749 if test "$GCC" = yes; then
22750 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"`
22752 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22754 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22762 soname_spec
='${libname}${release}${shared_ext}$major'
22763 shlibpath_var
=LD_LIBRARY_PATH
22774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22775 soname_spec
='${libname}${release}${shared_ext}$major'
22776 shlibpath_var
=LD_LIBRARY_PATH
22777 shlibpath_overrides_runpath
=no
22778 hardcode_into_libs
=yes
22779 dynamic_linker
='GNU ld.so'
22782 freebsd
* | dragonfly
*)
22783 # DragonFly does not have aout. When/if they implement a new
22784 # versioning mechanism, adjust this.
22785 if test -x /usr
/bin
/objformat
; then
22786 objformat
=`/usr/bin/objformat`
22789 freebsd
[123]*) objformat
=aout
;;
22790 *) objformat
=elf
;;
22793 version_type
=freebsd-
$objformat
22794 case $version_type in
22796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22801 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22805 shlibpath_var
=LD_LIBRARY_PATH
22808 shlibpath_overrides_runpath
=yes
22810 freebsd3.
[01]* | freebsdelf3.
[01]*)
22811 shlibpath_overrides_runpath
=yes
22812 hardcode_into_libs
=yes
22814 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22815 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22816 shlibpath_overrides_runpath
=no
22817 hardcode_into_libs
=yes
22819 freebsd
*) # from 4.6 on
22820 shlibpath_overrides_runpath
=yes
22821 hardcode_into_libs
=yes
22830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22831 soname_spec
='${libname}${release}${shared_ext}$major'
22832 shlibpath_var
=LD_LIBRARY_PATH
22833 hardcode_into_libs
=yes
22836 hpux9
* | hpux10
* | hpux11
*)
22837 # Give a soname corresponding to the major version so that dld.sl refuses to
22838 # link against other versions.
22845 hardcode_into_libs
=yes
22846 dynamic_linker
="$host_os dld.so"
22847 shlibpath_var
=LD_LIBRARY_PATH
22848 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22850 soname_spec
='${libname}${release}${shared_ext}$major'
22851 if test "X$HPUX_IA64_MODE" = X32
; then
22852 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22854 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22856 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22860 hardcode_into_libs
=yes
22861 dynamic_linker
="$host_os dld.sl"
22862 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22863 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22865 soname_spec
='${libname}${release}${shared_ext}$major'
22866 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22867 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22871 dynamic_linker
="$host_os dld.sl"
22872 shlibpath_var
=SHLIB_PATH
22873 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22875 soname_spec
='${libname}${release}${shared_ext}$major'
22878 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22879 postinstall_cmds
='chmod 555 $lib'
22886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22887 soname_spec
='${libname}${release}${shared_ext}$major'
22888 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22889 shlibpath_var
=LD_LIBRARY_PATH
22890 shlibpath_overrides_runpath
=no
22891 hardcode_into_libs
=yes
22894 irix5
* | irix6
* | nonstopux
*)
22896 nonstopux
*) version_type
=nonstopux
;;
22898 if test "$lt_cv_prog_gnu_ld" = yes; then
22906 soname_spec
='${libname}${release}${shared_ext}$major'
22907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22909 irix5
* | nonstopux
*)
22910 libsuff
= shlibsuff
=
22913 case $LD in # libtool.m4 will add one of these switches to LD
22914 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22915 libsuff
= shlibsuff
= libmagic
=32-bit;;
22916 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22917 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22918 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22919 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22920 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22924 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22925 shlibpath_overrides_runpath
=no
22926 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22927 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22928 hardcode_into_libs
=yes
22931 # No shared lib support for Linux oldld, aout, or coff.
22932 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22936 # This must be Linux ELF.
22941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22942 soname_spec
='${libname}${release}${shared_ext}$major'
22943 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22944 shlibpath_var
=LD_LIBRARY_PATH
22945 shlibpath_overrides_runpath
=no
22946 # This implies no fast_install, which is unacceptable.
22947 # Some rework will be needed to allow for fast_install
22948 # before this can be enabled.
22949 hardcode_into_libs
=yes
22951 # Append ld.so.conf contents to the search path
22952 if test -f /etc
/ld.so.conf
; then
22953 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' ' '`
22954 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22957 # We used to test for /lib/ld.so.1 and disable shared libraries on
22958 # powerpc, because MkLinux only supported shared libraries with the
22959 # GNU dynamic linker. Since this was broken with cross compilers,
22960 # most powerpc-linux boxes support dynamic linking these days and
22961 # people can always --disable-shared, the test was removed, and we
22962 # assume the GNU/Linux dynamic linker is in use.
22963 dynamic_linker
='GNU/Linux ld.so'
22970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22971 soname_spec
='${libname}${release}${shared_ext}$major'
22972 shlibpath_var
=LD_LIBRARY_PATH
22973 shlibpath_overrides_runpath
=no
22974 hardcode_into_libs
=yes
22975 dynamic_linker
='GNU ld.so'
22982 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22984 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22985 dynamic_linker
='NetBSD (a.out) ld.so'
22987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22988 soname_spec
='${libname}${release}${shared_ext}$major'
22989 dynamic_linker
='NetBSD ld.elf_so'
22991 shlibpath_var
=LD_LIBRARY_PATH
22992 shlibpath_overrides_runpath
=yes
22993 hardcode_into_libs
=yes
22998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22999 shlibpath_var
=LD_LIBRARY_PATH
23000 shlibpath_overrides_runpath
=yes
23007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23008 soname_spec
='${libname}${release}${shared_ext}$major'
23009 shlibpath_var
=LD_LIBRARY_PATH
23010 shlibpath_overrides_runpath
=yes
23015 sys_lib_dlsearch_path_spec
="/usr/lib"
23017 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23019 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
23020 *) need_version
=no
;;
23022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23023 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23024 shlibpath_var
=LD_LIBRARY_PATH
23025 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23027 openbsd2.
[89] | openbsd2.
[89].
*)
23028 shlibpath_overrides_runpath
=no
23031 shlibpath_overrides_runpath
=yes
23035 shlibpath_overrides_runpath
=yes
23040 libname_spec
='$name'
23043 library_names_spec
='$libname${shared_ext} $libname.a'
23044 dynamic_linker
='OS/2 ld.exe'
23045 shlibpath_var
=LIBPATH
23048 osf3
* | osf4
* | osf5
*)
23052 soname_spec
='${libname}${release}${shared_ext}$major'
23053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23054 shlibpath_var
=LD_LIBRARY_PATH
23055 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23056 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
23063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23064 soname_spec
='${libname}${release}${shared_ext}$major'
23065 shlibpath_var
=LD_LIBRARY_PATH
23066 shlibpath_overrides_runpath
=yes
23067 hardcode_into_libs
=yes
23068 # ldd complains unless libraries are executable
23069 postinstall_cmds
='chmod +x $lib'
23074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23075 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23076 shlibpath_var
=LD_LIBRARY_PATH
23077 shlibpath_overrides_runpath
=yes
23078 if test "$with_gnu_ld" = yes; then
23086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23087 soname_spec
='${libname}${release}${shared_ext}$major'
23088 shlibpath_var
=LD_LIBRARY_PATH
23089 case $host_vendor in
23091 shlibpath_overrides_runpath
=no
23093 export_dynamic_flag_spec
='${wl}-Blargedynsym'
23094 runpath_var
=LD_RUN_PATH
23102 shlibpath_overrides_runpath
=no
23103 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
23109 if test -d /usr
/nec
;then
23111 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23112 soname_spec
='$libname${shared_ext}.$major'
23113 shlibpath_var
=LD_LIBRARY_PATH
23117 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
23118 version_type
=freebsd-elf
23121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23122 soname_spec
='${libname}${release}${shared_ext}$major'
23123 shlibpath_var
=LD_LIBRARY_PATH
23124 hardcode_into_libs
=yes
23125 if test "$with_gnu_ld" = yes; then
23126 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23127 shlibpath_overrides_runpath
=no
23129 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
23130 shlibpath_overrides_runpath
=yes
23133 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
23137 sys_lib_dlsearch_path_spec
='/usr/lib'
23142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23143 soname_spec
='${libname}${release}${shared_ext}$major'
23144 shlibpath_var
=LD_LIBRARY_PATH
23151 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23152 echo "${ECHO_T}$dynamic_linker" >&6; }
23153 test "$dynamic_linker" = no
&& can_build_shared
=no
23155 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
23156 if test "$GCC" = yes; then
23157 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23160 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23161 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23162 hardcode_action_F77
=
23163 if test -n "$hardcode_libdir_flag_spec_F77" || \
23164 test -n "$runpath_var_F77" || \
23165 test "X$hardcode_automatic_F77" = "Xyes" ; then
23167 # We can hardcode non-existant directories.
23168 if test "$hardcode_direct_F77" != no
&&
23169 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23170 # have to relink, otherwise we might link with an installed library
23171 # when we should be linking with a yet-to-be-installed one
23172 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23173 test "$hardcode_minus_L_F77" != no
; then
23174 # Linking always hardcodes the temporary library directory.
23175 hardcode_action_F77
=relink
23177 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23178 hardcode_action_F77
=immediate
23181 # We cannot hardcode anything, or else we can only hardcode existing
23183 hardcode_action_F77
=unsupported
23185 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23186 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23188 if test "$hardcode_action_F77" = relink
; then
23189 # Fast installation is not supported
23190 enable_fast_install
=no
23191 elif test "$shlibpath_overrides_runpath" = yes ||
23192 test "$enable_shared" = no
; then
23193 # Fast installation is not necessary
23194 enable_fast_install
=needless
23198 # The else clause should only fire when bootstrapping the
23199 # libtool distribution, otherwise you forgot to ship ltmain.sh
23200 # with your package, and you will get complaints that there are
23201 # no rules to generate ltmain.sh.
23202 if test -f "$ltmain"; then
23203 # See if we are running on zsh, and set the options which allow our commands through
23204 # without removal of \ escapes.
23205 if test -n "${ZSH_VERSION+set}" ; then
23206 setopt NO_GLOB_SUBST
23208 # Now quote all the things that may contain metacharacters while being
23209 # careful not to overquote the AC_SUBSTed values. We take copies of the
23210 # variables and quote the copies for generation of the libtool script.
23211 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23213 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23214 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23215 deplibs_check_method reload_flag reload_cmds need_locks \
23216 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23217 lt_cv_sys_global_symbol_to_c_name_address \
23218 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23219 old_postinstall_cmds old_postuninstall_cmds \
23223 lt_prog_compiler_wl_F77 \
23224 lt_prog_compiler_pic_F77 \
23225 lt_prog_compiler_static_F77 \
23226 lt_prog_compiler_no_builtin_flag_F77 \
23227 export_dynamic_flag_spec_F77 \
23228 thread_safe_flag_spec_F77 \
23229 whole_archive_flag_spec_F77 \
23230 enable_shared_with_static_runtimes_F77 \
23231 old_archive_cmds_F77 \
23232 old_archive_from_new_cmds_F77 \
23233 predep_objects_F77 \
23234 postdep_objects_F77 \
23237 compiler_lib_search_path_F77 \
23239 archive_expsym_cmds_F77 \
23240 postinstall_cmds_F77 \
23241 postuninstall_cmds_F77 \
23242 old_archive_from_expsyms_cmds_F77 \
23243 allow_undefined_flag_F77 \
23244 no_undefined_flag_F77 \
23245 export_symbols_cmds_F77 \
23246 hardcode_libdir_flag_spec_F77 \
23247 hardcode_libdir_flag_spec_ld_F77 \
23248 hardcode_libdir_separator_F77 \
23249 hardcode_automatic_F77 \
23251 module_expsym_cmds_F77 \
23252 lt_cv_prog_compiler_c_o_F77 \
23253 exclude_expsyms_F77 \
23254 include_expsyms_F77
; do
23257 old_archive_cmds_F77 | \
23258 old_archive_from_new_cmds_F77 | \
23259 archive_cmds_F77 | \
23260 archive_expsym_cmds_F77 | \
23261 module_cmds_F77 | \
23262 module_expsym_cmds_F77 | \
23263 old_archive_from_expsyms_cmds_F77 | \
23264 export_symbols_cmds_F77 | \
23265 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23266 postinstall_cmds | postuninstall_cmds | \
23267 old_postinstall_cmds | old_postuninstall_cmds | \
23268 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23269 # Double-quote double-evaled strings.
23270 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23273 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23279 *'\$0 --fallback-echo"')
23280 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23286 cat <<__EOF__ >> "$cfgfile"
23287 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23289 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23291 # Shell to use when invoking shell scripts.
23294 # Whether or not to build shared libraries.
23295 build_libtool_libs=$enable_shared
23297 # Whether or not to build static libraries.
23298 build_old_libs=$enable_static
23300 # Whether or not to add -lc for building shared libraries.
23301 build_libtool_need_lc=$archive_cmds_need_lc_F77
23303 # Whether or not to disallow shared libs when runtime libs are static
23304 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23306 # Whether or not to optimize for fast installation.
23307 fast_install=$enable_fast_install
23310 host_alias=$host_alias
23314 # The build system.
23315 build_alias=$build_alias
23319 # An echo program that does not interpret backslashes.
23324 AR_FLAGS=$lt_AR_FLAGS
23329 # LTCC compiler flags.
23330 LTCFLAGS=$lt_LTCFLAGS
23332 # A language-specific compiler.
23333 CC=$lt_compiler_F77
23335 # Is the compiler the GNU C compiler?
23341 # The linker used to build libraries.
23344 # Whether we need hard or soft links.
23347 # A BSD-compatible nm program.
23350 # A symbol stripping program
23353 # Used to examine libraries when file_magic_cmd begins "file"
23354 MAGIC_CMD=$MAGIC_CMD
23356 # Used on cygwin: DLL creation program.
23359 # Used on cygwin: object dumper.
23362 # Used on cygwin: assembler.
23365 # The name of the directory that contains temporary libtool files.
23368 # How to create reloadable object files.
23369 reload_flag=$lt_reload_flag
23370 reload_cmds=$lt_reload_cmds
23372 # How to pass a linker flag through the compiler.
23373 wl=$lt_lt_prog_compiler_wl_F77
23375 # Object file suffix (normally "o").
23376 objext="$ac_objext"
23378 # Old archive suffix (normally "a").
23381 # Shared library suffix (normally ".so").
23382 shrext_cmds='$shrext_cmds'
23384 # Executable file suffix (normally "").
23387 # Additional compiler flags for building library objects.
23388 pic_flag=$lt_lt_prog_compiler_pic_F77
23391 # What is the maximum length of a command?
23392 max_cmd_len=$lt_cv_sys_max_cmd_len
23394 # Does compiler simultaneously support -c and -o options?
23395 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23397 # Must we lock files when doing compilation?
23398 need_locks=$lt_need_locks
23400 # Do we need the lib prefix for modules?
23401 need_lib_prefix=$need_lib_prefix
23403 # Do we need a version for libraries?
23404 need_version=$need_version
23406 # Whether dlopen is supported.
23407 dlopen_support=$enable_dlopen
23409 # Whether dlopen of programs is supported.
23410 dlopen_self=$enable_dlopen_self
23412 # Whether dlopen of statically linked programs is supported.
23413 dlopen_self_static=$enable_dlopen_self_static
23415 # Compiler flag to prevent dynamic linking.
23416 link_static_flag=$lt_lt_prog_compiler_static_F77
23418 # Compiler flag to turn off builtin functions.
23419 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23421 # Compiler flag to allow reflexive dlopens.
23422 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23424 # Compiler flag to generate shared objects directly from archives.
23425 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23427 # Compiler flag to generate thread-safe objects.
23428 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23430 # Library versioning type.
23431 version_type=$version_type
23433 # Format of library name prefix.
23434 libname_spec=$lt_libname_spec
23436 # List of archive names. First name is the real one, the rest are links.
23437 # The last name is the one that the linker finds with -lNAME.
23438 library_names_spec=$lt_library_names_spec
23440 # The coded name of the library, if different from the real name.
23441 soname_spec=$lt_soname_spec
23443 # Commands used to build and install an old-style archive.
23445 old_archive_cmds=$lt_old_archive_cmds_F77
23446 old_postinstall_cmds=$lt_old_postinstall_cmds
23447 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23449 # Create an old-style archive from a shared archive.
23450 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23452 # Create a temporary old-style archive to link instead of a shared archive.
23453 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23455 # Commands used to build and install a shared archive.
23456 archive_cmds=$lt_archive_cmds_F77
23457 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23458 postinstall_cmds=$lt_postinstall_cmds
23459 postuninstall_cmds=$lt_postuninstall_cmds
23461 # Commands used to build a loadable module (assumed same as above if empty)
23462 module_cmds=$lt_module_cmds_F77
23463 module_expsym_cmds=$lt_module_expsym_cmds_F77
23465 # Commands to strip libraries.
23466 old_striplib=$lt_old_striplib
23467 striplib=$lt_striplib
23469 # Dependencies to place before the objects being linked to create a
23471 predep_objects=$lt_predep_objects_F77
23473 # Dependencies to place after the objects being linked to create a
23475 postdep_objects=$lt_postdep_objects_F77
23477 # Dependencies to place before the objects being linked to create a
23479 predeps=$lt_predeps_F77
23481 # Dependencies to place after the objects being linked to create a
23483 postdeps=$lt_postdeps_F77
23485 # The library search path used internally by the compiler when linking
23486 # a shared library.
23487 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23489 # Method to check whether dependent libraries are shared objects.
23490 deplibs_check_method=$lt_deplibs_check_method
23492 # Command to use when deplibs_check_method == file_magic.
23493 file_magic_cmd=$lt_file_magic_cmd
23495 # Flag that allows shared libraries with undefined symbols to be built.
23496 allow_undefined_flag=$lt_allow_undefined_flag_F77
23498 # Flag that forces no undefined symbols.
23499 no_undefined_flag=$lt_no_undefined_flag_F77
23501 # Commands used to finish a libtool library installation in a directory.
23502 finish_cmds=$lt_finish_cmds
23504 # Same as above, but a single script fragment to be evaled but not shown.
23505 finish_eval=$lt_finish_eval
23507 # Take the output of nm and produce a listing of raw symbols and C names.
23508 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23510 # Transform the output of nm in a proper C declaration
23511 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23513 # Transform the output of nm in a C name address pair
23514 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23516 # This is the shared library runtime path variable.
23517 runpath_var=$runpath_var
23519 # This is the shared library path variable.
23520 shlibpath_var=$shlibpath_var
23522 # Is shlibpath searched before the hard-coded library search path?
23523 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23525 # How to hardcode a shared library path into an executable.
23526 hardcode_action=$hardcode_action_F77
23528 # Whether we should hardcode library paths into libraries.
23529 hardcode_into_libs=$hardcode_into_libs
23531 # Flag to hardcode \$libdir into a binary during linking.
23532 # This must work even if \$libdir does not exist.
23533 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23535 # If ld is used when linking, flag to hardcode \$libdir into
23536 # a binary during linking. This must work even if \$libdir does
23538 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23540 # Whether we need a single -rpath flag with a separated argument.
23541 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23543 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23544 # resulting binary.
23545 hardcode_direct=$hardcode_direct_F77
23547 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23548 # resulting binary.
23549 hardcode_minus_L=$hardcode_minus_L_F77
23551 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23552 # the resulting binary.
23553 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23555 # Set to yes if building a shared library automatically hardcodes DIR into the library
23556 # and all subsequent libraries and executables linked against it.
23557 hardcode_automatic=$hardcode_automatic_F77
23559 # Variables whose values should be saved in libtool wrapper scripts and
23560 # restored at relink time.
23561 variables_saved_for_relink="$variables_saved_for_relink"
23563 # Whether libtool must link a program against all its dependency libraries.
23564 link_all_deplibs=$link_all_deplibs_F77
23566 # Compile-time system search path for libraries
23567 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23569 # Run-time system search path for libraries
23570 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23572 # Fix the shell variable \$srcfile for the compiler.
23573 fix_srcfile_path="$fix_srcfile_path_F77"
23575 # Set to yes if exported symbols are required.
23576 always_export_symbols=$always_export_symbols_F77
23578 # The commands to list exported symbols.
23579 export_symbols_cmds=$lt_export_symbols_cmds_F77
23581 # The commands to extract the exported symbol list from a shared archive.
23582 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23584 # Symbols that should not be listed in the preloaded symbols.
23585 exclude_expsyms=$lt_exclude_expsyms_F77
23587 # Symbols that must always be exported.
23588 include_expsyms=$lt_include_expsyms_F77
23590 # ### END LIBTOOL TAG CONFIG: $tagname
23596 # If there is no Makefile yet, we rely on a make rule to execute
23597 # `config.status --recheck' to rerun these tests and create the
23598 # libtool script then.
23599 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23600 if test -f "$ltmain_in"; then
23601 test -f Makefile
&& make "$ltmain"
23607 ac_cpp
='$CPP $CPPFLAGS'
23608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23620 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23622 ac_cpp
='$CPP $CPPFLAGS'
23623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23628 # Source file extension for Java test sources.
23631 # Object file extension for compiled Java test sources.
23635 # Code to be used in simple compile tests
23636 lt_simple_compile_test_code
="class foo {}\n"
23638 # Code to be used in simple link tests
23639 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23641 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23643 # If no C compiler was specified, use CC.
23646 # If no C compiler flags were specified, use CFLAGS.
23647 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23649 # Allow CC to be a program name with arguments.
23653 # save warnings/boilerplate of simple test code
23654 ac_outfile
=conftest.
$ac_objext
23655 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23656 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23657 _lt_compiler_boilerplate
=`cat conftest.err`
23660 ac_outfile
=conftest.
$ac_objext
23661 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23662 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23663 _lt_linker_boilerplate
=`cat conftest.err`
23667 # Allow CC to be a program name with arguments.
23672 for cc_temp
in $compiler""; do
23674 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23675 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23680 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23683 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23684 archive_cmds_need_lc_GCJ
=no
23686 old_archive_cmds_GCJ
=$old_archive_cmds
23689 lt_prog_compiler_no_builtin_flag_GCJ
=
23691 if test "$GCC" = yes; then
23692 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23695 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23696 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23697 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23698 echo $ECHO_N "(cached) $ECHO_C" >&6
23700 lt_cv_prog_compiler_rtti_exceptions
=no
23701 ac_outfile
=conftest.
$ac_objext
23702 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23703 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23704 # Insert the option either (1) after the last *FLAGS variable, or
23705 # (2) before a word containing "conftest.", or (3) at the end.
23706 # Note that $ac_compile itself does not contain backslashes and begins
23707 # with a dollar sign (not a hyphen), so the echo should work correctly.
23708 # The option is referenced via a variable to avoid confusing sed.
23709 lt_compile
=`echo "$ac_compile" | $SED \
23710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23712 -e 's:$: $lt_compiler_flag:'`
23713 (eval echo "\"\$as_me:23713: $lt_compile\"" >&5)
23714 (eval "$lt_compile" 2>conftest.err
)
23716 cat conftest.err
>&5
23717 echo "$as_me:23717: \$? = $ac_status" >&5
23718 if (exit $ac_status) && test -s "$ac_outfile"; then
23719 # The compiler can only warn and ignore the option if not recognized
23720 # So say no if there are warnings other than the usual output.
23721 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23722 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23723 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23724 lt_cv_prog_compiler_rtti_exceptions
=yes
23730 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23731 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23733 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23734 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23741 lt_prog_compiler_wl_GCJ
=
23742 lt_prog_compiler_pic_GCJ
=
23743 lt_prog_compiler_static_GCJ
=
23745 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23746 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23748 if test "$GCC" = yes; then
23749 lt_prog_compiler_wl_GCJ
='-Wl,'
23750 lt_prog_compiler_static_GCJ
='-static'
23754 # All AIX code is PIC.
23755 if test "$host_cpu" = ia64
; then
23756 # AIX 5 now supports IA64 processor
23757 lt_prog_compiler_static_GCJ
='-Bstatic'
23762 # FIXME: we need at least 68020 code to build shared libraries, but
23763 # adding the `-m68020' flag to GCC prevents building anything better,
23765 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23768 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23769 # PIC is the default for these OSes.
23772 mingw
* | pw32
* | os2
*)
23773 # This hack is so that the source file can tell whether it is being
23774 # built for inclusion in a dll (and should export symbols for example).
23775 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23778 darwin
* | rhapsody
*)
23779 # PIC is the default on this platform
23780 # Common symbols not allowed in MH_DYLIB files
23781 lt_prog_compiler_pic_GCJ
='-fno-common'
23785 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23786 # Instead, we relocate shared libraries at runtime.
23790 # Just because we use GCC doesn't mean we suddenly get shared libraries
23791 # on systems that don't support them.
23792 lt_prog_compiler_can_build_shared_GCJ
=no
23797 if test -d /usr
/nec
; then
23798 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23803 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23804 # not for PA HP-UX.
23810 lt_prog_compiler_pic_GCJ
='-fPIC'
23816 lt_prog_compiler_pic_GCJ
='-fPIC'
23820 # PORTME Check for flag to pass linker flags through the system compiler.
23823 lt_prog_compiler_wl_GCJ
='-Wl,'
23824 if test "$host_cpu" = ia64
; then
23825 # AIX 5 now supports IA64 processor
23826 lt_prog_compiler_static_GCJ
='-Bstatic'
23828 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23832 # PIC is the default on this platform
23833 # Common symbols not allowed in MH_DYLIB files
23834 case $cc_basename in
23836 lt_prog_compiler_pic_GCJ
='-qnocommon'
23837 lt_prog_compiler_wl_GCJ
='-Wl,'
23842 mingw
* | pw32
* | os2
*)
23843 # This hack is so that the source file can tell whether it is being
23844 # built for inclusion in a dll (and should export symbols for example).
23845 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23848 hpux9
* | hpux10
* | hpux11
*)
23849 lt_prog_compiler_wl_GCJ
='-Wl,'
23850 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23851 # not for PA HP-UX.
23857 lt_prog_compiler_pic_GCJ
='+Z'
23860 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23861 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23864 irix5
* | irix6
* | nonstopux
*)
23865 lt_prog_compiler_wl_GCJ
='-Wl,'
23866 # PIC (with -KPIC) is the default.
23867 lt_prog_compiler_static_GCJ
='-non_shared'
23871 lt_prog_compiler_pic_GCJ
='-KPIC'
23872 lt_prog_compiler_static_GCJ
='-Bstatic'
23876 case $cc_basename in
23878 lt_prog_compiler_wl_GCJ
='-Wl,'
23879 lt_prog_compiler_pic_GCJ
='-KPIC'
23880 lt_prog_compiler_static_GCJ
='-static'
23882 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23883 # Portland Group compilers (*not* the Pentium gcc compiler,
23884 # which looks to be a dead project)
23885 lt_prog_compiler_wl_GCJ
='-Wl,'
23886 lt_prog_compiler_pic_GCJ
='-fpic'
23887 lt_prog_compiler_static_GCJ
='-Bstatic'
23890 lt_prog_compiler_wl_GCJ
='-Wl,'
23891 # All Alpha code is PIC.
23892 lt_prog_compiler_static_GCJ
='-non_shared'
23897 osf3
* | osf4
* | osf5
*)
23898 lt_prog_compiler_wl_GCJ
='-Wl,'
23899 # All OSF/1 code is PIC.
23900 lt_prog_compiler_static_GCJ
='-non_shared'
23904 lt_prog_compiler_pic_GCJ
='-KPIC'
23905 lt_prog_compiler_static_GCJ
='-Bstatic'
23906 case $cc_basename in
23907 f77
* | f90
* | f95
*)
23908 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23910 lt_prog_compiler_wl_GCJ
='-Wl,';;
23915 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23916 lt_prog_compiler_pic_GCJ
='-PIC'
23917 lt_prog_compiler_static_GCJ
='-Bstatic'
23920 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23921 lt_prog_compiler_wl_GCJ
='-Wl,'
23922 lt_prog_compiler_pic_GCJ
='-KPIC'
23923 lt_prog_compiler_static_GCJ
='-Bstatic'
23927 if test -d /usr
/nec
;then
23928 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23929 lt_prog_compiler_static_GCJ
='-Bstatic'
23933 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23934 lt_prog_compiler_wl_GCJ
='-Wl,'
23935 lt_prog_compiler_pic_GCJ
='-KPIC'
23936 lt_prog_compiler_static_GCJ
='-Bstatic'
23940 lt_prog_compiler_wl_GCJ
='-Wl,'
23941 lt_prog_compiler_can_build_shared_GCJ
=no
23945 lt_prog_compiler_pic_GCJ
='-pic'
23946 lt_prog_compiler_static_GCJ
='-Bstatic'
23950 lt_prog_compiler_can_build_shared_GCJ
=no
23955 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23956 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23959 # Check to make sure the PIC flag actually works.
23961 if test -n "$lt_prog_compiler_pic_GCJ"; then
23963 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23964 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23965 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23966 echo $ECHO_N "(cached) $ECHO_C" >&6
23968 lt_prog_compiler_pic_works_GCJ
=no
23969 ac_outfile
=conftest.
$ac_objext
23970 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23971 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
23972 # Insert the option either (1) after the last *FLAGS variable, or
23973 # (2) before a word containing "conftest.", or (3) at the end.
23974 # Note that $ac_compile itself does not contain backslashes and begins
23975 # with a dollar sign (not a hyphen), so the echo should work correctly.
23976 # The option is referenced via a variable to avoid confusing sed.
23977 lt_compile
=`echo "$ac_compile" | $SED \
23978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23980 -e 's:$: $lt_compiler_flag:'`
23981 (eval echo "\"\$as_me:23981: $lt_compile\"" >&5)
23982 (eval "$lt_compile" 2>conftest.err
)
23984 cat conftest.err
>&5
23985 echo "$as_me:23985: \$? = $ac_status" >&5
23986 if (exit $ac_status) && test -s "$ac_outfile"; then
23987 # The compiler can only warn and ignore the option if not recognized
23988 # So say no if there are warnings other than the usual output.
23989 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23990 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23991 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23992 lt_prog_compiler_pic_works_GCJ
=yes
23998 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
23999 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24001 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
24002 case $lt_prog_compiler_pic_GCJ in
24004 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
24007 lt_prog_compiler_pic_GCJ
=
24008 lt_prog_compiler_can_build_shared_GCJ
=no
24013 # For platforms which do not support PIC, -DPIC is meaningless:
24015 lt_prog_compiler_pic_GCJ
=
24018 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
24023 # Check to make sure the static flag actually works.
24025 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
24026 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24027 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24028 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24029 echo $ECHO_N "(cached) $ECHO_C" >&6
24031 lt_prog_compiler_static_works_GCJ
=no
24032 save_LDFLAGS
="$LDFLAGS"
24033 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
24034 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
24035 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
24036 # The linker can only warn and ignore the option if not recognized
24037 # So say no if there are warnings
24038 if test -s conftest.err
; then
24039 # Append any errors to the config.log.
24040 cat conftest.err
1>&5
24041 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
24042 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24043 if diff conftest.exp conftest.er2
>/dev
/null
; then
24044 lt_prog_compiler_static_works_GCJ
=yes
24047 lt_prog_compiler_static_works_GCJ
=yes
24051 LDFLAGS
="$save_LDFLAGS"
24054 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24055 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24057 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
24060 lt_prog_compiler_static_GCJ
=
24064 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24065 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24066 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24067 echo $ECHO_N "(cached) $ECHO_C" >&6
24069 lt_cv_prog_compiler_c_o_GCJ
=no
24070 $rm -r conftest
2>/dev
/null
24074 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24076 lt_compiler_flag
="-o out/conftest2.$ac_objext"
24077 # Insert the option either (1) after the last *FLAGS variable, or
24078 # (2) before a word containing "conftest.", or (3) at the end.
24079 # Note that $ac_compile itself does not contain backslashes and begins
24080 # with a dollar sign (not a hyphen), so the echo should work correctly.
24081 lt_compile
=`echo "$ac_compile" | $SED \
24082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24084 -e 's:$: $lt_compiler_flag:'`
24085 (eval echo "\"\$as_me:24085: $lt_compile\"" >&5)
24086 (eval "$lt_compile" 2>out
/conftest.err
)
24088 cat out
/conftest.err
>&5
24089 echo "$as_me:24089: \$? = $ac_status" >&5
24090 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
24092 # The compiler can only warn and ignore the option if not recognized
24093 # So say no if there are warnings
24094 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
24095 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
24096 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
24097 lt_cv_prog_compiler_c_o_GCJ
=yes
24102 # SGI C++ compiler will create directory out/ii_files/ for
24103 # template instantiation
24104 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
24105 $rm out
/* && rmdir out
24111 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24112 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24115 hard_links
="nottested"
24116 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
24117 # do not overwrite the value of need_locks provided by the user
24118 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24119 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24122 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24124 ln conftest.a conftest.b
2>&5 || hard_links
=no
24125 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24126 { echo "$as_me:$LINENO: result: $hard_links" >&5
24127 echo "${ECHO_T}$hard_links" >&6; }
24128 if test "$hard_links" = no
; then
24129 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24130 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24137 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24138 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24141 allow_undefined_flag_GCJ
=
24142 enable_shared_with_static_runtimes_GCJ
=no
24144 archive_expsym_cmds_GCJ
=
24145 old_archive_From_new_cmds_GCJ
=
24146 old_archive_from_expsyms_cmds_GCJ
=
24147 export_dynamic_flag_spec_GCJ
=
24148 whole_archive_flag_spec_GCJ
=
24149 thread_safe_flag_spec_GCJ
=
24150 hardcode_libdir_flag_spec_GCJ
=
24151 hardcode_libdir_flag_spec_ld_GCJ
=
24152 hardcode_libdir_separator_GCJ
=
24153 hardcode_direct_GCJ
=no
24154 hardcode_minus_L_GCJ
=no
24155 hardcode_shlibpath_var_GCJ
=unsupported
24156 link_all_deplibs_GCJ
=unknown
24157 hardcode_automatic_GCJ
=no
24159 module_expsym_cmds_GCJ
=
24160 always_export_symbols_GCJ
=no
24161 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24162 # include_expsyms should be a list of space-separated symbols to be *always*
24163 # included in the symbol list
24164 include_expsyms_GCJ
=
24165 # exclude_expsyms can be an extended regexp of symbols to exclude
24166 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24167 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24168 # as well as any symbol that contains `d'.
24169 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
24170 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24171 # platforms (ab)use it in PIC code, but their linkers get confused if
24172 # the symbol is explicitly referenced. Since portable code cannot
24173 # rely on this symbol name, it's probably fine to never include it in
24174 # preloaded symbol tables.
24175 extract_expsyms_cmds
=
24176 # Just being paranoid about ensuring that cc_basename is set.
24177 for cc_temp
in $compiler""; do
24179 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24180 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24185 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24188 cygwin
* | mingw
* | pw32
*)
24189 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24190 # When not using gcc, we currently assume that we are using
24191 # Microsoft Visual C++.
24192 if test "$GCC" != yes; then
24197 # we just hope/assume this is gcc and not c89 (= MSVC++)
24206 if test "$with_gnu_ld" = yes; then
24207 # If archive_cmds runs LD, not CC, wlarc should be empty
24210 # Set some defaults for GNU ld with shared library support. These
24211 # are reset later if shared libraries are not supported. Putting them
24212 # here allows them to be overridden if necessary.
24213 runpath_var
=LD_RUN_PATH
24214 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24215 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24216 # ancient GNU ld didn't support --whole-archive et. al.
24217 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24218 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24220 whole_archive_flag_spec_GCJ
=
24222 supports_anon_versioning
=no
24223 case `$LD -v 2>/dev/null` in
24224 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24225 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24226 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24227 *\
2.11.
*) ;; # other 2.11 versions
24228 *) supports_anon_versioning
=yes ;;
24231 # See if GNU ld supports shared libraries.
24233 aix3
* | aix4
* | aix5
*)
24234 # On AIX/PPC, the GNU linker is very broken
24235 if test "$host_cpu" != ia64
; then
24239 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24240 *** to be unable to reliably create shared libraries on AIX.
24241 *** Therefore, libtool is disabling shared libraries support. If you
24242 *** really care for shared libraries, you may want to modify your PATH
24243 *** so that a non-GNU linker is found, and then restart.
24250 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)'
24251 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24252 hardcode_minus_L_GCJ
=yes
24254 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24255 # that the semantics of dynamic libraries on AmigaOS, at least up
24256 # to version 4, is to share data among multiple programs linked
24257 # with the same dynamic library. Since this doesn't match the
24258 # behavior of shared libraries on other platforms, we can't use
24264 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24265 allow_undefined_flag_GCJ
=unsupported
24266 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24267 # support --undefined. This deserves some investigation. FIXME
24268 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24274 cygwin
* | mingw
* | pw32
*)
24275 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24276 # as there is no search path for DLLs.
24277 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24278 allow_undefined_flag_GCJ
=unsupported
24279 always_export_symbols_GCJ
=no
24280 enable_shared_with_static_runtimes_GCJ
=yes
24281 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24283 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24284 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24285 # If the export-symbols file already is a .def file (1st line
24286 # is EXPORTS), use it as is; otherwise, prepend...
24287 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24288 cp $export_symbols $output_objdir/$soname.def;
24290 echo EXPORTS > $output_objdir/$soname.def;
24291 cat $export_symbols >> $output_objdir/$soname.def;
24293 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24300 hardcode_direct_GCJ
=no
24301 hardcode_shlibpath_var_GCJ
=no
24302 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24303 export_dynamic_flag_spec_GCJ
='${wl}-E'
24304 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24305 # Instead, shared libraries are loaded at an image base (0x10000000 by
24306 # default) and relocated if they conflict, which is a slow very memory
24307 # consuming and fragmenting process. To avoid this, we pick a random,
24308 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24309 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24310 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'
24311 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'
24315 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24317 case $cc_basename,$host_cpu in
24318 pgcc
*) # Portland Group C compiler
24319 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'
24320 tmp_addflag
=' $pic_flag'
24322 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24323 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'
24324 tmp_addflag
=' $pic_flag -Mnomain' ;;
24325 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24326 tmp_addflag
=' -i_dynamic' ;;
24327 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24328 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24329 ifc
* | ifort
*) # Intel Fortran compiler
24330 tmp_addflag
=' -nofor_main' ;;
24332 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24334 if test $supports_anon_versioning = yes; then
24335 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24336 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24337 $echo "local: *; };" >> $output_objdir/$libname.ver~
24338 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24346 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24347 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24350 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24351 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24356 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24360 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24361 *** create shared libraries on Solaris systems. Therefore, libtool
24362 *** is disabling shared libraries support. We urge you to upgrade GNU
24363 *** binutils to release 2.9.1 or newer. Another option is to modify
24364 *** your PATH or compiler configuration so that the native linker is
24365 *** used, and then restart.
24368 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24369 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24370 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24376 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24377 case `$LD -v 2>&1` in
24378 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24382 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24383 *** reliably create shared libraries on SCO systems. Therefore, libtool
24384 *** is disabling shared libraries support. We urge you to upgrade GNU
24385 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24386 *** your PATH or compiler configuration so that the native linker is
24387 *** used, and then restart.
24392 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24393 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24394 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24395 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24404 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24406 hardcode_direct_GCJ
=yes
24407 hardcode_shlibpath_var_GCJ
=no
24411 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24412 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24413 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24420 if test "$ld_shlibs_GCJ" = no
; then
24422 hardcode_libdir_flag_spec_GCJ
=
24423 export_dynamic_flag_spec_GCJ
=
24424 whole_archive_flag_spec_GCJ
=
24427 # PORTME fill in a description of your system's linker (not GNU ld)
24430 allow_undefined_flag_GCJ
=unsupported
24431 always_export_symbols_GCJ
=yes
24432 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'
24433 # Note: this linker hardcodes the directories in LIBPATH if there
24434 # are no directories specified by -L.
24435 hardcode_minus_L_GCJ
=yes
24436 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24437 # Neither direct hardcoding nor static linking is supported with a
24439 hardcode_direct_GCJ
=unsupported
24444 if test "$host_cpu" = ia64
; then
24445 # On IA64, the linker does run time linking by default, so we don't
24446 # have to do anything special.
24447 aix_use_runtimelinking
=no
24448 exp_sym_flag
='-Bexport'
24451 # If we're using GNU nm, then we don't want the "-C" option.
24452 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24453 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24454 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'
24456 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'
24458 aix_use_runtimelinking
=no
24460 # Test if we are trying to use run time linking or normal
24461 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24462 # need to do runtime linking.
24463 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24464 for ld_flag
in $LDFLAGS; do
24465 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24466 aix_use_runtimelinking
=yes
24473 exp_sym_flag
='-bexport'
24474 no_entry_flag
='-bnoentry'
24477 # When large executables or shared objects are built, AIX ld can
24478 # have problems creating the table of contents. If linking a library
24479 # or program results in "error TOC overflow" add -mminimal-toc to
24480 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24481 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24483 archive_cmds_GCJ
=''
24484 hardcode_direct_GCJ
=yes
24485 hardcode_libdir_separator_GCJ
=':'
24486 link_all_deplibs_GCJ
=yes
24488 if test "$GCC" = yes; then
24489 case $host_os in aix4.
[012]|aix4.
[012].
*)
24490 # We only want to do this on AIX 4.2 and lower, the check
24491 # below for broken collect2 doesn't work under 4.3+
24492 collect2name
=`${CC} -print-prog-name=collect2`
24493 if test -f "$collect2name" && \
24494 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24496 # We have reworked collect2
24497 hardcode_direct_GCJ
=yes
24499 # We have old collect2
24500 hardcode_direct_GCJ
=unsupported
24501 # It fails to find uninstalled libraries when the uninstalled
24502 # path is not listed in the libpath. Setting hardcode_minus_L
24503 # to unsupported forces relinking
24504 hardcode_minus_L_GCJ
=yes
24505 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24506 hardcode_libdir_separator_GCJ
=
24510 shared_flag
='-shared'
24511 if test "$aix_use_runtimelinking" = yes; then
24512 shared_flag
="$shared_flag "'${wl}-G'
24516 if test "$host_cpu" = ia64
; then
24517 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24518 # chokes on -Wl,-G. The following line is correct:
24521 if test "$aix_use_runtimelinking" = yes; then
24522 shared_flag
='${wl}-G'
24524 shared_flag
='${wl}-bM:SRE'
24529 # It seems that -bexpall does not export symbols beginning with
24530 # underscore (_), so it is better to generate a list of symbols to export.
24531 always_export_symbols_GCJ
=yes
24532 if test "$aix_use_runtimelinking" = yes; then
24533 # Warning - without using the other runtime loading flags (-brtl),
24534 # -berok will link without error, but may produce a broken library.
24535 allow_undefined_flag_GCJ
='-berok'
24536 # Determine the default libpath from the value encoded in an empty executable.
24537 cat >conftest.
$ac_ext <<_ACEOF
24540 cat confdefs.h
>>conftest.
$ac_ext
24541 cat >>conftest.
$ac_ext <<_ACEOF
24542 /* end confdefs.h. */
24552 rm -f conftest.
$ac_objext conftest
$ac_exeext
24553 if { (ac_try
="$ac_link"
24554 case "(($ac_try" in
24555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24556 *) ac_try_echo=$ac_try;;
24558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24559 (eval "$ac_link") 2>conftest.er1
24561 grep -v '^ *+' conftest.er1 >conftest.err
24563 cat conftest.err >&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); } &&
24566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24567 { (case "(($ac_try" in
24568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24569 *) ac_try_echo
=$ac_try;;
24571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24572 (eval "$ac_try") 2>&5
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; } &&
24576 { ac_try
='test -s conftest$ac_exeext'
24577 { (case "(($ac_try" in
24578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24579 *) ac_try_echo=$ac_try;;
24581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24582 (eval "$ac_try") 2>&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; }; then
24587 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24589 # Check for a 64-bit object if we didn't find anything.
24590 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; }
24593 echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24599 rm -f core conftest.err conftest.$ac_objext \
24600 conftest$ac_exeext conftest.$ac_ext
24601 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24603 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24604 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"
24606 if test "$host_cpu" = ia64; then
24607 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24608 allow_undefined_flag_GCJ="-z nodefs"
24609 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"
24611 # Determine the default libpath from the value encoded in an empty executable.
24612 cat >conftest.$ac_ext <<_ACEOF
24615 cat confdefs.h >>conftest.$ac_ext
24616 cat >>conftest.$ac_ext <<_ACEOF
24617 /* end confdefs.h. */
24627 rm -f conftest.$ac_objext conftest$ac_exeext
24628 if { (ac_try="$ac_link"
24629 case "(($ac_try" in
24630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24631 *) ac_try_echo
=$ac_try;;
24633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24634 (eval "$ac_link") 2>conftest.er1
24636 grep -v '^ *+' conftest.er1
>conftest.err
24638 cat conftest.err
>&5
24639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640 (exit $ac_status); } &&
24641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24642 { (case "(($ac_try" in
24643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24644 *) ac_try_echo=$ac_try;;
24646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24647 (eval "$ac_try") 2>&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); }; } &&
24651 { ac_try='test -s conftest$ac_exeext'
24652 { (case "(($ac_try" in
24653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24654 *) ac_try_echo
=$ac_try;;
24656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24657 (eval "$ac_try") 2>&5
24659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660 (exit $ac_status); }; }; then
24662 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24664 # Check for a 64-bit object if we didn't find anything.
24665 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; }
24668 echo "$as_me: failed program was:" >&5
24669 sed 's/^/| /' conftest.
$ac_ext >&5
24674 rm -f core conftest.err conftest.
$ac_objext \
24675 conftest
$ac_exeext conftest.
$ac_ext
24676 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24678 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24679 # Warning - without using the other run time loading flags,
24680 # -berok will link without error, but may produce a broken library.
24681 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24682 allow_undefined_flag_GCJ
=' ${wl}-berok'
24683 # Exported symbols can be pulled into shared objects from archives
24684 whole_archive_flag_spec_GCJ
='$convenience'
24685 archive_cmds_need_lc_GCJ
=yes
24686 # This is similar to how AIX traditionally builds its shared libraries.
24687 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'
24693 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)'
24694 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24695 hardcode_minus_L_GCJ
=yes
24696 # see comment about different semantics on the GNU ld section
24701 export_dynamic_flag_spec_GCJ
=-rdynamic
24704 cygwin
* | mingw
* | pw32
*)
24705 # When not using gcc, we currently assume that we are using
24706 # Microsoft Visual C++.
24707 # hardcode_libdir_flag_spec is actually meaningless, as there is
24708 # no search path for DLLs.
24709 hardcode_libdir_flag_spec_GCJ
=' '
24710 allow_undefined_flag_GCJ
=unsupported
24711 # Tell ltmain to make .lib files, not .a files.
24713 # Tell ltmain to make .dll files, not .so files.
24715 # FIXME: Setting linknames here is a bad hack.
24716 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24717 # The linker will automatically build a .lib file if we build a DLL.
24718 old_archive_From_new_cmds_GCJ
='true'
24719 # FIXME: Should let the user specify the lib program.
24720 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24721 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24722 enable_shared_with_static_runtimes_GCJ
=yes
24725 darwin
* | rhapsody
*)
24727 rhapsody
* | darwin1.
[012])
24728 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24731 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24732 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24734 case ${MACOSX_DEPLOYMENT_TARGET} in
24736 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24739 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24745 archive_cmds_need_lc_GCJ
=no
24746 hardcode_direct_GCJ
=no
24747 hardcode_automatic_GCJ
=yes
24748 hardcode_shlibpath_var_GCJ
=unsupported
24749 whole_archive_flag_spec_GCJ
=''
24750 link_all_deplibs_GCJ
=yes
24751 if test "$GCC" = yes ; then
24752 output_verbose_link_cmd
='echo'
24753 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24754 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24755 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24756 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}'
24757 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}'
24759 case $cc_basename in
24761 output_verbose_link_cmd
='echo'
24762 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24763 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24764 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24765 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}'
24766 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}'
24776 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24777 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24778 hardcode_shlibpath_var_GCJ
=no
24785 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24786 # support. Future versions do this automatically, but an explicit c++rt0.o
24787 # does not break anything, and helps significantly (at the cost of a little
24790 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24791 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24792 hardcode_direct_GCJ
=yes
24793 hardcode_shlibpath_var_GCJ
=no
24796 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24798 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24799 hardcode_direct_GCJ
=yes
24800 hardcode_minus_L_GCJ
=yes
24801 hardcode_shlibpath_var_GCJ
=no
24804 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24805 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24806 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24807 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24808 hardcode_direct_GCJ
=yes
24809 hardcode_shlibpath_var_GCJ
=no
24813 if test "$GCC" = yes; then
24814 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'
24816 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'
24818 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24819 hardcode_libdir_separator_GCJ
=:
24820 hardcode_direct_GCJ
=yes
24822 # hardcode_minus_L: Not really in the search PATH,
24823 # but as the default location of the library.
24824 hardcode_minus_L_GCJ
=yes
24825 export_dynamic_flag_spec_GCJ
='${wl}-E'
24829 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24830 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24832 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24834 if test "$with_gnu_ld" = no
; then
24835 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24836 hardcode_libdir_separator_GCJ
=:
24838 hardcode_direct_GCJ
=yes
24839 export_dynamic_flag_spec_GCJ
='${wl}-E'
24841 # hardcode_minus_L: Not really in the search PATH,
24842 # but as the default location of the library.
24843 hardcode_minus_L_GCJ
=yes
24848 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24851 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24854 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24857 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24863 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24866 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24869 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24873 if test "$with_gnu_ld" = no
; then
24874 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24875 hardcode_libdir_separator_GCJ
=:
24879 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24880 hardcode_direct_GCJ
=no
24881 hardcode_shlibpath_var_GCJ
=no
24884 hardcode_direct_GCJ
=yes
24885 export_dynamic_flag_spec_GCJ
='${wl}-E'
24887 # hardcode_minus_L: Not really in the search PATH,
24888 # but as the default location of the library.
24889 hardcode_minus_L_GCJ
=yes
24895 irix5
* | irix6
* | nonstopux
*)
24896 if test "$GCC" = yes; then
24897 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'
24899 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'
24900 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24902 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24903 hardcode_libdir_separator_GCJ
=:
24904 link_all_deplibs_GCJ
=yes
24908 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24909 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24911 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24913 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24914 hardcode_direct_GCJ
=yes
24915 hardcode_shlibpath_var_GCJ
=no
24919 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24920 hardcode_direct_GCJ
=yes
24921 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24922 hardcode_libdir_separator_GCJ
=:
24923 hardcode_shlibpath_var_GCJ
=no
24927 hardcode_direct_GCJ
=yes
24928 hardcode_shlibpath_var_GCJ
=no
24929 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24930 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24931 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24932 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24933 export_dynamic_flag_spec_GCJ
='${wl}-E'
24936 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24937 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24938 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24941 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24942 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24949 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24950 hardcode_minus_L_GCJ
=yes
24951 allow_undefined_flag_GCJ
=unsupported
24952 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'
24953 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24957 if test "$GCC" = yes; then
24958 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24959 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'
24961 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24962 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'
24964 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24965 hardcode_libdir_separator_GCJ
=:
24968 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
24969 if test "$GCC" = yes; then
24970 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24971 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'
24972 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24974 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24975 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'
24976 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~
24977 $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'
24979 # Both c and cxx compiler support -rpath directly
24980 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
24982 hardcode_libdir_separator_GCJ
=:
24986 no_undefined_flag_GCJ
=' -z text'
24987 if test "$GCC" = yes; then
24989 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24990 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24991 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24994 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24995 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24996 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24998 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24999 hardcode_shlibpath_var_GCJ
=no
25001 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
25003 # The compiler driver will combine linker options so we
25004 # cannot just pass the convience library names through
25005 # without $wl, iff we do not link with $LD.
25006 # Luckily, gcc supports the same syntax we need for Sun Studio.
25007 # Supported since Solaris 2.6 (maybe 2.5.1?)
25010 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
25012 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' ;;
25015 link_all_deplibs_GCJ
=yes
25019 if test "x$host_vendor" = xsequent
; then
25020 # Use $CC to link under sequent, because it throws in some extra .o
25021 # files that make .init and .fini sections work.
25022 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25024 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25026 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25027 hardcode_direct_GCJ
=yes
25028 hardcode_minus_L_GCJ
=yes
25029 hardcode_shlibpath_var_GCJ
=no
25033 case $host_vendor in
25035 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25036 hardcode_direct_GCJ
=yes # is this really true???
25039 ## LD is ld it makes a PLAMLIB
25040 ## CC just makes a GrossModule.
25041 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25042 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
25043 hardcode_direct_GCJ
=no
25046 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25047 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
25050 runpath_var
='LD_RUN_PATH'
25051 hardcode_shlibpath_var_GCJ
=no
25055 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25056 hardcode_shlibpath_var_GCJ
=no
25057 export_dynamic_flag_spec_GCJ
='-Bexport'
25061 if test -d /usr
/nec
; then
25062 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25063 hardcode_shlibpath_var_GCJ
=no
25064 runpath_var
=LD_RUN_PATH
25065 hardcode_runpath_var
=yes
25070 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
25071 no_undefined_flag_GCJ
='${wl}-z,text'
25072 archive_cmds_need_lc_GCJ
=no
25073 hardcode_shlibpath_var_GCJ
=no
25074 runpath_var
='LD_RUN_PATH'
25076 if test "$GCC" = yes; then
25077 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25078 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25080 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25081 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25085 sysv5
* | sco3.2v5
* | sco5v6
*)
25086 # Note: We can NOT use -z defs as we might desire, because we do not
25087 # link with -lc, and that would cause any symbols used from libc to
25088 # always be unresolved, which means just about no library would
25089 # ever link correctly. If we're not using GNU ld we use -z text
25090 # though, which does catch some bad symbols but isn't as heavy-handed
25092 no_undefined_flag_GCJ
='${wl}-z,text'
25093 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
25094 archive_cmds_need_lc_GCJ
=no
25095 hardcode_shlibpath_var_GCJ
=no
25096 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25097 hardcode_libdir_separator_GCJ
=':'
25098 link_all_deplibs_GCJ
=yes
25099 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
25100 runpath_var
='LD_RUN_PATH'
25102 if test "$GCC" = yes; then
25103 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25104 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25106 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25107 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25112 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25113 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25114 hardcode_shlibpath_var_GCJ
=no
25123 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25124 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25125 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
25128 # Do we need to explicitly link libc?
25130 case "x$archive_cmds_need_lc_GCJ" in
25132 # Assume -lc should be added
25133 archive_cmds_need_lc_GCJ
=yes
25135 if test "$enable_shared" = yes && test "$GCC" = yes; then
25136 case $archive_cmds_GCJ in
25138 # FIXME: we may have to deal with multi-command sequences.
25141 # Test whether the compiler implicitly links with -lc since on some
25142 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25143 # to ld, don't add -lc before -lgcc.
25144 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25145 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25147 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
25149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25150 (eval $ac_compile) 2>&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); } 2>conftest.err
; then
25156 libobjs
=conftest.
$ac_objext
25158 wl
=$lt_prog_compiler_wl_GCJ
25159 pic_flag
=$lt_prog_compiler_pic_GCJ
25165 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
25166 allow_undefined_flag_GCJ
=
25167 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25168 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); }
25173 archive_cmds_need_lc_GCJ
=no
25175 archive_cmds_need_lc_GCJ
=yes
25177 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25179 cat conftest.err
1>&5
25182 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25183 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25190 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25191 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25192 library_names_spec
=
25193 libname_spec
='lib$name'
25197 postuninstall_cmds
=
25201 shlibpath_overrides_runpath
=unknown
25203 dynamic_linker
="$host_os ld.so"
25204 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25205 if test "$GCC" = yes; then
25206 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25207 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25208 # if the path contains ";" then we assume it to be the separator
25209 # otherwise default to the standard path separator (i.e. ":") - it is
25210 # assumed that no part of a normal pathname contains ";" but that should
25211 # okay in the real world where ";" in dirpaths is itself problematic.
25212 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25214 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25217 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25219 need_lib_prefix
=unknown
25220 hardcode_into_libs
=no
25222 # when you set need_version to no, make sure it does not cause -set_version
25223 # flags to be left without arguments
25224 need_version
=unknown
25229 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25230 shlibpath_var
=LIBPATH
25232 # AIX 3 has no versioning support, so we append a major version to the name.
25233 soname_spec
='${libname}${release}${shared_ext}$major'
25240 hardcode_into_libs
=yes
25241 if test "$host_cpu" = ia64
; then
25242 # AIX 5 supports IA64
25243 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25244 shlibpath_var
=LD_LIBRARY_PATH
25246 # With GCC up to 2.95.x, collect2 would create an import file
25247 # for dependence libraries. The import file would start with
25248 # the line `#! .'. This would cause the generated library to
25249 # depend on `.', always an invalid library. This was fixed in
25250 # development snapshots of GCC prior to 3.0.
25252 aix4 | aix4.
[01] | aix4.
[01].
*)
25253 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25255 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25258 can_build_shared
=no
25262 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25263 # soname into executable. Probably we can add versioning support to
25264 # collect2, so additional links can be useful in future.
25265 if test "$aix_use_runtimelinking" = yes; then
25266 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25267 # instead of lib<name>.a to let people know that these are not
25268 # typical AIX shared libraries.
25269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25271 # We preserve .a as extension for shared libraries through AIX4.2
25272 # and later when we are not doing run time linking.
25273 library_names_spec
='${libname}${release}.a $libname.a'
25274 soname_spec
='${libname}${release}${shared_ext}$major'
25276 shlibpath_var
=LIBPATH
25281 library_names_spec
='$libname.ixlibrary $libname.a'
25282 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25283 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'
25287 library_names_spec
='${libname}${shared_ext}'
25288 dynamic_linker
="$host_os ld.so"
25289 shlibpath_var
=LIBRARY_PATH
25295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25296 soname_spec
='${libname}${release}${shared_ext}$major'
25297 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25298 shlibpath_var
=LD_LIBRARY_PATH
25299 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25300 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25301 # the default ld.so.conf also contains /usr/contrib/lib and
25302 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25303 # libtool to hard-code these into programs
25306 cygwin
* | mingw
* | pw32
*)
25307 version_type
=windows
25312 case $GCC,$host_os in
25313 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25314 library_names_spec
='$libname.dll.a'
25315 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25316 postinstall_cmds
='base_file=`basename \${file}`~
25317 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25318 dldir=$destdir/`dirname \$dlpath`~
25319 test -d \$dldir || mkdir -p \$dldir~
25320 $install_prog $dir/$dlname \$dldir/$dlname~
25321 chmod a+x \$dldir/$dlname'
25322 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25323 dlpath=$dir/\$dldll~
25325 shlibpath_overrides_runpath
=yes
25329 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25330 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25331 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25334 # MinGW DLLs use traditional 'lib' prefix
25335 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25336 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25337 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25338 # It is most probably a Windows format PATH printed by
25339 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25340 # path with ; separators, and with drive letters. We can handle the
25341 # drive letters (cygwin fileutils understands them), so leave them,
25342 # especially as we might pass files found there to a mingw objdump,
25343 # which wouldn't understand a cygwinified path. Ahh.
25344 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25346 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25350 # pw32 DLLs use 'pw' prefix rather than 'lib'
25351 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25357 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25360 dynamic_linker
='Win32 ld.exe'
25361 # FIXME: first we should search . and the directory the executable is in
25365 darwin
* | rhapsody
*)
25366 dynamic_linker
="$host_os dyld"
25367 version_type
=darwin
25370 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25371 soname_spec
='${libname}${release}${major}$shared_ext'
25372 shlibpath_overrides_runpath
=yes
25373 shlibpath_var
=DYLD_LIBRARY_PATH
25374 shrext_cmds
='.dylib'
25375 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25376 if test "$GCC" = yes; then
25377 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"`
25379 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25381 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25389 soname_spec
='${libname}${release}${shared_ext}$major'
25390 shlibpath_var
=LD_LIBRARY_PATH
25401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25402 soname_spec
='${libname}${release}${shared_ext}$major'
25403 shlibpath_var
=LD_LIBRARY_PATH
25404 shlibpath_overrides_runpath
=no
25405 hardcode_into_libs
=yes
25406 dynamic_linker
='GNU ld.so'
25409 freebsd
* | dragonfly
*)
25410 # DragonFly does not have aout. When/if they implement a new
25411 # versioning mechanism, adjust this.
25412 if test -x /usr
/bin
/objformat
; then
25413 objformat
=`/usr/bin/objformat`
25416 freebsd
[123]*) objformat
=aout
;;
25417 *) objformat
=elf
;;
25420 version_type
=freebsd-
$objformat
25421 case $version_type in
25423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25428 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25432 shlibpath_var
=LD_LIBRARY_PATH
25435 shlibpath_overrides_runpath
=yes
25437 freebsd3.
[01]* | freebsdelf3.
[01]*)
25438 shlibpath_overrides_runpath
=yes
25439 hardcode_into_libs
=yes
25441 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25442 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25443 shlibpath_overrides_runpath
=no
25444 hardcode_into_libs
=yes
25446 freebsd
*) # from 4.6 on
25447 shlibpath_overrides_runpath
=yes
25448 hardcode_into_libs
=yes
25457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25458 soname_spec
='${libname}${release}${shared_ext}$major'
25459 shlibpath_var
=LD_LIBRARY_PATH
25460 hardcode_into_libs
=yes
25463 hpux9
* | hpux10
* | hpux11
*)
25464 # Give a soname corresponding to the major version so that dld.sl refuses to
25465 # link against other versions.
25472 hardcode_into_libs
=yes
25473 dynamic_linker
="$host_os dld.so"
25474 shlibpath_var
=LD_LIBRARY_PATH
25475 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25477 soname_spec
='${libname}${release}${shared_ext}$major'
25478 if test "X$HPUX_IA64_MODE" = X32
; then
25479 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25481 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25483 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25487 hardcode_into_libs
=yes
25488 dynamic_linker
="$host_os dld.sl"
25489 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25490 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25492 soname_spec
='${libname}${release}${shared_ext}$major'
25493 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25494 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25498 dynamic_linker
="$host_os dld.sl"
25499 shlibpath_var
=SHLIB_PATH
25500 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25502 soname_spec
='${libname}${release}${shared_ext}$major'
25505 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25506 postinstall_cmds
='chmod 555 $lib'
25513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25514 soname_spec
='${libname}${release}${shared_ext}$major'
25515 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25516 shlibpath_var
=LD_LIBRARY_PATH
25517 shlibpath_overrides_runpath
=no
25518 hardcode_into_libs
=yes
25521 irix5
* | irix6
* | nonstopux
*)
25523 nonstopux
*) version_type
=nonstopux
;;
25525 if test "$lt_cv_prog_gnu_ld" = yes; then
25533 soname_spec
='${libname}${release}${shared_ext}$major'
25534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25536 irix5
* | nonstopux
*)
25537 libsuff
= shlibsuff
=
25540 case $LD in # libtool.m4 will add one of these switches to LD
25541 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25542 libsuff
= shlibsuff
= libmagic
=32-bit;;
25543 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25544 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25545 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25546 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25547 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25551 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25552 shlibpath_overrides_runpath
=no
25553 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25554 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25555 hardcode_into_libs
=yes
25558 # No shared lib support for Linux oldld, aout, or coff.
25559 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25563 # This must be Linux ELF.
25568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25569 soname_spec
='${libname}${release}${shared_ext}$major'
25570 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25571 shlibpath_var
=LD_LIBRARY_PATH
25572 shlibpath_overrides_runpath
=no
25573 # This implies no fast_install, which is unacceptable.
25574 # Some rework will be needed to allow for fast_install
25575 # before this can be enabled.
25576 hardcode_into_libs
=yes
25578 # Append ld.so.conf contents to the search path
25579 if test -f /etc
/ld.so.conf
; then
25580 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' ' '`
25581 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25584 # We used to test for /lib/ld.so.1 and disable shared libraries on
25585 # powerpc, because MkLinux only supported shared libraries with the
25586 # GNU dynamic linker. Since this was broken with cross compilers,
25587 # most powerpc-linux boxes support dynamic linking these days and
25588 # people can always --disable-shared, the test was removed, and we
25589 # assume the GNU/Linux dynamic linker is in use.
25590 dynamic_linker
='GNU/Linux ld.so'
25597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25598 soname_spec
='${libname}${release}${shared_ext}$major'
25599 shlibpath_var
=LD_LIBRARY_PATH
25600 shlibpath_overrides_runpath
=no
25601 hardcode_into_libs
=yes
25602 dynamic_linker
='GNU ld.so'
25609 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25611 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25612 dynamic_linker
='NetBSD (a.out) ld.so'
25614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25615 soname_spec
='${libname}${release}${shared_ext}$major'
25616 dynamic_linker
='NetBSD ld.elf_so'
25618 shlibpath_var
=LD_LIBRARY_PATH
25619 shlibpath_overrides_runpath
=yes
25620 hardcode_into_libs
=yes
25625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25626 shlibpath_var
=LD_LIBRARY_PATH
25627 shlibpath_overrides_runpath
=yes
25634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25635 soname_spec
='${libname}${release}${shared_ext}$major'
25636 shlibpath_var
=LD_LIBRARY_PATH
25637 shlibpath_overrides_runpath
=yes
25642 sys_lib_dlsearch_path_spec
="/usr/lib"
25644 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25646 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25647 *) need_version
=no
;;
25649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25650 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25651 shlibpath_var
=LD_LIBRARY_PATH
25652 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25654 openbsd2.
[89] | openbsd2.
[89].
*)
25655 shlibpath_overrides_runpath
=no
25658 shlibpath_overrides_runpath
=yes
25662 shlibpath_overrides_runpath
=yes
25667 libname_spec
='$name'
25670 library_names_spec
='$libname${shared_ext} $libname.a'
25671 dynamic_linker
='OS/2 ld.exe'
25672 shlibpath_var
=LIBPATH
25675 osf3
* | osf4
* | osf5
*)
25679 soname_spec
='${libname}${release}${shared_ext}$major'
25680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25681 shlibpath_var
=LD_LIBRARY_PATH
25682 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25683 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25691 soname_spec
='${libname}${release}${shared_ext}$major'
25692 shlibpath_var
=LD_LIBRARY_PATH
25693 shlibpath_overrides_runpath
=yes
25694 hardcode_into_libs
=yes
25695 # ldd complains unless libraries are executable
25696 postinstall_cmds
='chmod +x $lib'
25701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25702 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25703 shlibpath_var
=LD_LIBRARY_PATH
25704 shlibpath_overrides_runpath
=yes
25705 if test "$with_gnu_ld" = yes; then
25713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25714 soname_spec
='${libname}${release}${shared_ext}$major'
25715 shlibpath_var
=LD_LIBRARY_PATH
25716 case $host_vendor in
25718 shlibpath_overrides_runpath
=no
25720 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25721 runpath_var
=LD_RUN_PATH
25729 shlibpath_overrides_runpath
=no
25730 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25736 if test -d /usr
/nec
;then
25738 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25739 soname_spec
='$libname${shared_ext}.$major'
25740 shlibpath_var
=LD_LIBRARY_PATH
25744 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25745 version_type
=freebsd-elf
25748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25749 soname_spec
='${libname}${release}${shared_ext}$major'
25750 shlibpath_var
=LD_LIBRARY_PATH
25751 hardcode_into_libs
=yes
25752 if test "$with_gnu_ld" = yes; then
25753 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25754 shlibpath_overrides_runpath
=no
25756 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25757 shlibpath_overrides_runpath
=yes
25760 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25764 sys_lib_dlsearch_path_spec
='/usr/lib'
25769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25770 soname_spec
='${libname}${release}${shared_ext}$major'
25771 shlibpath_var
=LD_LIBRARY_PATH
25778 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25779 echo "${ECHO_T}$dynamic_linker" >&6; }
25780 test "$dynamic_linker" = no
&& can_build_shared
=no
25782 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25783 if test "$GCC" = yes; then
25784 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25787 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25788 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25789 hardcode_action_GCJ
=
25790 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25791 test -n "$runpath_var_GCJ" || \
25792 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25794 # We can hardcode non-existant directories.
25795 if test "$hardcode_direct_GCJ" != no
&&
25796 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25797 # have to relink, otherwise we might link with an installed library
25798 # when we should be linking with a yet-to-be-installed one
25799 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25800 test "$hardcode_minus_L_GCJ" != no
; then
25801 # Linking always hardcodes the temporary library directory.
25802 hardcode_action_GCJ
=relink
25804 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25805 hardcode_action_GCJ
=immediate
25808 # We cannot hardcode anything, or else we can only hardcode existing
25810 hardcode_action_GCJ
=unsupported
25812 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25813 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25815 if test "$hardcode_action_GCJ" = relink
; then
25816 # Fast installation is not supported
25817 enable_fast_install
=no
25818 elif test "$shlibpath_overrides_runpath" = yes ||
25819 test "$enable_shared" = no
; then
25820 # Fast installation is not necessary
25821 enable_fast_install
=needless
25825 # The else clause should only fire when bootstrapping the
25826 # libtool distribution, otherwise you forgot to ship ltmain.sh
25827 # with your package, and you will get complaints that there are
25828 # no rules to generate ltmain.sh.
25829 if test -f "$ltmain"; then
25830 # See if we are running on zsh, and set the options which allow our commands through
25831 # without removal of \ escapes.
25832 if test -n "${ZSH_VERSION+set}" ; then
25833 setopt NO_GLOB_SUBST
25835 # Now quote all the things that may contain metacharacters while being
25836 # careful not to overquote the AC_SUBSTed values. We take copies of the
25837 # variables and quote the copies for generation of the libtool script.
25838 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25840 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25841 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25842 deplibs_check_method reload_flag reload_cmds need_locks \
25843 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25844 lt_cv_sys_global_symbol_to_c_name_address \
25845 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25846 old_postinstall_cmds old_postuninstall_cmds \
25850 lt_prog_compiler_wl_GCJ \
25851 lt_prog_compiler_pic_GCJ \
25852 lt_prog_compiler_static_GCJ \
25853 lt_prog_compiler_no_builtin_flag_GCJ \
25854 export_dynamic_flag_spec_GCJ \
25855 thread_safe_flag_spec_GCJ \
25856 whole_archive_flag_spec_GCJ \
25857 enable_shared_with_static_runtimes_GCJ \
25858 old_archive_cmds_GCJ \
25859 old_archive_from_new_cmds_GCJ \
25860 predep_objects_GCJ \
25861 postdep_objects_GCJ \
25864 compiler_lib_search_path_GCJ \
25866 archive_expsym_cmds_GCJ \
25867 postinstall_cmds_GCJ \
25868 postuninstall_cmds_GCJ \
25869 old_archive_from_expsyms_cmds_GCJ \
25870 allow_undefined_flag_GCJ \
25871 no_undefined_flag_GCJ \
25872 export_symbols_cmds_GCJ \
25873 hardcode_libdir_flag_spec_GCJ \
25874 hardcode_libdir_flag_spec_ld_GCJ \
25875 hardcode_libdir_separator_GCJ \
25876 hardcode_automatic_GCJ \
25878 module_expsym_cmds_GCJ \
25879 lt_cv_prog_compiler_c_o_GCJ \
25880 exclude_expsyms_GCJ \
25881 include_expsyms_GCJ
; do
25884 old_archive_cmds_GCJ | \
25885 old_archive_from_new_cmds_GCJ | \
25886 archive_cmds_GCJ | \
25887 archive_expsym_cmds_GCJ | \
25888 module_cmds_GCJ | \
25889 module_expsym_cmds_GCJ | \
25890 old_archive_from_expsyms_cmds_GCJ | \
25891 export_symbols_cmds_GCJ | \
25892 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25893 postinstall_cmds | postuninstall_cmds | \
25894 old_postinstall_cmds | old_postuninstall_cmds | \
25895 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25896 # Double-quote double-evaled strings.
25897 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25900 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25906 *'\$0 --fallback-echo"')
25907 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25913 cat <<__EOF__ >> "$cfgfile"
25914 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25916 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25918 # Shell to use when invoking shell scripts.
25921 # Whether or not to build shared libraries.
25922 build_libtool_libs=$enable_shared
25924 # Whether or not to build static libraries.
25925 build_old_libs=$enable_static
25927 # Whether or not to add -lc for building shared libraries.
25928 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25930 # Whether or not to disallow shared libs when runtime libs are static
25931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25933 # Whether or not to optimize for fast installation.
25934 fast_install=$enable_fast_install
25937 host_alias=$host_alias
25941 # The build system.
25942 build_alias=$build_alias
25946 # An echo program that does not interpret backslashes.
25951 AR_FLAGS=$lt_AR_FLAGS
25956 # LTCC compiler flags.
25957 LTCFLAGS=$lt_LTCFLAGS
25959 # A language-specific compiler.
25960 CC=$lt_compiler_GCJ
25962 # Is the compiler the GNU C compiler?
25968 # The linker used to build libraries.
25971 # Whether we need hard or soft links.
25974 # A BSD-compatible nm program.
25977 # A symbol stripping program
25980 # Used to examine libraries when file_magic_cmd begins "file"
25981 MAGIC_CMD=$MAGIC_CMD
25983 # Used on cygwin: DLL creation program.
25986 # Used on cygwin: object dumper.
25989 # Used on cygwin: assembler.
25992 # The name of the directory that contains temporary libtool files.
25995 # How to create reloadable object files.
25996 reload_flag=$lt_reload_flag
25997 reload_cmds=$lt_reload_cmds
25999 # How to pass a linker flag through the compiler.
26000 wl=$lt_lt_prog_compiler_wl_GCJ
26002 # Object file suffix (normally "o").
26003 objext="$ac_objext"
26005 # Old archive suffix (normally "a").
26008 # Shared library suffix (normally ".so").
26009 shrext_cmds='$shrext_cmds'
26011 # Executable file suffix (normally "").
26014 # Additional compiler flags for building library objects.
26015 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26018 # What is the maximum length of a command?
26019 max_cmd_len=$lt_cv_sys_max_cmd_len
26021 # Does compiler simultaneously support -c and -o options?
26022 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26024 # Must we lock files when doing compilation?
26025 need_locks=$lt_need_locks
26027 # Do we need the lib prefix for modules?
26028 need_lib_prefix=$need_lib_prefix
26030 # Do we need a version for libraries?
26031 need_version=$need_version
26033 # Whether dlopen is supported.
26034 dlopen_support=$enable_dlopen
26036 # Whether dlopen of programs is supported.
26037 dlopen_self=$enable_dlopen_self
26039 # Whether dlopen of statically linked programs is supported.
26040 dlopen_self_static=$enable_dlopen_self_static
26042 # Compiler flag to prevent dynamic linking.
26043 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26045 # Compiler flag to turn off builtin functions.
26046 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26048 # Compiler flag to allow reflexive dlopens.
26049 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26051 # Compiler flag to generate shared objects directly from archives.
26052 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26054 # Compiler flag to generate thread-safe objects.
26055 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26057 # Library versioning type.
26058 version_type=$version_type
26060 # Format of library name prefix.
26061 libname_spec=$lt_libname_spec
26063 # List of archive names. First name is the real one, the rest are links.
26064 # The last name is the one that the linker finds with -lNAME.
26065 library_names_spec=$lt_library_names_spec
26067 # The coded name of the library, if different from the real name.
26068 soname_spec=$lt_soname_spec
26070 # Commands used to build and install an old-style archive.
26072 old_archive_cmds=$lt_old_archive_cmds_GCJ
26073 old_postinstall_cmds=$lt_old_postinstall_cmds
26074 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26076 # Create an old-style archive from a shared archive.
26077 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26079 # Create a temporary old-style archive to link instead of a shared archive.
26080 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26082 # Commands used to build and install a shared archive.
26083 archive_cmds=$lt_archive_cmds_GCJ
26084 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26085 postinstall_cmds=$lt_postinstall_cmds
26086 postuninstall_cmds=$lt_postuninstall_cmds
26088 # Commands used to build a loadable module (assumed same as above if empty)
26089 module_cmds=$lt_module_cmds_GCJ
26090 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26092 # Commands to strip libraries.
26093 old_striplib=$lt_old_striplib
26094 striplib=$lt_striplib
26096 # Dependencies to place before the objects being linked to create a
26098 predep_objects=$lt_predep_objects_GCJ
26100 # Dependencies to place after the objects being linked to create a
26102 postdep_objects=$lt_postdep_objects_GCJ
26104 # Dependencies to place before the objects being linked to create a
26106 predeps=$lt_predeps_GCJ
26108 # Dependencies to place after the objects being linked to create a
26110 postdeps=$lt_postdeps_GCJ
26112 # The library search path used internally by the compiler when linking
26113 # a shared library.
26114 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26116 # Method to check whether dependent libraries are shared objects.
26117 deplibs_check_method=$lt_deplibs_check_method
26119 # Command to use when deplibs_check_method == file_magic.
26120 file_magic_cmd=$lt_file_magic_cmd
26122 # Flag that allows shared libraries with undefined symbols to be built.
26123 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26125 # Flag that forces no undefined symbols.
26126 no_undefined_flag=$lt_no_undefined_flag_GCJ
26128 # Commands used to finish a libtool library installation in a directory.
26129 finish_cmds=$lt_finish_cmds
26131 # Same as above, but a single script fragment to be evaled but not shown.
26132 finish_eval=$lt_finish_eval
26134 # Take the output of nm and produce a listing of raw symbols and C names.
26135 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26137 # Transform the output of nm in a proper C declaration
26138 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26140 # Transform the output of nm in a C name address pair
26141 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26143 # This is the shared library runtime path variable.
26144 runpath_var=$runpath_var
26146 # This is the shared library path variable.
26147 shlibpath_var=$shlibpath_var
26149 # Is shlibpath searched before the hard-coded library search path?
26150 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26152 # How to hardcode a shared library path into an executable.
26153 hardcode_action=$hardcode_action_GCJ
26155 # Whether we should hardcode library paths into libraries.
26156 hardcode_into_libs=$hardcode_into_libs
26158 # Flag to hardcode \$libdir into a binary during linking.
26159 # This must work even if \$libdir does not exist.
26160 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26162 # If ld is used when linking, flag to hardcode \$libdir into
26163 # a binary during linking. This must work even if \$libdir does
26165 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26167 # Whether we need a single -rpath flag with a separated argument.
26168 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26170 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26171 # resulting binary.
26172 hardcode_direct=$hardcode_direct_GCJ
26174 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26175 # resulting binary.
26176 hardcode_minus_L=$hardcode_minus_L_GCJ
26178 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26179 # the resulting binary.
26180 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26182 # Set to yes if building a shared library automatically hardcodes DIR into the library
26183 # and all subsequent libraries and executables linked against it.
26184 hardcode_automatic=$hardcode_automatic_GCJ
26186 # Variables whose values should be saved in libtool wrapper scripts and
26187 # restored at relink time.
26188 variables_saved_for_relink="$variables_saved_for_relink"
26190 # Whether libtool must link a program against all its dependency libraries.
26191 link_all_deplibs=$link_all_deplibs_GCJ
26193 # Compile-time system search path for libraries
26194 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26196 # Run-time system search path for libraries
26197 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26199 # Fix the shell variable \$srcfile for the compiler.
26200 fix_srcfile_path="$fix_srcfile_path_GCJ"
26202 # Set to yes if exported symbols are required.
26203 always_export_symbols=$always_export_symbols_GCJ
26205 # The commands to list exported symbols.
26206 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26208 # The commands to extract the exported symbol list from a shared archive.
26209 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26211 # Symbols that should not be listed in the preloaded symbols.
26212 exclude_expsyms=$lt_exclude_expsyms_GCJ
26214 # Symbols that must always be exported.
26215 include_expsyms=$lt_include_expsyms_GCJ
26217 # ### END LIBTOOL TAG CONFIG: $tagname
26223 # If there is no Makefile yet, we rely on a make rule to execute
26224 # `config.status --recheck' to rerun these tests and create the
26225 # libtool script then.
26226 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26227 if test -f "$ltmain_in"; then
26228 test -f Makefile
&& make "$ltmain"
26234 ac_cpp
='$CPP $CPPFLAGS'
26235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26248 ac_cpp
='$CPP $CPPFLAGS'
26249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26254 # Source file extension for RC test sources.
26257 # Object file extension for compiled RC test sources.
26261 # Code to be used in simple compile tests
26262 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26264 # Code to be used in simple link tests
26265 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26267 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26269 # If no C compiler was specified, use CC.
26272 # If no C compiler flags were specified, use CFLAGS.
26273 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26275 # Allow CC to be a program name with arguments.
26279 # save warnings/boilerplate of simple test code
26280 ac_outfile
=conftest.
$ac_objext
26281 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26282 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26283 _lt_compiler_boilerplate
=`cat conftest.err`
26286 ac_outfile
=conftest.
$ac_objext
26287 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26288 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26289 _lt_linker_boilerplate
=`cat conftest.err`
26293 # Allow CC to be a program name with arguments.
26298 for cc_temp
in $compiler""; do
26300 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26301 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26306 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26308 lt_cv_prog_compiler_c_o_RC
=yes
26310 # The else clause should only fire when bootstrapping the
26311 # libtool distribution, otherwise you forgot to ship ltmain.sh
26312 # with your package, and you will get complaints that there are
26313 # no rules to generate ltmain.sh.
26314 if test -f "$ltmain"; then
26315 # See if we are running on zsh, and set the options which allow our commands through
26316 # without removal of \ escapes.
26317 if test -n "${ZSH_VERSION+set}" ; then
26318 setopt NO_GLOB_SUBST
26320 # Now quote all the things that may contain metacharacters while being
26321 # careful not to overquote the AC_SUBSTed values. We take copies of the
26322 # variables and quote the copies for generation of the libtool script.
26323 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26325 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26326 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26327 deplibs_check_method reload_flag reload_cmds need_locks \
26328 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26329 lt_cv_sys_global_symbol_to_c_name_address \
26330 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26331 old_postinstall_cmds old_postuninstall_cmds \
26335 lt_prog_compiler_wl_RC \
26336 lt_prog_compiler_pic_RC \
26337 lt_prog_compiler_static_RC \
26338 lt_prog_compiler_no_builtin_flag_RC \
26339 export_dynamic_flag_spec_RC \
26340 thread_safe_flag_spec_RC \
26341 whole_archive_flag_spec_RC \
26342 enable_shared_with_static_runtimes_RC \
26343 old_archive_cmds_RC \
26344 old_archive_from_new_cmds_RC \
26345 predep_objects_RC \
26346 postdep_objects_RC \
26349 compiler_lib_search_path_RC \
26351 archive_expsym_cmds_RC \
26352 postinstall_cmds_RC \
26353 postuninstall_cmds_RC \
26354 old_archive_from_expsyms_cmds_RC \
26355 allow_undefined_flag_RC \
26356 no_undefined_flag_RC \
26357 export_symbols_cmds_RC \
26358 hardcode_libdir_flag_spec_RC \
26359 hardcode_libdir_flag_spec_ld_RC \
26360 hardcode_libdir_separator_RC \
26361 hardcode_automatic_RC \
26363 module_expsym_cmds_RC \
26364 lt_cv_prog_compiler_c_o_RC \
26365 exclude_expsyms_RC \
26366 include_expsyms_RC
; do
26369 old_archive_cmds_RC | \
26370 old_archive_from_new_cmds_RC | \
26371 archive_cmds_RC | \
26372 archive_expsym_cmds_RC | \
26374 module_expsym_cmds_RC | \
26375 old_archive_from_expsyms_cmds_RC | \
26376 export_symbols_cmds_RC | \
26377 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26378 postinstall_cmds | postuninstall_cmds | \
26379 old_postinstall_cmds | old_postuninstall_cmds | \
26380 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26381 # Double-quote double-evaled strings.
26382 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26385 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26391 *'\$0 --fallback-echo"')
26392 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26398 cat <<__EOF__ >> "$cfgfile"
26399 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26401 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26403 # Shell to use when invoking shell scripts.
26406 # Whether or not to build shared libraries.
26407 build_libtool_libs=$enable_shared
26409 # Whether or not to build static libraries.
26410 build_old_libs=$enable_static
26412 # Whether or not to add -lc for building shared libraries.
26413 build_libtool_need_lc=$archive_cmds_need_lc_RC
26415 # Whether or not to disallow shared libs when runtime libs are static
26416 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26418 # Whether or not to optimize for fast installation.
26419 fast_install=$enable_fast_install
26422 host_alias=$host_alias
26426 # The build system.
26427 build_alias=$build_alias
26431 # An echo program that does not interpret backslashes.
26436 AR_FLAGS=$lt_AR_FLAGS
26441 # LTCC compiler flags.
26442 LTCFLAGS=$lt_LTCFLAGS
26444 # A language-specific compiler.
26447 # Is the compiler the GNU C compiler?
26453 # The linker used to build libraries.
26456 # Whether we need hard or soft links.
26459 # A BSD-compatible nm program.
26462 # A symbol stripping program
26465 # Used to examine libraries when file_magic_cmd begins "file"
26466 MAGIC_CMD=$MAGIC_CMD
26468 # Used on cygwin: DLL creation program.
26471 # Used on cygwin: object dumper.
26474 # Used on cygwin: assembler.
26477 # The name of the directory that contains temporary libtool files.
26480 # How to create reloadable object files.
26481 reload_flag=$lt_reload_flag
26482 reload_cmds=$lt_reload_cmds
26484 # How to pass a linker flag through the compiler.
26485 wl=$lt_lt_prog_compiler_wl_RC
26487 # Object file suffix (normally "o").
26488 objext="$ac_objext"
26490 # Old archive suffix (normally "a").
26493 # Shared library suffix (normally ".so").
26494 shrext_cmds='$shrext_cmds'
26496 # Executable file suffix (normally "").
26499 # Additional compiler flags for building library objects.
26500 pic_flag=$lt_lt_prog_compiler_pic_RC
26503 # What is the maximum length of a command?
26504 max_cmd_len=$lt_cv_sys_max_cmd_len
26506 # Does compiler simultaneously support -c and -o options?
26507 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26509 # Must we lock files when doing compilation?
26510 need_locks=$lt_need_locks
26512 # Do we need the lib prefix for modules?
26513 need_lib_prefix=$need_lib_prefix
26515 # Do we need a version for libraries?
26516 need_version=$need_version
26518 # Whether dlopen is supported.
26519 dlopen_support=$enable_dlopen
26521 # Whether dlopen of programs is supported.
26522 dlopen_self=$enable_dlopen_self
26524 # Whether dlopen of statically linked programs is supported.
26525 dlopen_self_static=$enable_dlopen_self_static
26527 # Compiler flag to prevent dynamic linking.
26528 link_static_flag=$lt_lt_prog_compiler_static_RC
26530 # Compiler flag to turn off builtin functions.
26531 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26533 # Compiler flag to allow reflexive dlopens.
26534 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26536 # Compiler flag to generate shared objects directly from archives.
26537 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26539 # Compiler flag to generate thread-safe objects.
26540 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26542 # Library versioning type.
26543 version_type=$version_type
26545 # Format of library name prefix.
26546 libname_spec=$lt_libname_spec
26548 # List of archive names. First name is the real one, the rest are links.
26549 # The last name is the one that the linker finds with -lNAME.
26550 library_names_spec=$lt_library_names_spec
26552 # The coded name of the library, if different from the real name.
26553 soname_spec=$lt_soname_spec
26555 # Commands used to build and install an old-style archive.
26557 old_archive_cmds=$lt_old_archive_cmds_RC
26558 old_postinstall_cmds=$lt_old_postinstall_cmds
26559 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26561 # Create an old-style archive from a shared archive.
26562 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26564 # Create a temporary old-style archive to link instead of a shared archive.
26565 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26567 # Commands used to build and install a shared archive.
26568 archive_cmds=$lt_archive_cmds_RC
26569 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26570 postinstall_cmds=$lt_postinstall_cmds
26571 postuninstall_cmds=$lt_postuninstall_cmds
26573 # Commands used to build a loadable module (assumed same as above if empty)
26574 module_cmds=$lt_module_cmds_RC
26575 module_expsym_cmds=$lt_module_expsym_cmds_RC
26577 # Commands to strip libraries.
26578 old_striplib=$lt_old_striplib
26579 striplib=$lt_striplib
26581 # Dependencies to place before the objects being linked to create a
26583 predep_objects=$lt_predep_objects_RC
26585 # Dependencies to place after the objects being linked to create a
26587 postdep_objects=$lt_postdep_objects_RC
26589 # Dependencies to place before the objects being linked to create a
26591 predeps=$lt_predeps_RC
26593 # Dependencies to place after the objects being linked to create a
26595 postdeps=$lt_postdeps_RC
26597 # The library search path used internally by the compiler when linking
26598 # a shared library.
26599 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26601 # Method to check whether dependent libraries are shared objects.
26602 deplibs_check_method=$lt_deplibs_check_method
26604 # Command to use when deplibs_check_method == file_magic.
26605 file_magic_cmd=$lt_file_magic_cmd
26607 # Flag that allows shared libraries with undefined symbols to be built.
26608 allow_undefined_flag=$lt_allow_undefined_flag_RC
26610 # Flag that forces no undefined symbols.
26611 no_undefined_flag=$lt_no_undefined_flag_RC
26613 # Commands used to finish a libtool library installation in a directory.
26614 finish_cmds=$lt_finish_cmds
26616 # Same as above, but a single script fragment to be evaled but not shown.
26617 finish_eval=$lt_finish_eval
26619 # Take the output of nm and produce a listing of raw symbols and C names.
26620 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26622 # Transform the output of nm in a proper C declaration
26623 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26625 # Transform the output of nm in a C name address pair
26626 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26628 # This is the shared library runtime path variable.
26629 runpath_var=$runpath_var
26631 # This is the shared library path variable.
26632 shlibpath_var=$shlibpath_var
26634 # Is shlibpath searched before the hard-coded library search path?
26635 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26637 # How to hardcode a shared library path into an executable.
26638 hardcode_action=$hardcode_action_RC
26640 # Whether we should hardcode library paths into libraries.
26641 hardcode_into_libs=$hardcode_into_libs
26643 # Flag to hardcode \$libdir into a binary during linking.
26644 # This must work even if \$libdir does not exist.
26645 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26647 # If ld is used when linking, flag to hardcode \$libdir into
26648 # a binary during linking. This must work even if \$libdir does
26650 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26652 # Whether we need a single -rpath flag with a separated argument.
26653 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26655 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26656 # resulting binary.
26657 hardcode_direct=$hardcode_direct_RC
26659 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26660 # resulting binary.
26661 hardcode_minus_L=$hardcode_minus_L_RC
26663 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26664 # the resulting binary.
26665 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26667 # Set to yes if building a shared library automatically hardcodes DIR into the library
26668 # and all subsequent libraries and executables linked against it.
26669 hardcode_automatic=$hardcode_automatic_RC
26671 # Variables whose values should be saved in libtool wrapper scripts and
26672 # restored at relink time.
26673 variables_saved_for_relink="$variables_saved_for_relink"
26675 # Whether libtool must link a program against all its dependency libraries.
26676 link_all_deplibs=$link_all_deplibs_RC
26678 # Compile-time system search path for libraries
26679 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26681 # Run-time system search path for libraries
26682 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26684 # Fix the shell variable \$srcfile for the compiler.
26685 fix_srcfile_path="$fix_srcfile_path_RC"
26687 # Set to yes if exported symbols are required.
26688 always_export_symbols=$always_export_symbols_RC
26690 # The commands to list exported symbols.
26691 export_symbols_cmds=$lt_export_symbols_cmds_RC
26693 # The commands to extract the exported symbol list from a shared archive.
26694 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26696 # Symbols that should not be listed in the preloaded symbols.
26697 exclude_expsyms=$lt_exclude_expsyms_RC
26699 # Symbols that must always be exported.
26700 include_expsyms=$lt_include_expsyms_RC
26702 # ### END LIBTOOL TAG CONFIG: $tagname
26708 # If there is no Makefile yet, we rely on a make rule to execute
26709 # `config.status --recheck' to rerun these tests and create the
26710 # libtool script then.
26711 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26712 if test -f "$ltmain_in"; then
26713 test -f Makefile
&& make "$ltmain"
26719 ac_cpp
='$CPP $CPPFLAGS'
26720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26729 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26730 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26731 { (exit 1); exit 1; }; }
26735 # Append the new tag name to the list of available tags.
26736 if test -n "$tagname" ; then
26737 available_tags
="$available_tags $tagname"
26743 # Now substitute the updated list of available tags.
26744 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26745 mv "${ofile}T" "$ofile"
26749 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26750 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26751 { (exit 1); exit 1; }; }
26757 # This can be used to rebuild libtool when needed
26758 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26760 # Always use our own libtool.
26761 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26763 # Prevent multiple expansion
26785 if test "$lt_cv_dlopen_self" = "yes" ; then
26787 cat >>confdefs.h
<<\_ACEOF
26788 #define CAN_DLOPEN_SELF 1
26793 if test "$WITH_LLVMGCCDIR" = "default" ; then
26794 LLVMGCC
="llvm-gcc${EXEEXT}"
26795 LLVMGXX
="llvm-g++${EXEEXT}"
26796 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26797 set dummy
$LLVMGCC; ac_word
=$2
26798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26800 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26801 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26809 for as_dir
in $PATH
26812 test -z "$as_dir" && as_dir
=.
26813 for ac_exec_ext
in '' $ac_executable_extensions; do
26814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26815 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26826 LLVMGCC
=$ac_cv_path_LLVMGCC
26827 if test -n "$LLVMGCC"; then
26828 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26829 echo "${ECHO_T}$LLVMGCC" >&6; }
26831 { echo "$as_me:$LINENO: result: no" >&5
26832 echo "${ECHO_T}no" >&6; }
26836 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26837 set dummy
$LLVMGXX; ac_word
=$2
26838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26840 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26841 echo $ECHO_N "(cached) $ECHO_C" >&6
26845 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26849 for as_dir
in $PATH
26852 test -z "$as_dir" && as_dir
=.
26853 for ac_exec_ext
in '' $ac_executable_extensions; do
26854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26855 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26866 LLVMGXX
=$ac_cv_path_LLVMGXX
26867 if test -n "$LLVMGXX"; then
26868 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26869 echo "${ECHO_T}$LLVMGXX" >&6; }
26871 { echo "$as_me:$LINENO: result: no" >&5
26872 echo "${ECHO_T}no" >&6; }
26877 if test -z "$LLVMGCC"; then
26878 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26880 if test -z "$LLVMGXX"; then
26881 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26889 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26890 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26903 if test "$GCC" != "yes" && test "$ICC" != "yes"
26905 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26906 echo "$as_me: error: gcc|icc required but not found" >&2;}
26907 { (exit 1); exit 1; }; }
26910 if test "$GXX" != "yes" && test "$IXX" != "yes"
26912 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26913 echo "$as_me: error: g++|icc required but not found" >&2;}
26914 { (exit 1); exit 1; }; }
26917 if test "$GCC" = "yes"
26919 cat >conftest.
$ac_ext <<_ACEOF
26920 #if !defined(__GNUC__) || __GNUC__ < 3
26921 #error Unsupported GCC version
26925 rm -f conftest.
$ac_objext
26926 if { (ac_try
="$ac_compile"
26927 case "(($ac_try" in
26928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26929 *) ac_try_echo=$ac_try;;
26931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26932 (eval "$ac_compile") 2>conftest.er1
26934 grep -v '^ *+' conftest.er1 >conftest.err
26936 cat conftest.err >&5
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); } &&
26939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26940 { (case "(($ac_try" in
26941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26942 *) ac_try_echo
=$ac_try;;
26944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_try") 2>&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); }; } &&
26949 { ac_try
='test -s conftest.$ac_objext'
26950 { (case "(($ac_try" in
26951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26952 *) ac_try_echo=$ac_try;;
26954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26955 (eval "$ac_try") 2>&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.$ac_ext >&5
26964 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
26965 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
26966 { (exit 1); exit 1; }; }
26969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26972 if test -z "$llvm_cv_gnu_make_command"
26974 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
26975 echo "$as_me: error: GNU Make required but not found" >&2;}
26976 { (exit 1); exit 1; }; }
26979 { echo "$as_me:$LINENO: result: ok" >&5
26980 echo "${ECHO_T}ok" >&6; }
26984 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
26985 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
26986 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
26987 echo $ECHO_N "(cached) $ECHO_C" >&6
26989 ac_check_lib_save_LIBS=$LIBS
26991 cat >conftest.$ac_ext <<_ACEOF
26994 cat confdefs.h >>conftest.$ac_ext
26995 cat >>conftest.$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26998 /* Override any GCC internal prototype to avoid an error.
26999 Use char because int might match the return type of a GCC
27000 builtin and then its argument prototype would still apply. */
27008 return elf_begin ();
27013 rm -f conftest.$ac_objext conftest$ac_exeext
27014 if { (ac_try="$ac_link"
27015 case "(($ac_try" in
27016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27017 *) ac_try_echo
=$ac_try;;
27019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27020 (eval "$ac_link") 2>conftest.er1
27022 grep -v '^ *+' conftest.er1
>conftest.err
27024 cat conftest.err
>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27028 { (case "(($ac_try" in
27029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27030 *) ac_try_echo=$ac_try;;
27032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27033 (eval "$ac_try") 2>&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); }; } &&
27037 { ac_try='test -s conftest$ac_exeext'
27038 { (case "(($ac_try" in
27039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27040 *) ac_try_echo
=$ac_try;;
27042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27043 (eval "$ac_try") 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; }; then
27047 ac_cv_lib_elf_elf_begin
=yes
27049 echo "$as_me: failed program was:" >&5
27050 sed 's/^/| /' conftest.
$ac_ext >&5
27052 ac_cv_lib_elf_elf_begin
=no
27055 rm -f core conftest.err conftest.
$ac_objext \
27056 conftest
$ac_exeext conftest.
$ac_ext
27057 LIBS
=$ac_check_lib_save_LIBS
27059 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
27060 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
27061 if test $ac_cv_lib_elf_elf_begin = yes; then
27062 cat >>confdefs.h
<<_ACEOF
27063 #define HAVE_LIBELF 1
27071 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27072 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27073 if test "${ac_cv_lib_m_sin+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 ac_check_lib_save_LIBS
=$LIBS
27078 cat >conftest.
$ac_ext <<_ACEOF
27081 cat confdefs.h
>>conftest.
$ac_ext
27082 cat >>conftest.
$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27085 /* Override any GCC internal prototype to avoid an error.
27086 Use char because int might match the return type of a GCC
27087 builtin and then its argument prototype would still apply. */
27100 rm -f conftest.
$ac_objext conftest
$ac_exeext
27101 if { (ac_try
="$ac_link"
27102 case "(($ac_try" in
27103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27104 *) ac_try_echo=$ac_try;;
27106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27107 (eval "$ac_link") 2>conftest.er1
27109 grep -v '^ *+' conftest.er1 >conftest.err
27111 cat conftest.err >&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); } &&
27114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27115 { (case "(($ac_try" in
27116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27117 *) ac_try_echo
=$ac_try;;
27119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27120 (eval "$ac_try") 2>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; } &&
27124 { ac_try
='test -s conftest$ac_exeext'
27125 { (case "(($ac_try" in
27126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27127 *) ac_try_echo=$ac_try;;
27129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27130 (eval "$ac_try") 2>&5
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); }; }; then
27134 ac_cv_lib_m_sin=yes
27136 echo "$as_me: failed program was:" >&5
27137 sed 's/^/| /' conftest.$ac_ext >&5
27142 rm -f core conftest.err conftest.$ac_objext \
27143 conftest$ac_exeext conftest.$ac_ext
27144 LIBS=$ac_check_lib_save_LIBS
27146 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27147 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27148 if test $ac_cv_lib_m_sin = yes; then
27149 cat >>confdefs.h <<_ACEOF
27150 #define HAVE_LIBM 1
27157 if test "$llvm_cv_os_type" = "MingW" ; then
27159 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
27160 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
27161 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
27162 echo $ECHO_N "(cached) $ECHO_C" >&6
27164 ac_check_lib_save_LIBS=$LIBS
27165 LIBS="-limagehlp $LIBS"
27166 cat >conftest.$ac_ext <<_ACEOF
27169 cat confdefs.h >>conftest.$ac_ext
27170 cat >>conftest.$ac_ext <<_ACEOF
27171 /* end confdefs.h. */
27182 rm -f conftest.$ac_objext conftest$ac_exeext
27183 if { (ac_try="$ac_link"
27184 case "(($ac_try" in
27185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27186 *) ac_try_echo
=$ac_try;;
27188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27189 (eval "$ac_link") 2>conftest.er1
27191 grep -v '^ *+' conftest.er1
>conftest.err
27193 cat conftest.err
>&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); } &&
27196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27197 { (case "(($ac_try" in
27198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_try") 2>&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); }; } &&
27206 { ac_try='test -s conftest$ac_exeext'
27207 { (case "(($ac_try" in
27208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27209 *) ac_try_echo
=$ac_try;;
27211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27212 (eval "$ac_try") 2>&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); }; }; then
27216 ac_cv_lib_imagehlp_main
=yes
27218 echo "$as_me: failed program was:" >&5
27219 sed 's/^/| /' conftest.
$ac_ext >&5
27221 ac_cv_lib_imagehlp_main
=no
27224 rm -f core conftest.err conftest.
$ac_objext \
27225 conftest
$ac_exeext conftest.
$ac_ext
27226 LIBS
=$ac_check_lib_save_LIBS
27228 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27229 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27230 if test $ac_cv_lib_imagehlp_main = yes; then
27231 cat >>confdefs.h
<<_ACEOF
27232 #define HAVE_LIBIMAGEHLP 1
27235 LIBS
="-limagehlp $LIBS"
27240 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27241 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27242 if test "${ac_cv_lib_psapi_main+set}" = set; then
27243 echo $ECHO_N "(cached) $ECHO_C" >&6
27245 ac_check_lib_save_LIBS
=$LIBS
27246 LIBS
="-lpsapi $LIBS"
27247 cat >conftest.
$ac_ext <<_ACEOF
27250 cat confdefs.h
>>conftest.
$ac_ext
27251 cat >>conftest.
$ac_ext <<_ACEOF
27252 /* end confdefs.h. */
27263 rm -f conftest.
$ac_objext conftest
$ac_exeext
27264 if { (ac_try
="$ac_link"
27265 case "(($ac_try" in
27266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27267 *) ac_try_echo=$ac_try;;
27269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27270 (eval "$ac_link") 2>conftest.er1
27272 grep -v '^ *+' conftest.er1 >conftest.err
27274 cat conftest.err >&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } &&
27277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27278 { (case "(($ac_try" in
27279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27280 *) ac_try_echo
=$ac_try;;
27282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27283 (eval "$ac_try") 2>&5
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; } &&
27287 { ac_try
='test -s conftest$ac_exeext'
27288 { (case "(($ac_try" in
27289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27290 *) ac_try_echo=$ac_try;;
27292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27293 (eval "$ac_try") 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; }; then
27297 ac_cv_lib_psapi_main=yes
27299 echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.$ac_ext >&5
27302 ac_cv_lib_psapi_main=no
27305 rm -f core conftest.err conftest.$ac_objext \
27306 conftest$ac_exeext conftest.$ac_ext
27307 LIBS=$ac_check_lib_save_LIBS
27309 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27310 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27311 if test $ac_cv_lib_psapi_main = yes; then
27312 cat >>confdefs.h <<_ACEOF
27313 #define HAVE_LIBPSAPI 1
27316 LIBS="-lpsapi $LIBS"
27322 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27323 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27324 if test "${ac_cv_search_dlopen+set}" = set; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27327 ac_func_search_save_LIBS=$LIBS
27328 cat >conftest.$ac_ext <<_ACEOF
27331 cat confdefs.h >>conftest.$ac_ext
27332 cat >>conftest.$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27335 /* Override any GCC internal prototype to avoid an error.
27336 Use char because int might match the return type of a GCC
27337 builtin and then its argument prototype would still apply. */
27350 for ac_lib in '' dl; do
27351 if test -z "$ac_lib"; then
27352 ac_res="none required"
27355 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27357 rm -f conftest.$ac_objext conftest$ac_exeext
27358 if { (ac_try="$ac_link"
27359 case "(($ac_try" in
27360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27361 *) ac_try_echo
=$ac_try;;
27363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27364 (eval "$ac_link") 2>conftest.er1
27366 grep -v '^ *+' conftest.er1
>conftest.err
27368 cat conftest.err
>&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } &&
27371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27372 { (case "(($ac_try" in
27373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27374 *) ac_try_echo=$ac_try;;
27376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27377 (eval "$ac_try") 2>&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; } &&
27381 { ac_try='test -s conftest$ac_exeext'
27382 { (case "(($ac_try" in
27383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27384 *) ac_try_echo
=$ac_try;;
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_try") 2>&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); }; }; then
27391 ac_cv_search_dlopen
=$ac_res
27393 echo "$as_me: failed program was:" >&5
27394 sed 's/^/| /' conftest.
$ac_ext >&5
27399 rm -f core conftest.err conftest.
$ac_objext \
27401 if test "${ac_cv_search_dlopen+set}" = set; then
27405 if test "${ac_cv_search_dlopen+set}" = set; then
27408 ac_cv_search_dlopen
=no
27410 rm conftest.
$ac_ext
27411 LIBS
=$ac_func_search_save_LIBS
27413 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27414 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27415 ac_res
=$ac_cv_search_dlopen
27416 if test "$ac_res" != no
; then
27417 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27419 cat >>confdefs.h
<<\_ACEOF
27420 #define HAVE_DLOPEN 1
27424 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27425 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27429 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
27430 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
27431 if test "${ac_cv_search_ffi_call+set}" = set; then
27432 echo $ECHO_N "(cached) $ECHO_C" >&6
27434 ac_func_search_save_LIBS
=$LIBS
27435 cat >conftest.
$ac_ext <<_ACEOF
27438 cat confdefs.h
>>conftest.
$ac_ext
27439 cat >>conftest.
$ac_ext <<_ACEOF
27440 /* end confdefs.h. */
27442 /* Override any GCC internal prototype to avoid an error.
27443 Use char because int might match the return type of a GCC
27444 builtin and then its argument prototype would still apply. */
27452 return ffi_call ();
27457 for ac_lib
in '' ffi
; do
27458 if test -z "$ac_lib"; then
27459 ac_res
="none required"
27462 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27464 rm -f conftest.
$ac_objext conftest
$ac_exeext
27465 if { (ac_try
="$ac_link"
27466 case "(($ac_try" in
27467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27468 *) ac_try_echo=$ac_try;;
27470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27471 (eval "$ac_link") 2>conftest.er1
27473 grep -v '^ *+' conftest.er1 >conftest.err
27475 cat conftest.err >&5
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); } &&
27478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27479 { (case "(($ac_try" in
27480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27481 *) ac_try_echo
=$ac_try;;
27483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27484 (eval "$ac_try") 2>&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); }; } &&
27488 { ac_try
='test -s conftest$ac_exeext'
27489 { (case "(($ac_try" in
27490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27491 *) ac_try_echo=$ac_try;;
27493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27494 (eval "$ac_try") 2>&5
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); }; }; then
27498 ac_cv_search_ffi_call=$ac_res
27500 echo "$as_me: failed program was:" >&5
27501 sed 's/^/| /' conftest.$ac_ext >&5
27506 rm -f core conftest.err conftest.$ac_objext \
27508 if test "${ac_cv_search_ffi_call+set}" = set; then
27512 if test "${ac_cv_search_ffi_call+set}" = set; then
27515 ac_cv_search_ffi_call=no
27517 rm conftest.$ac_ext
27518 LIBS=$ac_func_search_save_LIBS
27520 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
27521 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
27522 ac_res=$ac_cv_search_ffi_call
27523 if test "$ac_res" != no; then
27524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27526 cat >>confdefs.h <<\_ACEOF
27527 #define HAVE_FFI_CALL 1
27531 { echo "$as_me:$LINENO: WARNING: libffi not found - disabling external calls from interpreter" >&5
27532 echo "$as_me: WARNING: libffi not found - disabling external calls from interpreter" >&2;}
27536 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27537 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27538 if test "${ac_cv_search_mallinfo+set}" = set; then
27539 echo $ECHO_N "(cached) $ECHO_C" >&6
27541 ac_func_search_save_LIBS=$LIBS
27542 cat >conftest.$ac_ext <<_ACEOF
27545 cat confdefs.h >>conftest.$ac_ext
27546 cat >>conftest.$ac_ext <<_ACEOF
27547 /* end confdefs.h. */
27549 /* Override any GCC internal prototype to avoid an error.
27550 Use char because int might match the return type of a GCC
27551 builtin and then its argument prototype would still apply. */
27559 return mallinfo ();
27564 for ac_lib in '' malloc; do
27565 if test -z "$ac_lib"; then
27566 ac_res="none required"
27569 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27571 rm -f conftest.$ac_objext conftest$ac_exeext
27572 if { (ac_try="$ac_link"
27573 case "(($ac_try" in
27574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27575 *) ac_try_echo
=$ac_try;;
27577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27578 (eval "$ac_link") 2>conftest.er1
27580 grep -v '^ *+' conftest.er1
>conftest.err
27582 cat conftest.err
>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); } &&
27585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27586 { (case "(($ac_try" in
27587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27588 *) ac_try_echo=$ac_try;;
27590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27591 (eval "$ac_try") 2>&5
27593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27594 (exit $ac_status); }; } &&
27595 { ac_try='test -s conftest$ac_exeext'
27596 { (case "(($ac_try" in
27597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27598 *) ac_try_echo
=$ac_try;;
27600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27601 (eval "$ac_try") 2>&5
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); }; }; then
27605 ac_cv_search_mallinfo
=$ac_res
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.
$ac_ext >&5
27613 rm -f core conftest.err conftest.
$ac_objext \
27615 if test "${ac_cv_search_mallinfo+set}" = set; then
27619 if test "${ac_cv_search_mallinfo+set}" = set; then
27622 ac_cv_search_mallinfo
=no
27624 rm conftest.
$ac_ext
27625 LIBS
=$ac_func_search_save_LIBS
27627 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27628 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27629 ac_res
=$ac_cv_search_mallinfo
27630 if test "$ac_res" != no
; then
27631 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27633 cat >>confdefs.h
<<\_ACEOF
27634 #define HAVE_MALLINFO 1
27640 if test "$ENABLE_THREADS" -eq 1 ; then
27642 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27643 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27644 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27645 echo $ECHO_N "(cached) $ECHO_C" >&6
27647 ac_check_lib_save_LIBS
=$LIBS
27648 LIBS
="-lpthread $LIBS"
27649 cat >conftest.
$ac_ext <<_ACEOF
27652 cat confdefs.h
>>conftest.
$ac_ext
27653 cat >>conftest.
$ac_ext <<_ACEOF
27654 /* end confdefs.h. */
27656 /* Override any GCC internal prototype to avoid an error.
27657 Use char because int might match the return type of a GCC
27658 builtin and then its argument prototype would still apply. */
27662 char pthread_mutex_init ();
27666 return pthread_mutex_init ();
27671 rm -f conftest.
$ac_objext conftest
$ac_exeext
27672 if { (ac_try
="$ac_link"
27673 case "(($ac_try" in
27674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27675 *) ac_try_echo=$ac_try;;
27677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27678 (eval "$ac_link") 2>conftest.er1
27680 grep -v '^ *+' conftest.er1 >conftest.err
27682 cat conftest.err >&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); } &&
27685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27686 { (case "(($ac_try" in
27687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27688 *) ac_try_echo
=$ac_try;;
27690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27691 (eval "$ac_try") 2>&5
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); }; } &&
27695 { ac_try
='test -s conftest$ac_exeext'
27696 { (case "(($ac_try" in
27697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27698 *) ac_try_echo=$ac_try;;
27700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27701 (eval "$ac_try") 2>&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); }; }; then
27705 ac_cv_lib_pthread_pthread_mutex_init=yes
27707 echo "$as_me: failed program was:" >&5
27708 sed 's/^/| /' conftest.$ac_ext >&5
27710 ac_cv_lib_pthread_pthread_mutex_init=no
27713 rm -f core conftest.err conftest.$ac_objext \
27714 conftest$ac_exeext conftest.$ac_ext
27715 LIBS=$ac_check_lib_save_LIBS
27717 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27718 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27719 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27720 cat >>confdefs.h <<_ACEOF
27721 #define HAVE_LIBPTHREAD 1
27724 LIBS="-lpthread $LIBS"
27728 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27729 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27730 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27731 echo $ECHO_N "(cached) $ECHO_C" >&6
27733 ac_func_search_save_LIBS=$LIBS
27734 cat >conftest.$ac_ext <<_ACEOF
27737 cat confdefs.h >>conftest.$ac_ext
27738 cat >>conftest.$ac_ext <<_ACEOF
27739 /* end confdefs.h. */
27741 /* Override any GCC internal prototype to avoid an error.
27742 Use char because int might match the return type of a GCC
27743 builtin and then its argument prototype would still apply. */
27747 char pthread_mutex_lock ();
27751 return pthread_mutex_lock ();
27756 for ac_lib in '' pthread; do
27757 if test -z "$ac_lib"; then
27758 ac_res="none required"
27761 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27763 rm -f conftest.$ac_objext conftest$ac_exeext
27764 if { (ac_try="$ac_link"
27765 case "(($ac_try" in
27766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27767 *) ac_try_echo
=$ac_try;;
27769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27770 (eval "$ac_link") 2>conftest.er1
27772 grep -v '^ *+' conftest.er1
>conftest.err
27774 cat conftest.err
>&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); } &&
27777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27778 { (case "(($ac_try" in
27779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27780 *) ac_try_echo=$ac_try;;
27782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27783 (eval "$ac_try") 2>&5
27785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27786 (exit $ac_status); }; } &&
27787 { ac_try='test -s conftest$ac_exeext'
27788 { (case "(($ac_try" in
27789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27790 *) ac_try_echo
=$ac_try;;
27792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27793 (eval "$ac_try") 2>&5
27795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27796 (exit $ac_status); }; }; then
27797 ac_cv_search_pthread_mutex_lock
=$ac_res
27799 echo "$as_me: failed program was:" >&5
27800 sed 's/^/| /' conftest.
$ac_ext >&5
27805 rm -f core conftest.err conftest.
$ac_objext \
27807 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27811 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27814 ac_cv_search_pthread_mutex_lock
=no
27816 rm conftest.
$ac_ext
27817 LIBS
=$ac_func_search_save_LIBS
27819 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27820 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27821 ac_res
=$ac_cv_search_pthread_mutex_lock
27822 if test "$ac_res" != no
; then
27823 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27825 cat >>confdefs.h
<<\_ACEOF
27826 #define HAVE_PTHREAD_MUTEX_LOCK 1
27834 # Check whether --with-udis86 was given.
27835 if test "${with_udis86+set}" = set; then
27836 withval
=$with_udis86;
27841 *) LDFLAGS
="$LDFLAGS -L${withval}" ;;
27844 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27845 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27846 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27849 ac_check_lib_save_LIBS
=$LIBS
27850 LIBS
="-ludis86 $LIBS"
27851 cat >conftest.
$ac_ext <<_ACEOF
27854 cat confdefs.h
>>conftest.
$ac_ext
27855 cat >>conftest.
$ac_ext <<_ACEOF
27856 /* end confdefs.h. */
27858 /* Override any GCC internal prototype to avoid an error.
27859 Use char because int might match the return type of a GCC
27860 builtin and then its argument prototype would still apply. */
27873 rm -f conftest.
$ac_objext conftest
$ac_exeext
27874 if { (ac_try
="$ac_link"
27875 case "(($ac_try" in
27876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27877 *) ac_try_echo=$ac_try;;
27879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27880 (eval "$ac_link") 2>conftest.er1
27882 grep -v '^ *+' conftest.er1 >conftest.err
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } &&
27887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27888 { (case "(($ac_try" in
27889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27890 *) ac_try_echo
=$ac_try;;
27892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27893 (eval "$ac_try") 2>&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); }; } &&
27897 { ac_try
='test -s conftest$ac_exeext'
27898 { (case "(($ac_try" in
27899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27900 *) ac_try_echo=$ac_try;;
27902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27903 (eval "$ac_try") 2>&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); }; }; then
27907 ac_cv_lib_udis86_ud_init=yes
27909 echo "$as_me: failed program was:" >&5
27910 sed 's/^/| /' conftest.$ac_ext >&5
27912 ac_cv_lib_udis86_ud_init=no
27915 rm -f core conftest.err conftest.$ac_objext \
27916 conftest$ac_exeext conftest.$ac_ext
27917 LIBS=$ac_check_lib_save_LIBS
27919 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27920 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27921 if test $ac_cv_lib_udis86_ud_init = yes; then
27922 cat >>confdefs.h <<_ACEOF
27923 #define HAVE_LIBUDIS86 1
27926 LIBS="-ludis86 $LIBS"
27930 echo "Error! You need to have libudis86 around."
27942 cat >>confdefs.h <<_ACEOF
27943 #define USE_UDIS86 $USE_UDIS86
27953 ac_header_dirent=no
27954 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
27955 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
27956 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
27957 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
27958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27959 echo $ECHO_N "(cached) $ECHO_C" >&6
27961 cat >conftest.$ac_ext <<_ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27967 #include <sys/types.h>
27979 rm -f conftest.$ac_objext
27980 if { (ac_try="$ac_compile"
27981 case "(($ac_try" in
27982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27983 *) ac_try_echo
=$ac_try;;
27985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27986 (eval "$ac_compile") 2>conftest.er1
27988 grep -v '^ *+' conftest.er1
>conftest.err
27990 cat conftest.err
>&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } &&
27993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27994 { (case "(($ac_try" in
27995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27996 *) ac_try_echo=$ac_try;;
27998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27999 (eval "$ac_try") 2>&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; } &&
28003 { ac_try='test -s conftest.$ac_objext'
28004 { (case "(($ac_try" in
28005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28006 *) ac_try_echo
=$ac_try;;
28008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28009 (eval "$ac_try") 2>&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; }; then
28013 eval "$as_ac_Header=yes"
28015 echo "$as_me: failed program was:" >&5
28016 sed 's/^/| /' conftest.
$ac_ext >&5
28018 eval "$as_ac_Header=no"
28021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28023 ac_res
=`eval echo '${'$as_ac_Header'}'`
28024 { echo "$as_me:$LINENO: result: $ac_res" >&5
28025 echo "${ECHO_T}$ac_res" >&6; }
28026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28027 cat >>confdefs.h
<<_ACEOF
28028 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
28031 ac_header_dirent
=$ac_hdr; break
28035 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
28036 if test $ac_header_dirent = dirent.h
; then
28037 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28038 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28039 if test "${ac_cv_search_opendir+set}" = set; then
28040 echo $ECHO_N "(cached) $ECHO_C" >&6
28042 ac_func_search_save_LIBS
=$LIBS
28043 cat >conftest.
$ac_ext <<_ACEOF
28046 cat confdefs.h
>>conftest.
$ac_ext
28047 cat >>conftest.
$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28050 /* Override any GCC internal prototype to avoid an error.
28051 Use char because int might match the return type of a GCC
28052 builtin and then its argument prototype would still apply. */
28065 for ac_lib
in '' dir
; do
28066 if test -z "$ac_lib"; then
28067 ac_res
="none required"
28070 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28072 rm -f conftest.
$ac_objext conftest
$ac_exeext
28073 if { (ac_try
="$ac_link"
28074 case "(($ac_try" in
28075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28076 *) ac_try_echo=$ac_try;;
28078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28079 (eval "$ac_link") 2>conftest.er1
28081 grep -v '^ *+' conftest.er1 >conftest.err
28083 cat conftest.err >&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28087 { (case "(($ac_try" in
28088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28089 *) ac_try_echo
=$ac_try;;
28091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28092 (eval "$ac_try") 2>&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); }; } &&
28096 { ac_try
='test -s conftest$ac_exeext'
28097 { (case "(($ac_try" in
28098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28099 *) ac_try_echo=$ac_try;;
28101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28102 (eval "$ac_try") 2>&5
28104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28105 (exit $ac_status); }; }; then
28106 ac_cv_search_opendir=$ac_res
28108 echo "$as_me: failed program was:" >&5
28109 sed 's/^/| /' conftest.$ac_ext >&5
28114 rm -f core conftest.err conftest.$ac_objext \
28116 if test "${ac_cv_search_opendir+set}" = set; then
28120 if test "${ac_cv_search_opendir+set}" = set; then
28123 ac_cv_search_opendir=no
28125 rm conftest.$ac_ext
28126 LIBS=$ac_func_search_save_LIBS
28128 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28129 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28130 ac_res=$ac_cv_search_opendir
28131 if test "$ac_res" != no; then
28132 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28137 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28138 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28139 if test "${ac_cv_search_opendir+set}" = set; then
28140 echo $ECHO_N "(cached) $ECHO_C" >&6
28142 ac_func_search_save_LIBS=$LIBS
28143 cat >conftest.$ac_ext <<_ACEOF
28146 cat confdefs.h >>conftest.$ac_ext
28147 cat >>conftest.$ac_ext <<_ACEOF
28148 /* end confdefs.h. */
28150 /* Override any GCC internal prototype to avoid an error.
28151 Use char because int might match the return type of a GCC
28152 builtin and then its argument prototype would still apply. */
28165 for ac_lib in '' x; do
28166 if test -z "$ac_lib"; then
28167 ac_res="none required"
28170 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28172 rm -f conftest.$ac_objext conftest$ac_exeext
28173 if { (ac_try="$ac_link"
28174 case "(($ac_try" in
28175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28176 *) ac_try_echo
=$ac_try;;
28178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_link") 2>conftest.er1
28181 grep -v '^ *+' conftest.er1
>conftest.err
28183 cat conftest.err
>&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } &&
28186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28187 { (case "(($ac_try" in
28188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28189 *) ac_try_echo=$ac_try;;
28191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28192 (eval "$ac_try") 2>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; } &&
28196 { ac_try='test -s conftest$ac_exeext'
28197 { (case "(($ac_try" in
28198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28199 *) ac_try_echo
=$ac_try;;
28201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_try") 2>&5
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; }; then
28206 ac_cv_search_opendir
=$ac_res
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.
$ac_ext >&5
28214 rm -f core conftest.err conftest.
$ac_objext \
28216 if test "${ac_cv_search_opendir+set}" = set; then
28220 if test "${ac_cv_search_opendir+set}" = set; then
28223 ac_cv_search_opendir
=no
28225 rm conftest.
$ac_ext
28226 LIBS
=$ac_func_search_save_LIBS
28228 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28229 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28230 ac_res
=$ac_cv_search_opendir
28231 if test "$ac_res" != no
; then
28232 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28238 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28239 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28240 if test "${ac_cv_header_mmap_anon+set}" = set; then
28241 echo $ECHO_N "(cached) $ECHO_C" >&6
28244 ac_cpp
='$CPP $CPPFLAGS'
28245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28249 cat >conftest.
$ac_ext <<_ACEOF
28252 cat confdefs.h
>>conftest.
$ac_ext
28253 cat >>conftest.
$ac_ext <<_ACEOF
28254 /* end confdefs.h. */
28255 #include <sys/mman.h>
28256 #include <unistd.h>
28261 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28266 rm -f conftest.
$ac_objext
28267 if { (ac_try
="$ac_compile"
28268 case "(($ac_try" in
28269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28270 *) ac_try_echo=$ac_try;;
28272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28273 (eval "$ac_compile") 2>conftest.er1
28275 grep -v '^ *+' conftest.er1 >conftest.err
28277 cat conftest.err >&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } &&
28280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28281 { (case "(($ac_try" in
28282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28283 *) ac_try_echo
=$ac_try;;
28285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28286 (eval "$ac_try") 2>&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); }; } &&
28290 { ac_try
='test -s conftest.$ac_objext'
28291 { (case "(($ac_try" in
28292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28293 *) ac_try_echo=$ac_try;;
28295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28296 (eval "$ac_try") 2>&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; }; then
28300 ac_cv_header_mmap_anon=yes
28302 echo "$as_me: failed program was:" >&5
28303 sed 's/^/| /' conftest.$ac_ext >&5
28305 ac_cv_header_mmap_anon=no
28308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28310 ac_cpp='$CPP $CPPFLAGS'
28311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28317 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28318 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28319 if test "$ac_cv_header_mmap_anon" = yes; then
28321 cat >>confdefs.h <<\_ACEOF
28322 #define HAVE_MMAP_ANONYMOUS 1
28327 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28328 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28329 if test "${ac_cv_header_stat_broken+set}" = set; then
28330 echo $ECHO_N "(cached) $ECHO_C" >&6
28332 cat >conftest.$ac_ext <<_ACEOF
28335 cat confdefs.h >>conftest.$ac_ext
28336 cat >>conftest.$ac_ext <<_ACEOF
28337 /* end confdefs.h. */
28338 #include <sys/types.h>
28339 #include <sys/stat.h>
28341 #if defined S_ISBLK && defined S_IFDIR
28342 # if S_ISBLK (S_IFDIR)
28347 #if defined S_ISBLK && defined S_IFCHR
28348 # if S_ISBLK (S_IFCHR)
28353 #if defined S_ISLNK && defined S_IFREG
28354 # if S_ISLNK (S_IFREG)
28359 #if defined S_ISSOCK && defined S_IFREG
28360 # if S_ISSOCK (S_IFREG)
28366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28367 $EGREP "You lose" >/dev/null 2>&1; then
28368 ac_cv_header_stat_broken=yes
28370 ac_cv_header_stat_broken=no
28375 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28376 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28377 if test $ac_cv_header_stat_broken = yes; then
28379 cat >>confdefs.h <<\_ACEOF
28380 #define STAT_MACROS_BROKEN 1
28385 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28386 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28387 if test "${ac_cv_header_stdc+set}" = set; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28390 cat >conftest.$ac_ext <<_ACEOF
28393 cat confdefs.h >>conftest.$ac_ext
28394 cat >>conftest.$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28396 #include <stdlib.h>
28397 #include <stdarg.h>
28398 #include <string.h>
28409 rm -f conftest.$ac_objext
28410 if { (ac_try="$ac_compile"
28411 case "(($ac_try" in
28412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28413 *) ac_try_echo
=$ac_try;;
28415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28416 (eval "$ac_compile") 2>conftest.er1
28418 grep -v '^ *+' conftest.er1
>conftest.err
28420 cat conftest.err
>&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); } &&
28423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28424 { (case "(($ac_try" in
28425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28426 *) ac_try_echo=$ac_try;;
28428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28429 (eval "$ac_try") 2>&5
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); }; } &&
28433 { ac_try='test -s conftest.$ac_objext'
28434 { (case "(($ac_try" in
28435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28436 *) ac_try_echo
=$ac_try;;
28438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28439 (eval "$ac_try") 2>&5
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); }; }; then
28443 ac_cv_header_stdc
=yes
28445 echo "$as_me: failed program was:" >&5
28446 sed 's/^/| /' conftest.
$ac_ext >&5
28448 ac_cv_header_stdc
=no
28451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28453 if test $ac_cv_header_stdc = yes; then
28454 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28455 cat >conftest.
$ac_ext <<_ACEOF
28458 cat confdefs.h
>>conftest.
$ac_ext
28459 cat >>conftest.
$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 #include <string.h>
28464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28465 $EGREP "memchr" >/dev
/null
2>&1; then
28468 ac_cv_header_stdc
=no
28474 if test $ac_cv_header_stdc = yes; then
28475 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28476 cat >conftest.
$ac_ext <<_ACEOF
28479 cat confdefs.h
>>conftest.
$ac_ext
28480 cat >>conftest.
$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28482 #include <stdlib.h>
28485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28486 $EGREP "free" >/dev
/null
2>&1; then
28489 ac_cv_header_stdc
=no
28495 if test $ac_cv_header_stdc = yes; then
28496 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28497 if test "$cross_compiling" = yes; then
28500 cat >conftest.
$ac_ext <<_ACEOF
28503 cat confdefs.h
>>conftest.
$ac_ext
28504 cat >>conftest.
$ac_ext <<_ACEOF
28505 /* end confdefs.h. */
28507 #include <stdlib.h>
28508 #if ((' ' & 0x0FF) == 0x020)
28509 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28510 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28512 # define ISLOWER(c) \
28513 (('a' <= (c) && (c) <= 'i') \
28514 || ('j' <= (c) && (c) <= 'r') \
28515 || ('s' <= (c) && (c) <= 'z'))
28516 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28519 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28524 for (i = 0; i < 256; i++)
28525 if (XOR (islower (i), ISLOWER (i))
28526 || toupper (i) != TOUPPER (i))
28531 rm -f conftest
$ac_exeext
28532 if { (ac_try
="$ac_link"
28533 case "(($ac_try" in
28534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28535 *) ac_try_echo=$ac_try;;
28537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28538 (eval "$ac_link") 2>&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28542 { (case "(($ac_try" in
28543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28544 *) ac_try_echo
=$ac_try;;
28546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28547 (eval "$ac_try") 2>&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); }; }; then
28553 echo "$as_me: program exited with status $ac_status" >&5
28554 echo "$as_me: failed program was:" >&5
28555 sed 's/^/| /' conftest.
$ac_ext >&5
28557 ( exit $ac_status )
28558 ac_cv_header_stdc
=no
28560 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28566 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28567 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28568 if test $ac_cv_header_stdc = yes; then
28570 cat >>confdefs.h
<<\_ACEOF
28571 #define STDC_HEADERS 1
28576 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28577 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28578 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28579 echo $ECHO_N "(cached) $ECHO_C" >&6
28581 cat >conftest.
$ac_ext <<_ACEOF
28584 cat confdefs.h
>>conftest.
$ac_ext
28585 cat >>conftest.
$ac_ext <<_ACEOF
28586 /* end confdefs.h. */
28587 #include <sys/types.h>
28588 #include <sys/wait.h>
28589 #ifndef WEXITSTATUS
28590 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28593 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28601 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28606 rm -f conftest.
$ac_objext
28607 if { (ac_try
="$ac_compile"
28608 case "(($ac_try" in
28609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28610 *) ac_try_echo=$ac_try;;
28612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28613 (eval "$ac_compile") 2>conftest.er1
28615 grep -v '^ *+' conftest.er1 >conftest.err
28617 cat conftest.err >&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } &&
28620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28621 { (case "(($ac_try" in
28622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28623 *) ac_try_echo
=$ac_try;;
28625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28626 (eval "$ac_try") 2>&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); }; } &&
28630 { ac_try
='test -s conftest.$ac_objext'
28631 { (case "(($ac_try" in
28632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28633 *) ac_try_echo=$ac_try;;
28635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28636 (eval "$ac_try") 2>&5
28638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28639 (exit $ac_status); }; }; then
28640 ac_cv_header_sys_wait_h=yes
28642 echo "$as_me: failed program was:" >&5
28643 sed 's/^/| /' conftest.$ac_ext >&5
28645 ac_cv_header_sys_wait_h=no
28648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28650 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28651 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28652 if test $ac_cv_header_sys_wait_h = yes; then
28654 cat >>confdefs.h <<\_ACEOF
28655 #define HAVE_SYS_WAIT_H 1
28660 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28661 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28662 if test "${ac_cv_header_time+set}" = set; then
28663 echo $ECHO_N "(cached) $ECHO_C" >&6
28665 cat >conftest.$ac_ext <<_ACEOF
28668 cat confdefs.h >>conftest.$ac_ext
28669 cat >>conftest.$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28671 #include <sys/types.h>
28672 #include <sys/time.h>
28678 if ((struct tm *) 0)
28684 rm -f conftest.$ac_objext
28685 if { (ac_try="$ac_compile"
28686 case "(($ac_try" in
28687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28688 *) ac_try_echo
=$ac_try;;
28690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28691 (eval "$ac_compile") 2>conftest.er1
28693 grep -v '^ *+' conftest.er1
>conftest.err
28695 cat conftest.err
>&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); } &&
28698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28699 { (case "(($ac_try" in
28700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28701 *) ac_try_echo=$ac_try;;
28703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28704 (eval "$ac_try") 2>&5
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); }; } &&
28708 { ac_try='test -s conftest.$ac_objext'
28709 { (case "(($ac_try" in
28710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28711 *) ac_try_echo
=$ac_try;;
28713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28714 (eval "$ac_try") 2>&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; }; then
28718 ac_cv_header_time
=yes
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.
$ac_ext >&5
28723 ac_cv_header_time
=no
28726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28728 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28729 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28730 if test $ac_cv_header_time = yes; then
28732 cat >>confdefs.h
<<\_ACEOF
28733 #define TIME_WITH_SYS_TIME 1
28745 for ac_header
in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28747 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28748 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28749 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28751 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28752 echo $ECHO_N "(cached) $ECHO_C" >&6
28754 ac_res
=`eval echo '${'$as_ac_Header'}'`
28755 { echo "$as_me:$LINENO: result: $ac_res" >&5
28756 echo "${ECHO_T}$ac_res" >&6; }
28758 # Is the header compilable?
28759 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28761 cat >conftest.
$ac_ext <<_ACEOF
28764 cat confdefs.h
>>conftest.
$ac_ext
28765 cat >>conftest.
$ac_ext <<_ACEOF
28766 /* end confdefs.h. */
28767 $ac_includes_default
28768 #include <$ac_header>
28770 rm -f conftest.
$ac_objext
28771 if { (ac_try
="$ac_compile"
28772 case "(($ac_try" in
28773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28774 *) ac_try_echo=$ac_try;;
28776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28777 (eval "$ac_compile") 2>conftest.er1
28779 grep -v '^ *+' conftest.er1 >conftest.err
28781 cat conftest.err >&5
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); } &&
28784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28785 { (case "(($ac_try" in
28786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28787 *) ac_try_echo
=$ac_try;;
28789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28790 (eval "$ac_try") 2>&5
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; } &&
28794 { ac_try
='test -s conftest.$ac_objext'
28795 { (case "(($ac_try" in
28796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28797 *) ac_try_echo=$ac_try;;
28799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 (eval "$ac_try") 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 ac_header_compiler=yes
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.$ac_ext >&5
28809 ac_header_compiler=no
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28813 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28814 echo "${ECHO_T}$ac_header_compiler" >&6; }
28816 # Is the header present?
28817 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28819 cat >conftest.$ac_ext <<_ACEOF
28822 cat confdefs.h >>conftest.$ac_ext
28823 cat >>conftest.$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28825 #include <$ac_header>
28827 if { (ac_try="$ac_cpp conftest.$ac_ext"
28828 case "(($ac_try" in
28829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28830 *) ac_try_echo
=$ac_try;;
28832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28835 grep -v '^ *+' conftest.er1
>conftest.err
28837 cat conftest.err
>&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } >/dev
/null
; then
28840 if test -s conftest.err
; then
28841 ac_cpp_err
=$ac_c_preproc_warn_flag
28842 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28849 if test -z "$ac_cpp_err"; then
28850 ac_header_preproc
=yes
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.
$ac_ext >&5
28855 ac_header_preproc
=no
28858 rm -f conftest.err conftest.
$ac_ext
28859 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28860 echo "${ECHO_T}$ac_header_preproc" >&6; }
28862 # So? What about this header?
28863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28869 ac_header_preproc
=yes
28872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28885 ## ----------------------------------- ##
28886 ## Report this to llvmbugs@cs.uiuc.edu ##
28887 ## ----------------------------------- ##
28889 ) |
sed "s/^/$as_me: WARNING: /" >&2
28892 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28894 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28895 echo $ECHO_N "(cached) $ECHO_C" >&6
28897 eval "$as_ac_Header=\$ac_header_preproc"
28899 ac_res
=`eval echo '${'$as_ac_Header'}'`
28900 { echo "$as_me:$LINENO: result: $ac_res" >&5
28901 echo "${ECHO_T}$ac_res" >&6; }
28904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28905 cat >>confdefs.h
<<_ACEOF
28906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28919 for ac_header
in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28921 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28922 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28925 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28926 echo $ECHO_N "(cached) $ECHO_C" >&6
28928 ac_res
=`eval echo '${'$as_ac_Header'}'`
28929 { echo "$as_me:$LINENO: result: $ac_res" >&5
28930 echo "${ECHO_T}$ac_res" >&6; }
28932 # Is the header compilable?
28933 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28935 cat >conftest.
$ac_ext <<_ACEOF
28938 cat confdefs.h
>>conftest.
$ac_ext
28939 cat >>conftest.
$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28941 $ac_includes_default
28942 #include <$ac_header>
28944 rm -f conftest.
$ac_objext
28945 if { (ac_try
="$ac_compile"
28946 case "(($ac_try" in
28947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28948 *) ac_try_echo=$ac_try;;
28950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28951 (eval "$ac_compile") 2>conftest.er1
28953 grep -v '^ *+' conftest.er1 >conftest.err
28955 cat conftest.err >&5
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); } &&
28958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28959 { (case "(($ac_try" in
28960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28961 *) ac_try_echo
=$ac_try;;
28963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28964 (eval "$ac_try") 2>&5
28966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28967 (exit $ac_status); }; } &&
28968 { ac_try
='test -s conftest.$ac_objext'
28969 { (case "(($ac_try" in
28970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28971 *) ac_try_echo=$ac_try;;
28973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28974 (eval "$ac_try") 2>&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; }; then
28978 ac_header_compiler=yes
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28983 ac_header_compiler=no
28986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28988 echo "${ECHO_T}$ac_header_compiler" >&6; }
28990 # Is the header present?
28991 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28993 cat >conftest.$ac_ext <<_ACEOF
28996 cat confdefs.h >>conftest.$ac_ext
28997 cat >>conftest.$ac_ext <<_ACEOF
28998 /* end confdefs.h. */
28999 #include <$ac_header>
29001 if { (ac_try="$ac_cpp conftest.$ac_ext"
29002 case "(($ac_try" in
29003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29004 *) ac_try_echo
=$ac_try;;
29006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29009 grep -v '^ *+' conftest.er1
>conftest.err
29011 cat conftest.err
>&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } >/dev
/null
; then
29014 if test -s conftest.err
; then
29015 ac_cpp_err
=$ac_c_preproc_warn_flag
29016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29023 if test -z "$ac_cpp_err"; then
29024 ac_header_preproc
=yes
29026 echo "$as_me: failed program was:" >&5
29027 sed 's/^/| /' conftest.
$ac_ext >&5
29029 ac_header_preproc
=no
29032 rm -f conftest.err conftest.
$ac_ext
29033 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29034 echo "${ECHO_T}$ac_header_preproc" >&6; }
29036 # So? What about this header?
29037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29043 ac_header_preproc
=yes
29046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29050 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29052 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29053 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29056 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29059 ## ----------------------------------- ##
29060 ## Report this to llvmbugs@cs.uiuc.edu ##
29061 ## ----------------------------------- ##
29063 ) |
sed "s/^/$as_me: WARNING: /" >&2
29066 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29068 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29069 echo $ECHO_N "(cached) $ECHO_C" >&6
29071 eval "$as_ac_Header=\$ac_header_preproc"
29073 ac_res
=`eval echo '${'$as_ac_Header'}'`
29074 { echo "$as_me:$LINENO: result: $ac_res" >&5
29075 echo "${ECHO_T}$ac_res" >&6; }
29078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29079 cat >>confdefs.h
<<_ACEOF
29080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29088 for ac_header
in windows.h
29090 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29091 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29094 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29095 echo $ECHO_N "(cached) $ECHO_C" >&6
29097 ac_res
=`eval echo '${'$as_ac_Header'}'`
29098 { echo "$as_me:$LINENO: result: $ac_res" >&5
29099 echo "${ECHO_T}$ac_res" >&6; }
29101 # Is the header compilable?
29102 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29104 cat >conftest.
$ac_ext <<_ACEOF
29107 cat confdefs.h
>>conftest.
$ac_ext
29108 cat >>conftest.
$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29110 $ac_includes_default
29111 #include <$ac_header>
29113 rm -f conftest.
$ac_objext
29114 if { (ac_try
="$ac_compile"
29115 case "(($ac_try" in
29116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29117 *) ac_try_echo=$ac_try;;
29119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29120 (eval "$ac_compile") 2>conftest.er1
29122 grep -v '^ *+' conftest.er1 >conftest.err
29124 cat conftest.err >&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); } &&
29127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29128 { (case "(($ac_try" in
29129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29130 *) ac_try_echo
=$ac_try;;
29132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29133 (eval "$ac_try") 2>&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); }; } &&
29137 { ac_try
='test -s conftest.$ac_objext'
29138 { (case "(($ac_try" in
29139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29140 *) ac_try_echo=$ac_try;;
29142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29143 (eval "$ac_try") 2>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); }; }; then
29147 ac_header_compiler=yes
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29152 ac_header_compiler=no
29155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29156 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29157 echo "${ECHO_T}$ac_header_compiler" >&6; }
29159 # Is the header present?
29160 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29162 cat >conftest.$ac_ext <<_ACEOF
29165 cat confdefs.h >>conftest.$ac_ext
29166 cat >>conftest.$ac_ext <<_ACEOF
29167 /* end confdefs.h. */
29168 #include <$ac_header>
29170 if { (ac_try="$ac_cpp conftest.$ac_ext"
29171 case "(($ac_try" in
29172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29173 *) ac_try_echo
=$ac_try;;
29175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29178 grep -v '^ *+' conftest.er1
>conftest.err
29180 cat conftest.err
>&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } >/dev
/null
; then
29183 if test -s conftest.err
; then
29184 ac_cpp_err
=$ac_c_preproc_warn_flag
29185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29192 if test -z "$ac_cpp_err"; then
29193 ac_header_preproc
=yes
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.
$ac_ext >&5
29198 ac_header_preproc
=no
29201 rm -f conftest.err conftest.
$ac_ext
29202 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29203 echo "${ECHO_T}$ac_header_preproc" >&6; }
29205 # So? What about this header?
29206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29212 ac_header_preproc
=yes
29215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29219 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29221 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29222 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29228 ## ----------------------------------- ##
29229 ## Report this to llvmbugs@cs.uiuc.edu ##
29230 ## ----------------------------------- ##
29232 ) |
sed "s/^/$as_me: WARNING: /" >&2
29235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29237 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29238 echo $ECHO_N "(cached) $ECHO_C" >&6
29240 eval "$as_ac_Header=\$ac_header_preproc"
29242 ac_res
=`eval echo '${'$as_ac_Header'}'`
29243 { echo "$as_me:$LINENO: result: $ac_res" >&5
29244 echo "${ECHO_T}$ac_res" >&6; }
29247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29248 cat >>confdefs.h
<<_ACEOF
29249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29260 for ac_header
in sys
/mman.h sys
/param.h sys
/resource.h sys
/time.h
29262 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29263 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29264 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29266 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29269 ac_res
=`eval echo '${'$as_ac_Header'}'`
29270 { echo "$as_me:$LINENO: result: $ac_res" >&5
29271 echo "${ECHO_T}$ac_res" >&6; }
29273 # Is the header compilable?
29274 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29276 cat >conftest.
$ac_ext <<_ACEOF
29279 cat confdefs.h
>>conftest.
$ac_ext
29280 cat >>conftest.
$ac_ext <<_ACEOF
29281 /* end confdefs.h. */
29282 $ac_includes_default
29283 #include <$ac_header>
29285 rm -f conftest.
$ac_objext
29286 if { (ac_try
="$ac_compile"
29287 case "(($ac_try" in
29288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29289 *) ac_try_echo=$ac_try;;
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_compile") 2>conftest.er1
29294 grep -v '^ *+' conftest.er1 >conftest.err
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } &&
29299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29300 { (case "(($ac_try" in
29301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29302 *) ac_try_echo
=$ac_try;;
29304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29305 (eval "$ac_try") 2>&5
29307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29308 (exit $ac_status); }; } &&
29309 { ac_try
='test -s conftest.$ac_objext'
29310 { (case "(($ac_try" in
29311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29312 *) ac_try_echo=$ac_try;;
29314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29315 (eval "$ac_try") 2>&5
29317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318 (exit $ac_status); }; }; then
29319 ac_header_compiler=yes
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29324 ac_header_compiler=no
29327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29328 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29329 echo "${ECHO_T}$ac_header_compiler" >&6; }
29331 # Is the header present?
29332 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29333 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29334 cat >conftest.$ac_ext <<_ACEOF
29337 cat confdefs.h >>conftest.$ac_ext
29338 cat >>conftest.$ac_ext <<_ACEOF
29339 /* end confdefs.h. */
29340 #include <$ac_header>
29342 if { (ac_try="$ac_cpp conftest.$ac_ext"
29343 case "(($ac_try" in
29344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29345 *) ac_try_echo
=$ac_try;;
29347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29348 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29350 grep -v '^ *+' conftest.er1
>conftest.err
29352 cat conftest.err
>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); } >/dev
/null
; then
29355 if test -s conftest.err
; then
29356 ac_cpp_err
=$ac_c_preproc_warn_flag
29357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29364 if test -z "$ac_cpp_err"; then
29365 ac_header_preproc
=yes
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.
$ac_ext >&5
29370 ac_header_preproc
=no
29373 rm -f conftest.err conftest.
$ac_ext
29374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29375 echo "${ECHO_T}$ac_header_preproc" >&6; }
29377 # So? What about this header?
29378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29384 ac_header_preproc
=yes
29387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29400 ## ----------------------------------- ##
29401 ## Report this to llvmbugs@cs.uiuc.edu ##
29402 ## ----------------------------------- ##
29404 ) |
sed "s/^/$as_me: WARNING: /" >&2
29407 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29409 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29412 eval "$as_ac_Header=\$ac_header_preproc"
29414 ac_res
=`eval echo '${'$as_ac_Header'}'`
29415 { echo "$as_me:$LINENO: result: $ac_res" >&5
29416 echo "${ECHO_T}$ac_res" >&6; }
29419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29420 cat >>confdefs.h
<<_ACEOF
29421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29431 for ac_header
in sys
/types.h malloc
/malloc.h mach
/mach.h
29433 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29434 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29435 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29437 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 ac_res
=`eval echo '${'$as_ac_Header'}'`
29441 { echo "$as_me:$LINENO: result: $ac_res" >&5
29442 echo "${ECHO_T}$ac_res" >&6; }
29444 # Is the header compilable?
29445 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29447 cat >conftest.
$ac_ext <<_ACEOF
29450 cat confdefs.h
>>conftest.
$ac_ext
29451 cat >>conftest.
$ac_ext <<_ACEOF
29452 /* end confdefs.h. */
29453 $ac_includes_default
29454 #include <$ac_header>
29456 rm -f conftest.
$ac_objext
29457 if { (ac_try
="$ac_compile"
29458 case "(($ac_try" in
29459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29460 *) ac_try_echo=$ac_try;;
29462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29463 (eval "$ac_compile") 2>conftest.er1
29465 grep -v '^ *+' conftest.er1 >conftest.err
29467 cat conftest.err >&5
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); } &&
29470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29471 { (case "(($ac_try" in
29472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29473 *) ac_try_echo
=$ac_try;;
29475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29476 (eval "$ac_try") 2>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); }; } &&
29480 { ac_try
='test -s conftest.$ac_objext'
29481 { (case "(($ac_try" in
29482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29483 *) ac_try_echo=$ac_try;;
29485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29486 (eval "$ac_try") 2>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; }; then
29490 ac_header_compiler=yes
29492 echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29495 ac_header_compiler=no
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29500 echo "${ECHO_T}$ac_header_compiler" >&6; }
29502 # Is the header present?
29503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29505 cat >conftest.$ac_ext <<_ACEOF
29508 cat confdefs.h >>conftest.$ac_ext
29509 cat >>conftest.$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29511 #include <$ac_header>
29513 if { (ac_try="$ac_cpp conftest.$ac_ext"
29514 case "(($ac_try" in
29515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29516 *) ac_try_echo
=$ac_try;;
29518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29521 grep -v '^ *+' conftest.er1
>conftest.err
29523 cat conftest.err
>&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); } >/dev
/null
; then
29526 if test -s conftest.err
; then
29527 ac_cpp_err
=$ac_c_preproc_warn_flag
29528 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29535 if test -z "$ac_cpp_err"; then
29536 ac_header_preproc
=yes
29538 echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.
$ac_ext >&5
29541 ac_header_preproc
=no
29544 rm -f conftest.err conftest.
$ac_ext
29545 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29546 echo "${ECHO_T}$ac_header_preproc" >&6; }
29548 # So? What about this header?
29549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29555 ac_header_preproc
=yes
29558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29571 ## ----------------------------------- ##
29572 ## Report this to llvmbugs@cs.uiuc.edu ##
29573 ## ----------------------------------- ##
29575 ) |
sed "s/^/$as_me: WARNING: /" >&2
29578 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29580 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29581 echo $ECHO_N "(cached) $ECHO_C" >&6
29583 eval "$as_ac_Header=\$ac_header_preproc"
29585 ac_res
=`eval echo '${'$as_ac_Header'}'`
29586 { echo "$as_me:$LINENO: result: $ac_res" >&5
29587 echo "${ECHO_T}$ac_res" >&6; }
29590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29591 cat >>confdefs.h
<<_ACEOF
29592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29599 if test "$ENABLE_THREADS" -eq 1 ; then
29601 for ac_header
in pthread.h
29603 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29604 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29607 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29608 echo $ECHO_N "(cached) $ECHO_C" >&6
29610 ac_res
=`eval echo '${'$as_ac_Header'}'`
29611 { echo "$as_me:$LINENO: result: $ac_res" >&5
29612 echo "${ECHO_T}$ac_res" >&6; }
29614 # Is the header compilable?
29615 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29617 cat >conftest.
$ac_ext <<_ACEOF
29620 cat confdefs.h
>>conftest.
$ac_ext
29621 cat >>conftest.
$ac_ext <<_ACEOF
29622 /* end confdefs.h. */
29623 $ac_includes_default
29624 #include <$ac_header>
29626 rm -f conftest.
$ac_objext
29627 if { (ac_try
="$ac_compile"
29628 case "(($ac_try" in
29629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29630 *) ac_try_echo=$ac_try;;
29632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29633 (eval "$ac_compile") 2>conftest.er1
29635 grep -v '^ *+' conftest.er1 >conftest.err
29637 cat conftest.err >&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); } &&
29640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29641 { (case "(($ac_try" in
29642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29643 *) ac_try_echo
=$ac_try;;
29645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29646 (eval "$ac_try") 2>&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); }; } &&
29650 { ac_try
='test -s conftest.$ac_objext'
29651 { (case "(($ac_try" in
29652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29653 *) ac_try_echo=$ac_try;;
29655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29656 (eval "$ac_try") 2>&5
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); }; }; then
29660 ac_header_compiler=yes
29662 echo "$as_me: failed program was:" >&5
29663 sed 's/^/| /' conftest.$ac_ext >&5
29665 ac_header_compiler=no
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29669 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29670 echo "${ECHO_T}$ac_header_compiler" >&6; }
29672 # Is the header present?
29673 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29675 cat >conftest.$ac_ext <<_ACEOF
29678 cat confdefs.h >>conftest.$ac_ext
29679 cat >>conftest.$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29681 #include <$ac_header>
29683 if { (ac_try="$ac_cpp conftest.$ac_ext"
29684 case "(($ac_try" in
29685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29686 *) ac_try_echo
=$ac_try;;
29688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29691 grep -v '^ *+' conftest.er1
>conftest.err
29693 cat conftest.err
>&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } >/dev
/null
; then
29696 if test -s conftest.err
; then
29697 ac_cpp_err
=$ac_c_preproc_warn_flag
29698 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29705 if test -z "$ac_cpp_err"; then
29706 ac_header_preproc
=yes
29708 echo "$as_me: failed program was:" >&5
29709 sed 's/^/| /' conftest.
$ac_ext >&5
29711 ac_header_preproc
=no
29714 rm -f conftest.err conftest.
$ac_ext
29715 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29716 echo "${ECHO_T}$ac_header_preproc" >&6; }
29718 # So? What about this header?
29719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29724 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29725 ac_header_preproc
=yes
29728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29732 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29733 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29734 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29735 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29738 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29739 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29741 ## ----------------------------------- ##
29742 ## Report this to llvmbugs@cs.uiuc.edu ##
29743 ## ----------------------------------- ##
29745 ) |
sed "s/^/$as_me: WARNING: /" >&2
29748 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29750 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29753 eval "$as_ac_Header=\$ac_header_preproc"
29755 ac_res
=`eval echo '${'$as_ac_Header'}'`
29756 { echo "$as_me:$LINENO: result: $ac_res" >&5
29757 echo "${ECHO_T}$ac_res" >&6; }
29760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29761 cat >>confdefs.h
<<_ACEOF
29762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29780 for ac_header
in ffi.h ffi
/ffi.h
29782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29783 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29784 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29786 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29787 echo $ECHO_N "(cached) $ECHO_C" >&6
29789 ac_res
=`eval echo '${'$as_ac_Header'}'`
29790 { echo "$as_me:$LINENO: result: $ac_res" >&5
29791 echo "${ECHO_T}$ac_res" >&6; }
29793 # Is the header compilable?
29794 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29796 cat >conftest.
$ac_ext <<_ACEOF
29799 cat confdefs.h
>>conftest.
$ac_ext
29800 cat >>conftest.
$ac_ext <<_ACEOF
29801 /* end confdefs.h. */
29802 $ac_includes_default
29803 #include <$ac_header>
29805 rm -f conftest.
$ac_objext
29806 if { (ac_try
="$ac_compile"
29807 case "(($ac_try" in
29808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29809 *) ac_try_echo=$ac_try;;
29811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29812 (eval "$ac_compile") 2>conftest.er1
29814 grep -v '^ *+' conftest.er1 >conftest.err
29816 cat conftest.err >&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); } &&
29819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29820 { (case "(($ac_try" in
29821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29822 *) ac_try_echo
=$ac_try;;
29824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29825 (eval "$ac_try") 2>&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; } &&
29829 { ac_try
='test -s conftest.$ac_objext'
29830 { (case "(($ac_try" in
29831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29832 *) ac_try_echo=$ac_try;;
29834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29835 (eval "$ac_try") 2>&5
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); }; }; then
29839 ac_header_compiler=yes
29841 echo "$as_me: failed program was:" >&5
29842 sed 's/^/| /' conftest.$ac_ext >&5
29844 ac_header_compiler=no
29847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29848 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29849 echo "${ECHO_T}$ac_header_compiler" >&6; }
29851 # Is the header present?
29852 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29854 cat >conftest.$ac_ext <<_ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29860 #include <$ac_header>
29862 if { (ac_try="$ac_cpp conftest.$ac_ext"
29863 case "(($ac_try" in
29864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29865 *) ac_try_echo
=$ac_try;;
29867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29868 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29870 grep -v '^ *+' conftest.er1
>conftest.err
29872 cat conftest.err
>&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); } >/dev
/null
; then
29875 if test -s conftest.err
; then
29876 ac_cpp_err
=$ac_c_preproc_warn_flag
29877 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29884 if test -z "$ac_cpp_err"; then
29885 ac_header_preproc
=yes
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.
$ac_ext >&5
29890 ac_header_preproc
=no
29893 rm -f conftest.err conftest.
$ac_ext
29894 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29895 echo "${ECHO_T}$ac_header_preproc" >&6; }
29897 # So? What about this header?
29898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29904 ac_header_preproc
=yes
29907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29920 ## ----------------------------------- ##
29921 ## Report this to llvmbugs@cs.uiuc.edu ##
29922 ## ----------------------------------- ##
29924 ) |
sed "s/^/$as_me: WARNING: /" >&2
29927 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29929 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29930 echo $ECHO_N "(cached) $ECHO_C" >&6
29932 eval "$as_ac_Header=\$ac_header_preproc"
29934 ac_res
=`eval echo '${'$as_ac_Header'}'`
29935 { echo "$as_me:$LINENO: result: $ac_res" >&5
29936 echo "${ECHO_T}$ac_res" >&6; }
29939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29940 cat >>confdefs.h
<<_ACEOF
29941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29951 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
29952 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
29953 if test "${ac_cv_huge_val_sanity+set}" = set; then
29954 echo $ECHO_N "(cached) $ECHO_C" >&6
29958 ac_cpp
='$CXXCPP $CPPFLAGS'
29959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29964 if test "$cross_compiling" = yes; then
29965 ac_cv_huge_val_sanity
=yes
29967 cat >conftest.
$ac_ext <<_ACEOF
29970 cat confdefs.h
>>conftest.
$ac_ext
29971 cat >>conftest.
$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29977 double x = HUGE_VAL; return x != x;
29982 rm -f conftest
$ac_exeext
29983 if { (ac_try
="$ac_link"
29984 case "(($ac_try" in
29985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29986 *) ac_try_echo=$ac_try;;
29988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29989 (eval "$ac_link") 2>&5
29991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29993 { (case "(($ac_try" in
29994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29995 *) ac_try_echo
=$ac_try;;
29997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29998 (eval "$ac_try") 2>&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); }; }; then
30002 ac_cv_huge_val_sanity
=yes
30004 echo "$as_me: program exited with status $ac_status" >&5
30005 echo "$as_me: failed program was:" >&5
30006 sed 's/^/| /' conftest.
$ac_ext >&5
30008 ( exit $ac_status )
30009 ac_cv_huge_val_sanity
=no
30011 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30016 ac_cpp
='$CPP $CPPFLAGS'
30017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30023 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
30024 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
30025 HUGE_VAL_SANITY
=$ac_cv_huge_val_sanity
30028 { echo "$as_me:$LINENO: checking for pid_t" >&5
30029 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
30030 if test "${ac_cv_type_pid_t+set}" = set; then
30031 echo $ECHO_N "(cached) $ECHO_C" >&6
30033 cat >conftest.
$ac_ext <<_ACEOF
30036 cat confdefs.h
>>conftest.
$ac_ext
30037 cat >>conftest.
$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30039 $ac_includes_default
30040 typedef pid_t ac__type_new_;
30044 if ((ac__type_new_ *) 0)
30046 if (sizeof (ac__type_new_))
30052 rm -f conftest.
$ac_objext
30053 if { (ac_try
="$ac_compile"
30054 case "(($ac_try" in
30055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30056 *) ac_try_echo=$ac_try;;
30058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30059 (eval "$ac_compile") 2>conftest.er1
30061 grep -v '^ *+' conftest.er1 >conftest.err
30063 cat conftest.err >&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } &&
30066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30067 { (case "(($ac_try" in
30068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30069 *) ac_try_echo
=$ac_try;;
30071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30072 (eval "$ac_try") 2>&5
30074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30075 (exit $ac_status); }; } &&
30076 { ac_try
='test -s conftest.$ac_objext'
30077 { (case "(($ac_try" in
30078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30079 *) ac_try_echo=$ac_try;;
30081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30082 (eval "$ac_try") 2>&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; }; then
30086 ac_cv_type_pid_t=yes
30088 echo "$as_me: failed program was:" >&5
30089 sed 's/^/| /' conftest.$ac_ext >&5
30091 ac_cv_type_pid_t=no
30094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30096 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30097 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
30098 if test $ac_cv_type_pid_t = yes; then
30102 cat >>confdefs.h <<_ACEOF
30108 { echo "$as_me:$LINENO: checking for size_t" >&5
30109 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
30110 if test "${ac_cv_type_size_t+set}" = set; then
30111 echo $ECHO_N "(cached) $ECHO_C" >&6
30113 cat >conftest.$ac_ext <<_ACEOF
30116 cat confdefs.h >>conftest.$ac_ext
30117 cat >>conftest.$ac_ext <<_ACEOF
30118 /* end confdefs.h. */
30119 $ac_includes_default
30120 typedef size_t ac__type_new_;
30124 if ((ac__type_new_ *) 0)
30126 if (sizeof (ac__type_new_))
30132 rm -f conftest.$ac_objext
30133 if { (ac_try="$ac_compile"
30134 case "(($ac_try" in
30135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30136 *) ac_try_echo
=$ac_try;;
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_compile") 2>conftest.er1
30141 grep -v '^ *+' conftest.er1
>conftest.err
30143 cat conftest.err
>&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); } &&
30146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30147 { (case "(($ac_try" in
30148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30149 *) ac_try_echo=$ac_try;;
30151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30152 (eval "$ac_try") 2>&5
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; } &&
30156 { ac_try='test -s conftest.$ac_objext'
30157 { (case "(($ac_try" in
30158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30159 *) ac_try_echo
=$ac_try;;
30161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30162 (eval "$ac_try") 2>&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); }; }; then
30166 ac_cv_type_size_t
=yes
30168 echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.
$ac_ext >&5
30171 ac_cv_type_size_t
=no
30174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30176 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30177 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
30178 if test $ac_cv_type_size_t = yes; then
30182 cat >>confdefs.h
<<_ACEOF
30183 #define size_t unsigned int
30188 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
30189 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
30190 if test "${ac_cv_type_signal+set}" = set; then
30191 echo $ECHO_N "(cached) $ECHO_C" >&6
30193 cat >conftest.
$ac_ext <<_ACEOF
30196 cat confdefs.h
>>conftest.
$ac_ext
30197 cat >>conftest.
$ac_ext <<_ACEOF
30198 /* end confdefs.h. */
30199 #include <sys/types.h>
30200 #include <signal.h>
30205 return *(signal (0, 0)) (0) == 1;
30210 rm -f conftest.
$ac_objext
30211 if { (ac_try
="$ac_compile"
30212 case "(($ac_try" in
30213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30214 *) ac_try_echo=$ac_try;;
30216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30217 (eval "$ac_compile") 2>conftest.er1
30219 grep -v '^ *+' conftest.er1 >conftest.err
30221 cat conftest.err >&5
30222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30223 (exit $ac_status); } &&
30224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30225 { (case "(($ac_try" in
30226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30227 *) ac_try_echo
=$ac_try;;
30229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30230 (eval "$ac_try") 2>&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; } &&
30234 { ac_try
='test -s conftest.$ac_objext'
30235 { (case "(($ac_try" in
30236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30237 *) ac_try_echo=$ac_try;;
30239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30240 (eval "$ac_try") 2>&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; }; then
30244 ac_cv_type_signal=int
30246 echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.$ac_ext >&5
30249 ac_cv_type_signal=void
30252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30254 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
30255 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
30257 cat >>confdefs.h <<_ACEOF
30258 #define RETSIGTYPE $ac_cv_type_signal
30262 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
30263 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
30264 if test "${ac_cv_struct_tm+set}" = set; then
30265 echo $ECHO_N "(cached) $ECHO_C" >&6
30267 cat >conftest.$ac_ext <<_ACEOF
30270 cat confdefs.h >>conftest.$ac_ext
30271 cat >>conftest.$ac_ext <<_ACEOF
30272 /* end confdefs.h. */
30273 #include <sys/types.h>
30279 struct tm *tp; tp->tm_sec;
30284 rm -f conftest.$ac_objext
30285 if { (ac_try="$ac_compile"
30286 case "(($ac_try" in
30287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30288 *) ac_try_echo
=$ac_try;;
30290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30291 (eval "$ac_compile") 2>conftest.er1
30293 grep -v '^ *+' conftest.er1
>conftest.err
30295 cat conftest.err
>&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); } &&
30298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30299 { (case "(($ac_try" in
30300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30301 *) ac_try_echo=$ac_try;;
30303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30304 (eval "$ac_try") 2>&5
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); }; } &&
30308 { ac_try='test -s conftest.$ac_objext'
30309 { (case "(($ac_try" in
30310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30311 *) ac_try_echo
=$ac_try;;
30313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30314 (eval "$ac_try") 2>&5
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); }; }; then
30318 ac_cv_struct_tm
=time.h
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.
$ac_ext >&5
30323 ac_cv_struct_tm
=sys
/time.h
30326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30328 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
30329 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
30330 if test $ac_cv_struct_tm = sys
/time.h
; then
30332 cat >>confdefs.h
<<\_ACEOF
30333 #define TM_IN_SYS_TIME 1
30338 { echo "$as_me:$LINENO: checking for int64_t" >&5
30339 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
30340 if test "${ac_cv_type_int64_t+set}" = set; then
30341 echo $ECHO_N "(cached) $ECHO_C" >&6
30343 cat >conftest.
$ac_ext <<_ACEOF
30346 cat confdefs.h
>>conftest.
$ac_ext
30347 cat >>conftest.
$ac_ext <<_ACEOF
30348 /* end confdefs.h. */
30349 $ac_includes_default
30350 typedef int64_t ac__type_new_;
30354 if ((ac__type_new_ *) 0)
30356 if (sizeof (ac__type_new_))
30362 rm -f conftest.
$ac_objext
30363 if { (ac_try
="$ac_compile"
30364 case "(($ac_try" in
30365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30366 *) ac_try_echo=$ac_try;;
30368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30369 (eval "$ac_compile") 2>conftest.er1
30371 grep -v '^ *+' conftest.er1 >conftest.err
30373 cat conftest.err >&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } &&
30376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30377 { (case "(($ac_try" in
30378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30379 *) ac_try_echo
=$ac_try;;
30381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30382 (eval "$ac_try") 2>&5
30384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385 (exit $ac_status); }; } &&
30386 { ac_try
='test -s conftest.$ac_objext'
30387 { (case "(($ac_try" in
30388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30389 *) ac_try_echo=$ac_try;;
30391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30392 (eval "$ac_try") 2>&5
30394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30395 (exit $ac_status); }; }; then
30396 ac_cv_type_int64_t=yes
30398 echo "$as_me: failed program was:" >&5
30399 sed 's/^/| /' conftest.$ac_ext >&5
30401 ac_cv_type_int64_t=no
30404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30406 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
30407 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
30408 if test $ac_cv_type_int64_t = yes; then
30410 cat >>confdefs.h <<_ACEOF
30411 #define HAVE_INT64_T 1
30416 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
30417 echo "$as_me: error: Type int64_t required but not found" >&2;}
30418 { (exit 1); exit 1; }; }
30421 { echo "$as_me:$LINENO: checking for uint64_t" >&5
30422 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
30423 if test "${ac_cv_type_uint64_t+set}" = set; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 cat >conftest.$ac_ext <<_ACEOF
30429 cat confdefs.h >>conftest.$ac_ext
30430 cat >>conftest.$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 $ac_includes_default
30433 typedef uint64_t ac__type_new_;
30437 if ((ac__type_new_ *) 0)
30439 if (sizeof (ac__type_new_))
30445 rm -f conftest.$ac_objext
30446 if { (ac_try="$ac_compile"
30447 case "(($ac_try" in
30448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30449 *) ac_try_echo
=$ac_try;;
30451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30452 (eval "$ac_compile") 2>conftest.er1
30454 grep -v '^ *+' conftest.er1
>conftest.err
30456 cat conftest.err
>&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); } &&
30459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30460 { (case "(($ac_try" in
30461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30462 *) ac_try_echo=$ac_try;;
30464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30465 (eval "$ac_try") 2>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; } &&
30469 { ac_try='test -s conftest.$ac_objext'
30470 { (case "(($ac_try" in
30471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30472 *) ac_try_echo
=$ac_try;;
30474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30475 (eval "$ac_try") 2>&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); }; }; then
30479 ac_cv_type_uint64_t
=yes
30481 echo "$as_me: failed program was:" >&5
30482 sed 's/^/| /' conftest.
$ac_ext >&5
30484 ac_cv_type_uint64_t
=no
30487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30489 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
30490 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
30491 if test $ac_cv_type_uint64_t = yes; then
30493 cat >>confdefs.h
<<_ACEOF
30494 #define HAVE_UINT64_T 1
30499 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
30500 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
30501 if test "${ac_cv_type_u_int64_t+set}" = set; then
30502 echo $ECHO_N "(cached) $ECHO_C" >&6
30504 cat >conftest.
$ac_ext <<_ACEOF
30507 cat confdefs.h
>>conftest.
$ac_ext
30508 cat >>conftest.
$ac_ext <<_ACEOF
30509 /* end confdefs.h. */
30510 $ac_includes_default
30511 typedef u_int64_t ac__type_new_;
30515 if ((ac__type_new_ *) 0)
30517 if (sizeof (ac__type_new_))
30523 rm -f conftest.
$ac_objext
30524 if { (ac_try
="$ac_compile"
30525 case "(($ac_try" in
30526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30527 *) ac_try_echo=$ac_try;;
30529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30530 (eval "$ac_compile") 2>conftest.er1
30532 grep -v '^ *+' conftest.er1 >conftest.err
30534 cat conftest.err >&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } &&
30537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30538 { (case "(($ac_try" in
30539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30540 *) ac_try_echo
=$ac_try;;
30542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30543 (eval "$ac_try") 2>&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); }; } &&
30547 { ac_try
='test -s conftest.$ac_objext'
30548 { (case "(($ac_try" in
30549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30550 *) ac_try_echo=$ac_try;;
30552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30553 (eval "$ac_try") 2>&5
30555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30556 (exit $ac_status); }; }; then
30557 ac_cv_type_u_int64_t=yes
30559 echo "$as_me: failed program was:" >&5
30560 sed 's/^/| /' conftest.$ac_ext >&5
30562 ac_cv_type_u_int64_t=no
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30567 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
30568 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
30569 if test $ac_cv_type_u_int64_t = yes; then
30571 cat >>confdefs.h <<_ACEOF
30572 #define HAVE_U_INT64_T 1
30577 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
30578 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
30579 { (exit 1); exit 1; }; }
30593 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30595 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30599 echo $ECHO_N "(cached) $ECHO_C" >&6
30601 cat >conftest.$ac_ext <<_ACEOF
30604 cat confdefs.h >>conftest.$ac_ext
30605 cat >>conftest.$ac_ext <<_ACEOF
30606 /* end confdefs.h. */
30607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30609 #define $ac_func innocuous_$ac_func
30611 /* System header to define __stub macros and hopefully few prototypes,
30612 which can conflict with char $ac_func (); below.
30613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30614 <limits.h> exists even on freestanding compilers. */
30617 # include <limits.h>
30619 # include <assert.h>
30624 /* Override any GCC internal prototype to avoid an error.
30625 Use char because int might match the return type of a GCC
30626 builtin and then its argument prototype would still apply. */
30631 /* The GNU C library defines this for functions which it implements
30632 to always fail with ENOSYS. Some functions are actually named
30633 something starting with __ and the normal name is an alias. */
30634 #if defined __stub_$ac_func || defined __stub___$ac_func
30641 return $ac_func ();
30646 rm -f conftest.$ac_objext conftest$ac_exeext
30647 if { (ac_try="$ac_link"
30648 case "(($ac_try" in
30649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30650 *) ac_try_echo
=$ac_try;;
30652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30653 (eval "$ac_link") 2>conftest.er1
30655 grep -v '^ *+' conftest.er1
>conftest.err
30657 cat conftest.err
>&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); } &&
30660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30661 { (case "(($ac_try" in
30662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30663 *) ac_try_echo=$ac_try;;
30665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30666 (eval "$ac_try") 2>&5
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; } &&
30670 { ac_try='test -s conftest$ac_exeext'
30671 { (case "(($ac_try" in
30672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30673 *) ac_try_echo
=$ac_try;;
30675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30676 (eval "$ac_try") 2>&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; }; then
30680 eval "$as_ac_var=yes"
30682 echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.
$ac_ext >&5
30685 eval "$as_ac_var=no"
30688 rm -f core conftest.err conftest.
$ac_objext \
30689 conftest
$ac_exeext conftest.
$ac_ext
30691 ac_res
=`eval echo '${'$as_ac_var'}'`
30692 { echo "$as_me:$LINENO: result: $ac_res" >&5
30693 echo "${ECHO_T}$ac_res" >&6; }
30694 if test `eval echo '${'$as_ac_var'}'` = yes; then
30695 cat >>confdefs.h
<<_ACEOF
30696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30706 for ac_func
in powf fmodf strtof round
30708 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30709 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30711 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30712 echo $ECHO_N "(cached) $ECHO_C" >&6
30714 cat >conftest.
$ac_ext <<_ACEOF
30717 cat confdefs.h
>>conftest.
$ac_ext
30718 cat >>conftest.
$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30722 #define $ac_func innocuous_$ac_func
30724 /* System header to define __stub macros and hopefully few prototypes,
30725 which can conflict with char $ac_func (); below.
30726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30727 <limits.h> exists even on freestanding compilers. */
30730 # include <limits.h>
30732 # include <assert.h>
30737 /* Override any GCC internal prototype to avoid an error.
30738 Use char because int might match the return type of a GCC
30739 builtin and then its argument prototype would still apply. */
30744 /* The GNU C library defines this for functions which it implements
30745 to always fail with ENOSYS. Some functions are actually named
30746 something starting with __ and the normal name is an alias. */
30747 #if defined __stub_$ac_func || defined __stub___$ac_func
30754 return $ac_func ();
30759 rm -f conftest.
$ac_objext conftest
$ac_exeext
30760 if { (ac_try
="$ac_link"
30761 case "(($ac_try" in
30762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30763 *) ac_try_echo=$ac_try;;
30765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30766 (eval "$ac_link") 2>conftest.er1
30768 grep -v '^ *+' conftest.er1 >conftest.err
30770 cat conftest.err >&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); } &&
30773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30774 { (case "(($ac_try" in
30775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30776 *) ac_try_echo
=$ac_try;;
30778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30779 (eval "$ac_try") 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; } &&
30783 { ac_try
='test -s conftest$ac_exeext'
30784 { (case "(($ac_try" in
30785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_try") 2>&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); }; }; then
30793 eval "$as_ac_var=yes"
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.$ac_ext >&5
30798 eval "$as_ac_var=no"
30801 rm -f core conftest.err conftest.$ac_objext \
30802 conftest$ac_exeext conftest.$ac_ext
30804 ac_res=`eval echo '${'$as_ac_var'}'`
30805 { echo "$as_me:$LINENO: result: $ac_res" >&5
30806 echo "${ECHO_T}$ac_res" >&6; }
30807 if test `eval echo '${'$as_ac_var'}'` = yes; then
30808 cat >>confdefs.h <<_ACEOF
30809 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30820 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
30822 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30823 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30826 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 cat >conftest.$ac_ext <<_ACEOF
30831 cat confdefs.h >>conftest.$ac_ext
30832 cat >>conftest.$ac_ext <<_ACEOF
30833 /* end confdefs.h. */
30834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30836 #define $ac_func innocuous_$ac_func
30838 /* System header to define __stub macros and hopefully few prototypes,
30839 which can conflict with char $ac_func (); below.
30840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30841 <limits.h> exists even on freestanding compilers. */
30844 # include <limits.h>
30846 # include <assert.h>
30851 /* Override any GCC internal prototype to avoid an error.
30852 Use char because int might match the return type of a GCC
30853 builtin and then its argument prototype would still apply. */
30858 /* The GNU C library defines this for functions which it implements
30859 to always fail with ENOSYS. Some functions are actually named
30860 something starting with __ and the normal name is an alias. */
30861 #if defined __stub_$ac_func || defined __stub___$ac_func
30868 return $ac_func ();
30873 rm -f conftest.$ac_objext conftest$ac_exeext
30874 if { (ac_try="$ac_link"
30875 case "(($ac_try" in
30876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30877 *) ac_try_echo
=$ac_try;;
30879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30880 (eval "$ac_link") 2>conftest.er1
30882 grep -v '^ *+' conftest.er1
>conftest.err
30884 cat conftest.err
>&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); } &&
30887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30888 { (case "(($ac_try" in
30889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30890 *) ac_try_echo=$ac_try;;
30892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30893 (eval "$ac_try") 2>&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; } &&
30897 { ac_try='test -s conftest$ac_exeext'
30898 { (case "(($ac_try" in
30899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30900 *) ac_try_echo
=$ac_try;;
30902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30903 (eval "$ac_try") 2>&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 eval "$as_ac_var=yes"
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.
$ac_ext >&5
30912 eval "$as_ac_var=no"
30915 rm -f core conftest.err conftest.
$ac_objext \
30916 conftest
$ac_exeext conftest.
$ac_ext
30918 ac_res
=`eval echo '${'$as_ac_var'}'`
30919 { echo "$as_me:$LINENO: result: $ac_res" >&5
30920 echo "${ECHO_T}$ac_res" >&6; }
30921 if test `eval echo '${'$as_ac_var'}'` = yes; then
30922 cat >>confdefs.h
<<_ACEOF
30923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30932 for ac_func
in isatty mkdtemp mkstemp
30934 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30937 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30940 cat >conftest.
$ac_ext <<_ACEOF
30943 cat confdefs.h
>>conftest.
$ac_ext
30944 cat >>conftest.
$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30948 #define $ac_func innocuous_$ac_func
30950 /* System header to define __stub macros and hopefully few prototypes,
30951 which can conflict with char $ac_func (); below.
30952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30953 <limits.h> exists even on freestanding compilers. */
30956 # include <limits.h>
30958 # include <assert.h>
30963 /* Override any GCC internal prototype to avoid an error.
30964 Use char because int might match the return type of a GCC
30965 builtin and then its argument prototype would still apply. */
30970 /* The GNU C library defines this for functions which it implements
30971 to always fail with ENOSYS. Some functions are actually named
30972 something starting with __ and the normal name is an alias. */
30973 #if defined __stub_$ac_func || defined __stub___$ac_func
30980 return $ac_func ();
30985 rm -f conftest.
$ac_objext conftest
$ac_exeext
30986 if { (ac_try
="$ac_link"
30987 case "(($ac_try" in
30988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30989 *) ac_try_echo=$ac_try;;
30991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30992 (eval "$ac_link") 2>conftest.er1
30994 grep -v '^ *+' conftest.er1 >conftest.err
30996 cat conftest.err >&5
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); } &&
30999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31000 { (case "(($ac_try" in
31001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31002 *) ac_try_echo
=$ac_try;;
31004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_try") 2>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; } &&
31009 { ac_try
='test -s conftest$ac_exeext'
31010 { (case "(($ac_try" in
31011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31012 *) ac_try_echo=$ac_try;;
31014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31015 (eval "$ac_try") 2>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); }; }; then
31019 eval "$as_ac_var=yes"
31021 echo "$as_me: failed program was:" >&5
31022 sed 's/^/| /' conftest.$ac_ext >&5
31024 eval "$as_ac_var=no"
31027 rm -f core conftest.err conftest.$ac_objext \
31028 conftest$ac_exeext conftest.$ac_ext
31030 ac_res=`eval echo '${'$as_ac_var'}'`
31031 { echo "$as_me:$LINENO: result: $ac_res" >&5
31032 echo "${ECHO_T}$ac_res" >&6; }
31033 if test `eval echo '${'$as_ac_var'}'` = yes; then
31034 cat >>confdefs.h <<_ACEOF
31035 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31048 for ac_func in mktemp realpath sbrk setrlimit strdup strerror strerror_r
31050 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31051 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31053 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31054 echo $ECHO_N "(cached) $ECHO_C" >&6
31056 cat >conftest.$ac_ext <<_ACEOF
31059 cat confdefs.h >>conftest.$ac_ext
31060 cat >>conftest.$ac_ext <<_ACEOF
31061 /* end confdefs.h. */
31062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31064 #define $ac_func innocuous_$ac_func
31066 /* System header to define __stub macros and hopefully few prototypes,
31067 which can conflict with char $ac_func (); below.
31068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31069 <limits.h> exists even on freestanding compilers. */
31072 # include <limits.h>
31074 # include <assert.h>
31079 /* Override any GCC internal prototype to avoid an error.
31080 Use char because int might match the return type of a GCC
31081 builtin and then its argument prototype would still apply. */
31086 /* The GNU C library defines this for functions which it implements
31087 to always fail with ENOSYS. Some functions are actually named
31088 something starting with __ and the normal name is an alias. */
31089 #if defined __stub_$ac_func || defined __stub___$ac_func
31096 return $ac_func ();
31101 rm -f conftest.$ac_objext conftest$ac_exeext
31102 if { (ac_try="$ac_link"
31103 case "(($ac_try" in
31104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31105 *) ac_try_echo
=$ac_try;;
31107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31108 (eval "$ac_link") 2>conftest.er1
31110 grep -v '^ *+' conftest.er1
>conftest.err
31112 cat conftest.err
>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } &&
31115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31116 { (case "(($ac_try" in
31117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31118 *) ac_try_echo=$ac_try;;
31120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31121 (eval "$ac_try") 2>&5
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; } &&
31125 { ac_try='test -s conftest$ac_exeext'
31126 { (case "(($ac_try" in
31127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31128 *) ac_try_echo
=$ac_try;;
31130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31131 (eval "$ac_try") 2>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; }; then
31135 eval "$as_ac_var=yes"
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.
$ac_ext >&5
31140 eval "$as_ac_var=no"
31143 rm -f core conftest.err conftest.
$ac_objext \
31144 conftest
$ac_exeext conftest.
$ac_ext
31146 ac_res
=`eval echo '${'$as_ac_var'}'`
31147 { echo "$as_me:$LINENO: result: $ac_res" >&5
31148 echo "${ECHO_T}$ac_res" >&6; }
31149 if test `eval echo '${'$as_ac_var'}'` = yes; then
31150 cat >>confdefs.h
<<_ACEOF
31151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31161 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
31163 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31164 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31166 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31169 cat >conftest.
$ac_ext <<_ACEOF
31172 cat confdefs.h
>>conftest.
$ac_ext
31173 cat >>conftest.
$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31177 #define $ac_func innocuous_$ac_func
31179 /* System header to define __stub macros and hopefully few prototypes,
31180 which can conflict with char $ac_func (); below.
31181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31182 <limits.h> exists even on freestanding compilers. */
31185 # include <limits.h>
31187 # include <assert.h>
31192 /* Override any GCC internal prototype to avoid an error.
31193 Use char because int might match the return type of a GCC
31194 builtin and then its argument prototype would still apply. */
31199 /* The GNU C library defines this for functions which it implements
31200 to always fail with ENOSYS. Some functions are actually named
31201 something starting with __ and the normal name is an alias. */
31202 #if defined __stub_$ac_func || defined __stub___$ac_func
31209 return $ac_func ();
31214 rm -f conftest.
$ac_objext conftest
$ac_exeext
31215 if { (ac_try
="$ac_link"
31216 case "(($ac_try" in
31217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31218 *) ac_try_echo=$ac_try;;
31220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31221 (eval "$ac_link") 2>conftest.er1
31223 grep -v '^ *+' conftest.er1 >conftest.err
31225 cat conftest.err >&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); } &&
31228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31229 { (case "(($ac_try" in
31230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31231 *) ac_try_echo
=$ac_try;;
31233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31234 (eval "$ac_try") 2>&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; } &&
31238 { ac_try
='test -s conftest$ac_exeext'
31239 { (case "(($ac_try" in
31240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31241 *) ac_try_echo=$ac_try;;
31243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31244 (eval "$ac_try") 2>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); }; }; then
31248 eval "$as_ac_var=yes"
31250 echo "$as_me: failed program was:" >&5
31251 sed 's/^/| /' conftest.$ac_ext >&5
31253 eval "$as_ac_var=no"
31256 rm -f core conftest.err conftest.$ac_objext \
31257 conftest$ac_exeext conftest.$ac_ext
31259 ac_res=`eval echo '${'$as_ac_var'}'`
31260 { echo "$as_me:$LINENO: result: $ac_res" >&5
31261 echo "${ECHO_T}$ac_res" >&6; }
31262 if test `eval echo '${'$as_ac_var'}'` = yes; then
31263 cat >>confdefs.h <<_ACEOF
31264 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31274 for ac_func in setjmp longjmp sigsetjmp siglongjmp
31276 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31280 echo $ECHO_N "(cached) $ECHO_C" >&6
31282 cat >conftest.$ac_ext <<_ACEOF
31285 cat confdefs.h >>conftest.$ac_ext
31286 cat >>conftest.$ac_ext <<_ACEOF
31287 /* end confdefs.h. */
31288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31290 #define $ac_func innocuous_$ac_func
31292 /* System header to define __stub macros and hopefully few prototypes,
31293 which can conflict with char $ac_func (); below.
31294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31295 <limits.h> exists even on freestanding compilers. */
31298 # include <limits.h>
31300 # include <assert.h>
31305 /* Override any GCC internal prototype to avoid an error.
31306 Use char because int might match the return type of a GCC
31307 builtin and then its argument prototype would still apply. */
31312 /* The GNU C library defines this for functions which it implements
31313 to always fail with ENOSYS. Some functions are actually named
31314 something starting with __ and the normal name is an alias. */
31315 #if defined __stub_$ac_func || defined __stub___$ac_func
31322 return $ac_func ();
31327 rm -f conftest.$ac_objext conftest$ac_exeext
31328 if { (ac_try="$ac_link"
31329 case "(($ac_try" in
31330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31331 *) ac_try_echo
=$ac_try;;
31333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31334 (eval "$ac_link") 2>conftest.er1
31336 grep -v '^ *+' conftest.er1
>conftest.err
31338 cat conftest.err
>&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } &&
31341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31342 { (case "(($ac_try" in
31343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31344 *) ac_try_echo=$ac_try;;
31346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31347 (eval "$ac_try") 2>&5
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); }; } &&
31351 { ac_try='test -s conftest$ac_exeext'
31352 { (case "(($ac_try" in
31353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31354 *) ac_try_echo
=$ac_try;;
31356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31357 (eval "$ac_try") 2>&5
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; }; then
31361 eval "$as_ac_var=yes"
31363 echo "$as_me: failed program was:" >&5
31364 sed 's/^/| /' conftest.
$ac_ext >&5
31366 eval "$as_ac_var=no"
31369 rm -f core conftest.err conftest.
$ac_objext \
31370 conftest
$ac_exeext conftest.
$ac_ext
31372 ac_res
=`eval echo '${'$as_ac_var'}'`
31373 { echo "$as_me:$LINENO: result: $ac_res" >&5
31374 echo "${ECHO_T}$ac_res" >&6; }
31375 if test `eval echo '${'$as_ac_var'}'` = yes; then
31376 cat >>confdefs.h
<<_ACEOF
31377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31383 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
31384 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
31385 if test "${llvm_cv_c_printf_a+set}" = set; then
31386 echo $ECHO_N "(cached) $ECHO_C" >&6
31389 ac_cpp
='$CPP $CPPFLAGS'
31390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31394 if test "$cross_compiling" = yes; then
31395 llvmac_cv_c_printf_a
=no
31397 cat >conftest.
$ac_ext <<_ACEOF
31401 cat confdefs.h
>>conftest.
$ac_ext
31402 cat >>conftest.
$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31406 #include <stdlib.h>
31412 volatile double A, B;
31416 sprintf(Buffer, "%a", A);
31420 if (A != 0x1.999999999999ap-4)
31427 rm -f conftest
$ac_exeext
31428 if { (ac_try
="$ac_link"
31429 case "(($ac_try" in
31430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31431 *) ac_try_echo=$ac_try;;
31433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31434 (eval "$ac_link") 2>&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31438 { (case "(($ac_try" in
31439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31440 *) ac_try_echo
=$ac_try;;
31442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31443 (eval "$ac_try") 2>&5
31445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31446 (exit $ac_status); }; }; then
31447 llvm_cv_c_printf_a
=yes
31449 echo "$as_me: program exited with status $ac_status" >&5
31450 echo "$as_me: failed program was:" >&5
31451 sed 's/^/| /' conftest.
$ac_ext >&5
31453 ( exit $ac_status )
31454 llvmac_cv_c_printf_a
=no
31456 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31461 ac_cpp
='$CPP $CPPFLAGS'
31462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31467 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
31468 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
31469 if test "$llvm_cv_c_printf_a" = "yes"; then
31471 cat >>confdefs.h
<<\_ACEOF
31472 #define HAVE_PRINTF_A 1
31477 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
31478 # for constant arguments. Useless!
31479 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
31480 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
31481 if test "${ac_cv_working_alloca_h+set}" = set; then
31482 echo $ECHO_N "(cached) $ECHO_C" >&6
31484 cat >conftest.
$ac_ext <<_ACEOF
31487 cat confdefs.h
>>conftest.
$ac_ext
31488 cat >>conftest.
$ac_ext <<_ACEOF
31489 /* end confdefs.h. */
31490 #include <alloca.h>
31494 char *p = (char *) alloca (2 * sizeof (int));
31500 rm -f conftest.
$ac_objext conftest
$ac_exeext
31501 if { (ac_try
="$ac_link"
31502 case "(($ac_try" in
31503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31504 *) ac_try_echo=$ac_try;;
31506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31507 (eval "$ac_link") 2>conftest.er1
31509 grep -v '^ *+' conftest.er1 >conftest.err
31511 cat conftest.err >&5
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); } &&
31514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31515 { (case "(($ac_try" in
31516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31517 *) ac_try_echo
=$ac_try;;
31519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31520 (eval "$ac_try") 2>&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); }; } &&
31524 { ac_try
='test -s conftest$ac_exeext'
31525 { (case "(($ac_try" in
31526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31527 *) ac_try_echo=$ac_try;;
31529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31530 (eval "$ac_try") 2>&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); }; }; then
31534 ac_cv_working_alloca_h=yes
31536 echo "$as_me: failed program was:" >&5
31537 sed 's/^/| /' conftest.$ac_ext >&5
31539 ac_cv_working_alloca_h=no
31542 rm -f core conftest.err conftest.$ac_objext \
31543 conftest$ac_exeext conftest.$ac_ext
31545 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31546 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
31547 if test $ac_cv_working_alloca_h = yes; then
31549 cat >>confdefs.h <<\_ACEOF
31550 #define HAVE_ALLOCA_H 1
31555 { echo "$as_me:$LINENO: checking for alloca" >&5
31556 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
31557 if test "${ac_cv_func_alloca_works+set}" = set; then
31558 echo $ECHO_N "(cached) $ECHO_C" >&6
31560 cat >conftest.$ac_ext <<_ACEOF
31563 cat confdefs.h >>conftest.$ac_ext
31564 cat >>conftest.$ac_ext <<_ACEOF
31565 /* end confdefs.h. */
31567 # define alloca __builtin_alloca
31570 # include <malloc.h>
31571 # define alloca _alloca
31574 # include <alloca.h>
31579 # ifndef alloca /* predefined by HP cc +Olibcalls */
31590 char *p = (char *) alloca (1);
31596 rm -f conftest.$ac_objext conftest$ac_exeext
31597 if { (ac_try="$ac_link"
31598 case "(($ac_try" in
31599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31600 *) ac_try_echo
=$ac_try;;
31602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31603 (eval "$ac_link") 2>conftest.er1
31605 grep -v '^ *+' conftest.er1
>conftest.err
31607 cat conftest.err
>&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); } &&
31610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31611 { (case "(($ac_try" in
31612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31613 *) ac_try_echo=$ac_try;;
31615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31616 (eval "$ac_try") 2>&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; } &&
31620 { ac_try='test -s conftest$ac_exeext'
31621 { (case "(($ac_try" in
31622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31623 *) ac_try_echo
=$ac_try;;
31625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31626 (eval "$ac_try") 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; }; then
31630 ac_cv_func_alloca_works
=yes
31632 echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.
$ac_ext >&5
31635 ac_cv_func_alloca_works
=no
31638 rm -f core conftest.err conftest.
$ac_objext \
31639 conftest
$ac_exeext conftest.
$ac_ext
31641 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31642 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31644 if test $ac_cv_func_alloca_works = yes; then
31646 cat >>confdefs.h
<<\_ACEOF
31647 #define HAVE_ALLOCA 1
31651 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
31652 # that cause trouble. Some versions do not even contain alloca or
31653 # contain a buggy version. If you still want to use their alloca,
31654 # use ar to extract alloca.o from them instead of compiling alloca.c.
31656 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
31658 cat >>confdefs.h
<<\_ACEOF
31663 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31664 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
31665 if test "${ac_cv_os_cray+set}" = set; then
31666 echo $ECHO_N "(cached) $ECHO_C" >&6
31668 cat >conftest.
$ac_ext <<_ACEOF
31671 cat confdefs.h
>>conftest.
$ac_ext
31672 cat >>conftest.
$ac_ext <<_ACEOF
31673 /* end confdefs.h. */
31674 #if defined CRAY && ! defined CRAY2
31681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31682 $EGREP "webecray" >/dev
/null
2>&1; then
31690 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31691 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31692 if test $ac_cv_os_cray = yes; then
31693 for ac_func
in _getb67 GETB67 getb67
; do
31694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31697 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31698 echo $ECHO_N "(cached) $ECHO_C" >&6
31700 cat >conftest.
$ac_ext <<_ACEOF
31703 cat confdefs.h
>>conftest.
$ac_ext
31704 cat >>conftest.
$ac_ext <<_ACEOF
31705 /* end confdefs.h. */
31706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31708 #define $ac_func innocuous_$ac_func
31710 /* System header to define __stub macros and hopefully few prototypes,
31711 which can conflict with char $ac_func (); below.
31712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31713 <limits.h> exists even on freestanding compilers. */
31716 # include <limits.h>
31718 # include <assert.h>
31723 /* Override any GCC internal prototype to avoid an error.
31724 Use char because int might match the return type of a GCC
31725 builtin and then its argument prototype would still apply. */
31730 /* The GNU C library defines this for functions which it implements
31731 to always fail with ENOSYS. Some functions are actually named
31732 something starting with __ and the normal name is an alias. */
31733 #if defined __stub_$ac_func || defined __stub___$ac_func
31740 return $ac_func ();
31745 rm -f conftest.
$ac_objext conftest
$ac_exeext
31746 if { (ac_try
="$ac_link"
31747 case "(($ac_try" in
31748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31749 *) ac_try_echo=$ac_try;;
31751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31752 (eval "$ac_link") 2>conftest.er1
31754 grep -v '^ *+' conftest.er1 >conftest.err
31756 cat conftest.err >&5
31757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758 (exit $ac_status); } &&
31759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31760 { (case "(($ac_try" in
31761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31762 *) ac_try_echo
=$ac_try;;
31764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31765 (eval "$ac_try") 2>&5
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); }; } &&
31769 { ac_try
='test -s conftest$ac_exeext'
31770 { (case "(($ac_try" in
31771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31772 *) ac_try_echo=$ac_try;;
31774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31775 (eval "$ac_try") 2>&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); }; }; then
31779 eval "$as_ac_var=yes"
31781 echo "$as_me: failed program was:" >&5
31782 sed 's/^/| /' conftest.$ac_ext >&5
31784 eval "$as_ac_var=no"
31787 rm -f core conftest.err conftest.$ac_objext \
31788 conftest$ac_exeext conftest.$ac_ext
31790 ac_res=`eval echo '${'$as_ac_var'}'`
31791 { echo "$as_me:$LINENO: result: $ac_res" >&5
31792 echo "${ECHO_T}$ac_res" >&6; }
31793 if test `eval echo '${'$as_ac_var'}'` = yes; then
31795 cat >>confdefs.h <<_ACEOF
31796 #define CRAY_STACKSEG_END $ac_func
31805 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31806 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31807 if test "${ac_cv_c_stack_direction+set}" = set; then
31808 echo $ECHO_N "(cached) $ECHO_C" >&6
31810 if test "$cross_compiling" = yes; then
31811 ac_cv_c_stack_direction=0
31813 cat >conftest.$ac_ext <<_ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31819 $ac_includes_default
31821 find_stack_direction ()
31823 static char *addr = 0;
31828 return find_stack_direction ();
31831 return (&dummy > addr) ? 1 : -1;
31837 return find_stack_direction () < 0;
31840 rm -f conftest$ac_exeext
31841 if { (ac_try="$ac_link"
31842 case "(($ac_try" in
31843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31844 *) ac_try_echo
=$ac_try;;
31846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31847 (eval "$ac_link") 2>&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31851 { (case "(($ac_try" in
31852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31853 *) ac_try_echo=$ac_try;;
31855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31856 (eval "$ac_try") 2>&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; }; then
31860 ac_cv_c_stack_direction=1
31862 echo "$as_me: program exited with status $ac_status" >&5
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.$ac_ext >&5
31866 ( exit $ac_status )
31867 ac_cv_c_stack_direction=-1
31869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31874 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31875 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31877 cat >>confdefs.h <<_ACEOF
31878 #define STACK_DIRECTION $ac_cv_c_stack_direction
31885 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
31886 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
31887 if test "${ac_cv_func_rand48+set}" = set; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31891 ac_cpp='$CXXCPP $CPPFLAGS'
31892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31896 cat >conftest.$ac_ext <<_ACEOF
31899 cat confdefs.h >>conftest.$ac_ext
31900 cat >>conftest.$ac_ext <<_ACEOF
31901 /* end confdefs.h. */
31902 #include <stdlib.h>
31906 srand48(0);lrand48();drand48();
31911 rm -f conftest.$ac_objext
31912 if { (ac_try="$ac_compile"
31913 case "(($ac_try" in
31914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31915 *) ac_try_echo
=$ac_try;;
31917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31918 (eval "$ac_compile") 2>conftest.er1
31920 grep -v '^ *+' conftest.er1
>conftest.err
31922 cat conftest.err
>&5
31923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924 (exit $ac_status); } &&
31925 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31926 { (case "(($ac_try" in
31927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31928 *) ac_try_echo=$ac_try;;
31930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31931 (eval "$ac_try") 2>&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); }; } &&
31935 { ac_try='test -s conftest.$ac_objext'
31936 { (case "(($ac_try" in
31937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31938 *) ac_try_echo
=$ac_try;;
31940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31941 (eval "$ac_try") 2>&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); }; }; then
31945 ac_cv_func_rand48
=yes
31947 echo "$as_me: failed program was:" >&5
31948 sed 's/^/| /' conftest.
$ac_ext >&5
31950 ac_cv_func_rand48
=no
31953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31955 ac_cpp
='$CPP $CPPFLAGS'
31956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31961 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
31962 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
31964 if test "$ac_cv_func_rand48" = "yes" ; then
31966 cat >>confdefs.h
<<\_ACEOF
31967 #define HAVE_RAND48 1
31973 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
31974 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
31975 if test "${ac_cv_cxx_namespaces+set}" = set; then
31976 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 ac_cpp
='$CXXCPP $CPPFLAGS'
31980 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31981 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31982 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31984 cat >conftest.
$ac_ext <<_ACEOF
31987 cat confdefs.h
>>conftest.
$ac_ext
31988 cat >>conftest.
$ac_ext <<_ACEOF
31989 /* end confdefs.h. */
31990 namespace Outer { namespace Inner { int i = 0; }}
31994 using namespace Outer::Inner; return i;
31999 rm -f conftest.
$ac_objext
32000 if { (ac_try
="$ac_compile"
32001 case "(($ac_try" in
32002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32003 *) ac_try_echo=$ac_try;;
32005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32006 (eval "$ac_compile") 2>conftest.er1
32008 grep -v '^ *+' conftest.er1 >conftest.err
32010 cat conftest.err >&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); } &&
32013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32014 { (case "(($ac_try" in
32015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32016 *) ac_try_echo
=$ac_try;;
32018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32019 (eval "$ac_try") 2>&5
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); }; } &&
32023 { ac_try
='test -s conftest.$ac_objext'
32024 { (case "(($ac_try" in
32025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32026 *) ac_try_echo=$ac_try;;
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_try") 2>&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); }; }; then
32033 ac_cv_cxx_namespaces=yes
32035 echo "$as_me: failed program was:" >&5
32036 sed 's/^/| /' conftest.$ac_ext >&5
32038 ac_cv_cxx_namespaces=no
32041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32043 ac_cpp='$CPP $CPPFLAGS'
32044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32050 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
32051 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
32052 if test "$ac_cv_cxx_namespaces" = yes; then
32054 cat >>confdefs.h <<\_ACEOF
32055 #define HAVE_NAMESPACES
32060 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
32061 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
32062 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
32063 echo $ECHO_N "(cached) $ECHO_C" >&6
32067 ac_cpp='$CXXCPP $CPPFLAGS'
32068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32072 cat >conftest.$ac_ext <<_ACEOF
32075 cat confdefs.h >>conftest.$ac_ext
32076 cat >>conftest.$ac_ext <<_ACEOF
32077 /* end confdefs.h. */
32078 #include <iterator>
32079 #ifdef HAVE_NAMESPACES
32080 using namespace std;
32085 iterator<int,int,int> t; return 0;
32090 rm -f conftest.$ac_objext
32091 if { (ac_try="$ac_compile"
32092 case "(($ac_try" in
32093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32094 *) ac_try_echo
=$ac_try;;
32096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32097 (eval "$ac_compile") 2>conftest.er1
32099 grep -v '^ *+' conftest.er1
>conftest.err
32101 cat conftest.err
>&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); } &&
32104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32105 { (case "(($ac_try" in
32106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32107 *) ac_try_echo=$ac_try;;
32109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32110 (eval "$ac_try") 2>&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); }; } &&
32114 { ac_try='test -s conftest.$ac_objext'
32115 { (case "(($ac_try" in
32116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32117 *) ac_try_echo
=$ac_try;;
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_try") 2>&5
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); }; }; then
32124 ac_cv_cxx_have_std_iterator
=yes
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.
$ac_ext >&5
32129 ac_cv_cxx_have_std_iterator
=no
32132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32134 ac_cpp
='$CPP $CPPFLAGS'
32135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32141 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
32142 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32143 if test "$ac_cv_cxx_have_std_iterator" = yes
32146 cat >>confdefs.h
<<\_ACEOF
32147 #define HAVE_STD_ITERATOR 1
32152 cat >>confdefs.h
<<\_ACEOF
32153 #define HAVE_STD_ITERATOR 0
32158 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
32159 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
32160 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32165 ac_cpp
='$CXXCPP $CPPFLAGS'
32166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32170 cat >conftest.
$ac_ext <<_ACEOF
32173 cat confdefs.h
>>conftest.
$ac_ext
32174 cat >>conftest.
$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176 #include <iterator>
32177 #ifdef HAVE_NAMESPACES
32178 using namespace std;
32183 bidirectional_iterator<int,int> t; return 0;
32188 rm -f conftest.
$ac_objext
32189 if { (ac_try
="$ac_compile"
32190 case "(($ac_try" in
32191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32192 *) ac_try_echo=$ac_try;;
32194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32195 (eval "$ac_compile") 2>conftest.er1
32197 grep -v '^ *+' conftest.er1 >conftest.err
32199 cat conftest.err >&5
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); } &&
32202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32203 { (case "(($ac_try" in
32204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32205 *) ac_try_echo
=$ac_try;;
32207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32208 (eval "$ac_try") 2>&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); }; } &&
32212 { ac_try
='test -s conftest.$ac_objext'
32213 { (case "(($ac_try" in
32214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32215 *) ac_try_echo=$ac_try;;
32217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32218 (eval "$ac_try") 2>&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); }; }; then
32222 ac_cv_cxx_have_bi_iterator=yes
32224 echo "$as_me: failed program was:" >&5
32225 sed 's/^/| /' conftest.$ac_ext >&5
32227 ac_cv_cxx_have_bi_iterator=no
32230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32232 ac_cpp='$CPP $CPPFLAGS'
32233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32239 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
32240 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32241 if test "$ac_cv_cxx_have_bi_iterator" = yes
32244 cat >>confdefs.h <<\_ACEOF
32245 #define HAVE_BI_ITERATOR 1
32250 cat >>confdefs.h <<\_ACEOF
32251 #define HAVE_BI_ITERATOR 0
32256 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
32257 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
32258 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 ac_cpp='$CXXCPP $CPPFLAGS'
32264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32268 cat >conftest.$ac_ext <<_ACEOF
32271 cat confdefs.h >>conftest.$ac_ext
32272 cat >>conftest.$ac_ext <<_ACEOF
32273 /* end confdefs.h. */
32274 #include <iterator>
32275 #ifdef HAVE_NAMESPACES
32276 using namespace std;
32281 forward_iterator<int,int> t; return 0;
32286 rm -f conftest.$ac_objext
32287 if { (ac_try="$ac_compile"
32288 case "(($ac_try" in
32289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32290 *) ac_try_echo
=$ac_try;;
32292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32293 (eval "$ac_compile") 2>conftest.er1
32295 grep -v '^ *+' conftest.er1
>conftest.err
32297 cat conftest.err
>&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } &&
32300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32301 { (case "(($ac_try" in
32302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32303 *) ac_try_echo=$ac_try;;
32305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32306 (eval "$ac_try") 2>&5
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); }; } &&
32310 { ac_try='test -s conftest.$ac_objext'
32311 { (case "(($ac_try" in
32312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32313 *) ac_try_echo
=$ac_try;;
32315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32316 (eval "$ac_try") 2>&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); }; }; then
32320 ac_cv_cxx_have_fwd_iterator
=yes
32322 echo "$as_me: failed program was:" >&5
32323 sed 's/^/| /' conftest.
$ac_ext >&5
32325 ac_cv_cxx_have_fwd_iterator
=no
32328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32330 ac_cpp
='$CPP $CPPFLAGS'
32331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32337 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
32338 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32339 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32342 cat >>confdefs.h
<<\_ACEOF
32343 #define HAVE_FWD_ITERATOR 1
32348 cat >>confdefs.h
<<\_ACEOF
32349 #define HAVE_FWD_ITERATOR 0
32355 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
32356 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
32357 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32358 echo $ECHO_N "(cached) $ECHO_C" >&6
32361 ac_cpp
='$CXXCPP $CPPFLAGS'
32362 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32363 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32364 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32366 cat >conftest.
$ac_ext <<_ACEOF
32369 cat confdefs.h
>>conftest.
$ac_ext
32370 cat >>conftest.
$ac_ext <<_ACEOF
32371 /* end confdefs.h. */
32381 rm -f conftest.
$ac_objext
32382 if { (ac_try
="$ac_compile"
32383 case "(($ac_try" in
32384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32385 *) ac_try_echo=$ac_try;;
32387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32388 (eval "$ac_compile") 2>conftest.er1
32390 grep -v '^ *+' conftest.er1 >conftest.err
32392 cat conftest.err >&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } &&
32395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32396 { (case "(($ac_try" in
32397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32398 *) ac_try_echo
=$ac_try;;
32400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32401 (eval "$ac_try") 2>&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); }; } &&
32405 { ac_try
='test -s conftest.$ac_objext'
32406 { (case "(($ac_try" in
32407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32408 *) ac_try_echo=$ac_try;;
32410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32411 (eval "$ac_try") 2>&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; }; then
32415 ac_cv_func_isnan_in_math_h=yes
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32420 ac_cv_func_isnan_in_math_h=no
32423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32425 ac_cpp='$CPP $CPPFLAGS'
32426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32431 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
32432 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32435 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32437 cat >>confdefs.h <<\_ACEOF
32438 #define HAVE_ISNAN_IN_MATH_H 1
32443 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
32444 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
32445 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 ac_cpp='$CXXCPP $CPPFLAGS'
32450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32454 cat >conftest.$ac_ext <<_ACEOF
32457 cat confdefs.h >>conftest.$ac_ext
32458 cat >>conftest.$ac_ext <<_ACEOF
32459 /* end confdefs.h. */
32469 rm -f conftest.$ac_objext
32470 if { (ac_try="$ac_compile"
32471 case "(($ac_try" in
32472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32473 *) ac_try_echo
=$ac_try;;
32475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32476 (eval "$ac_compile") 2>conftest.er1
32478 grep -v '^ *+' conftest.er1
>conftest.err
32480 cat conftest.err
>&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); } &&
32483 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32484 { (case "(($ac_try" in
32485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32486 *) ac_try_echo=$ac_try;;
32488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32489 (eval "$ac_try") 2>&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try='test -s conftest.$ac_objext'
32494 { (case "(($ac_try" in
32495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32496 *) ac_try_echo
=$ac_try;;
32498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32499 (eval "$ac_try") 2>&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); }; }; then
32503 ac_cv_func_isnan_in_cmath
=yes
32505 echo "$as_me: failed program was:" >&5
32506 sed 's/^/| /' conftest.
$ac_ext >&5
32508 ac_cv_func_isnan_in_cmath
=no
32511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32513 ac_cpp
='$CPP $CPPFLAGS'
32514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32519 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
32520 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32522 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32524 cat >>confdefs.h
<<\_ACEOF
32525 #define HAVE_ISNAN_IN_CMATH 1
32530 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
32531 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
32532 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32533 echo $ECHO_N "(cached) $ECHO_C" >&6
32536 ac_cpp
='$CXXCPP $CPPFLAGS'
32537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32541 cat >conftest.
$ac_ext <<_ACEOF
32544 cat confdefs.h
>>conftest.
$ac_ext
32545 cat >>conftest.
$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32551 float f; std::isnan(f);
32556 rm -f conftest.
$ac_objext
32557 if { (ac_try
="$ac_compile"
32558 case "(($ac_try" in
32559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32560 *) ac_try_echo=$ac_try;;
32562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32563 (eval "$ac_compile") 2>conftest.er1
32565 grep -v '^ *+' conftest.er1 >conftest.err
32567 cat conftest.err >&5
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); } &&
32570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32571 { (case "(($ac_try" in
32572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32573 *) ac_try_echo
=$ac_try;;
32575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32576 (eval "$ac_try") 2>&5
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); }; } &&
32580 { ac_try
='test -s conftest.$ac_objext'
32581 { (case "(($ac_try" in
32582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32583 *) ac_try_echo=$ac_try;;
32585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32586 (eval "$ac_try") 2>&5
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); }; }; then
32590 ac_cv_func_std_isnan_in_cmath=yes
32592 echo "$as_me: failed program was:" >&5
32593 sed 's/^/| /' conftest.$ac_ext >&5
32595 ac_cv_func_std_isnan_in_cmath=no
32598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32600 ac_cpp='$CPP $CPPFLAGS'
32601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32606 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
32607 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32609 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32611 cat >>confdefs.h <<\_ACEOF
32612 #define HAVE_STD_ISNAN_IN_CMATH 1
32618 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
32619 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
32620 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32621 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 ac_cpp='$CXXCPP $CPPFLAGS'
32625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32629 cat >conftest.$ac_ext <<_ACEOF
32632 cat confdefs.h >>conftest.$ac_ext
32633 cat >>conftest.$ac_ext <<_ACEOF
32634 /* end confdefs.h. */
32644 rm -f conftest.$ac_objext
32645 if { (ac_try="$ac_compile"
32646 case "(($ac_try" in
32647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32648 *) ac_try_echo
=$ac_try;;
32650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32651 (eval "$ac_compile") 2>conftest.er1
32653 grep -v '^ *+' conftest.er1
>conftest.err
32655 cat conftest.err
>&5
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); } &&
32658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32659 { (case "(($ac_try" in
32660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32661 *) ac_try_echo=$ac_try;;
32663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32664 (eval "$ac_try") 2>&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); }; } &&
32668 { ac_try='test -s conftest.$ac_objext'
32669 { (case "(($ac_try" in
32670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32671 *) ac_try_echo
=$ac_try;;
32673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32674 (eval "$ac_try") 2>&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); }; }; then
32678 ac_cv_func_isinf_in_math_h
=yes
32680 echo "$as_me: failed program was:" >&5
32681 sed 's/^/| /' conftest.
$ac_ext >&5
32683 ac_cv_func_isinf_in_math_h
=no
32686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32688 ac_cpp
='$CPP $CPPFLAGS'
32689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32694 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
32695 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
32697 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
32699 cat >>confdefs.h
<<\_ACEOF
32700 #define HAVE_ISINF_IN_MATH_H 1
32705 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
32706 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
32707 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32711 ac_cpp
='$CXXCPP $CPPFLAGS'
32712 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32713 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32714 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32716 cat >conftest.
$ac_ext <<_ACEOF
32719 cat confdefs.h
>>conftest.
$ac_ext
32720 cat >>conftest.
$ac_ext <<_ACEOF
32721 /* end confdefs.h. */
32731 rm -f conftest.
$ac_objext
32732 if { (ac_try
="$ac_compile"
32733 case "(($ac_try" in
32734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32735 *) ac_try_echo=$ac_try;;
32737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 (eval "$ac_compile") 2>conftest.er1
32740 grep -v '^ *+' conftest.er1 >conftest.err
32742 cat conftest.err >&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } &&
32745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32746 { (case "(($ac_try" in
32747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32748 *) ac_try_echo
=$ac_try;;
32750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32751 (eval "$ac_try") 2>&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); }; } &&
32755 { ac_try
='test -s conftest.$ac_objext'
32756 { (case "(($ac_try" in
32757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32758 *) ac_try_echo=$ac_try;;
32760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32761 (eval "$ac_try") 2>&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); }; }; then
32765 ac_cv_func_isinf_in_cmath=yes
32767 echo "$as_me: failed program was:" >&5
32768 sed 's/^/| /' conftest.$ac_ext >&5
32770 ac_cv_func_isinf_in_cmath=no
32773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32775 ac_cpp='$CPP $CPPFLAGS'
32776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32781 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
32782 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
32784 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
32786 cat >>confdefs.h <<\_ACEOF
32787 #define HAVE_ISINF_IN_CMATH 1
32792 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
32793 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
32794 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
32795 echo $ECHO_N "(cached) $ECHO_C" >&6
32798 ac_cpp='$CXXCPP $CPPFLAGS'
32799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32803 cat >conftest.$ac_ext <<_ACEOF
32806 cat confdefs.h >>conftest.$ac_ext
32807 cat >>conftest.$ac_ext <<_ACEOF
32808 /* end confdefs.h. */
32813 float f; std::isinf(f)}
32818 rm -f conftest.$ac_objext
32819 if { (ac_try="$ac_compile"
32820 case "(($ac_try" in
32821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32822 *) ac_try_echo
=$ac_try;;
32824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 (eval "$ac_compile") 2>conftest.er1
32827 grep -v '^ *+' conftest.er1
>conftest.err
32829 cat conftest.err
>&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } &&
32832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32833 { (case "(($ac_try" in
32834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32835 *) ac_try_echo=$ac_try;;
32837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32838 (eval "$ac_try") 2>&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; } &&
32842 { ac_try='test -s conftest.$ac_objext'
32843 { (case "(($ac_try" in
32844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32845 *) ac_try_echo
=$ac_try;;
32847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32848 (eval "$ac_try") 2>&5
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 ac_cv_func_std_isinf_in_cmath
=yes
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.
$ac_ext >&5
32857 ac_cv_func_std_isinf_in_cmath
=no
32860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32862 ac_cpp
='$CPP $CPPFLAGS'
32863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32868 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
32869 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
32871 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
32873 cat >>confdefs.h
<<\_ACEOF
32874 #define HAVE_STD_ISINF_IN_CMATH 1
32879 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
32880 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
32881 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
32882 echo $ECHO_N "(cached) $ECHO_C" >&6
32885 ac_cpp
='$CXXCPP $CPPFLAGS'
32886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32890 cat >conftest.
$ac_ext <<_ACEOF
32893 cat confdefs.h
>>conftest.
$ac_ext
32894 cat >>conftest.
$ac_ext <<_ACEOF
32895 /* end confdefs.h. */
32896 #include <ieeefp.h>
32900 float f; finite(f);
32905 rm -f conftest.
$ac_objext
32906 if { (ac_try
="$ac_compile"
32907 case "(($ac_try" in
32908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32909 *) ac_try_echo=$ac_try;;
32911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32912 (eval "$ac_compile") 2>conftest.er1
32914 grep -v '^ *+' conftest.er1 >conftest.err
32916 cat conftest.err >&5
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); } &&
32919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32920 { (case "(($ac_try" in
32921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32922 *) ac_try_echo
=$ac_try;;
32924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32925 (eval "$ac_try") 2>&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); }; } &&
32929 { ac_try
='test -s conftest.$ac_objext'
32930 { (case "(($ac_try" in
32931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32932 *) ac_try_echo=$ac_try;;
32934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32935 (eval "$ac_try") 2>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); }; }; then
32939 ac_cv_func_finite_in_ieeefp_h=yes
32941 echo "$as_me: failed program was:" >&5
32942 sed 's/^/| /' conftest.$ac_ext >&5
32944 ac_cv_func_finite_in_ieeefp_h=no
32947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32949 ac_cpp='$CPP $CPPFLAGS'
32950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32955 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
32956 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
32958 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
32960 cat >>confdefs.h <<\_ACEOF
32961 #define HAVE_FINITE_IN_IEEEFP_H 1
32968 if test "$llvm_cv_platform_type" = "Unix" ; then
32971 for ac_header in stdlib.h unistd.h
32973 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
32974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32978 echo $ECHO_N "(cached) $ECHO_C" >&6
32980 ac_res=`eval echo '${'$as_ac_Header'}'`
32981 { echo "$as_me:$LINENO: result: $ac_res" >&5
32982 echo "${ECHO_T}$ac_res" >&6; }
32984 # Is the header compilable?
32985 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
32986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
32987 cat >conftest.$ac_ext <<_ACEOF
32990 cat confdefs.h >>conftest.$ac_ext
32991 cat >>conftest.$ac_ext <<_ACEOF
32992 /* end confdefs.h. */
32993 $ac_includes_default
32994 #include <$ac_header>
32996 rm -f conftest.$ac_objext
32997 if { (ac_try="$ac_compile"
32998 case "(($ac_try" in
32999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33000 *) ac_try_echo
=$ac_try;;
33002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33003 (eval "$ac_compile") 2>conftest.er1
33005 grep -v '^ *+' conftest.er1
>conftest.err
33007 cat conftest.err
>&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); } &&
33010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33011 { (case "(($ac_try" in
33012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33013 *) ac_try_echo=$ac_try;;
33015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33016 (eval "$ac_try") 2>&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; } &&
33020 { ac_try='test -s conftest.$ac_objext'
33021 { (case "(($ac_try" in
33022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33023 *) ac_try_echo
=$ac_try;;
33025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33026 (eval "$ac_try") 2>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; }; then
33030 ac_header_compiler
=yes
33032 echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.
$ac_ext >&5
33035 ac_header_compiler
=no
33038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33039 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33040 echo "${ECHO_T}$ac_header_compiler" >&6; }
33042 # Is the header present?
33043 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33045 cat >conftest.
$ac_ext <<_ACEOF
33048 cat confdefs.h
>>conftest.
$ac_ext
33049 cat >>conftest.
$ac_ext <<_ACEOF
33050 /* end confdefs.h. */
33051 #include <$ac_header>
33053 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33054 case "(($ac_try" in
33055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33056 *) ac_try_echo=$ac_try;;
33058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33061 grep -v '^ *+' conftest.er1 >conftest.err
33063 cat conftest.err >&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } >/dev/null; then
33066 if test -s conftest.err; then
33067 ac_cpp_err=$ac_c_preproc_warn_flag
33068 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33075 if test -z "$ac_cpp_err"; then
33076 ac_header_preproc=yes
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.$ac_ext >&5
33081 ac_header_preproc=no
33084 rm -f conftest.err conftest.$ac_ext
33085 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33086 echo "${ECHO_T}$ac_header_preproc" >&6; }
33088 # So? What about this header?
33089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33095 ac_header_preproc=yes
33098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33111 ## ----------------------------------- ##
33112 ## Report this to llvmbugs@cs.uiuc.edu ##
33113 ## ----------------------------------- ##
33115 ) | sed "s/^/$as_me: WARNING: /" >&2
33118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33123 eval "$as_ac_Header=\$ac_header_preproc"
33125 ac_res=`eval echo '${'$as_ac_Header'}'`
33126 { echo "$as_me:$LINENO: result: $ac_res" >&5
33127 echo "${ECHO_T}$ac_res" >&6; }
33130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33131 cat >>confdefs.h <<_ACEOF
33132 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
33140 for ac_func in getpagesize
33142 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
33143 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33145 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33146 echo $ECHO_N "(cached) $ECHO_C" >&6
33148 cat >conftest.$ac_ext <<_ACEOF
33151 cat confdefs.h >>conftest.$ac_ext
33152 cat >>conftest.$ac_ext <<_ACEOF
33153 /* end confdefs.h. */
33154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33156 #define $ac_func innocuous_$ac_func
33158 /* System header to define __stub macros and hopefully few prototypes,
33159 which can conflict with char $ac_func (); below.
33160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33161 <limits.h> exists even on freestanding compilers. */
33164 # include <limits.h>
33166 # include <assert.h>
33171 /* Override any GCC internal prototype to avoid an error.
33172 Use char because int might match the return type of a GCC
33173 builtin and then its argument prototype would still apply. */
33178 /* The GNU C library defines this for functions which it implements
33179 to always fail with ENOSYS. Some functions are actually named
33180 something starting with __ and the normal name is an alias. */
33181 #if defined __stub_$ac_func || defined __stub___$ac_func
33188 return $ac_func ();
33193 rm -f conftest.$ac_objext conftest$ac_exeext
33194 if { (ac_try="$ac_link"
33195 case "(($ac_try" in
33196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33197 *) ac_try_echo
=$ac_try;;
33199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33200 (eval "$ac_link") 2>conftest.er1
33202 grep -v '^ *+' conftest.er1
>conftest.err
33204 cat conftest.err
>&5
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); } &&
33207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33208 { (case "(($ac_try" in
33209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33210 *) ac_try_echo=$ac_try;;
33212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33213 (eval "$ac_try") 2>&5
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; } &&
33217 { ac_try='test -s conftest$ac_exeext'
33218 { (case "(($ac_try" in
33219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33220 *) ac_try_echo
=$ac_try;;
33222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33223 (eval "$ac_try") 2>&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); }; }; then
33227 eval "$as_ac_var=yes"
33229 echo "$as_me: failed program was:" >&5
33230 sed 's/^/| /' conftest.
$ac_ext >&5
33232 eval "$as_ac_var=no"
33235 rm -f core conftest.err conftest.
$ac_objext \
33236 conftest
$ac_exeext conftest.
$ac_ext
33238 ac_res
=`eval echo '${'$as_ac_var'}'`
33239 { echo "$as_me:$LINENO: result: $ac_res" >&5
33240 echo "${ECHO_T}$ac_res" >&6; }
33241 if test `eval echo '${'$as_ac_var'}'` = yes; then
33242 cat >>confdefs.h
<<_ACEOF
33243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33249 { echo "$as_me:$LINENO: checking for working mmap" >&5
33250 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33251 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33252 echo $ECHO_N "(cached) $ECHO_C" >&6
33254 if test "$cross_compiling" = yes; then
33255 ac_cv_func_mmap_fixed_mapped
=no
33257 cat >conftest.
$ac_ext <<_ACEOF
33260 cat confdefs.h
>>conftest.
$ac_ext
33261 cat >>conftest.
$ac_ext <<_ACEOF
33262 /* end confdefs.h. */
33263 $ac_includes_default
33264 /* malloc might have been renamed as rpl_malloc. */
33267 /* Thanks to Mike Haertel and Jim Avera for this test.
33268 Here is a matrix of mmap possibilities:
33269 mmap private not fixed
33270 mmap private fixed at somewhere currently unmapped
33271 mmap private fixed at somewhere already mapped
33272 mmap shared not fixed
33273 mmap shared fixed at somewhere currently unmapped
33274 mmap shared fixed at somewhere already mapped
33275 For private mappings, we should verify that changes cannot be read()
33276 back from the file, nor mmap's back from the file at a different
33277 address. (There have been systems where private was not correctly
33278 implemented like the infamous i386 svr4.0, and systems where the
33279 VM page cache was not coherent with the file system buffer cache
33280 like early versions of FreeBSD and possibly contemporary NetBSD.)
33281 For shared mappings, we should conversely verify that changes get
33282 propagated back to all the places they're supposed to be.
33284 Grep wants private fixed already mapped.
33285 The main things grep needs to know about mmap are:
33286 * does it exist and is it safe to write into the mmap'd area
33287 * how to use it (BSD variants) */
33290 #include <sys/mman.h>
33292 #if !STDC_HEADERS && !HAVE_STDLIB_H
33296 /* This mess was copied from the GNU getpagesize.h. */
33297 #if !HAVE_GETPAGESIZE
33298 /* Assume that all systems that can run configure have sys/param.h. */
33299 # if !HAVE_SYS_PARAM_H
33300 # define HAVE_SYS_PARAM_H 1
33303 # ifdef _SC_PAGESIZE
33304 # define getpagesize() sysconf(_SC_PAGESIZE)
33305 # else /* no _SC_PAGESIZE */
33306 # if HAVE_SYS_PARAM_H
33307 # include <sys/param.h>
33308 # ifdef EXEC_PAGESIZE
33309 # define getpagesize() EXEC_PAGESIZE
33310 # else /* no EXEC_PAGESIZE */
33312 # define getpagesize() NBPG * CLSIZE
33315 # endif /* no CLSIZE */
33316 # else /* no NBPG */
33318 # define getpagesize() NBPC
33319 # else /* no NBPC */
33321 # define getpagesize() PAGESIZE
33322 # endif /* PAGESIZE */
33323 # endif /* no NBPC */
33324 # endif /* no NBPG */
33325 # endif /* no EXEC_PAGESIZE */
33326 # else /* no HAVE_SYS_PARAM_H */
33327 # define getpagesize() 8192 /* punt totally */
33328 # endif /* no HAVE_SYS_PARAM_H */
33329 # endif /* no _SC_PAGESIZE */
33331 #endif /* no HAVE_GETPAGESIZE */
33336 char *data, *data2, *data3;
33340 pagesize = getpagesize ();
33342 /* First, make a file with some known garbage in it. */
33343 data = (char *) malloc (pagesize);
33346 for (i = 0; i < pagesize; ++i)
33347 *(data + i) = rand ();
33349 fd = creat ("conftest.mmap", 0600);
33352 if (write (fd, data, pagesize) != pagesize)
33356 /* Next, try to mmap the file at a fixed address which already has
33357 something else allocated at it. If we can, also make sure that
33358 we see the same garbage. */
33359 fd = open ("conftest.mmap", O_RDWR);
33362 data2 = (char *) malloc (2 * pagesize);
33365 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33366 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33367 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33369 for (i = 0; i < pagesize; ++i)
33370 if (*(data + i) != *(data2 + i))
33373 /* Finally, make sure that changes to the mapped area do not
33374 percolate back to the file as seen by read(). (This is a bug on
33375 some variants of i386 svr4.0.) */
33376 for (i = 0; i < pagesize; ++i)
33377 *(data2 + i) = *(data2 + i) + 1;
33378 data3 = (char *) malloc (pagesize);
33381 if (read (fd, data3, pagesize) != pagesize)
33383 for (i = 0; i < pagesize; ++i)
33384 if (*(data + i) != *(data3 + i))
33390 rm -f conftest
$ac_exeext
33391 if { (ac_try
="$ac_link"
33392 case "(($ac_try" in
33393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33394 *) ac_try_echo=$ac_try;;
33396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33397 (eval "$ac_link") 2>&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33401 { (case "(($ac_try" in
33402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33403 *) ac_try_echo
=$ac_try;;
33405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33406 (eval "$ac_try") 2>&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; }; then
33410 ac_cv_func_mmap_fixed_mapped
=yes
33412 echo "$as_me: program exited with status $ac_status" >&5
33413 echo "$as_me: failed program was:" >&5
33414 sed 's/^/| /' conftest.
$ac_ext >&5
33416 ( exit $ac_status )
33417 ac_cv_func_mmap_fixed_mapped
=no
33419 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33424 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33425 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33426 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33428 cat >>confdefs.h
<<\_ACEOF
33429 #define HAVE_MMAP 1
33433 rm -f conftest.mmap
33435 { echo "$as_me:$LINENO: checking for mmap of files" >&5
33436 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
33437 if test "${ac_cv_func_mmap_file+set}" = set; then
33438 echo $ECHO_N "(cached) $ECHO_C" >&6
33441 ac_cpp
='$CPP $CPPFLAGS'
33442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33446 if test "$cross_compiling" = yes; then
33447 ac_cv_func_mmap_file
=no
33449 cat >conftest.
$ac_ext <<_ACEOF
33453 cat confdefs.h
>>conftest.
$ac_ext
33454 cat >>conftest.
$ac_ext <<_ACEOF
33455 /* end confdefs.h. */
33457 #include <sys/types.h>
33458 #include <sys/mman.h>
33466 fd = creat ("foo",0777);
33467 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33469 return (fd != (int) MAP_FAILED);
33474 rm -f conftest
$ac_exeext
33475 if { (ac_try
="$ac_link"
33476 case "(($ac_try" in
33477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33478 *) ac_try_echo=$ac_try;;
33480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33481 (eval "$ac_link") 2>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33485 { (case "(($ac_try" in
33486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33487 *) ac_try_echo
=$ac_try;;
33489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33490 (eval "$ac_try") 2>&5
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; }; then
33494 ac_cv_func_mmap_file
=yes
33496 echo "$as_me: program exited with status $ac_status" >&5
33497 echo "$as_me: failed program was:" >&5
33498 sed 's/^/| /' conftest.
$ac_ext >&5
33500 ( exit $ac_status )
33501 ac_cv_func_mmap_file
=no
33503 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33508 ac_cpp
='$CPP $CPPFLAGS'
33509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33515 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
33516 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33517 if test "$ac_cv_func_mmap_file" = yes; then
33519 cat >>confdefs.h
<<\_ACEOF
33520 #define HAVE_MMAP_FILE
33527 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
33528 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
33529 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33530 echo $ECHO_N "(cached) $ECHO_C" >&6
33532 if test "$llvm_cv_os_type" = "Interix" ; then
33533 ac_cv_need_dev_zero_for_mmap
=yes
33535 ac_cv_need_dev_zero_for_mmap
=no
33539 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
33540 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33541 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33543 cat >>confdefs.h
<<\_ACEOF
33544 #define NEED_DEV_ZERO_FOR_MMAP 1
33549 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
33551 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
33552 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
33554 if test "$ac_cv_func_mmap_file" = "no"
33556 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
33557 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
33563 for ac_func
in __dso_handle
33565 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33566 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33568 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33569 echo $ECHO_N "(cached) $ECHO_C" >&6
33571 cat >conftest.
$ac_ext <<_ACEOF
33574 cat confdefs.h
>>conftest.
$ac_ext
33575 cat >>conftest.
$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33579 #define $ac_func innocuous_$ac_func
33581 /* System header to define __stub macros and hopefully few prototypes,
33582 which can conflict with char $ac_func (); below.
33583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33584 <limits.h> exists even on freestanding compilers. */
33587 # include <limits.h>
33589 # include <assert.h>
33594 /* Override any GCC internal prototype to avoid an error.
33595 Use char because int might match the return type of a GCC
33596 builtin and then its argument prototype would still apply. */
33601 /* The GNU C library defines this for functions which it implements
33602 to always fail with ENOSYS. Some functions are actually named
33603 something starting with __ and the normal name is an alias. */
33604 #if defined __stub_$ac_func || defined __stub___$ac_func
33611 return $ac_func ();
33616 rm -f conftest.
$ac_objext conftest
$ac_exeext
33617 if { (ac_try
="$ac_link"
33618 case "(($ac_try" in
33619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33620 *) ac_try_echo=$ac_try;;
33622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33623 (eval "$ac_link") 2>conftest.er1
33625 grep -v '^ *+' conftest.er1 >conftest.err
33627 cat conftest.err >&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); } &&
33630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33631 { (case "(($ac_try" in
33632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33633 *) ac_try_echo
=$ac_try;;
33635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33636 (eval "$ac_try") 2>&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); }; } &&
33640 { ac_try
='test -s conftest$ac_exeext'
33641 { (case "(($ac_try" in
33642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33643 *) ac_try_echo=$ac_try;;
33645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33646 (eval "$ac_try") 2>&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); }; }; then
33650 eval "$as_ac_var=yes"
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.$ac_ext >&5
33655 eval "$as_ac_var=no"
33658 rm -f core conftest.err conftest.$ac_objext \
33659 conftest$ac_exeext conftest.$ac_ext
33661 ac_res=`eval echo '${'$as_ac_var'}'`
33662 { echo "$as_me:$LINENO: result: $ac_res" >&5
33663 echo "${ECHO_T}$ac_res" >&6; }
33664 if test `eval echo '${'$as_ac_var'}'` = yes; then
33665 cat >>confdefs.h <<_ACEOF
33666 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
33673 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
33674 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
33675 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
33676 echo $ECHO_N "(cached) $ECHO_C" >&6
33678 llvm_cv_llvmgcc_sanity="no"
33679 if test -x "$LLVMGCC" ; then
33680 cp /dev/null conftest.c
33681 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
33682 grep 'target datalayout =' > /dev/null 2>&1
33683 if test $? -eq 0 ; then
33684 llvm_cv_llvmgcc_sanity="yes"
33689 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
33690 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
33692 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
33693 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
33694 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
33695 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1
`
33696 LLVMCC1=$llvmcc1path
33698 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus
`
33699 LLVMCC1PLUS=$llvmcc1pluspath
33701 llvmgccdir=`echo "$llvmcc1path" |
sed 's,/libexec/.*,,'`
33702 LLVMGCCDIR=$llvmgccdir
33704 llvmgcclibexec=`echo "$llvmcc1path" |
sed 's,/cc1,,'`
33705 LLVMGCCLIBEXEC=$llvmgcclibexec
33707 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 |
sed 's/^\([0-9.]*\).*/\1/'`
33708 llvmgccmajvers=`echo $llvmgccversion |
sed 's/^\([0-9]\).*/\1/'`
33709 LLVMGCC_VERSION=$llvmgccversion
33711 LLVMGCC_MAJVERS=$llvmgccmajvers
33713 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 |
grep '^Configured with:' |
sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
33714 LLVMGCC_LANGS=$llvmgcclangs
33716 { echo "$as_me:$LINENO: result: ok" >&5
33717 echo "${ECHO_T}ok" >&6; }
33720 SHLIBEXT=$libltdl_cv_shlibext
33723 # Translate the various configuration directories and other basic
33724 # information into substitutions that will end up in Makefile.config.in
33725 # that these configured values can be used by the makefiles
33726 if test "${prefix}" = "NONE" ; then
33727 prefix="/usr/local"
33729 eval LLVM_PREFIX="${prefix}";
33730 eval LLVM_BINDIR="${prefix}/bin";
33731 eval LLVM_LIBDIR="${prefix}/lib";
33732 eval LLVM_DATADIR="${prefix}/share/llvm";
33733 eval LLVM_DOCSDIR="${prefix}/docs/llvm";
33734 eval LLVM_ETCDIR="${prefix}/etc/llvm";
33735 eval LLVM_INCLUDEDIR="${prefix}/include";
33736 eval LLVM_INFODIR="${prefix}/info";
33737 eval LLVM_MANDIR="${prefix}/man";
33738 LLVM_CONFIGTIME=`date`
33750 # Place the various directores into the config.h file as #defines so that we
33751 # can know about the installation paths within LLVM.
33753 cat >>confdefs.h <<_ACEOF
33754 #define LLVM_PREFIX "$LLVM_PREFIX"
33758 cat >>confdefs.h <<_ACEOF
33759 #define LLVM_BINDIR "$LLVM_BINDIR"
33763 cat >>confdefs.h <<_ACEOF
33764 #define LLVM_LIBDIR "$LLVM_LIBDIR"
33768 cat >>confdefs.h <<_ACEOF
33769 #define LLVM_DATADIR "$LLVM_DATADIR"
33773 cat >>confdefs.h <<_ACEOF
33774 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
33778 cat >>confdefs.h <<_ACEOF
33779 #define LLVM_ETCDIR "$LLVM_ETCDIR"
33783 cat >>confdefs.h <<_ACEOF
33784 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
33788 cat >>confdefs.h <<_ACEOF
33789 #define LLVM_INFODIR "$LLVM_INFODIR"
33793 cat >>confdefs.h <<_ACEOF
33794 #define LLVM_MANDIR "$LLVM_MANDIR"
33798 cat >>confdefs.h <<_ACEOF
33799 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
33803 cat >>confdefs.h <<_ACEOF
33804 #define LLVM_HOSTTRIPLE "$host"
33808 # Determine which bindings to build.
33809 if test "$BINDINGS_TO_BUILD" = auto ; then
33810 BINDINGS_TO_BUILD=""
33811 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
33812 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
33815 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
33818 # This isn't really configurey, but it avoids having to repeat the list in
33823 # Do any work necessary to ensure that bindings have what they need.
33824 binding_prereqs_failed=0
33825 for a_binding in $BINDINGS_TO_BUILD ; do
33826 case "$a_binding" in
33828 if test "x$OCAMLC" = x ; then
33829 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
33830 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
33831 binding_prereqs_failed=1
33833 if test "x$OCAMLDEP" = x ; then
33834 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
33835 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
33836 binding_prereqs_failed=1
33838 if test "x$OCAMLOPT" = x ; then
33839 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
33840 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
33842 if test "x$with_ocaml_libdir" != xauto ; then
33843 OCAML_LIBDIR=$with_ocaml_libdir
33846 ocaml_stdlib="`"$OCAMLC" -where`"
33847 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
33849 # ocaml stdlib is beneath our prefix; use stdlib
33850 OCAML_LIBDIR=$ocaml_stdlib
33853 # ocaml stdlib is outside our prefix; use libdir/ocaml
33854 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
33861 if test "$binding_prereqs_failed" = 1 ; then
33862 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
33863 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
33864 { (exit 1); exit 1; }; }
33867 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
33868 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
33869 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 ac_cpp='$CXXCPP $CPPFLAGS'
33874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33878 oldcxxflags="$CXXFLAGS"
33879 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
33880 cat >conftest.$ac_ext <<_ACEOF
33883 cat confdefs.h >>conftest.$ac_ext
33884 cat >>conftest.$ac_ext <<_ACEOF
33885 /* end confdefs.h. */
33895 rm -f conftest.$ac_objext
33896 if { (ac_try="$ac_compile"
33897 case "(($ac_try" in
33898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33899 *) ac_try_echo
=$ac_try;;
33901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33902 (eval "$ac_compile") 2>conftest.er1
33904 grep -v '^ *+' conftest.er1
>conftest.err
33906 cat conftest.err
>&5
33907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908 (exit $ac_status); } &&
33909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33910 { (case "(($ac_try" in
33911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33912 *) ac_try_echo=$ac_try;;
33914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33915 (eval "$ac_try") 2>&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); }; } &&
33919 { ac_try='test -s conftest.$ac_objext'
33920 { (case "(($ac_try" in
33921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33922 *) ac_try_echo
=$ac_try;;
33924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33925 (eval "$ac_try") 2>&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); }; }; then
33929 llvm_cv_cxx_visibility_inlines_hidden
=yes
33931 echo "$as_me: failed program was:" >&5
33932 sed 's/^/| /' conftest.
$ac_ext >&5
33934 llvm_cv_cxx_visibility_inlines_hidden
=no
33937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33938 CXXFLAGS
="$oldcxxflags"
33940 ac_cpp
='$CPP $CPPFLAGS'
33941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33947 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
33948 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
33949 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
33950 ENABLE_VISIBILITY_INLINES_HIDDEN
=1
33953 ENABLE_VISIBILITY_INLINES_HIDDEN
=0
33958 if test "$llvm_cv_link_use_r" = "yes" ; then
33965 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
33966 RDYNAMIC
="-Wl,-export-dynamic"
33973 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
33975 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
33977 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator.h"
33980 ac_config_files
="$ac_config_files Makefile.config"
33983 ac_config_files
="$ac_config_files llvm.spec"
33986 ac_config_files
="$ac_config_files docs/doxygen.cfg"
33989 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
33992 ac_config_commands
="$ac_config_commands setup"
33994 ac_config_commands
="$ac_config_commands Makefile"
33997 ac_config_commands
="$ac_config_commands Makefile.common"
34000 ac_config_commands
="$ac_config_commands examples/Makefile"
34003 ac_config_commands
="$ac_config_commands lib/Makefile"
34006 ac_config_commands
="$ac_config_commands runtime/Makefile"
34009 ac_config_commands
="$ac_config_commands test/Makefile"
34012 ac_config_commands
="$ac_config_commands test/Makefile.tests"
34015 ac_config_commands
="$ac_config_commands unittests/Makefile"
34018 ac_config_commands
="$ac_config_commands tools/Makefile"
34021 ac_config_commands
="$ac_config_commands utils/Makefile"
34024 ac_config_commands
="$ac_config_commands projects/Makefile"
34027 ac_config_commands
="$ac_config_commands bindings/Makefile"
34030 ac_config_commands
="$ac_config_commands bindings/ocaml/Makefile.ocaml"
34034 cat >confcache
<<\_ACEOF
34035 # This file is a shell script that caches the results of configure
34036 # tests run on this system so they can be shared between configure
34037 # scripts and configure runs, see configure's option --config-cache.
34038 # It is not useful on other systems. If it contains results you don't
34039 # want to keep, you may remove or edit it.
34041 # config.status only pays attention to the cache file if you give it
34042 # the --recheck option to rerun configure.
34044 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34045 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34046 # following values.
34050 # The following way of writing the cache mishandles newlines in values,
34051 # but we know of no workaround that is simple, portable, and efficient.
34052 # So, we kill variables containing newlines.
34053 # Ultrix sh set writes to stderr and can't be redirected directly,
34054 # and sets the high bit in the cache file unless we assign to the vars.
34056 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34057 eval ac_val
=\$
$ac_var
34061 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
34062 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
34065 _ | IFS | as_nl
) ;; #(
34066 *) $as_unset $ac_var ;;
34072 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34073 *${as_nl}ac_space
=\
*)
34074 # `set' does not quote correctly, so add quotes (double-quote
34075 # substitution turns \\\\ into \\, and sed turns \\ into \).
34078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34081 # `set' quotes correctly as required by POSIX, so do not add quotes.
34082 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34091 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34093 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34095 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
34096 if test -w "$cache_file"; then
34097 test "x$cache_file" != "x/dev/null" &&
34098 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
34099 echo "$as_me: updating cache $cache_file" >&6;}
34100 cat confcache
>$cache_file
34102 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
34103 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34108 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34109 # Let make expand exec_prefix.
34110 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34112 DEFS
=-DHAVE_CONFIG_H
34116 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34117 # 1. Remove the extension, and $U if already installed.
34118 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
34119 ac_i
=`echo "$ac_i" | sed "$ac_script"`
34120 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34121 # will be set to the directory where LIBOBJS objects are built.
34122 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34123 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
34125 LIBOBJS
=$ac_libobjs
34127 LTLIBOBJS
=$ac_ltlibobjs
34130 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
34131 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
34132 Usually this means the macro was only invoked conditionally." >&5
34133 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
34134 Usually this means the macro was only invoked conditionally." >&2;}
34135 { (exit 1); exit 1; }; }
34137 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
34138 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34139 Usually this means the macro was only invoked conditionally." >&5
34140 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34141 Usually this means the macro was only invoked conditionally." >&2;}
34142 { (exit 1); exit 1; }; }
34145 : ${CONFIG_STATUS=./config.status}
34146 ac_clean_files_save
=$ac_clean_files
34147 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34148 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34149 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34150 cat >$CONFIG_STATUS <<_ACEOF
34152 # Generated by $as_me.
34153 # Run this file to recreate the current configuration.
34154 # Compiler output produced by configure, useful for debugging
34155 # configure, is in config.log if it exists.
34158 ac_cs_recheck=false
34160 SHELL=\${CONFIG_SHELL-$SHELL}
34163 cat >>$CONFIG_STATUS <<\_ACEOF
34164 ## --------------------- ##
34165 ## M4sh Initialization. ##
34166 ## --------------------- ##
34168 # Be Bourne compatible
34169 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34172 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34173 # is contrary to our usage. Disable this feature.
34174 alias -g '${1+"$@"}'='"$@"'
34175 setopt NO_GLOB_SUBST
34177 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
34179 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
34180 DUALCASE
=1; export DUALCASE
# for MKS sh
34184 # Avoid depending upon Character Ranges.
34185 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34186 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34187 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34188 as_cr_digits
='0123456789'
34189 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34191 # The user is always right.
34192 if test "${PATH_SEPARATOR+set}" != set; then
34193 echo "#! /bin/sh" >conf$$.sh
34194 echo "exit 0" >>conf$$.sh
34196 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34204 # Support unset when possible.
34205 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34213 # We need space, tab and new line, in precisely that order. Quoting is
34214 # there to prevent editors from complaining about space-tab.
34215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34216 # splitting by setting IFS to empty value.)
34221 # Find who we are. Look in the path if we contain no directory separator.
34223 *[\\/]* ) as_myself
=$0 ;;
34224 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34225 for as_dir
in $PATH
34228 test -z "$as_dir" && as_dir
=.
34229 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34235 # We did not find ourselves, most probably we were run as `sh COMMAND'
34236 # in which case we are not to be found in the path.
34237 if test "x$as_myself" = x
; then
34240 if test ! -f "$as_myself"; then
34241 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34242 { (exit 1); exit 1; }
34245 # Work around bugs in pre-3.0 UWIN ksh.
34246 for as_var
in ENV MAIL MAILPATH
34247 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34255 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34256 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34257 LC_TELEPHONE LC_TIME
34259 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34260 eval $as_var=C
; export $as_var
34262 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34266 # Required to use basename.
34267 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34268 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34274 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34275 as_basename
=basename
34281 # Name of the executable.
34282 as_me
=`$as_basename -- "$0" ||
34283 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34284 X"$0" : 'X\(//\)$' \| \
34285 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34287 sed '/^.*\/\([^/][^/]*\)\/*$/{
34306 as_lineno_1
=$LINENO
34307 as_lineno_2
=$LINENO
34308 test "x$as_lineno_1" != "x$as_lineno_2" &&
34309 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
34311 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34312 # uniformly replaced by the line number. The first 'sed' inserts a
34313 # line-number line after each line using $LINENO; the second 'sed'
34314 # does the real work. The second script uses 'N' to pair each
34315 # line-number line with the line containing $LINENO, and appends
34316 # trailing '-' during substitution so that $LINENO is not a special
34317 # case at line end.
34318 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34319 # scripts with optimization help from Paolo Bonzini. Blame Lee
34320 # E. McMahon (1931-1989) for sed's syntax. :-)
34332 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34335 ' >$as_me.lineno
&&
34336 chmod +x
"$as_me.lineno" ||
34337 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34338 { (exit 1); exit 1; }; }
34340 # Don't try to exec as it changes $[0], causing all sort of problems
34341 # (the dirname of $[0] is not the place where we might find the
34342 # original and so on. Autoconf is especially sensitive to this).
34343 .
"./$as_me.lineno"
34344 # Exit status is that of the last command.
34349 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
34355 ECHO_C
= ECHO_N
= ECHO_T
=
34356 case `echo -n x` in
34358 case `echo 'x\c'` in
34359 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
34366 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34367 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34373 rm -f conf$$ conf$$.exe conf$$.
file
34374 if test -d conf$$.dir
; then
34375 rm -f conf$$.dir
/conf$$.
file
34381 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34383 # ... but there are two gotchas:
34384 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34385 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34386 # In both cases, we have to default to `cp -p'.
34387 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
34389 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34394 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
34395 rmdir conf$$.dir
2>/dev
/null
34397 if mkdir
-p .
2>/dev
/null
; then
34400 test -d .
/-p && rmdir .
/-p
34404 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
34405 # systems may use methods other than mode bits to determine executability.
34406 cat >conf$$.
file <<_ASEOF
34410 chmod +x conf$$.
file
34411 if test -x conf$$.
file >/dev
/null
2>&1; then
34412 as_executable_p
="test -x"
34418 # Sed expression to map a string onto a valid CPP name.
34419 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34421 # Sed expression to map a string onto a valid variable name.
34422 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34427 # Save the log message, to keep $[0] and so on meaningful, and to
34428 # report actual input values of CONFIG_FILES etc. instead of their
34429 # values after options handling.
34431 This file was extended by llvm $as_me 2.6svn, which was
34432 generated by GNU Autoconf 2.60. Invocation command line was
34434 CONFIG_FILES = $CONFIG_FILES
34435 CONFIG_HEADERS = $CONFIG_HEADERS
34436 CONFIG_LINKS = $CONFIG_LINKS
34437 CONFIG_COMMANDS = $CONFIG_COMMANDS
34440 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34445 cat >>$CONFIG_STATUS <<_ACEOF
34446 # Files that config.status was made for.
34447 config_files="$ac_config_files"
34448 config_headers="$ac_config_headers"
34449 config_commands="$ac_config_commands"
34453 cat >>$CONFIG_STATUS <<\_ACEOF
34455 \`$as_me' instantiates files from templates according to the
34456 current configuration.
34458 Usage: $0 [OPTIONS] [FILE]...
34460 -h, --help print this help, then exit
34461 -V, --version print version number, then exit
34462 -q, --quiet do not print progress messages
34463 -d, --debug don't remove temporary files
34464 --recheck update $as_me by reconfiguring in the same conditions
34465 --file=FILE[:TEMPLATE]
34466 instantiate the configuration file FILE
34467 --header=FILE[:TEMPLATE]
34468 instantiate the configuration header FILE
34470 Configuration files:
34473 Configuration headers:
34476 Configuration commands:
34479 Report bugs to <bug-autoconf@gnu.org>."
34482 cat >>$CONFIG_STATUS <<_ACEOF
34484 llvm config.status 2.6svn
34485 configured by $0, generated by GNU Autoconf 2.60,
34486 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34488 Copyright (C) 2006 Free Software Foundation, Inc.
34489 This config.status script is free software; the Free Software Foundation
34490 gives unlimited permission to copy, distribute and modify it."
34497 cat >>$CONFIG_STATUS <<\_ACEOF
34498 # If no file are specified by the user, then we need to provide default
34499 # value. By we need to know if files were specified by the user.
34505 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34506 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34517 # Handling of the options.
34518 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34520 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34521 echo "$ac_cs_version"; exit ;;
34522 --debug |
--debu |
--deb |
--de |
--d |
-d )
34524 --file |
--fil |
--fi |
--f )
34526 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34527 ac_need_defaults
=false
;;
34528 --header |
--heade |
--head |
--hea )
34530 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34531 ac_need_defaults
=false
;;
34533 # Conflict between --help and --header
34534 { echo "$as_me: error: ambiguous option: $1
34535 Try \`$0 --help' for more information." >&2
34536 { (exit 1); exit 1; }; };;
34537 --help |
--hel |
-h )
34538 echo "$ac_cs_usage"; exit ;;
34539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34540 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34543 # This is an error.
34544 -*) { echo "$as_me: error: unrecognized option: $1
34545 Try \`$0 --help' for more information." >&2
34546 { (exit 1); exit 1; }; } ;;
34548 *) ac_config_targets
="$ac_config_targets $1"
34549 ac_need_defaults
=false
;;
34555 ac_configure_extra_args
=
34557 if $ac_cs_silent; then
34559 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34563 cat >>$CONFIG_STATUS <<_ACEOF
34564 if \$ac_cs_recheck; then
34565 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34566 CONFIG_SHELL=$SHELL
34567 export CONFIG_SHELL
34568 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34572 cat >>$CONFIG_STATUS <<\_ACEOF
34576 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34577 ## Running $as_me. ##
34583 cat >>$CONFIG_STATUS <<_ACEOF
34587 llvm_src="${srcdir}"
34591 cat >>$CONFIG_STATUS <<\_ACEOF
34593 # Handling of arguments.
34594 for ac_config_target
in $ac_config_targets
34596 case $ac_config_target in
34597 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34598 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34599 "include/llvm/ADT/iterator.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator.h" ;;
34600 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34601 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34602 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34603 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34604 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34605 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34606 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34607 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34608 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34609 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34610 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34611 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34612 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
34613 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34614 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34615 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34616 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
34617 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
34619 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34620 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34621 { (exit 1); exit 1; }; };;
34626 # If the user did not use the arguments to specify the items to instantiate,
34627 # then the envvar interface is used. Set only those that are not.
34628 # We use the long form for the default assignment because of an extremely
34629 # bizarre bug on SunOS 4.1.3.
34630 if $ac_need_defaults; then
34631 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34632 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34633 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34636 # Have a temporary directory for convenience. Make it in the build tree
34637 # simply because there is no reason against having it here, and in addition,
34638 # creating and moving files from /tmp can sometimes cause problems.
34639 # Hook for its removal unless debugging.
34640 # Note that there is a small window in which the directory will not be cleaned:
34641 # after its creation but before its name has been assigned to `$tmp'.
34645 trap 'exit_status=$?
34646 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34648 trap '{ (exit 1); exit 1; }' 1 2 13 15
34650 # Create a (secure) tmp directory for tmp files.
34653 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34654 test -n "$tmp" && test -d "$tmp"
34657 tmp
=.
/conf$$
-$RANDOM
34658 (umask 077 && mkdir
"$tmp")
34661 echo "$me: cannot create a temporary directory in ." >&2
34662 { (exit 1); exit 1; }
34666 # Set up the sed scripts for CONFIG_FILES section.
34669 # No need to generate the scripts if there are no CONFIG_FILES.
34670 # This happens for instance when ./config.status config.h
34671 if test -n "$CONFIG_FILES"; then
34678 for ac_last_try
in false false false false false
:; do
34679 cat >conf$
$subs.
sed <<_ACEOF
34680 SHELL!$SHELL$ac_delim
34681 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34682 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34683 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34684 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34685 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34686 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34687 exec_prefix!$exec_prefix$ac_delim
34688 prefix!$prefix$ac_delim
34689 program_transform_name!$program_transform_name$ac_delim
34690 bindir!$bindir$ac_delim
34691 sbindir!$sbindir$ac_delim
34692 libexecdir!$libexecdir$ac_delim
34693 datarootdir!$datarootdir$ac_delim
34694 datadir!$datadir$ac_delim
34695 sysconfdir!$sysconfdir$ac_delim
34696 sharedstatedir!$sharedstatedir$ac_delim
34697 localstatedir!$localstatedir$ac_delim
34698 includedir!$includedir$ac_delim
34699 oldincludedir!$oldincludedir$ac_delim
34700 docdir!$docdir$ac_delim
34701 infodir!$infodir$ac_delim
34702 htmldir!$htmldir$ac_delim
34703 dvidir!$dvidir$ac_delim
34704 pdfdir!$pdfdir$ac_delim
34705 psdir!$psdir$ac_delim
34706 libdir!$libdir$ac_delim
34707 localedir!$localedir$ac_delim
34708 mandir!$mandir$ac_delim
34709 DEFS!$DEFS$ac_delim
34710 ECHO_C!$ECHO_C$ac_delim
34711 ECHO_N!$ECHO_N$ac_delim
34712 ECHO_T!$ECHO_T$ac_delim
34713 LIBS!$LIBS$ac_delim
34714 build_alias!$build_alias$ac_delim
34715 host_alias!$host_alias$ac_delim
34716 target_alias!$target_alias$ac_delim
34717 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34718 subdirs!$subdirs$ac_delim
34719 build!$build$ac_delim
34720 build_cpu!$build_cpu$ac_delim
34721 build_vendor!$build_vendor$ac_delim
34722 build_os!$build_os$ac_delim
34723 host!$host$ac_delim
34724 host_cpu!$host_cpu$ac_delim
34725 host_vendor!$host_vendor$ac_delim
34726 host_os!$host_os$ac_delim
34727 target!$target$ac_delim
34728 target_cpu!$target_cpu$ac_delim
34729 target_vendor!$target_vendor$ac_delim
34730 target_os!$target_os$ac_delim
34732 LINKALL!$LINKALL$ac_delim
34733 NOLINKALL!$NOLINKALL$ac_delim
34734 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34735 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34736 ARCH!$ARCH$ac_delim
34737 ENDIAN!$ENDIAN$ac_delim
34739 CFLAGS!$CFLAGS$ac_delim
34740 LDFLAGS!$LDFLAGS$ac_delim
34741 CPPFLAGS!$CPPFLAGS$ac_delim
34742 ac_ct_CC!$ac_ct_CC$ac_delim
34743 EXEEXT!$EXEEXT$ac_delim
34744 OBJEXT!$OBJEXT$ac_delim
34746 GREP!$GREP$ac_delim
34747 EGREP!$EGREP$ac_delim
34748 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
34749 BUILD_CC!$BUILD_CC$ac_delim
34750 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
34751 BUILD_CXX!$BUILD_CXX$ac_delim
34752 CVSBUILD!$CVSBUILD$ac_delim
34753 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
34754 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
34755 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
34756 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
34757 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
34759 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
34760 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
34761 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
34762 ENABLE_PIC!$ENABLE_PIC$ac_delim
34763 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
34764 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
34765 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
34766 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
34768 CXXFLAGS!$CXXFLAGS$ac_delim
34769 ac_ct_CXX!$ac_ct_CXX$ac_delim
34771 ifGNUmake!$ifGNUmake$ac_delim
34772 LN_S!$LN_S$ac_delim
34775 DATE!$DATE$ac_delim
34776 FIND!$FIND$ac_delim
34779 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34781 elif $ac_last_try; then
34782 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34783 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34784 { (exit 1); exit 1; }; }
34786 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34790 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34791 if test -n "$ac_eof"; then
34792 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34793 ac_eof
=`expr $ac_eof + 1`
34796 cat >>$CONFIG_STATUS <<_ACEOF
34797 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34798 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34801 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34802 s/^/s,@/; s/!/@,|#_!!_#|/
34805 s/'"$ac_delim"'$/,g/; t
34807 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34808 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34809 rm -f conf$
$subs.
sed
34810 cat >>$CONFIG_STATUS <<_ACEOF
34816 for ac_last_try
in false false false false false
:; do
34817 cat >conf$
$subs.
sed <<_ACEOF
34818 MKDIR!$MKDIR$ac_delim
34820 RANLIB!$RANLIB$ac_delim
34824 BINPWD!$BINPWD$ac_delim
34825 GRAPHVIZ!$GRAPHVIZ$ac_delim
34828 DOTTY!$DOTTY$ac_delim
34829 PERL!$PERL$ac_delim
34830 HAVE_PERL!$HAVE_PERL$ac_delim
34831 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34832 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34833 INSTALL_DATA!$INSTALL_DATA$ac_delim
34834 BZIP2!$BZIP2$ac_delim
34835 DOXYGEN!$DOXYGEN$ac_delim
34836 GROFF!$GROFF$ac_delim
34837 GZIP!$GZIP$ac_delim
34838 POD2HTML!$POD2HTML$ac_delim
34839 POD2MAN!$POD2MAN$ac_delim
34840 RUNTEST!$RUNTEST$ac_delim
34841 TCLSH!$TCLSH$ac_delim
34843 OCAMLC!$OCAMLC$ac_delim
34844 OCAMLOPT!$OCAMLOPT$ac_delim
34845 OCAMLDEP!$OCAMLDEP$ac_delim
34846 OCAMLDOC!$OCAMLDOC$ac_delim
34848 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
34849 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
34850 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
34851 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
34852 LIBADD_DL!$LIBADD_DL$ac_delim
34853 ECHO!$ECHO$ac_delim
34855 STRIP!$STRIP$ac_delim
34856 CXXCPP!$CXXCPP$ac_delim
34858 FFLAGS!$FFLAGS$ac_delim
34859 ac_ct_F77!$ac_ct_F77$ac_delim
34860 LIBTOOL!$LIBTOOL$ac_delim
34861 LLVMGCC!$LLVMGCC$ac_delim
34862 LLVMGXX!$LLVMGXX$ac_delim
34863 USE_UDIS86!$USE_UDIS86$ac_delim
34864 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
34865 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
34866 ALLOCA!$ALLOCA$ac_delim
34867 MMAP_FILE!$MMAP_FILE$ac_delim
34868 LLVMCC1!$LLVMCC1$ac_delim
34869 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
34870 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
34871 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
34872 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
34873 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
34874 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
34875 SHLIBEXT!$SHLIBEXT$ac_delim
34876 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
34877 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
34878 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
34879 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
34880 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
34881 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
34882 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
34883 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
34884 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
34885 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
34886 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
34887 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
34888 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
34889 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
34890 RPATH!$RPATH$ac_delim
34891 RDYNAMIC!$RDYNAMIC$ac_delim
34892 LIBOBJS!$LIBOBJS$ac_delim
34893 LTLIBOBJS!$LTLIBOBJS$ac_delim
34896 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
34898 elif $ac_last_try; then
34899 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34900 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34901 { (exit 1); exit 1; }; }
34903 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34907 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34908 if test -n "$ac_eof"; then
34909 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34910 ac_eof
=`expr $ac_eof + 1`
34913 cat >>$CONFIG_STATUS <<_ACEOF
34914 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34915 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34918 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34919 s/^/s,@/; s/!/@,|#_!!_#|/
34922 s/'"$ac_delim"'$/,g/; t
34924 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34925 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34926 rm -f conf$
$subs.
sed
34927 cat >>$CONFIG_STATUS <<_ACEOF
34934 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34935 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34936 # trailing colons and then remove the whole line if VPATH becomes empty
34937 # (actually we leave an empty line to preserve line numbers).
34938 if test "x$srcdir" = x.
; then
34939 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34940 s/:*\$(srcdir):*/:/
34941 s/:*\${srcdir}:*/:/
34943 s/^\([^=]*=[ ]*\):*/\1/
34949 cat >>$CONFIG_STATUS <<\_ACEOF
34950 fi # test -n "$CONFIG_FILES"
34953 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
34956 :[FHLC
]) ac_mode
=$ac_tag; continue;;
34958 case $ac_mode$ac_tag in
34960 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34961 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34962 { (exit 1); exit 1; }; };;
34963 :[FH
]-) ac_tag
=-:-;;
34964 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
34981 -) ac_f
="$tmp/stdin";;
34982 *) # Look for the file first in the build tree, then in the source tree
34983 # (if the path is not absolute). The absolute path cannot be DOS-style,
34984 # because $ac_f cannot contain `:'.
34988 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
34990 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34991 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34992 { (exit 1); exit 1; }; };;
34994 ac_file_inputs
="$ac_file_inputs $ac_f"
34997 # Let's still pretend it is `configure' which instantiates (i.e., don't
34998 # use $as_me), people would be surprised to read:
34999 # /* config.h. Generated by config.status. */
35000 configure_input
="Generated from "`IFS=:
35001 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
35002 if test x
"$ac_file" != x-
; then
35003 configure_input
="$ac_file. $configure_input"
35004 { echo "$as_me:$LINENO: creating $ac_file" >&5
35005 echo "$as_me: creating $ac_file" >&6;}
35009 *:-:* |
*:-) cat >"$tmp/stdin";;
35014 ac_dir
=`$as_dirname -- "$ac_file" ||
35015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35016 X"$ac_file" : 'X\(//\)[^/]' \| \
35017 X"$ac_file" : 'X\(//\)$' \| \
35018 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35024 /^X\(\/\/\)[^/].*/{
35039 -*) as_dir
=.
/$as_dir;;
35041 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35045 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35046 *) as_qdir
=$as_dir;;
35048 as_dirs
="'$as_qdir' $as_dirs"
35049 as_dir
=`$as_dirname -- "$as_dir" ||
35050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35051 X"$as_dir" : 'X\(//\)[^/]' \| \
35052 X"$as_dir" : 'X\(//\)$' \| \
35053 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35059 /^X\(\/\/\)[^/].*/{
35072 test -d "$as_dir" && break
35074 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35075 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35076 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35077 { (exit 1); exit 1; }; }; }
35081 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35083 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35084 # A ".." for each directory in $ac_dir_suffix.
35085 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35086 case $ac_top_builddir_sub in
35087 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35088 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35091 ac_abs_top_builddir
=$ac_pwd
35092 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35093 # for backward compatibility:
35094 ac_top_builddir
=$ac_top_build_prefix
35097 .
) # We are building in place.
35099 ac_top_srcdir
=$ac_top_builddir_sub
35100 ac_abs_top_srcdir
=$ac_pwd ;;
35101 [\\/]* | ?
:[\\/]* ) # Absolute name.
35102 ac_srcdir
=$srcdir$ac_dir_suffix;
35103 ac_top_srcdir
=$srcdir
35104 ac_abs_top_srcdir
=$srcdir ;;
35105 *) # Relative name.
35106 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35107 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35108 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35110 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35120 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35121 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
35125 cat >>$CONFIG_STATUS <<\_ACEOF
35126 # If the template does not know about datarootdir, expand it.
35127 # FIXME: This hack should be removed a few years after 2.60.
35128 ac_datarootdir_hack
=; ac_datarootdir_seen
=
35130 case `sed -n '/datarootdir/ {
35139 ' $ac_file_inputs` in
35140 *datarootdir
*) ac_datarootdir_seen
=yes;;
35141 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
35142 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35143 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35145 cat >>$CONFIG_STATUS <<_ACEOF
35146 ac_datarootdir_hack='
35147 s&@datadir@&$datadir&g
35148 s&@docdir@&$docdir&g
35149 s&@infodir@&$infodir&g
35150 s&@localedir@&$localedir&g
35151 s&@mandir@&$mandir&g
35152 s&\\\${datarootdir}&$datarootdir&g' ;;
35156 # Neutralize VPATH when `$srcdir' = `.'.
35157 # Shell code in configure.ac might set extrasub.
35158 # FIXME: do we really want to maintain this feature?
35159 cat >>$CONFIG_STATUS <<_ACEOF
35163 cat >>$CONFIG_STATUS <<\_ACEOF
35165 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
35166 s
&@configure_input@
&$configure_input&;t t
35167 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
35168 s
&@srcdir@
&$ac_srcdir&;t t
35169 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
35170 s
&@top_srcdir@
&$ac_top_srcdir&;t t
35171 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
35172 s
&@builddir@
&$ac_builddir&;t t
35173 s
&@abs_builddir@
&$ac_abs_builddir&;t t
35174 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
35175 s
&@INSTALL@
&$ac_INSTALL&;t t
35176 $ac_datarootdir_hack
35177 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
35179 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35180 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
35181 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
35182 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
35183 which seems to be undefined. Please make sure it is defined." >&5
35184 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
35185 which seems to be undefined. Please make sure it is defined." >&2;}
35189 -) cat "$tmp/out"; rm -f "$tmp/out";;
35190 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35199 # Transform confdefs.h into a sed script `conftest.defines', that
35200 # substitutes the proper values into config.h.in to produce config.h.
35201 rm -f conftest.defines conftest.
tail
35202 # First, append a space to every undef/define line, to ease matching.
35203 echo 's/$/ /' >conftest.defines
35204 # Then, protect against being on the right side of a sed subst, or in
35205 # an unquoted here document, in config.status. If some macros were
35206 # called several times there might be several #defines for the same
35207 # symbol, which is useless. But do not sort them, since the last
35208 # AC_DEFINE must be honored.
35209 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
35210 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35211 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35212 # PARAMS is the parameter list in the macro definition--in most cases, it's
35213 # just an empty string.
35214 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35215 ac_dB
='\\)[ (].*,\\1define\\2'
35223 s/^[ ]*#[ ]*define[ ][ ]*//
35228 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35229 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35230 ' >>conftest.defines
35232 # Remove the space that was appended to ease matching.
35233 # Then replace #undef with comments. This is necessary, for
35234 # example, in the case of _POSIX_SOURCE, which is predefined and required
35235 # on some systems where configure will not decide to define it.
35236 # (The regexp can be short, since the line contains either #define or #undef.)
35238 s,^[ #]*u.*,/* & */,' >>conftest.defines
35240 # Break up conftest.defines:
35241 ac_max_sed_lines
=50
35243 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35244 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35245 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35247 ac_in
='$ac_file_inputs'
35248 ac_out
='"$tmp/out1"'
35249 ac_nxt
='"$tmp/out2"'
35253 # Write a here document:
35254 cat >>$CONFIG_STATUS <<_ACEOF
35255 # First, check the format of the line:
35256 cat >"\$tmp/defines.sed" <<\\CEOF
35257 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35258 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35262 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
35264 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35265 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
35266 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
35267 grep . conftest.
tail >/dev
/null ||
break
35268 rm -f conftest.defines
35269 mv conftest.
tail conftest.defines
35271 rm -f conftest.defines conftest.
tail
35273 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35274 cat >>$CONFIG_STATUS <<\_ACEOF
35275 if test x
"$ac_file" != x-
; then
35276 echo "/* $configure_input */" >"$tmp/config.h"
35277 cat "$ac_result" >>"$tmp/config.h"
35278 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
35279 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35280 echo "$as_me: $ac_file is unchanged" >&6;}
35283 mv "$tmp/config.h" $ac_file
35286 echo "/* $configure_input */"
35292 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35293 echo "$as_me: executing $ac_file commands" >&6;}
35298 case $ac_file$ac_mode in
35299 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
35300 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
35301 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
35302 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
35303 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
35304 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
35305 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
35306 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
35307 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
35308 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
35309 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
35310 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
35311 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
35312 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
35313 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
35314 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
35315 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
35316 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
35317 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
35318 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
35319 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
35320 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
35321 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
35322 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
35323 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
35324 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
35330 { (exit 0); exit 0; }
35332 chmod +x
$CONFIG_STATUS
35333 ac_clean_files
=$ac_clean_files_save
35336 # configure is writing to config.log, and then calls config.status.
35337 # config.status does its own redirection, appending to config.log.
35338 # Unfortunately, on DOS this fails, as config.log is still kept open
35339 # by configure, so config.status won't be able to write to it; its
35340 # output is simply discarded. So we exec the FD to /dev/null,
35341 # effectively closing config.log, so it can be properly (re)opened and
35342 # appended to by config.status. When coming back to configure, we
35343 # need to make the FD available again.
35344 if test "$no_create" != yes; then
35346 ac_config_status_args
=
35347 test "$silent" = yes &&
35348 ac_config_status_args
="$ac_config_status_args --quiet"
35350 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
35352 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35353 # would make configure fail if this is the last instruction.
35354 $ac_cs_success ||
{ (exit 1); exit 1; }
35358 # CONFIG_SUBDIRS section.
35360 if test "$no_recursion" != yes; then
35362 # Remove --cache-file and --srcdir arguments so they do not pile up.
35363 ac_sub_configure_args
=
35365 eval "set x $ac_configure_args"
35369 if test -n "$ac_prev"; then
35374 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
35375 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
35376 ac_prev
=cache_file
;;
35377 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
35378 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
35381 --config-cache |
-C)
35383 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
35385 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
35387 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
35389 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
35393 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35395 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
35399 # Always prepend --prefix to ensure using the same prefix
35400 # in subdir configurations.
35401 ac_arg
="--prefix=$prefix"
35403 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35405 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
35408 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
35410 # Do not complain, so a configure script can configure whichever
35411 # parts of a large source tree are present.
35412 test -d "$srcdir/$ac_dir" ||
continue
35414 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
35415 echo "$as_me:$LINENO: $ac_msg" >&5
35419 -*) as_dir
=.
/$as_dir;;
35421 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35425 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35426 *) as_qdir
=$as_dir;;
35428 as_dirs
="'$as_qdir' $as_dirs"
35429 as_dir
=`$as_dirname -- "$as_dir" ||
35430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35431 X"$as_dir" : 'X\(//\)[^/]' \| \
35432 X"$as_dir" : 'X\(//\)$' \| \
35433 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35439 /^X\(\/\/\)[^/].*/{
35452 test -d "$as_dir" && break
35454 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35455 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35456 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35457 { (exit 1); exit 1; }; }; }
35461 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35463 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35464 # A ".." for each directory in $ac_dir_suffix.
35465 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35466 case $ac_top_builddir_sub in
35467 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35468 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35471 ac_abs_top_builddir
=$ac_pwd
35472 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35473 # for backward compatibility:
35474 ac_top_builddir
=$ac_top_build_prefix
35477 .
) # We are building in place.
35479 ac_top_srcdir
=$ac_top_builddir_sub
35480 ac_abs_top_srcdir
=$ac_pwd ;;
35481 [\\/]* | ?
:[\\/]* ) # Absolute name.
35482 ac_srcdir
=$srcdir$ac_dir_suffix;
35483 ac_top_srcdir
=$srcdir
35484 ac_abs_top_srcdir
=$srcdir ;;
35485 *) # Relative name.
35486 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35487 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35488 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35490 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35495 # Check for guested configure; otherwise get Cygnus style configure.
35496 if test -f "$ac_srcdir/configure.gnu"; then
35497 ac_sub_configure
=$ac_srcdir/configure.gnu
35498 elif test -f "$ac_srcdir/configure"; then
35499 ac_sub_configure
=$ac_srcdir/configure
35500 elif test -f "$ac_srcdir/configure.in"; then
35501 # This should be Cygnus configure.
35502 ac_sub_configure
=$ac_aux_dir/configure
35504 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35505 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35509 # The recursion is here.
35510 if test -n "$ac_sub_configure"; then
35511 # Make the cache file name correct relative to the subdirectory.
35512 case $cache_file in
35513 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35514 *) # Relative name.
35515 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35518 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35519 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35520 # The eval makes quoting arguments work.
35521 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35522 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35523 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35524 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35525 { (exit 1); exit 1; }; }