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
928 ENABLE_VISIBILITY_INLINES_HIDDEN
934 ac_precious_vars
='build_alias
948 ac_subdirs_all
='projects/sample
950 projects/llvm-stacker
957 projects/llvm-poolalloc
959 projects/llvm-kernel'
961 # Initialize some variables set by options.
963 ac_init_version
=false
964 # The variables have the same names as the options, with
965 # dashes changed to underlines.
973 program_transform_name
=s
,x
,x
,
981 # Installation directory options.
982 # These are left unexpanded so users can "make install exec_prefix=/foo"
983 # and all the variables that are supposed to be based on exec_prefix
984 # by default will actually change.
985 # Use braces instead of parens because sh, perl, etc. also accept them.
986 # (The list follows the same order as the GNU Coding Standards.)
987 bindir
='${exec_prefix}/bin'
988 sbindir
='${exec_prefix}/sbin'
989 libexecdir
='${exec_prefix}/libexec'
990 datarootdir
='${prefix}/share'
991 datadir
='${datarootdir}'
992 sysconfdir
='${prefix}/etc'
993 sharedstatedir
='${prefix}/com'
994 localstatedir
='${prefix}/var'
995 includedir
='${prefix}/include'
996 oldincludedir
='/usr/include'
997 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
998 infodir
='${datarootdir}/info'
1003 libdir
='${exec_prefix}/lib'
1004 localedir
='${datarootdir}/locale'
1005 mandir
='${datarootdir}/man'
1011 # If the previous option needs an argument, assign it.
1012 if test -n "$ac_prev"; then
1013 eval $ac_prev=\
$ac_option
1019 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 # Accept the important Cygnus configure options, so we can diagnose typos.
1025 case $ac_dashdash$ac_option in
1029 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1031 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1032 bindir
=$ac_optarg ;;
1034 -build |
--build |
--buil |
--bui |
--bu)
1035 ac_prev
=build_alias
;;
1036 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1037 build_alias
=$ac_optarg ;;
1039 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1040 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1041 ac_prev
=cache_file
;;
1042 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1043 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1044 cache_file
=$ac_optarg ;;
1046 --config-cache |
-C)
1047 cache_file
=config.cache
;;
1049 -datadir |
--datadir |
--datadi |
--datad)
1051 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1052 datadir
=$ac_optarg ;;
1054 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1055 |
--dataroo |
--dataro |
--datar)
1056 ac_prev
=datarootdir
;;
1057 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1058 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1059 datarootdir
=$ac_optarg ;;
1061 -disable-* |
--disable-*)
1062 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1065 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1068 eval enable_
$ac_feature=no
;;
1070 -docdir |
--docdir |
--docdi |
--doc |
--do)
1072 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1073 docdir
=$ac_optarg ;;
1075 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1077 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1078 dvidir
=$ac_optarg ;;
1080 -enable-* |
--enable-*)
1081 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1084 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1085 { (exit 1); exit 1; }; }
1086 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1087 eval enable_
$ac_feature=\
$ac_optarg ;;
1089 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1090 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1091 |
--exec |
--exe |
--ex)
1092 ac_prev
=exec_prefix
;;
1093 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1094 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1095 |
--exec=* |
--exe=* |
--ex=*)
1096 exec_prefix
=$ac_optarg ;;
1098 -gas |
--gas |
--ga |
--g)
1099 # Obsolete; use --with-gas.
1102 -help |
--help |
--hel |
--he |
-h)
1103 ac_init_help
=long
;;
1104 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1105 ac_init_help
=recursive
;;
1106 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1107 ac_init_help
=short
;;
1109 -host |
--host |
--hos |
--ho)
1110 ac_prev
=host_alias
;;
1111 -host=* |
--host=* |
--hos=* |
--ho=*)
1112 host_alias
=$ac_optarg ;;
1114 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1116 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1118 htmldir
=$ac_optarg ;;
1120 -includedir |
--includedir |
--includedi |
--included |
--include \
1121 |
--includ |
--inclu |
--incl |
--inc)
1122 ac_prev
=includedir
;;
1123 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1124 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1125 includedir
=$ac_optarg ;;
1127 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1129 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1130 infodir
=$ac_optarg ;;
1132 -libdir |
--libdir |
--libdi |
--libd)
1134 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1135 libdir
=$ac_optarg ;;
1137 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1138 |
--libexe |
--libex |
--libe)
1139 ac_prev
=libexecdir
;;
1140 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1141 |
--libexe=* |
--libex=* |
--libe=*)
1142 libexecdir
=$ac_optarg ;;
1144 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1145 ac_prev
=localedir
;;
1146 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1147 localedir
=$ac_optarg ;;
1149 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1150 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1151 ac_prev
=localstatedir
;;
1152 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1153 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1154 localstatedir
=$ac_optarg ;;
1156 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1158 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1159 mandir
=$ac_optarg ;;
1161 -nfp |
--nfp |
--nf)
1162 # Obsolete; use --without-fp.
1165 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1166 |
--no-cr |
--no-c |
-n)
1169 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1170 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1173 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1174 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1175 |
--oldin |
--oldi |
--old |
--ol |
--o)
1176 ac_prev
=oldincludedir
;;
1177 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1178 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1179 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1180 oldincludedir
=$ac_optarg ;;
1182 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1184 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1185 prefix
=$ac_optarg ;;
1187 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1188 |
--program-pre |
--program-pr |
--program-p)
1189 ac_prev
=program_prefix
;;
1190 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1191 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1192 program_prefix
=$ac_optarg ;;
1194 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1195 |
--program-suf |
--program-su |
--program-s)
1196 ac_prev
=program_suffix
;;
1197 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1198 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1199 program_suffix
=$ac_optarg ;;
1201 -program-transform-name |
--program-transform-name \
1202 |
--program-transform-nam |
--program-transform-na \
1203 |
--program-transform-n |
--program-transform- \
1204 |
--program-transform |
--program-transfor \
1205 |
--program-transfo |
--program-transf \
1206 |
--program-trans |
--program-tran \
1207 |
--progr-tra |
--program-tr |
--program-t)
1208 ac_prev
=program_transform_name
;;
1209 -program-transform-name=* |
--program-transform-name=* \
1210 |
--program-transform-nam=* |
--program-transform-na=* \
1211 |
--program-transform-n=* |
--program-transform-=* \
1212 |
--program-transform=* |
--program-transfor=* \
1213 |
--program-transfo=* |
--program-transf=* \
1214 |
--program-trans=* |
--program-tran=* \
1215 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1216 program_transform_name
=$ac_optarg ;;
1218 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1220 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1221 pdfdir
=$ac_optarg ;;
1223 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1225 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1228 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1229 |
-silent |
--silent |
--silen |
--sile |
--sil)
1232 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1234 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1236 sbindir
=$ac_optarg ;;
1238 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1239 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1240 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1242 ac_prev
=sharedstatedir
;;
1243 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1244 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1245 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1247 sharedstatedir
=$ac_optarg ;;
1249 -site |
--site |
--sit)
1251 -site=* |
--site=* |
--sit=*)
1254 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1256 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1257 srcdir
=$ac_optarg ;;
1259 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1260 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1261 ac_prev
=sysconfdir
;;
1262 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1263 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1264 sysconfdir
=$ac_optarg ;;
1266 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1267 ac_prev
=target_alias
;;
1268 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1269 target_alias
=$ac_optarg ;;
1271 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1274 -version |
--version |
--versio |
--versi |
--vers |
-V)
1275 ac_init_version
=: ;;
1278 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1279 # Reject names that are not valid shell variable names.
1280 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1281 { echo "$as_me: error: invalid package name: $ac_package" >&2
1282 { (exit 1); exit 1; }; }
1283 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1284 eval with_
$ac_package=\
$ac_optarg ;;
1286 -without-* |
--without-*)
1287 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1290 { echo "$as_me: error: invalid package name: $ac_package" >&2
1291 { (exit 1); exit 1; }; }
1292 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1293 eval with_
$ac_package=no
;;
1296 # Obsolete; use --with-x.
1299 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1300 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1301 ac_prev
=x_includes
;;
1302 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1303 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1304 x_includes
=$ac_optarg ;;
1306 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1307 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1308 ac_prev
=x_libraries
;;
1309 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1310 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1311 x_libraries
=$ac_optarg ;;
1313 -*) { echo "$as_me: error: unrecognized option: $ac_option
1314 Try \`$0 --help' for more information." >&2
1315 { (exit 1); exit 1; }; }
1319 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1320 # Reject names that are not valid shell variable names.
1321 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1322 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1323 { (exit 1); exit 1; }; }
1324 eval $ac_envvar=\
$ac_optarg
1325 export $ac_envvar ;;
1328 # FIXME: should be removed in autoconf 3.0.
1329 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1330 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1331 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1332 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1338 if test -n "$ac_prev"; then
1339 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1340 { echo "$as_me: error: missing argument to $ac_option" >&2
1341 { (exit 1); exit 1; }; }
1344 # Be sure to have absolute directory names.
1345 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346 datadir sysconfdir sharedstatedir localstatedir includedir \
1347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348 libdir localedir mandir
1350 eval ac_val
=\$
$ac_var
1352 [\\/$
]* | ?
:[\\/]* ) continue;;
1353 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1355 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1356 { (exit 1); exit 1; }; }
1359 # There might be people who depend on the old broken behavior: `$host'
1360 # used to hold the argument of --host etc.
1361 # FIXME: To remove some day.
1364 target
=$target_alias
1366 # FIXME: To remove some day.
1367 if test "x$host_alias" != x
; then
1368 if test "x$build_alias" = x
; then
1369 cross_compiling
=maybe
1370 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1371 If a cross compiler is detected then cross compile mode will be used." >&2
1372 elif test "x$build_alias" != "x$host_alias"; then
1378 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1380 test "$silent" = yes && exec 6>/dev
/null
1383 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di
=`ls -di .` &&
1385 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1386 { echo "$as_me: error: Working directory cannot be determined" >&2
1387 { (exit 1); exit 1; }; }
1388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389 { echo "$as_me: error: pwd does not report name of working directory" >&2
1390 { (exit 1); exit 1; }; }
1393 # Find the source files, if location was not specified.
1394 if test -z "$srcdir"; then
1395 ac_srcdir_defaulted
=yes
1396 # Try the directory containing this script, then the parent directory.
1397 ac_confdir
=`$as_dirname -- "$0" ||
1398 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399 X"$0" : 'X\(//\)[^/]' \| \
1400 X"$0" : 'X\(//\)$' \| \
1401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1425 ac_srcdir_defaulted
=no
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1428 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1429 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1430 { (exit 1); exit 1; }; }
1432 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1434 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1435 { (exit 1); exit 1; }; }
1437 # When building in place, set srcdir=.
1438 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 # Remove unnecessary trailing slashes from srcdir.
1442 # Double slashes in file names in object file debugging info
1443 # mess up M-x gdb in Emacs.
1445 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 for ac_var
in $ac_precious_vars; do
1448 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1450 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1455 # Report the --help message.
1457 if test "$ac_init_help" = "long"; then
1458 # Omit some internal or obsolete options to make the list less imposing.
1459 # This message is too long to be a string in the A/UX 3.1 sh.
1461 \`configure' configures llvm 2.6svn to adapt to many kinds of systems.
1463 Usage: $0 [OPTION]... [VAR=VALUE]...
1465 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466 VAR=VALUE. See below for descriptions of some of the useful variables.
1468 Defaults for the options are specified in brackets.
1471 -h, --help display this help and exit
1472 --help=short display options specific to this package
1473 --help=recursive display the short help of all the included packages
1474 -V, --version display version information and exit
1475 -q, --quiet, --silent do not print \`checking...' messages
1476 --cache-file=FILE cache test results in FILE [disabled]
1477 -C, --config-cache alias for \`--cache-file=config.cache'
1478 -n, --no-create do not create output files
1479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1481 Installation directories:
1482 --prefix=PREFIX install architecture-independent files in PREFIX
1483 [$ac_default_prefix]
1484 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 By default, \`make install' will install all the files in
1488 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1489 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490 for instance \`--prefix=\$HOME'.
1492 For better control, use the options below.
1494 Fine tuning of the installation directories:
1495 --bindir=DIR user executables [EPREFIX/bin]
1496 --sbindir=DIR system admin executables [EPREFIX/sbin]
1497 --libexecdir=DIR program executables [EPREFIX/libexec]
1498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501 --libdir=DIR object code libraries [EPREFIX/lib]
1502 --includedir=DIR C header files [PREFIX/include]
1503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1504 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1505 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1506 --infodir=DIR info documentation [DATAROOTDIR/info]
1507 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1508 --mandir=DIR man documentation [DATAROOTDIR/man]
1509 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1510 --htmldir=DIR html documentation [DOCDIR]
1511 --dvidir=DIR dvi documentation [DOCDIR]
1512 --pdfdir=DIR pdf documentation [DOCDIR]
1513 --psdir=DIR ps documentation [DOCDIR]
1519 --build=BUILD configure
for building on BUILD
[guessed
]
1520 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1521 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive
) echo "Configuration of llvm 2.6svn:";;
1532 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1533 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1536 --enable-expensive-checks
1538 --enable-debug-runtime
1539 --enable-jit Enable Just In Time Compiling
(default is YES
)
1540 --enable-doxygen Build doxygen documentation
(default is NO
)
1541 --enable-threads Use threads
if available
(default is YES
)
1542 --enable-pic Build LLVM with Position Independent Code
(default
1544 --enable-targets Build specific
host targets
:
1545 all
,host-only
,{target-name
} (default
=all
)
1546 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1548 --enable-bindings Build specific language bindings
:
1549 all
,auto
,none
,{binding-name
} (default
=auto
)
1550 --enable-ltdl-install install libltdl
1551 --enable-shared[=PKGS
] build shared libraries
1553 --enable-static[=PKGS
] build static libraries
1555 --enable-fast-install[=PKGS
]
1556 optimize
for fast installation
1558 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1561 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1562 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1563 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1565 --with-llvmgcc Specify location of llvm-gcc driver
(default
1567 --with-llvmgxx Specify location of llvm-g
++ driver
(default
1569 --with-extra-options Specify addtional options to compile LLVM with
1570 --with-ocaml-libdir Specify
install location
for ocaml bindings
(default
1572 --with-binutils-include Specify path to binutils
/include
/ containing
1573 plugin-api.h
file for gold plugin.
1574 --with-tclinclude directory where tcl headers are
1575 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1576 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1578 --with-tags[=TAGS
] include additional configurations
[automatic
]
1579 --with-udis86=<path
> Use udis86 external x86 disassembler library
1581 Some influential environment variables
:
1582 CC C compiler
command
1583 CFLAGS C compiler flags
1584 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1585 nonstandard directory
<lib dir
>
1586 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1587 you have headers
in a nonstandard directory
<include dir
>
1589 CXX C
++ compiler
command
1590 CXXFLAGS C
++ compiler flags
1591 CXXCPP C
++ preprocessor
1592 F77 Fortran
77 compiler
command
1593 FFLAGS Fortran
77 compiler flags
1595 Use these variables to override the choices made by
`configure' or to help
1596 it to find libraries and programs with nonstandard names/locations.
1598 Report bugs to <llvmbugs@cs.uiuc.edu>.
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1606 test -d "$ac_dir" || continue
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1626 .) # We are building in place.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1650 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1659 llvm configure 2.6svn
1660 generated by GNU Autoconf 2.60
1662 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1663 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1667 Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.
1671 cat >config.log <<_ACEOF
1672 This file contains any messages produced by compilers while
1673 running configure, to aid debugging if configure makes a mistake.
1675 It was created by llvm $as_me 2.6svn, which was
1676 generated by GNU Autoconf 2.60. Invocation command line was
1688 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1689 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1690 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1691 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1692 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1694 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1695 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1697 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1698 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1699 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1700 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1701 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1702 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1703 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 echo "PATH: $as_dir"
1728 # Keep a trace of the command line.
1729 # Strip out --no-create and --no-recursion so they do not pile up.
1730 # Strip out --silent because we don't want to record it for future runs.
1731 # Also quote any args containing shell meta-characters.
1732 # Make two passes to allow for proper duplicate-argument suppression.
1736 ac_must_keep_next=false
1742 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1743 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1744 | -silent | --silent | --silen | --sile | --sil)
1747 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1750 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1752 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1753 if test $ac_must_keep_next = true; then
1754 ac_must_keep_next=false # Got value, back to normal.
1757 *=* | --config-cache | -C | -disable-* | --disable-* \
1758 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1759 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1760 | -with-* | --with-* | -without-* | --without-* | --x)
1761 case "$ac_configure_args0 " in
1762 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1765 -* ) ac_must_keep_next=true ;;
1768 ac_configure_args="$ac_configure_args '$ac_arg'"
1773 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1774 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1776 # When interrupted or exit'd, cleanup temporary files, and complete
1777 # config.log. We remove comments because anyway the quotes in there
1778 # would cause problems or look ugly.
1779 # WARNING: Use '\'' to represent an apostrophe within the trap.
1780 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1781 trap 'exit_status=$?
1782 # Save into config.log some information that might help in debugging.
1787 ## ---------------- ##
1788 ## Cache variables. ##
1789 ## ---------------- ##
1792 # The following way of writing the cache mishandles newlines in values,
1794 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1795 eval ac_val=\$$ac_var
1799 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1800 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1803 _ | IFS | as_nl) ;; #(
1804 *) $as_unset $ac_var ;;
1809 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1810 *${as_nl}ac_space=\ *)
1812 "s/'\''/'\''\\\\'\'''\''/g;
1813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1824 ## ----------------- ##
1825 ## Output variables. ##
1826 ## ----------------- ##
1829 for ac_var in $ac_subst_vars
1831 eval ac_val=\$$ac_var
1833 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 echo "$ac_var='\''$ac_val'\''"
1839 if test -n "$ac_subst_files"; then
1841 ## ------------------- ##
1842 ## File substitutions. ##
1843 ## ------------------- ##
1846 for ac_var in $ac_subst_files
1848 eval ac_val=\$$ac_var
1850 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1852 echo "$ac_var='\''$ac_val'\''"
1857 if test -s confdefs.h; then
1867 test "$ac_signal" != 0 &&
1868 echo "$as_me: caught signal $ac_signal"
1869 echo "$as_me: exit $exit_status"
1871 rm -f core *.core core.conftest.* &&
1872 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1875 for ac_signal in 1 2 13 15; do
1876 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1880 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1881 rm -f -r conftest* confdefs.h
1883 # Predefined preprocessor variables.
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_NAME "$PACKAGE_NAME"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_STRING "$PACKAGE_STRING"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1910 # Let the site file select an alternate cache file if it wants to.
1911 # Prefer explicitly selected file to automatically selected ones.
1912 if test -n "$CONFIG_SITE"; then
1913 set x "$CONFIG_SITE"
1914 elif test "x$prefix" != xNONE; then
1915 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1917 set x "$ac_default_prefix/share/config.site" \
1918 "$ac_default_prefix/etc/config.site"
1923 if test -r "$ac_site_file"; then
1924 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1925 echo "$as_me: loading site script $ac_site_file" >&6;}
1926 sed 's/^/| /' "$ac_site_file" >&5
1931 if test -r "$cache_file"; then
1932 # Some versions of bash will fail to source /dev/null (special
1933 # files actually), so we avoid doing that.
1934 if test -f "$cache_file"; then
1935 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1936 echo "$as_me: loading cache $cache_file" >&6;}
1938 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1939 *) . "./$cache_file";;
1943 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1944 echo "$as_me: creating cache $cache_file" >&6;}
1948 # Check that the precious variables saved in the cache have kept the same
1950 ac_cache_corrupted=false
1951 for ac_var in $ac_precious_vars; do
1952 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1953 eval ac_new_set=\$ac_env_${ac_var}_set
1954 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1955 eval ac_new_val=\$ac_env_${ac_var}_value
1956 case $ac_old_set,$ac_new_set in
1958 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1959 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1960 ac_cache_corrupted=: ;;
1962 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1963 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1964 ac_cache_corrupted=: ;;
1967 if test "x$ac_old_val" != "x$ac_new_val"; then
1968 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1969 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1970 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1971 echo "$as_me: former value
: $ac_old_val" >&2;}
1972 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1973 echo "$as_me: current value
: $ac_new_val" >&2;}
1974 ac_cache_corrupted=:
1977 # Pass precious variables to config.status.
1978 if test "$ac_new_set" = set; then
1980 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1981 *) ac_arg=$ac_var=$ac_new_val ;;
1983 case " $ac_configure_args " in
1984 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1985 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1989 if $ac_cache_corrupted; then
1990 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1991 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1992 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1993 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1994 { (exit 1); exit 1; }; }
2022 ac_cpp='$CPP $CPPFLAGS'
2023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2029 LLVM_COPYRIGHT="Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign."
2038 for ac_dir in autoconf "$srcdir"/autoconf; do
2039 if test -f "$ac_dir/install-sh"; then
2041 ac_install_sh="$ac_aux_dir/install-sh -c"
2043 elif test -f "$ac_dir/install.sh"; then
2045 ac_install_sh="$ac_aux_dir/install.sh -c"
2047 elif test -f "$ac_dir/shtool"; then
2049 ac_install_sh="$ac_aux_dir/shtool install -c"
2053 if test -z "$ac_aux_dir"; then
2054 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2055 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2056 { (exit 1); exit 1; }; }
2059 # These three variables are undocumented and unsupported,
2060 # and are intended to be withdrawn in a future Autoconf release.
2061 # They can cause serious problems if a builder's source tree is in a directory
2062 # whose full name contains unusual characters.
2063 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2064 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2065 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2069 if test ${srcdir} != "." ; then
2070 if test -f ${srcdir}/include/llvm/Config/config.h ; then
2071 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2072 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2073 { (exit 1); exit 1; }; }
2077 for i in `ls ${srcdir}/projects
`
2079 if test -d ${srcdir}/projects/${i} ; then
2082 sample) subdirs="$subdirs projects/sample"
2084 privbracket) subdirs="$subdirs projects/privbracket"
2086 llvm-stacker) subdirs="$subdirs projects/llvm-stacker"
2088 # llvm-test is the old name of the test-suite, kept here for backwards
2090 llvm-test) subdirs="$subdirs projects/llvm-test"
2092 test-suite) subdirs="$subdirs projects/test-suite"
2094 llvm-reopt) subdirs="$subdirs projects/llvm-reopt"
2096 llvm-gcc) subdirs="$subdirs projects/llvm-gcc"
2098 llvm-java) subdirs="$subdirs projects/llvm-java"
2100 llvm-tv) subdirs="$subdirs projects/llvm-tv"
2102 llvm-poolalloc) subdirs="$subdirs projects/llvm-poolalloc"
2104 poolalloc) subdirs="$subdirs projects/poolalloc"
2106 llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
2109 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2110 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2117 # Make sure we can run config.sub.
2118 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2119 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2120 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2121 { (exit 1); exit 1; }; }
2123 { echo "$as_me:$LINENO: checking build system type" >&5
2124 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2125 if test "${ac_cv_build+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 ac_build_alias=$build_alias
2129 test "x$ac_build_alias" = x &&
2130 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2131 test "x$ac_build_alias" = x &&
2132 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2133 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2134 { (exit 1); exit 1; }; }
2135 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2136 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2137 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2138 { (exit 1); exit 1; }; }
2141 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2142 echo "${ECHO_T}$ac_cv_build" >&6; }
2143 case $ac_cv_build in
2145 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2146 echo "$as_me: error: invalid value of canonical build" >&2;}
2147 { (exit 1); exit 1; }; };;
2150 ac_save_IFS=$IFS; IFS='-'
2156 # Remember, the first character of IFS is used to create $*,
2157 # except with old shells:
2160 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2163 { echo "$as_me:$LINENO: checking host system type" >&5
2164 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2165 if test "${ac_cv_host+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test "x$host_alias" = x; then
2169 ac_cv_host=$ac_cv_build
2171 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2172 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2173 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2174 { (exit 1); exit 1; }; }
2178 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2179 echo "${ECHO_T}$ac_cv_host" >&6; }
2182 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2183 echo "$as_me: error: invalid value of canonical host" >&2;}
2184 { (exit 1); exit 1; }; };;
2187 ac_save_IFS=$IFS; IFS='-'
2193 # Remember, the first character of IFS is used to create $*,
2194 # except with old shells:
2197 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2200 { echo "$as_me:$LINENO: checking target system type" >&5
2201 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2202 if test "${ac_cv_target+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 if test "x$target_alias" = x; then
2206 ac_cv_target=$ac_cv_host
2208 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2209 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2210 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2211 { (exit 1); exit 1; }; }
2215 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2216 echo "${ECHO_T}$ac_cv_target" >&6; }
2217 case $ac_cv_target in
2219 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2220 echo "$as_me: error: invalid value of canonical target" >&2;}
2221 { (exit 1); exit 1; }; };;
2223 target=$ac_cv_target
2224 ac_save_IFS=$IFS; IFS='-'
2230 # Remember, the first character of IFS is used to create $*,
2231 # except with old shells:
2234 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2237 # The aliases save the names the user supplied, while $host etc.
2238 # will get canonicalized.
2239 test -n "$target_alias" &&
2240 test "$program_prefix$program_suffix$program_transform_name" = \
2242 program_prefix=${target_alias}-
2244 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2245 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2246 if test "${llvm_cv_os_type+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 llvm_cv_link_all_option="-Wl,--whole-archive"
2252 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2253 llvm_cv_os_type="AIX"
2254 llvm_cv_platform_type="Unix" ;;
2256 llvm_cv_link_all_option="-Wl,--whole-archive"
2257 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2258 llvm_cv_os_type="IRIX"
2259 llvm_cv_platform_type="Unix" ;;
2261 llvm_cv_link_all_option="-Wl,--whole-archive"
2262 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2263 llvm_cv_os_type="Cygwin"
2264 llvm_cv_platform_type="Unix" ;;
2266 llvm_cv_link_all_option="-Wl,-all_load"
2267 llvm_cv_no_link_all_option="-Wl,-noall_load"
2268 llvm_cv_os_type="Darwin"
2269 llvm_cv_platform_type="Unix" ;;
2271 llvm_cv_link_all_option="-Wl,--whole-archive"
2272 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2273 llvm_cv_os_type="FreeBSD"
2274 llvm_cv_platform_type="Unix" ;;
2276 llvm_cv_link_all_option="-Wl,--whole-archive"
2277 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2278 llvm_cv_os_type="OpenBSD"
2279 llvm_cv_platform_type="Unix" ;;
2281 llvm_cv_link_all_option="-Wl,--whole-archive"
2282 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2283 llvm_cv_os_type="NetBSD"
2284 llvm_cv_platform_type="Unix" ;;
2286 llvm_cv_link_all_option="-Wl,--whole-archive"
2287 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2288 llvm_cv_os_type="DragonFly"
2289 llvm_cv_platform_type="Unix" ;;
2291 llvm_cv_link_all_option="-Wl,--whole-archive"
2292 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2293 llvm_cv_os_type="HP-UX"
2294 llvm_cv_platform_type="Unix" ;;
2296 llvm_cv_link_all_option="-Wl,--whole-archive"
2297 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2298 llvm_cv_os_type="Interix"
2299 llvm_cv_platform_type="Unix" ;;
2301 llvm_cv_link_all_option="-Wl,--whole-archive"
2302 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2303 llvm_cv_os_type="Linux"
2304 llvm_cv_platform_type="Unix" ;;
2306 llvm_cv_link_all_option="-Wl,-z,allextract"
2307 llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
2308 llvm_cv_os_type="SunOS"
2309 llvm_cv_platform_type="Unix" ;;
2311 llvm_cv_link_all_option="-Wl,--whole-archive"
2312 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2313 llvm_cv_os_type="Win32"
2314 llvm_cv_platform_type="Win32" ;;
2316 llvm_cv_link_all_option="-Wl,--whole-archive"
2317 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2318 llvm_cv_os_type="MingW"
2319 llvm_cv_platform_type="Win32" ;;
2321 llvm_cv_link_all_option=""
2322 llvm_cv_no_link_all_option=""
2323 llvm_cv_os_type="Unknown"
2324 llvm_cv_platform_type="Unknown" ;;
2327 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2328 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2330 if test "$llvm_cv_os_type" = "Unknown" ; then
2331 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2332 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2333 { (exit 1); exit 1; }; }
2339 LINKALL=$llvm_cv_link_all_option
2341 NOLINKALL=$llvm_cv_no_link_all_option
2344 case $llvm_cv_platform_type in
2347 cat >>confdefs.h <<\_ACEOF
2348 #define LLVM_ON_UNIX 1
2358 cat >>confdefs.h <<\_ACEOF
2359 #define LLVM_ON_WIN32 1
2369 { echo "$as_me:$LINENO: checking target architecture" >&5
2370 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2371 if test "${llvm_cv_target_arch+set}" = set; then
2372 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 i?86-*) llvm_cv_target_arch="x86" ;;
2376 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
2377 sparc*-*) llvm_cv_target_arch="Sparc" ;;
2378 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
2379 alpha*-*) llvm_cv_target_arch="Alpha" ;;
2380 ia64-*) llvm_cv_target_arch="IA64" ;;
2381 arm-*) llvm_cv_target_arch="ARM" ;;
2382 mips-*) llvm_cv_target_arch="Mips" ;;
2383 pic16-*) llvm_cv_target_arch="PIC16" ;;
2384 xcore-*) llvm_cv_target_arch="XCore" ;;
2385 *) llvm_cv_target_arch="Unknown" ;;
2388 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2389 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2391 if test "$llvm_cv_target_arch" = "Unknown" ; then
2392 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2393 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2396 ARCH=$llvm_cv_target_arch
2400 ac_cpp='$CPP $CPPFLAGS'
2401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2404 if test -n "$ac_tool_prefix"; then
2405 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2406 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2409 if test "${ac_cv_prog_CC+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 if test -n "$CC"; then
2413 ac_cv_prog_CC="$CC" # Let the user override the test.
2415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir=.
2420 for ac_exec_ext in '' $ac_executable_extensions; do
2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2422 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2433 if test -n "$CC"; then
2434 { echo "$as_me:$LINENO: result: $CC" >&5
2435 echo "${ECHO_T}$CC" >&6; }
2437 { echo "$as_me:$LINENO: result: no" >&5
2438 echo "${ECHO_T}no" >&6; }
2443 if test -z "$ac_cv_prog_CC"; then
2445 # Extract the first word of "gcc", so it can be a program name with args.
2446 set dummy gcc; ac_word=$2
2447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2450 echo $ECHO_N "(cached) $ECHO_C" >&6
2452 if test -n "$ac_ct_CC"; then
2453 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir=.
2460 for ac_exec_ext in '' $ac_executable_extensions; do
2461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2462 ac_cv_prog_ac_ct_CC="gcc"
2463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2473 if test -n "$ac_ct_CC"; then
2474 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2475 echo "${ECHO_T}$ac_ct_CC" >&6; }
2477 { echo "$as_me:$LINENO: result: no" >&5
2478 echo "${ECHO_T}no" >&6; }
2481 if test "x$ac_ct_CC" = x; then
2484 case $cross_compiling:$ac_tool_warned in
2486 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2487 whose name does not start with the host triplet. If you think this
2488 configuration is useful to you, please write to autoconf@gnu.org." >&5
2489 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2490 whose name does not start with the host triplet. If you think this
2491 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2492 ac_tool_warned=yes ;;
2500 if test -z "$CC"; then
2501 if test -n "$ac_tool_prefix"; then
2502 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2503 set dummy ${ac_tool_prefix}cc; ac_word=$2
2504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2506 if test "${ac_cv_prog_CC+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 if test -n "$CC"; then
2510 ac_cv_prog_CC="$CC" # Let the user override the test.
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_CC="${ac_tool_prefix}cc"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 if test -n "$CC"; then
2531 { echo "$as_me:$LINENO: result: $CC" >&5
2532 echo "${ECHO_T}$CC" >&6; }
2534 { echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6; }
2541 if test -z "$CC"; then
2542 # Extract the first word of "cc", so it can be a program name with args.
2543 set dummy cc; ac_word=$2
2544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2546 if test "${ac_cv_prog_CC+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if test -n "$CC"; then
2550 ac_cv_prog_CC="$CC" # Let the user override the test.
2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557 test -z "$as_dir" && as_dir=.
2558 for ac_exec_ext in '' $ac_executable_extensions; do
2559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2560 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2561 ac_prog_rejected=yes
2565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2572 if test $ac_prog_rejected = yes; then
2573 # We found a bogon in the path, so make sure we never use it.
2574 set dummy $ac_cv_prog_CC
2576 if test $# != 0; then
2577 # We chose a different compiler from the bogus one.
2578 # However, it has the same basename, so the bogon will be chosen
2579 # first if we set CC to just the basename; use the full file name.
2581 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2587 if test -n "$CC"; then
2588 { echo "$as_me:$LINENO: result: $CC" >&5
2589 echo "${ECHO_T}$CC" >&6; }
2591 { echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6; }
2597 if test -z "$CC"; then
2598 if test -n "$ac_tool_prefix"; then
2599 for ac_prog in cl.exe
2601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2605 if test "${ac_cv_prog_CC+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 if test -n "$CC"; then
2609 ac_cv_prog_CC="$CC" # Let the user override the test.
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir=.
2616 for ac_exec_ext in '' $ac_executable_extensions; do
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2618 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 if test -n "$CC"; then
2630 { echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6; }
2633 { echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6; }
2638 test -n "$CC" && break
2641 if test -z "$CC"; then
2643 for ac_prog in cl.exe
2645 # Extract the first word of "$ac_prog", so it can be a program name with args.
2646 set dummy $ac_prog; ac_word=$2
2647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 if test -n "$ac_ct_CC"; then
2653 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir=.
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2662 ac_cv_prog_ac_ct_CC="$ac_prog"
2663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2673 if test -n "$ac_ct_CC"; then
2674 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2675 echo "${ECHO_T}$ac_ct_CC" >&6; }
2677 { echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6; }
2682 test -n "$ac_ct_CC" && break
2685 if test "x$ac_ct_CC" = x; then
2688 case $cross_compiling:$ac_tool_warned in
2690 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2691 whose name does not start with the host triplet. If you think this
2692 configuration is useful to you, please write to autoconf@gnu.org." >&5
2693 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2694 whose name does not start with the host triplet. If you think this
2695 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2696 ac_tool_warned=yes ;;
2705 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2706 See \`config.log
' for more details." >&5
2707 echo "$as_me: error: no acceptable C compiler found in \$PATH
2708 See \`config.log' for more details.
" >&2;}
2709 { (exit 1); exit 1; }; }
2711 # Provide some information about the compiler.
2712 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2713 ac_compiler=`set X $ac_compile; echo $2`
2714 { (ac_try="$ac_compiler --version >&5"
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2719 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2720 (eval "$ac_compiler --version >&5") 2>&5
2722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2723 (exit $ac_status); }
2724 { (ac_try="$ac_compiler -v >&5"
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2730 (eval "$ac_compiler -v >&5") 2>&5
2732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2733 (exit $ac_status); }
2734 { (ac_try="$ac_compiler -V >&5"
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_compiler -V >&5") 2>&5
2742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2743 (exit $ac_status); }
2745 cat >conftest.$ac_ext <<_ACEOF
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2760 ac_clean_files_save=$ac_clean_files
2761 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2762 # Try to create an executable without -o first, disregard a.out.
2763 # It will help us diagnose broken compilers, and finding out an intuition
2765 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2766 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2767 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2769 # List of possible output files, starting from the most likely.
2770 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2771 # only as a last resort. b.out is created by i960 compilers.
2772 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2774 # The IRIX 6 linker writes into existing files which may not be
2775 # executable, retaining their permissions. Remove them first so a
2776 # subsequent execution test works.
2778 for ac_file in $ac_files
2781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2782 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2787 if { (ac_try="$ac_link_default"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_link_default") 2>&5
2795 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2796 (exit $ac_status); }; then
2797 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2798 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2799 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2800 # so that the user can short-circuit this test for compilers unknown to
2802 for ac_file in $ac_files
2804 test -f "$ac_file" || continue
2806 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2809 # We found the default executable, but exeext='' is most
2813 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2815 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2817 # We set ac_cv_exeext here because the later test for it is not
2818 # safe: cross compilers may not add the suffix if given an `-o'
2819 # argument, so we may need to know it at that point already.
2820 # Even if this section looks crufty: it has the advantage of
2827 test "$ac_cv_exeext" = no && ac_cv_exeext=
2830 echo "$as_me: failed program was
:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2833 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2834 See \
`config.log' for more details." >&5
2835 echo "$as_me: error: C compiler cannot create executables
2836 See \`config.log
' for more details." >&2;}
2837 { (exit 77); exit 77; }; }
2840 ac_exeext=$ac_cv_exeext
2841 { echo "$as_me:$LINENO: result: $ac_file" >&5
2842 echo "${ECHO_T}$ac_file" >&6; }
2844 # Check that the compiler produces executables we can run. If not, either
2845 # the compiler is broken, or we cross compile.
2846 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2847 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2848 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2849 # If not cross compiling, check that we can run a simple program.
2850 if test "$cross_compiling" != yes; then
2851 if { ac_try='.
/$ac_file'
2852 { (case "(($ac_try" in
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2857 (eval "$ac_try") 2>&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; }; then
2863 if test "$cross_compiling" = maybe; then
2866 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2867 If you meant to cross compile, use \`--host'.
2868 See \
`config.log' for more details." >&5
2869 echo "$as_me: error: cannot run C compiled programs.
2870 If you meant to cross compile, use \`--host'.
2871 See \`config.log' for more details.
" >&2;}
2872 { (exit 1); exit 1; }; }
2876 { echo "$as_me:$LINENO: result
: yes" >&5
2877 echo "${ECHO_T}yes" >&6; }
2879 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2880 ac_clean_files=$ac_clean_files_save
2881 # Check that the compiler produces executables we can run. If not, either
2882 # the compiler is broken, or we cross compile.
2883 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2884 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2885 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2886 echo "${ECHO_T}$cross_compiling" >&6; }
2888 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2889 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2890 if { (ac_try="$ac_link"
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2895 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2896 (eval "$ac_link") 2>&5
2898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2899 (exit $ac_status); }; then
2900 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2901 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2902 # work properly (i.e., refer to `conftest.exe'), while it won't with
2904 for ac_file in conftest.exe conftest conftest.*; do
2905 test -f "$ac_file" || continue
2907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2908 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2914 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2915 See \
`config.log' for more details." >&5
2916 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2917 See \`config.log
' for more details." >&2;}
2918 { (exit 1); exit 1; }; }
2921 rm -f conftest$ac_cv_exeext
2922 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2923 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2925 rm -f conftest.$ac_ext
2926 EXEEXT=$ac_cv_exeext
2928 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2929 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2930 if test "${ac_cv_objext+set}" = set; then
2931 echo $ECHO_N "(cached) $ECHO_C" >&6
2933 cat >conftest.$ac_ext <<_ACEOF
2936 cat confdefs.h >>conftest.$ac_ext
2937 cat >>conftest.$ac_ext <<_ACEOF
2938 /* end confdefs.h. */
2948 rm -f conftest.o conftest.obj
2949 if { (ac_try="$ac_compile"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compile") 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; then
2959 for ac_file in conftest.o conftest.obj conftest.*; do
2960 test -f "$ac_file" || continue;
2962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2963 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2968 echo "$as_me: failed program was:" >&5
2969 sed 's
/^
/|
/' conftest.$ac_ext >&5
2971 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2972 See \`config.log' for more details.
" >&5
2973 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2974 See \
`config.log' for more details." >&2;}
2975 { (exit 1); exit 1; }; }
2978 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2980 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2981 echo "${ECHO_T}$ac_cv_objext" >&6; }
2982 OBJEXT=$ac_cv_objext
2984 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2985 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2986 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 cat >conftest.$ac_ext <<_ACEOF
2992 cat confdefs.h >>conftest.$ac_ext
2993 cat >>conftest.$ac_ext <<_ACEOF
2994 /* end confdefs.h. */
3007 rm -f conftest.$ac_objext
3008 if { (ac_try="$ac_compile"
3010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3011 *) ac_try_echo
=$ac_try;;
3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_compile") 2>conftest.er1
3016 grep -v '^ *+' conftest.er1
>conftest.err
3018 cat conftest.err
>&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3022 { (case "(($ac_try" in
3023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3027 (eval "$ac_try") 2>&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; } &&
3031 { ac_try='test -s conftest.$ac_objext'
3032 { (case "(($ac_try" in
3033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3034 *) ac_try_echo
=$ac_try;;
3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3037 (eval "$ac_try") 2>&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; }; then
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.
$ac_ext >&5
3049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3050 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3053 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3054 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3055 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3056 ac_test_CFLAGS
=${CFLAGS+set}
3057 ac_save_CFLAGS
=$CFLAGS
3058 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3059 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3060 if test "${ac_cv_prog_cc_g+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 ac_save_c_werror_flag
=$ac_c_werror_flag
3064 ac_c_werror_flag
=yes
3067 cat >conftest.
$ac_ext <<_ACEOF
3070 cat confdefs.h
>>conftest.
$ac_ext
3071 cat >>conftest.
$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3082 rm -f conftest.
$ac_objext
3083 if { (ac_try
="$ac_compile"
3085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3089 (eval "$ac_compile") 2>conftest.er1
3091 grep -v '^ *+' conftest.er1 >conftest.err
3093 cat conftest.err >&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } &&
3096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3097 { (case "(($ac_try" in
3098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3099 *) ac_try_echo
=$ac_try;;
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_try") 2>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; } &&
3106 { ac_try
='test -s conftest.$ac_objext'
3107 { (case "(($ac_try" in
3108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_try") 2>&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3141 *) ac_try_echo
=$ac_try;;
3143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_compile") 2>conftest.er1
3146 grep -v '^ *+' conftest.er1
>conftest.err
3148 cat conftest.err
>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } &&
3151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3152 { (case "(($ac_try" in
3153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_try") 2>&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); }; } &&
3161 { ac_try='test -s conftest.$ac_objext'
3162 { (case "(($ac_try" in
3163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3164 *) ac_try_echo
=$ac_try;;
3166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3167 (eval "$ac_try") 2>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; }; then
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.
$ac_ext >&5
3176 ac_c_werror_flag
=$ac_save_c_werror_flag
3178 cat >conftest.
$ac_ext <<_ACEOF
3181 cat confdefs.h
>>conftest.
$ac_ext
3182 cat >>conftest.
$ac_ext <<_ACEOF
3183 /* end confdefs.h. */
3193 rm -f conftest.
$ac_objext
3194 if { (ac_try
="$ac_compile"
3196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3200 (eval "$ac_compile") 2>conftest.er1
3202 grep -v '^ *+' conftest.er1 >conftest.err
3204 cat conftest.err >&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); } &&
3207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3208 { (case "(($ac_try" in
3209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3210 *) ac_try_echo
=$ac_try;;
3212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3213 (eval "$ac_try") 2>&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; } &&
3217 { ac_try
='test -s conftest.$ac_objext'
3218 { (case "(($ac_try" in
3219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3223 (eval "$ac_try") 2>&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); }; }; then
3229 echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 ac_c_werror_flag=$ac_save_c_werror_flag
3244 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3245 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3246 if test "$ac_test_CFLAGS" = set; then
3247 CFLAGS=$ac_save_CFLAGS
3248 elif test $ac_cv_prog_cc_g = yes; then
3249 if test "$GCC" = yes; then
3255 if test "$GCC" = yes; then
3261 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3262 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3263 if test "${ac_cv_prog_cc_c89+set}" = set; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 ac_cv_prog_cc_c89=no
3268 cat >conftest.$ac_ext <<_ACEOF
3271 cat confdefs.h >>conftest.$ac_ext
3272 cat >>conftest.$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3276 #include <sys/types.h>
3277 #include <sys/stat.h>
3278 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3279 struct buf { int x; };
3280 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3281 static char *e (p, i)
3287 static char *f (char * (*g) (char **, int), char **p, ...)
3292 s = g (p, va_arg (v,int));
3297 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3298 function prototypes and stuff, but not '\xHH' hex character constants.
3299 These don't provoke an error unfortunately, instead are silently treated
3300 as 'x'. The following induces an error, until -std is added to get
3301 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3302 array size at least. It's necessary to write '\x00'==0 to get something
3303 that's true only with -std. */
3304 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3306 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3307 inside strings and character constants. */
3309 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3311 int test (int i, double x);
3312 struct s1 {int (*f) (int a);};
3313 struct s2 {int (*f) (double a);};
3314 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3320 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3325 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3326 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3328 CC="$ac_save_CC $ac_arg"
3329 rm -f conftest.$ac_objext
3330 if { (ac_try="$ac_compile"
3332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3333 *) ac_try_echo
=$ac_try;;
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compile") 2>conftest.er1
3338 grep -v '^ *+' conftest.er1
>conftest.err
3340 cat conftest.err
>&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3344 { (case "(($ac_try" in
3345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_try") 2>&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; } &&
3353 { ac_try='test -s conftest.$ac_objext'
3354 { (case "(($ac_try" in
3355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3356 *) ac_try_echo
=$ac_try;;
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_try") 2>&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3363 ac_cv_prog_cc_c89
=$ac_arg
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.
$ac_ext >&5
3371 rm -f core conftest.err conftest.
$ac_objext
3372 test "x$ac_cv_prog_cc_c89" != "xno" && break
3374 rm -f conftest.
$ac_ext
3379 case "x$ac_cv_prog_cc_c89" in
3381 { echo "$as_me:$LINENO: result: none needed" >&5
3382 echo "${ECHO_T}none needed" >&6; } ;;
3384 { echo "$as_me:$LINENO: result: unsupported" >&5
3385 echo "${ECHO_T}unsupported" >&6; } ;;
3387 CC
="$CC $ac_cv_prog_cc_c89"
3388 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3389 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3394 ac_cpp
='$CPP $CPPFLAGS'
3395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3401 ac_cpp
='$CPP $CPPFLAGS'
3402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3405 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3406 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3407 # On Suns, sometimes $CPP names a directory.
3408 if test -n "$CPP" && test -d "$CPP"; then
3411 if test -z "$CPP"; then
3412 if test "${ac_cv_prog_CPP+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 # Double quotes because CPP needs to be expanded
3416 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3419 for ac_c_preproc_warn_flag
in '' yes
3421 # Use a header file that comes with gcc, so configuring glibc
3422 # with a fresh cross-compiler works.
3423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3424 # <limits.h> exists even on freestanding compilers.
3425 # On the NeXT, cc -E runs the code through the compiler's parser,
3426 # not just through cpp. "Syntax error" is here to catch this case.
3427 cat >conftest.
$ac_ext <<_ACEOF
3430 cat confdefs.h
>>conftest.
$ac_ext
3431 cat >>conftest.
$ac_ext <<_ACEOF
3432 /* end confdefs.h. */
3434 # include <limits.h>
3436 # include <assert.h>
3440 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } >/dev/null; then
3453 if test -s conftest.err; then
3454 ac_cpp_err=$ac_c_preproc_warn_flag
3455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3462 if test -z "$ac_cpp_err"; then
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3468 # Broken: fails on valid input.
3472 rm -f conftest.err conftest.$ac_ext
3474 # OK, works on sane cases. Now check whether nonexistent headers
3475 # can be detected and how.
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #include <ac_nonexistent.h>
3484 if { (ac_try="$ac_cpp conftest.$ac_ext"
3486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3487 *) ac_try_echo
=$ac_try;;
3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3492 grep -v '^ *+' conftest.er1
>conftest.err
3494 cat conftest.err
>&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } >/dev
/null
; then
3497 if test -s conftest.err
; then
3498 ac_cpp_err
=$ac_c_preproc_warn_flag
3499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3506 if test -z "$ac_cpp_err"; then
3507 # Broken: success on invalid input.
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.
$ac_ext >&5
3513 # Passes both tests.
3518 rm -f conftest.err conftest.
$ac_ext
3521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3522 rm -f conftest.err conftest.
$ac_ext
3523 if $ac_preproc_ok; then
3535 { echo "$as_me:$LINENO: result: $CPP" >&5
3536 echo "${ECHO_T}$CPP" >&6; }
3538 for ac_c_preproc_warn_flag
in '' yes
3540 # Use a header file that comes with gcc, so configuring glibc
3541 # with a fresh cross-compiler works.
3542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3543 # <limits.h> exists even on freestanding compilers.
3544 # On the NeXT, cc -E runs the code through the compiler's parser,
3545 # not just through cpp. "Syntax error" is here to catch this case.
3546 cat >conftest.
$ac_ext <<_ACEOF
3549 cat confdefs.h
>>conftest.
$ac_ext
3550 cat >>conftest.
$ac_ext <<_ACEOF
3551 /* end confdefs.h. */
3553 # include <limits.h>
3555 # include <assert.h>
3559 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3567 grep -v '^ *+' conftest.er1 >conftest.err
3569 cat conftest.err >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); } >/dev/null; then
3572 if test -s conftest.err; then
3573 ac_cpp_err=$ac_c_preproc_warn_flag
3574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3581 if test -z "$ac_cpp_err"; then
3584 echo "$as_me: failed program was:" >&5
3585 sed 's/^/| /' conftest.$ac_ext >&5
3587 # Broken: fails on valid input.
3591 rm -f conftest.err conftest.$ac_ext
3593 # OK, works on sane cases. Now check whether nonexistent headers
3594 # can be detected and how.
3595 cat >conftest.$ac_ext <<_ACEOF
3598 cat confdefs.h >>conftest.$ac_ext
3599 cat >>conftest.$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3601 #include <ac_nonexistent.h>
3603 if { (ac_try="$ac_cpp conftest.$ac_ext"
3605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3606 *) ac_try_echo
=$ac_try;;
3608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } >/dev
/null
; then
3616 if test -s conftest.err
; then
3617 ac_cpp_err
=$ac_c_preproc_warn_flag
3618 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3625 if test -z "$ac_cpp_err"; then
3626 # Broken: success on invalid input.
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.
$ac_ext >&5
3632 # Passes both tests.
3637 rm -f conftest.err conftest.
$ac_ext
3640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3641 rm -f conftest.err conftest.
$ac_ext
3642 if $ac_preproc_ok; then
3645 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3646 See \`config.log' for more details." >&5
3647 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3648 See \`config.log' for more details." >&2;}
3649 { (exit 1); exit 1; }; }
3653 ac_cpp
='$CPP $CPPFLAGS'
3654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3659 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3660 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3661 if test "${ac_cv_path_GREP+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 # Extract the first word of "grep ggrep" to use in msg output
3665 if test -z "$GREP"; then
3666 set dummy
grep ggrep
; ac_prog_name
=$2
3667 if test "${ac_cv_path_GREP+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 ac_path_GREP_found
=false
3671 # Loop through the user's path and test for each of PROGNAME-LIST
3672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3676 test -z "$as_dir" && as_dir
=.
3677 for ac_prog
in grep ggrep
; do
3678 for ac_exec_ext
in '' $ac_executable_extensions; do
3679 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3680 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3681 # Check for GNU ac_path_GREP and select it if it is found.
3682 # Check for GNU $ac_path_GREP
3683 case `"$ac_path_GREP" --version 2>&1` in
3685 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3688 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3691 cat "conftest.in" "conftest.in" >"conftest.tmp"
3692 mv "conftest.tmp" "conftest.in"
3693 cp "conftest.in" "conftest.nl"
3694 echo 'GREP' >> "conftest.nl"
3695 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3696 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3697 ac_count
=`expr $ac_count + 1`
3698 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3699 # Best one so far, save it but keep looking for a better one
3700 ac_cv_path_GREP
="$ac_path_GREP"
3701 ac_path_GREP_max
=$ac_count
3703 # 10*(2^10) chars as input seems more than enough
3704 test $ac_count -gt 10 && break
3706 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3710 $ac_path_GREP_found && break 3
3720 GREP
="$ac_cv_path_GREP"
3721 if test -z "$GREP"; then
3722 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3723 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3724 { (exit 1); exit 1; }; }
3728 ac_cv_path_GREP
=$GREP
3733 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3734 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3735 GREP
="$ac_cv_path_GREP"
3738 { echo "$as_me:$LINENO: checking for egrep" >&5
3739 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3740 if test "${ac_cv_path_EGREP+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3744 then ac_cv_path_EGREP
="$GREP -E"
3746 # Extract the first word of "egrep" to use in msg output
3747 if test -z "$EGREP"; then
3748 set dummy
egrep; ac_prog_name
=$2
3749 if test "${ac_cv_path_EGREP+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 ac_path_EGREP_found
=false
3753 # Loop through the user's path and test for each of PROGNAME-LIST
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_prog
in egrep; do
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3762 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3763 # Check for GNU ac_path_EGREP and select it if it is found.
3764 # Check for GNU $ac_path_EGREP
3765 case `"$ac_path_EGREP" --version 2>&1` in
3767 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3770 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3773 cat "conftest.in" "conftest.in" >"conftest.tmp"
3774 mv "conftest.tmp" "conftest.in"
3775 cp "conftest.in" "conftest.nl"
3776 echo 'EGREP' >> "conftest.nl"
3777 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3778 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3779 ac_count
=`expr $ac_count + 1`
3780 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3781 # Best one so far, save it but keep looking for a better one
3782 ac_cv_path_EGREP
="$ac_path_EGREP"
3783 ac_path_EGREP_max
=$ac_count
3785 # 10*(2^10) chars as input seems more than enough
3786 test $ac_count -gt 10 && break
3788 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3792 $ac_path_EGREP_found && break 3
3802 EGREP
="$ac_cv_path_EGREP"
3803 if test -z "$EGREP"; then
3804 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3805 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3806 { (exit 1); exit 1; }; }
3810 ac_cv_path_EGREP
=$EGREP
3816 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3817 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3818 EGREP
="$ac_cv_path_EGREP"
3821 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3822 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3823 if test "${ac_cv_header_stdc+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 cat >conftest.
$ac_ext <<_ACEOF
3829 cat confdefs.h
>>conftest.
$ac_ext
3830 cat >>conftest.
$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3845 rm -f conftest.
$ac_objext
3846 if { (ac_try
="$ac_compile"
3848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_compile") 2>conftest.er1
3854 grep -v '^ *+' conftest.er1 >conftest.err
3856 cat conftest.err >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3860 { (case "(($ac_try" in
3861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3862 *) ac_try_echo
=$ac_try;;
3864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3865 (eval "$ac_try") 2>&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); }; } &&
3869 { ac_try
='test -s conftest.$ac_objext'
3870 { (case "(($ac_try" in
3871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3875 (eval "$ac_try") 2>&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; }; then
3879 ac_cv_header_stdc=yes
3881 echo "$as_me: failed program was:" >&5
3882 sed 's/^/| /' conftest.$ac_ext >&5
3884 ac_cv_header_stdc=no
3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889 if test $ac_cv_header_stdc = yes; then
3890 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3891 cat >conftest.$ac_ext <<_ACEOF
3894 cat confdefs.h >>conftest.$ac_ext
3895 cat >>conftest.$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3901 $EGREP "memchr" >/dev/null 2>&1; then
3904 ac_cv_header_stdc=no
3910 if test $ac_cv_header_stdc = yes; then
3911 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3912 cat >conftest.$ac_ext <<_ACEOF
3915 cat confdefs.h >>conftest.$ac_ext
3916 cat >>conftest.$ac_ext <<_ACEOF
3917 /* end confdefs.h. */
3921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3922 $EGREP "free" >/dev/null 2>&1; then
3925 ac_cv_header_stdc=no
3931 if test $ac_cv_header_stdc = yes; then
3932 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3933 if test "$cross_compiling" = yes; then
3936 cat >conftest.$ac_ext <<_ACEOF
3939 cat confdefs.h >>conftest.$ac_ext
3940 cat >>conftest.$ac_ext <<_ACEOF
3941 /* end confdefs.h. */
3944 #if ((' ' & 0x0FF) == 0x020)
3945 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3946 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3948 # define ISLOWER(c) \
3949 (('a' <= (c) && (c) <= 'i') \
3950 || ('j' <= (c) && (c) <= 'r') \
3951 || ('s' <= (c) && (c) <= 'z'))
3952 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3955 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3960 for (i = 0; i < 256; i++)
3961 if (XOR (islower (i), ISLOWER (i))
3962 || toupper (i) != TOUPPER (i))
3967 rm -f conftest$ac_exeext
3968 if { (ac_try="$ac_link"
3970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3971 *) ac_try_echo
=$ac_try;;
3973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3974 (eval "$ac_link") 2>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3978 { (case "(($ac_try" in
3979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3980 *) ac_try_echo=$ac_try;;
3982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3983 (eval "$ac_try") 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); }; }; then
3989 echo "$as_me: program exited with status $ac_status" >&5
3990 echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3994 ac_cv_header_stdc=no
3996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4002 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4003 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4004 if test $ac_cv_header_stdc = yes; then
4006 cat >>confdefs.h <<\_ACEOF
4007 #define STDC_HEADERS 1
4012 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4022 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4023 inttypes.h stdint.h unistd.h
4025 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4026 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 cat >conftest.$ac_ext <<_ACEOF
4034 cat confdefs.h >>conftest.$ac_ext
4035 cat >>conftest.$ac_ext <<_ACEOF
4036 /* end confdefs.h. */
4037 $ac_includes_default
4039 #include <$ac_header>
4041 rm -f conftest.$ac_objext
4042 if { (ac_try="$ac_compile"
4044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4045 *) ac_try_echo
=$ac_try;;
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048 (eval "$ac_compile") 2>conftest.er1
4050 grep -v '^ *+' conftest.er1
>conftest.err
4052 cat conftest.err
>&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); } &&
4055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4056 { (case "(($ac_try" in
4057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4061 (eval "$ac_try") 2>&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; } &&
4065 { ac_try='test -s conftest.$ac_objext'
4066 { (case "(($ac_try" in
4067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4068 *) ac_try_echo
=$ac_try;;
4070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071 (eval "$ac_try") 2>&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; }; then
4075 eval "$as_ac_Header=yes"
4077 echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.
$ac_ext >&5
4080 eval "$as_ac_Header=no"
4083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4085 ac_res
=`eval echo '${'$as_ac_Header'}'`
4086 { echo "$as_me:$LINENO: result: $ac_res" >&5
4087 echo "${ECHO_T}$ac_res" >&6; }
4088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4089 cat >>confdefs.h
<<_ACEOF
4090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4098 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4099 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4100 if test "${ac_cv_c_bigendian+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 # See if sys/param.h defines the BYTE_ORDER macro.
4104 cat >conftest.
$ac_ext <<_ACEOF
4107 cat confdefs.h
>>conftest.
$ac_ext
4108 cat >>conftest.
$ac_ext <<_ACEOF
4109 /* end confdefs.h. */
4110 #include <sys/types.h>
4111 #include <sys/param.h>
4116 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4124 rm -f conftest.
$ac_objext
4125 if { (ac_try
="$ac_compile"
4127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_compile") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } &&
4138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4139 { (case "(($ac_try" in
4140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4141 *) ac_try_echo
=$ac_try;;
4143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4144 (eval "$ac_try") 2>&5
4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); }; } &&
4148 { ac_try
='test -s conftest.$ac_objext'
4149 { (case "(($ac_try" in
4150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4154 (eval "$ac_try") 2>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); }; }; then
4158 # It does; now see whether it defined to BIG_ENDIAN or not.
4159 cat >conftest.$ac_ext <<_ACEOF
4162 cat confdefs.h >>conftest.$ac_ext
4163 cat >>conftest.$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4165 #include <sys/types.h>
4166 #include <sys/param.h>
4171 #if BYTE_ORDER != BIG_ENDIAN
4179 rm -f conftest.$ac_objext
4180 if { (ac_try="$ac_compile"
4182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4183 *) ac_try_echo
=$ac_try;;
4185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4186 (eval "$ac_compile") 2>conftest.er1
4188 grep -v '^ *+' conftest.er1
>conftest.err
4190 cat conftest.err
>&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } &&
4193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4194 { (case "(($ac_try" in
4195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4196 *) ac_try_echo=$ac_try;;
4198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4199 (eval "$ac_try") 2>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; } &&
4203 { ac_try='test -s conftest.$ac_objext'
4204 { (case "(($ac_try" in
4205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4206 *) ac_try_echo
=$ac_try;;
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_try") 2>&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); }; }; then
4213 ac_cv_c_bigendian
=yes
4215 echo "$as_me: failed program was:" >&5
4216 sed 's/^/| /' conftest.
$ac_ext >&5
4218 ac_cv_c_bigendian
=no
4221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.
$ac_ext >&5
4226 # It does not; compile a test program.
4227 if test "$cross_compiling" = yes; then
4228 # try to guess the endianness by grepping values into an object file
4229 ac_cv_c_bigendian
=unknown
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4236 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4237 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4238 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4239 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4240 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4241 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4245 _ascii (); _ebcdic ();
4250 rm -f conftest.
$ac_objext
4251 if { (ac_try
="$ac_compile"
4253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4254 *) ac_try_echo=$ac_try;;
4256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4257 (eval "$ac_compile") 2>conftest.er1
4259 grep -v '^ *+' conftest.er1 >conftest.err
4261 cat conftest.err >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } &&
4264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4265 { (case "(($ac_try" in
4266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4267 *) ac_try_echo
=$ac_try;;
4269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4270 (eval "$ac_try") 2>&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); }; } &&
4274 { ac_try
='test -s conftest.$ac_objext'
4275 { (case "(($ac_try" in
4276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4280 (eval "$ac_try") 2>&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4284 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4285 ac_cv_c_bigendian=yes
4287 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4288 if test "$ac_cv_c_bigendian" = unknown; then
4289 ac_cv_c_bigendian=no
4291 # finding both strings is unlikely to happen, but who knows?
4292 ac_cv_c_bigendian=unknown
4296 echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.$ac_ext >&5
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 cat >conftest.$ac_ext <<_ACEOF
4307 cat confdefs.h >>conftest.$ac_ext
4308 cat >>conftest.$ac_ext <<_ACEOF
4309 /* end confdefs.h. */
4310 $ac_includes_default
4315 /* Are we little or big endian? From Harbison&Steele. */
4319 char c[sizeof (long int)];
4322 return u.c[sizeof (long int) - 1] == 1;
4328 rm -f conftest$ac_exeext
4329 if { (ac_try="$ac_link"
4331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4332 *) ac_try_echo
=$ac_try;;
4334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4335 (eval "$ac_link") 2>&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4339 { (case "(($ac_try" in
4340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4341 *) ac_try_echo=$ac_try;;
4343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4344 (eval "$ac_try") 2>&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); }; }; then
4348 ac_cv_c_bigendian=no
4350 echo "$as_me: program exited with status $ac_status" >&5
4351 echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4355 ac_cv_c_bigendian=yes
4357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4366 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4367 case $ac_cv_c_bigendian in
4375 { { echo "$as_me:$LINENO: error: unknown endianness
4376 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4377 echo "$as_me: error: unknown endianness
4378 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4379 { (exit 1); exit 1; }; } ;;
4383 if test "$cross_compiling" = yes; then
4384 LLVM_CROSS_COMPILING=1
4387 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4388 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4389 if test "${ac_cv_build_exeext+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4393 ac_cv_build_exeext=.exe
4395 ac_build_prefix=${build_alias}-
4397 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4398 set dummy ${ac_build_prefix}gcc; ac_word=$2
4399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4401 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 if test -n "$BUILD_CC"; then
4405 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4414 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 BUILD_CC=$ac_cv_prog_BUILD_CC
4425 if test -n "$BUILD_CC"; then
4426 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4427 echo "${ECHO_T}$BUILD_CC" >&6; }
4429 { echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6; }
4434 if test -z "$BUILD_CC"; then
4435 # Extract the first word of "gcc", so it can be a program name with args.
4436 set dummy gcc; ac_word=$2
4437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4439 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4440 echo $ECHO_N "(cached) $ECHO_C" >&6
4442 if test -n "$BUILD_CC"; then
4443 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_prog_BUILD_CC="gcc"
4453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 BUILD_CC=$ac_cv_prog_BUILD_CC
4463 if test -n "$BUILD_CC"; then
4464 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4465 echo "${ECHO_T}$BUILD_CC" >&6; }
4467 { echo "$as_me:$LINENO: result: no" >&5
4468 echo "${ECHO_T}no" >&6; }
4472 if test -z "$BUILD_CC"; then
4473 # Extract the first word of "cc", so it can be a program name with args.
4474 set dummy cc; ac_word=$2
4475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4477 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 if test -n "$BUILD_CC"; then
4481 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4491 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4492 ac_prog_rejected=yes
4495 ac_cv_prog_BUILD_CC="cc"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 if test $ac_prog_rejected = yes; then
4504 # We found a bogon in the path, so make sure we never use it.
4505 set dummy $ac_cv_prog_BUILD_CC
4507 if test $# != 0; then
4508 # We chose a different compiler from the bogus one.
4509 # However, it has the same basename, so the bogon will be chosen
4510 # first if we set BUILD_CC to just the basename; use the full file name.
4512 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4517 BUILD_CC=$ac_cv_prog_BUILD_CC
4518 if test -n "$BUILD_CC"; then
4519 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4520 echo "${ECHO_T}$BUILD_CC" >&6; }
4522 { echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6; }
4529 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4530 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4531 { (exit 1); exit 1; }; }
4532 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4534 echo 'int main () { return 0; }' > conftest.$ac_ext
4536 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4537 (eval $ac_build_link) 2>&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; then
4541 for file in conftest.*; do
4543 *.c | *.o | *.obj | *.dSYM) ;;
4544 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4548 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4549 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4550 { (exit 1); exit 1; }; }
4553 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4558 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4559 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4560 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4561 ac_build_exeext=$BUILD_EXEEXT
4563 ac_build_prefix=${build_alias}-
4564 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4565 set dummy ${ac_build_prefix}g++; ac_word=$2
4566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4568 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 if test -n "$BUILD_CXX"; then
4572 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir=.
4579 for ac_exec_ext in '' $ac_executable_extensions; do
4580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4581 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4592 if test -n "$BUILD_CXX"; then
4593 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4594 echo "${ECHO_T}$BUILD_CXX" >&6; }
4596 { echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6; }
4601 if test -z "$BUILD_CXX"; then
4602 # Extract the first word of "g++", so it can be a program name with args.
4603 set dummy g++; ac_word=$2
4604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4606 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 if test -n "$BUILD_CXX"; then
4610 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4619 ac_cv_prog_BUILD_CXX="g++"
4620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4630 if test -n "$BUILD_CXX"; then
4631 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4632 echo "${ECHO_T}$BUILD_CXX" >&6; }
4634 { echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6; }
4639 if test -z "$BUILD_CXX"; then
4640 # Extract the first word of "c++", so it can be a program name with args.
4641 set dummy c++; ac_word=$2
4642 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4644 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 if test -n "$BUILD_CXX"; then
4648 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir=.
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4658 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4659 ac_prog_rejected=yes
4662 ac_cv_prog_BUILD_CXX="c++"
4663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 if test $ac_prog_rejected = yes; then
4671 # We found a bogon in the path, so make sure we never use it.
4672 set dummy $ac_cv_prog_BUILD_CXX
4674 if test $# != 0; then
4675 # We chose a different compiler from the bogus one.
4676 # However, it has the same basename, so the bogon will be chosen
4677 # first if we set BUILD_CXX to just the basename; use the full file name.
4679 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4684 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4685 if test -n "$BUILD_CXX"; then
4686 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4687 echo "${ECHO_T}$BUILD_CXX" >&6; }
4689 { echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6; }
4697 LLVM_CROSS_COMPILING=0
4701 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn"; then
4712 # Check whether --enable-optimized was given.
4713 if test "${enable_optimized+set}" = set; then
4714 enableval=$enable_optimized;
4719 if test ${enableval} = "no" ; then
4723 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4727 # Check whether --enable-assertions was given.
4728 if test "${enable_assertions+set}" = set; then
4729 enableval=$enable_assertions;
4734 if test ${enableval} = "yes" ; then
4738 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4742 # Check whether --enable-expensive-checks was given.
4743 if test "${enable_expensive_checks+set}" = set; then
4744 enableval=$enable_expensive_checks;
4749 if test ${enableval} = "yes" ; then
4750 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4752 EXPENSIVE_CHECKS=yes
4755 ENABLE_EXPENSIVE_CHECKS=
4761 # Check whether --enable-debug-runtime was given.
4762 if test "${enable_debug_runtime+set}" = set; then
4763 enableval=$enable_debug_runtime;
4768 if test ${enableval} = "no" ; then
4772 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4776 # Check whether --enable-jit was given.
4777 if test "${enable_jit+set}" = set; then
4778 enableval=$enable_jit;
4783 if test ${enableval} = "no"
4788 case "$llvm_cv_target_arch" in
4789 x86) TARGET_HAS_JIT=1
4791 Sparc) TARGET_HAS_JIT=0
4793 PowerPC) TARGET_HAS_JIT=1
4795 x86_64) TARGET_HAS_JIT=1
4797 Alpha) TARGET_HAS_JIT=1
4799 IA64) TARGET_HAS_JIT=0
4801 ARM) TARGET_HAS_JIT=0
4803 Mips) TARGET_HAS_JIT=0
4805 PIC16) TARGET_HAS_JIT=0
4807 XCore) TARGET_HAS_JIT=0
4814 # Check whether --enable-doxygen was given.
4815 if test "${enable_doxygen+set}" = set; then
4816 enableval=$enable_doxygen;
4821 case "$enableval" in
4822 yes) ENABLE_DOXYGEN=1
4824 no) ENABLE_DOXYGEN=0
4826 default) ENABLE_DOXYGEN=0
4828 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4829 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4830 { (exit 1); exit 1; }; } ;;
4833 # Check whether --enable-threads was given.
4834 if test "${enable_threads+set}" = set; then
4835 enableval=$enable_threads;
4840 case "$enableval" in
4841 yes) ENABLE_THREADS=1
4843 no) ENABLE_THREADS=0
4845 default) ENABLE_THREADS=1
4847 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4848 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4849 { (exit 1); exit 1; }; } ;;
4852 cat >>confdefs.h <<_ACEOF
4853 #define ENABLE_THREADS $ENABLE_THREADS
4857 # Check whether --enable-pic was given.
4858 if test "${enable_pic+set}" = set; then
4859 enableval=$enable_pic;
4864 case "$enableval" in
4869 default) ENABLE_PIC=1
4871 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4872 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4873 { (exit 1); exit 1; }; } ;;
4876 cat >>confdefs.h <<_ACEOF
4877 #define ENABLE_PIC $ENABLE_PIC
4882 # Check whether --enable-targets was given.
4883 if test "${enable_targets+set}" = set; then
4884 enableval=$enable_targets;
4889 case "$enableval" in
4890 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM Mips CellSPU PIC16 XCore CBackend MSIL CppBackend" ;;
4892 case "$llvm_cv_target_arch" in
4893 x86) TARGETS_TO_BUILD="X86" ;;
4894 x86_64) TARGETS_TO_BUILD="X86" ;;
4895 Sparc) TARGETS_TO_BUILD="Sparc" ;;
4896 PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
4897 Alpha) TARGETS_TO_BUILD="Alpha" ;;
4898 IA64) TARGETS_TO_BUILD="IA64" ;;
4899 ARM) TARGETS_TO_BUILD="ARM" ;;
4900 Mips) TARGETS_TO_BUILD="Mips" ;;
4901 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU" ;;
4902 PIC16) TARGETS_TO_BUILD="PIC16" ;;
4903 XCore) TARGETS_TO_BUILD="XCore" ;;
4904 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
4905 echo "$as_me: error: Can not set target to build" >&2;}
4906 { (exit 1); exit 1; }; } ;;
4909 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4911 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4912 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4913 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
4914 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
4915 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
4916 ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
4917 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
4918 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
4919 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
4920 pic16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
4921 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
4922 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
4923 msil) TARGETS_TO_BUILD="MSIL $TARGETS_TO_BUILD" ;;
4924 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
4925 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
4926 echo "$as_me: error: Unrecognized target $a_target" >&2;}
4927 { (exit 1); exit 1; }; } ;;
4932 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
4935 # Check whether --enable-cbe-printf-a was given.
4936 if test "${enable_cbe_printf_a+set}" = set; then
4937 enableval=$enable_cbe_printf_a;
4942 case "$enableval" in
4943 yes) ENABLE_CBE_PRINTF_A=1
4945 no) ENABLE_CBE_PRINTF_A=0
4947 default) ENABLE_CBE_PRINTF_A=1
4949 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
4950 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
4951 { (exit 1); exit 1; }; } ;;
4954 cat >>confdefs.h <<_ACEOF
4955 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
4960 # Check whether --with-llvmgccdir was given.
4961 if test "${with_llvmgccdir+set}" = set; then
4962 withval=$with_llvmgccdir;
4968 default) WITH_LLVMGCCDIR=default ;;
4969 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
4970 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
4971 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
4972 { (exit 1); exit 1; }; } ;;
4976 # Check whether --with-llvmgcc was given.
4977 if test "${with_llvmgcc+set}" = set; then
4978 withval=$with_llvmgcc; LLVMGCC=$with_llvmgcc
4984 # Check whether --with-llvmgxx was given.
4985 if test "${with_llvmgxx+set}" = set; then
4986 withval=$with_llvmgxx; LLVMGXX=$with_llvmgxx
4991 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
4992 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
4993 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
4994 { (exit 1); exit 1; }; };
4997 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
4998 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
4999 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
5000 { (exit 1); exit 1; }; };
5004 # Check whether --with-extra-options was given.
5005 if test "${with_extra_options+set}" = set; then
5006 withval=$with_extra_options;
5012 default) EXTRA_OPTIONS= ;;
5013 *) EXTRA_OPTIONS=$withval ;;
5015 EXTRA_OPTIONS=$EXTRA_OPTIONS
5018 # Check whether --enable-bindings was given.
5019 if test "${enable_bindings+set}" = set; then
5020 enableval=$enable_bindings;
5025 BINDINGS_TO_BUILD=""
5026 case "$enableval" in
5027 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5028 all ) BINDINGS_TO_BUILD="ocaml" ;;
5029 none | no) BINDINGS_TO_BUILD="" ;;
5030 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5031 case "$a_binding" in
5032 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5033 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5034 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5035 { (exit 1); exit 1; }; } ;;
5042 # Check whether --with-ocaml-libdir was given.
5043 if test "${with_ocaml_libdir+set}" = set; then
5044 withval=$with_ocaml_libdir;
5050 auto) with_ocaml_libdir="$withval" ;;
5051 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5052 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5053 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5054 { (exit 1); exit 1; }; } ;;
5058 # Check whether --with-binutils-include was given.
5059 if test "${with_binutils_include+set}" = set; then
5060 withval=$with_binutils_include;
5066 default) WITH_BINUTILS_INCDIR=default ;;
5067 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5068 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5069 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5070 { (exit 1); exit 1; }; } ;;
5072 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5073 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5075 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5076 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5077 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5078 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5079 { (exit 1); exit 1; }; };
5085 ac_cpp='$CPP $CPPFLAGS'
5086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5089 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5090 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5091 # On Suns, sometimes $CPP names a directory.
5092 if test -n "$CPP" && test -d "$CPP"; then
5095 if test -z "$CPP"; then
5096 if test "${ac_cv_prog_CPP+set}" = set; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 # Double quotes because CPP needs to be expanded
5100 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5103 for ac_c_preproc_warn_flag in '' yes
5105 # Use a header file that comes with gcc, so configuring glibc
5106 # with a fresh cross-compiler works.
5107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5108 # <limits.h> exists even on freestanding compilers.
5109 # On the NeXT, cc -E runs the code through the compiler's parser,
5110 # not just through cpp. "Syntax error" is here to catch this case.
5111 cat >conftest.$ac_ext <<_ACEOF
5114 cat confdefs.h >>conftest.$ac_ext
5115 cat >>conftest.$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5118 # include <limits.h>
5120 # include <assert.h>
5124 if { (ac_try="$ac_cpp conftest.$ac_ext"
5126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5127 *) ac_try_echo
=$ac_try;;
5129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5132 grep -v '^ *+' conftest.er1
>conftest.err
5134 cat conftest.err
>&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } >/dev
/null
; then
5137 if test -s conftest.err
; then
5138 ac_cpp_err
=$ac_c_preproc_warn_flag
5139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5146 if test -z "$ac_cpp_err"; then
5149 echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.
$ac_ext >&5
5152 # Broken: fails on valid input.
5156 rm -f conftest.err conftest.
$ac_ext
5158 # OK, works on sane cases. Now check whether nonexistent headers
5159 # can be detected and how.
5160 cat >conftest.
$ac_ext <<_ACEOF
5163 cat confdefs.h
>>conftest.
$ac_ext
5164 cat >>conftest.
$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5166 #include <ac_nonexistent.h>
5168 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5176 grep -v '^ *+' conftest.er1 >conftest.err
5178 cat conftest.err >&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } >/dev/null; then
5181 if test -s conftest.err; then
5182 ac_cpp_err=$ac_c_preproc_warn_flag
5183 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5190 if test -z "$ac_cpp_err"; then
5191 # Broken: success on invalid input.
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 # Passes both tests.
5202 rm -f conftest.err conftest.$ac_ext
5205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5206 rm -f conftest.err conftest.
$ac_ext
5207 if $ac_preproc_ok; then
5219 { echo "$as_me:$LINENO: result: $CPP" >&5
5220 echo "${ECHO_T}$CPP" >&6; }
5222 for ac_c_preproc_warn_flag
in '' yes
5224 # Use a header file that comes with gcc, so configuring glibc
5225 # with a fresh cross-compiler works.
5226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5227 # <limits.h> exists even on freestanding compilers.
5228 # On the NeXT, cc -E runs the code through the compiler's parser,
5229 # not just through cpp. "Syntax error" is here to catch this case.
5230 cat >conftest.
$ac_ext <<_ACEOF
5233 cat confdefs.h
>>conftest.
$ac_ext
5234 cat >>conftest.
$ac_ext <<_ACEOF
5235 /* end confdefs.h. */
5237 # include <limits.h>
5239 # include <assert.h>
5243 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5246 *) ac_try_echo=$ac_try;;
5248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5251 grep -v '^ *+' conftest.er1 >conftest.err
5253 cat conftest.err >&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); } >/dev/null; then
5256 if test -s conftest.err; then
5257 ac_cpp_err=$ac_c_preproc_warn_flag
5258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5265 if test -z "$ac_cpp_err"; then
5268 echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.$ac_ext >&5
5271 # Broken: fails on valid input.
5275 rm -f conftest.err conftest.$ac_ext
5277 # OK, works on sane cases. Now check whether nonexistent headers
5278 # can be detected and how.
5279 cat >conftest.$ac_ext <<_ACEOF
5282 cat confdefs.h >>conftest.$ac_ext
5283 cat >>conftest.$ac_ext <<_ACEOF
5284 /* end confdefs.h. */
5285 #include <ac_nonexistent.h>
5287 if { (ac_try="$ac_cpp conftest.$ac_ext"
5289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5290 *) ac_try_echo
=$ac_try;;
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5295 grep -v '^ *+' conftest.er1
>conftest.err
5297 cat conftest.err
>&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); } >/dev
/null
; then
5300 if test -s conftest.err
; then
5301 ac_cpp_err
=$ac_c_preproc_warn_flag
5302 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5309 if test -z "$ac_cpp_err"; then
5310 # Broken: success on invalid input.
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.
$ac_ext >&5
5316 # Passes both tests.
5321 rm -f conftest.err conftest.
$ac_ext
5324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5325 rm -f conftest.err conftest.
$ac_ext
5326 if $ac_preproc_ok; then
5329 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5330 See \`config.log' for more details." >&5
5331 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5332 See \`config.log' for more details." >&2;}
5333 { (exit 1); exit 1; }; }
5337 ac_cpp
='$CPP $CPPFLAGS'
5338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5343 ac_cpp
='$CPP $CPPFLAGS'
5344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5347 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5351 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5354 if test "${ac_cv_prog_CC+set}" = set; then
5355 echo $ECHO_N "(cached) $ECHO_C" >&6
5357 if test -n "$CC"; then
5358 ac_cv_prog_CC
="$CC" # Let the user override the test.
5360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir
=.
5365 for ac_exec_ext
in '' $ac_executable_extensions; do
5366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5367 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 if test -n "$CC"; then
5379 { echo "$as_me:$LINENO: result: $CC" >&5
5380 echo "${ECHO_T}$CC" >&6; }
5382 { echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6; }
5387 test -n "$CC" && break
5390 if test -z "$CC"; then
5394 # Extract the first word of "$ac_prog", so it can be a program name with args.
5395 set dummy
$ac_prog; ac_word
=$2
5396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5398 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 if test -n "$ac_ct_CC"; then
5402 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_ac_ct_CC
="$ac_prog"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5422 if test -n "$ac_ct_CC"; then
5423 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5424 echo "${ECHO_T}$ac_ct_CC" >&6; }
5426 { echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6; }
5431 test -n "$ac_ct_CC" && break
5434 if test "x$ac_ct_CC" = x
; then
5437 case $cross_compiling:$ac_tool_warned in
5439 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5440 whose name does not start with the host triplet. If you think this
5441 configuration is useful to you, please write to autoconf@gnu.org." >&5
5442 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5443 whose name does not start with the host triplet. If you think this
5444 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5445 ac_tool_warned
=yes ;;
5452 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5453 See \`config.log' for more details." >&5
5454 echo "$as_me: error: no acceptable C compiler found in \$PATH
5455 See \`config.log' for more details." >&2;}
5456 { (exit 1); exit 1; }; }
5458 # Provide some information about the compiler.
5459 echo "$as_me:$LINENO: checking for C compiler version" >&5
5460 ac_compiler
=`set X $ac_compile; echo $2`
5461 { (ac_try
="$ac_compiler --version >&5"
5463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5464 *) ac_try_echo=$ac_try;;
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_compiler --version >&5") 2>&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); }
5471 { (ac_try="$ac_compiler -v >&5"
5473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5474 *) ac_try_echo
=$ac_try;;
5476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5477 (eval "$ac_compiler -v >&5") 2>&5
5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); }
5481 { (ac_try
="$ac_compiler -V >&5"
5483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5484 *) ac_try_echo=$ac_try;;
5486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5487 (eval "$ac_compiler -V >&5") 2>&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }
5492 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5493 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5494 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 cat >conftest.$ac_ext <<_ACEOF
5500 cat confdefs.h >>conftest.$ac_ext
5501 cat >>conftest.$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5515 rm -f conftest.$ac_objext
5516 if { (ac_try="$ac_compile"
5518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5519 *) ac_try_echo
=$ac_try;;
5521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5522 (eval "$ac_compile") 2>conftest.er1
5524 grep -v '^ *+' conftest.er1
>conftest.err
5526 cat conftest.err
>&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); } &&
5529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5530 { (case "(($ac_try" in
5531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5532 *) ac_try_echo=$ac_try;;
5534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5535 (eval "$ac_try") 2>&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); }; } &&
5539 { ac_try='test -s conftest.$ac_objext'
5540 { (case "(($ac_try" in
5541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5542 *) ac_try_echo
=$ac_try;;
5544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5545 (eval "$ac_try") 2>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); }; }; then
5551 echo "$as_me: failed program was:" >&5
5552 sed 's/^/| /' conftest.
$ac_ext >&5
5557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5558 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5561 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5563 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5564 ac_test_CFLAGS
=${CFLAGS+set}
5565 ac_save_CFLAGS
=$CFLAGS
5566 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5567 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5568 if test "${ac_cv_prog_cc_g+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 ac_save_c_werror_flag
=$ac_c_werror_flag
5572 ac_c_werror_flag
=yes
5575 cat >conftest.
$ac_ext <<_ACEOF
5578 cat confdefs.h
>>conftest.
$ac_ext
5579 cat >>conftest.
$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5590 rm -f conftest.
$ac_objext
5591 if { (ac_try
="$ac_compile"
5593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_compile") 2>conftest.er1
5599 grep -v '^ *+' conftest.er1 >conftest.err
5601 cat conftest.err >&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); } &&
5604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5605 { (case "(($ac_try" in
5606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5607 *) ac_try_echo
=$ac_try;;
5609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5610 (eval "$ac_try") 2>&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; } &&
5614 { ac_try
='test -s conftest.$ac_objext'
5615 { (case "(($ac_try" in
5616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5617 *) ac_try_echo=$ac_try;;
5619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5620 (eval "$ac_try") 2>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); }; }; then
5626 echo "$as_me: failed program was:" >&5
5627 sed 's/^/| /' conftest.$ac_ext >&5
5630 cat >conftest.$ac_ext <<_ACEOF
5633 cat confdefs.h >>conftest.$ac_ext
5634 cat >>conftest.$ac_ext <<_ACEOF
5635 /* end confdefs.h. */
5645 rm -f conftest.$ac_objext
5646 if { (ac_try="$ac_compile"
5648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5649 *) ac_try_echo
=$ac_try;;
5651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5652 (eval "$ac_compile") 2>conftest.er1
5654 grep -v '^ *+' conftest.er1
>conftest.err
5656 cat conftest.err
>&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); } &&
5659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5660 { (case "(($ac_try" in
5661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5665 (eval "$ac_try") 2>&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); }; } &&
5669 { ac_try='test -s conftest.$ac_objext'
5670 { (case "(($ac_try" in
5671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5672 *) ac_try_echo
=$ac_try;;
5674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5675 (eval "$ac_try") 2>&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; }; then
5681 echo "$as_me: failed program was:" >&5
5682 sed 's/^/| /' conftest.
$ac_ext >&5
5684 ac_c_werror_flag
=$ac_save_c_werror_flag
5686 cat >conftest.
$ac_ext <<_ACEOF
5689 cat confdefs.h
>>conftest.
$ac_ext
5690 cat >>conftest.
$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5701 rm -f conftest.
$ac_objext
5702 if { (ac_try
="$ac_compile"
5704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5705 *) ac_try_echo=$ac_try;;
5707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5708 (eval "$ac_compile") 2>conftest.er1
5710 grep -v '^ *+' conftest.er1 >conftest.err
5712 cat conftest.err >&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); } &&
5715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5716 { (case "(($ac_try" in
5717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5718 *) ac_try_echo
=$ac_try;;
5720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5721 (eval "$ac_try") 2>&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); }; } &&
5725 { ac_try
='test -s conftest.$ac_objext'
5726 { (case "(($ac_try" in
5727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5728 *) ac_try_echo=$ac_try;;
5730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5731 (eval "$ac_try") 2>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); }; }; then
5737 echo "$as_me: failed program was:" >&5
5738 sed 's/^/| /' conftest.$ac_ext >&5
5743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5750 ac_c_werror_flag=$ac_save_c_werror_flag
5752 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5753 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5754 if test "$ac_test_CFLAGS" = set; then
5755 CFLAGS=$ac_save_CFLAGS
5756 elif test $ac_cv_prog_cc_g = yes; then
5757 if test "$GCC" = yes; then
5763 if test "$GCC" = yes; then
5769 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5770 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5771 if test "${ac_cv_prog_cc_c89+set}" = set; then
5772 echo $ECHO_N "(cached) $ECHO_C" >&6
5774 ac_cv_prog_cc_c89=no
5776 cat >conftest.$ac_ext <<_ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5784 #include <sys/types.h>
5785 #include <sys/stat.h>
5786 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5787 struct buf { int x; };
5788 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5789 static char *e (p, i)
5795 static char *f (char * (*g) (char **, int), char **p, ...)
5800 s = g (p, va_arg (v,int));
5805 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5806 function prototypes and stuff, but not '\xHH' hex character constants.
5807 These don't provoke an error unfortunately, instead are silently treated
5808 as 'x'. The following induces an error, until -std is added to get
5809 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5810 array size at least. It's necessary to write '\x00'==0 to get something
5811 that's true only with -std. */
5812 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5814 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5815 inside strings and character constants. */
5817 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5819 int test (int i, double x);
5820 struct s1 {int (*f) (int a);};
5821 struct s2 {int (*f) (double a);};
5822 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5828 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5833 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5834 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5836 CC="$ac_save_CC $ac_arg"
5837 rm -f conftest.$ac_objext
5838 if { (ac_try="$ac_compile"
5840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5841 *) ac_try_echo
=$ac_try;;
5843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5844 (eval "$ac_compile") 2>conftest.er1
5846 grep -v '^ *+' conftest.er1
>conftest.err
5848 cat conftest.err
>&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); } &&
5851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5852 { (case "(($ac_try" in
5853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5854 *) ac_try_echo=$ac_try;;
5856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5857 (eval "$ac_try") 2>&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); }; } &&
5861 { ac_try='test -s conftest.$ac_objext'
5862 { (case "(($ac_try" in
5863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5864 *) ac_try_echo
=$ac_try;;
5866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5867 (eval "$ac_try") 2>&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; }; then
5871 ac_cv_prog_cc_c89
=$ac_arg
5873 echo "$as_me: failed program was:" >&5
5874 sed 's/^/| /' conftest.
$ac_ext >&5
5879 rm -f core conftest.err conftest.
$ac_objext
5880 test "x$ac_cv_prog_cc_c89" != "xno" && break
5882 rm -f conftest.
$ac_ext
5887 case "x$ac_cv_prog_cc_c89" in
5889 { echo "$as_me:$LINENO: result: none needed" >&5
5890 echo "${ECHO_T}none needed" >&6; } ;;
5892 { echo "$as_me:$LINENO: result: unsupported" >&5
5893 echo "${ECHO_T}unsupported" >&6; } ;;
5895 CC
="$CC $ac_cv_prog_cc_c89"
5896 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5897 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5902 ac_cpp
='$CPP $CPPFLAGS'
5903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5908 ac_cpp
='$CXXCPP $CPPFLAGS'
5909 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5910 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5911 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5912 if test -z "$CXX"; then
5913 if test -n "$CCC"; then
5916 if test -n "$ac_tool_prefix"; then
5919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5920 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5923 if test "${ac_cv_prog_CXX+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 if test -n "$CXX"; then
5927 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir
=.
5934 for ac_exec_ext
in '' $ac_executable_extensions; do
5935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5936 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 if test -n "$CXX"; then
5948 { echo "$as_me:$LINENO: result: $CXX" >&5
5949 echo "${ECHO_T}$CXX" >&6; }
5951 { echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6; }
5956 test -n "$CXX" && break
5959 if test -z "$CXX"; then
5963 # Extract the first word of "$ac_prog", so it can be a program name with args.
5964 set dummy
$ac_prog; ac_word
=$2
5965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5967 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5968 echo $ECHO_N "(cached) $ECHO_C" >&6
5970 if test -n "$ac_ct_CXX"; then
5971 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir
=.
5978 for ac_exec_ext
in '' $ac_executable_extensions; do
5979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5980 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5991 if test -n "$ac_ct_CXX"; then
5992 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5993 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5995 { echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6; }
6000 test -n "$ac_ct_CXX" && break
6003 if test "x$ac_ct_CXX" = x
; then
6006 case $cross_compiling:$ac_tool_warned in
6008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6009 whose name does not start with the host triplet. If you think this
6010 configuration is useful to you, please write to autoconf@gnu.org." >&5
6011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6012 whose name does not start with the host triplet. If you think this
6013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6014 ac_tool_warned
=yes ;;
6022 # Provide some information about the compiler.
6023 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6024 ac_compiler
=`set X $ac_compile; echo $2`
6025 { (ac_try
="$ac_compiler --version >&5"
6027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6028 *) ac_try_echo=$ac_try;;
6030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6031 (eval "$ac_compiler --version >&5") 2>&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }
6035 { (ac_try="$ac_compiler -v >&5"
6037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6038 *) ac_try_echo
=$ac_try;;
6040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6041 (eval "$ac_compiler -v >&5") 2>&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); }
6045 { (ac_try
="$ac_compiler -V >&5"
6047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6048 *) ac_try_echo=$ac_try;;
6050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6051 (eval "$ac_compiler -V >&5") 2>&5
6053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); }
6056 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6057 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6058 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6059 echo $ECHO_N "(cached) $ECHO_C" >&6
6061 cat >conftest.$ac_ext <<_ACEOF
6064 cat confdefs.h >>conftest.$ac_ext
6065 cat >>conftest.$ac_ext <<_ACEOF
6066 /* end confdefs.h. */
6079 rm -f conftest.$ac_objext
6080 if { (ac_try="$ac_compile"
6082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6083 *) ac_try_echo
=$ac_try;;
6085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6086 (eval "$ac_compile") 2>conftest.er1
6088 grep -v '^ *+' conftest.er1
>conftest.err
6090 cat conftest.err
>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6094 { (case "(($ac_try" in
6095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6096 *) ac_try_echo=$ac_try;;
6098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6099 (eval "$ac_try") 2>&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; } &&
6103 { ac_try='test -s conftest.$ac_objext'
6104 { (case "(($ac_try" in
6105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6106 *) ac_try_echo
=$ac_try;;
6108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6109 (eval "$ac_try") 2>&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; }; then
6115 echo "$as_me: failed program was:" >&5
6116 sed 's/^/| /' conftest.
$ac_ext >&5
6121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6125 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6126 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6127 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6128 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6129 ac_save_CXXFLAGS
=$CXXFLAGS
6130 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6131 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6132 if test "${ac_cv_prog_cxx_g+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6136 ac_cxx_werror_flag
=yes
6139 cat >conftest.
$ac_ext <<_ACEOF
6142 cat confdefs.h
>>conftest.
$ac_ext
6143 cat >>conftest.
$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6154 rm -f conftest.
$ac_objext
6155 if { (ac_try
="$ac_compile"
6157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6158 *) ac_try_echo=$ac_try;;
6160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6161 (eval "$ac_compile") 2>conftest.er1
6163 grep -v '^ *+' conftest.er1 >conftest.err
6165 cat conftest.err >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6169 { (case "(($ac_try" in
6170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6171 *) ac_try_echo
=$ac_try;;
6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6174 (eval "$ac_try") 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; } &&
6178 { ac_try
='test -s conftest.$ac_objext'
6179 { (case "(($ac_try" in
6180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6181 *) ac_try_echo=$ac_try;;
6183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6184 (eval "$ac_try") 2>&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; }; then
6188 ac_cv_prog_cxx_g=yes
6190 echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.$ac_ext >&5
6194 cat >conftest.$ac_ext <<_ACEOF
6197 cat confdefs.h >>conftest.$ac_ext
6198 cat >>conftest.$ac_ext <<_ACEOF
6199 /* end confdefs.h. */
6209 rm -f conftest.$ac_objext
6210 if { (ac_try="$ac_compile"
6212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6213 *) ac_try_echo
=$ac_try;;
6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6216 (eval "$ac_compile") 2>conftest.er1
6218 grep -v '^ *+' conftest.er1
>conftest.err
6220 cat conftest.err
>&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } &&
6223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6224 { (case "(($ac_try" in
6225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6226 *) ac_try_echo=$ac_try;;
6228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6229 (eval "$ac_try") 2>&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); }; } &&
6233 { ac_try='test -s conftest.$ac_objext'
6234 { (case "(($ac_try" in
6235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6236 *) ac_try_echo
=$ac_try;;
6238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6239 (eval "$ac_try") 2>&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; }; then
6245 echo "$as_me: failed program was:" >&5
6246 sed 's/^/| /' conftest.
$ac_ext >&5
6248 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6250 cat >conftest.
$ac_ext <<_ACEOF
6253 cat confdefs.h
>>conftest.
$ac_ext
6254 cat >>conftest.
$ac_ext <<_ACEOF
6255 /* end confdefs.h. */
6265 rm -f conftest.
$ac_objext
6266 if { (ac_try
="$ac_compile"
6268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6269 *) ac_try_echo=$ac_try;;
6271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6272 (eval "$ac_compile") 2>conftest.er1
6274 grep -v '^ *+' conftest.er1 >conftest.err
6276 cat conftest.err >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); } &&
6279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6280 { (case "(($ac_try" in
6281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6282 *) ac_try_echo
=$ac_try;;
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_try") 2>&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); }; } &&
6289 { ac_try
='test -s conftest.$ac_objext'
6290 { (case "(($ac_try" in
6291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6292 *) ac_try_echo=$ac_try;;
6294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6295 (eval "$ac_try") 2>&5
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); }; }; then
6299 ac_cv_prog_cxx_g=yes
6301 echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.$ac_ext >&5
6307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6314 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6316 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6317 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6318 if test "$ac_test_CXXFLAGS" = set; then
6319 CXXFLAGS=$ac_save_CXXFLAGS
6320 elif test $ac_cv_prog_cxx_g = yes; then
6321 if test "$GXX" = yes; then
6327 if test "$GXX" = yes; then
6334 ac_cpp='$CPP $CPPFLAGS'
6335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6340 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6341 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6342 if test "${lt_cv_path_NM+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 if test -n "$NM"; then
6346 # Let the user override the test.
6349 lt_nm_to_check="${ac_tool_prefix}nm"
6350 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6351 lt_nm_to_check="$lt_nm_to_check nm"
6353 for lt_tmp_nm in $lt_nm_to_check; do
6354 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6355 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6357 test -z "$ac_dir" && ac_dir=.
6358 tmp_nm="$ac_dir/$lt_tmp_nm"
6359 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6360 # Check to see if the nm accepts a BSD-compat flag.
6361 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6362 # nm: unknown option "B" ignored
6363 # Tru64's nm complains that
/dev
/null is an invalid object
file
6364 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6365 */dev
/null
* |
*'Invalid file or object type'*)
6366 lt_cv_path_NM
="$tmp_nm -B"
6370 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6372 lt_cv_path_NM
="$tmp_nm -p"
6376 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6377 continue # so that we can try to find one that supports BSD flags
6386 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6389 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6390 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6395 { echo "$as_me:$LINENO: checking for GNU make" >&5
6396 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6397 if test "${llvm_cv_gnu_make_command+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 llvm_cv_gnu_make_command
=''
6401 for a
in "$MAKE" make gmake gnumake
; do
6402 if test -z "$a" ; then continue ; fi ;
6403 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6405 llvm_cv_gnu_make_command
=$a ;
6410 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6411 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6412 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6416 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6417 echo "${ECHO_T}\"Not found\"" >&6; };
6421 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6422 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6424 if test "$LN_S" = "ln -s"; then
6425 { echo "$as_me:$LINENO: result: yes" >&5
6426 echo "${ECHO_T}yes" >&6; }
6428 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6429 echo "${ECHO_T}no, using $LN_S" >&6; }
6432 # Extract the first word of "cmp", so it can be a program name with args.
6433 set dummy
cmp; ac_word
=$2
6434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6436 if test "${ac_cv_path_CMP+set}" = set; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6441 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir
=.
6449 for ac_exec_ext
in '' $ac_executable_extensions; do
6450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6451 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6464 if test -n "$CMP"; then
6465 { echo "$as_me:$LINENO: result: $CMP" >&5
6466 echo "${ECHO_T}$CMP" >&6; }
6468 { echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6; }
6473 # Extract the first word of "cp", so it can be a program name with args.
6474 set dummy
cp; ac_word
=$2
6475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6477 if test "${ac_cv_path_CP+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6489 test -z "$as_dir" && as_dir
=.
6490 for ac_exec_ext
in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6505 if test -n "$CP"; then
6506 { echo "$as_me:$LINENO: result: $CP" >&5
6507 echo "${ECHO_T}$CP" >&6; }
6509 { echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6; }
6514 # Extract the first word of "date", so it can be a program name with args.
6515 set dummy
date; ac_word
=$2
6516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6518 if test "${ac_cv_path_DATE+set}" = set; then
6519 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6530 test -z "$as_dir" && as_dir
=.
6531 for ac_exec_ext
in '' $ac_executable_extensions; do
6532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6533 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6545 DATE
=$ac_cv_path_DATE
6546 if test -n "$DATE"; then
6547 { echo "$as_me:$LINENO: result: $DATE" >&5
6548 echo "${ECHO_T}$DATE" >&6; }
6550 { echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6; }
6555 # Extract the first word of "find", so it can be a program name with args.
6556 set dummy
find; ac_word
=$2
6557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6559 if test "${ac_cv_path_FIND+set}" = set; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6571 test -z "$as_dir" && as_dir
=.
6572 for ac_exec_ext
in '' $ac_executable_extensions; do
6573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6574 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6582 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6586 FIND
=$ac_cv_path_FIND
6587 if test -n "$FIND"; then
6588 { echo "$as_me:$LINENO: result: $FIND" >&5
6589 echo "${ECHO_T}$FIND" >&6; }
6591 { echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6; }
6596 # Extract the first word of "grep", so it can be a program name with args.
6597 set dummy
grep; ac_word
=$2
6598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6600 if test "${ac_cv_path_GREP+set}" = set; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6605 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6612 test -z "$as_dir" && as_dir
=.
6613 for ac_exec_ext
in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6623 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6627 GREP
=$ac_cv_path_GREP
6628 if test -n "$GREP"; then
6629 { echo "$as_me:$LINENO: result: $GREP" >&5
6630 echo "${ECHO_T}$GREP" >&6; }
6632 { echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6; }
6637 # Extract the first word of "mkdir", so it can be a program name with args.
6638 set dummy mkdir
; ac_word
=$2
6639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6641 if test "${ac_cv_path_MKDIR+set}" = set; then
6642 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir
=.
6654 for ac_exec_ext
in '' $ac_executable_extensions; do
6655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6656 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6668 MKDIR
=$ac_cv_path_MKDIR
6669 if test -n "$MKDIR"; then
6670 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6671 echo "${ECHO_T}$MKDIR" >&6; }
6673 { echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6; }
6678 # Extract the first word of "mv", so it can be a program name with args.
6679 set dummy
mv; ac_word
=$2
6680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6682 if test "${ac_cv_path_MV+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6687 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6694 test -z "$as_dir" && as_dir
=.
6695 for ac_exec_ext
in '' $ac_executable_extensions; do
6696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6697 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6710 if test -n "$MV"; then
6711 { echo "$as_me:$LINENO: result: $MV" >&5
6712 echo "${ECHO_T}$MV" >&6; }
6714 { echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6; }
6719 if test -n "$ac_tool_prefix"; then
6720 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6721 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6724 if test "${ac_cv_prog_RANLIB+set}" = set; then
6725 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 if test -n "$RANLIB"; then
6728 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6734 test -z "$as_dir" && as_dir
=.
6735 for ac_exec_ext
in '' $ac_executable_extensions; do
6736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6737 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6747 RANLIB
=$ac_cv_prog_RANLIB
6748 if test -n "$RANLIB"; then
6749 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6750 echo "${ECHO_T}$RANLIB" >&6; }
6752 { echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6; }
6758 if test -z "$ac_cv_prog_RANLIB"; then
6759 ac_ct_RANLIB
=$RANLIB
6760 # Extract the first word of "ranlib", so it can be a program name with args.
6761 set dummy ranlib
; ac_word
=$2
6762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6764 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6765 echo $ECHO_N "(cached) $ECHO_C" >&6
6767 if test -n "$ac_ct_RANLIB"; then
6768 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6774 test -z "$as_dir" && as_dir
=.
6775 for ac_exec_ext
in '' $ac_executable_extensions; do
6776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6777 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6787 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6788 if test -n "$ac_ct_RANLIB"; then
6789 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6790 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6792 { echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6; }
6796 if test "x$ac_ct_RANLIB" = x
; then
6799 case $cross_compiling:$ac_tool_warned in
6801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6802 whose name does not start with the host triplet. If you think this
6803 configuration is useful to you, please write to autoconf@gnu.org." >&5
6804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6805 whose name does not start with the host triplet. If you think this
6806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6807 ac_tool_warned
=yes ;;
6809 RANLIB
=$ac_ct_RANLIB
6812 RANLIB
="$ac_cv_prog_RANLIB"
6815 # Extract the first word of "rm", so it can be a program name with args.
6816 set dummy
rm; ac_word
=$2
6817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6819 if test "${ac_cv_path_RM+set}" = set; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6824 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir
=.
6832 for ac_exec_ext
in '' $ac_executable_extensions; do
6833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6834 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6847 if test -n "$RM"; then
6848 { echo "$as_me:$LINENO: result: $RM" >&5
6849 echo "${ECHO_T}$RM" >&6; }
6851 { echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6; }
6856 # Extract the first word of "sed", so it can be a program name with args.
6857 set dummy
sed; ac_word
=$2
6858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6860 if test "${ac_cv_path_SED+set}" = set; then
6861 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
6868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir
=.
6873 for ac_exec_ext
in '' $ac_executable_extensions; do
6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6875 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
6876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
6888 if test -n "$SED"; then
6889 { echo "$as_me:$LINENO: result: $SED" >&5
6890 echo "${ECHO_T}$SED" >&6; }
6892 { echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6; }
6897 # Extract the first word of "tar", so it can be a program name with args.
6898 set dummy
tar; ac_word
=$2
6899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6901 if test "${ac_cv_path_TAR+set}" = set; then
6902 echo $ECHO_N "(cached) $ECHO_C" >&6
6906 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
6909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6913 test -z "$as_dir" && as_dir
=.
6914 for ac_exec_ext
in '' $ac_executable_extensions; do
6915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6916 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
6917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6924 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
6929 if test -n "$TAR"; then
6930 { echo "$as_me:$LINENO: result: $TAR" >&5
6931 echo "${ECHO_T}$TAR" >&6; }
6933 { echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6; }
6938 # Extract the first word of "pwd", so it can be a program name with args.
6939 set dummy
pwd; ac_word
=$2
6940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6942 if test "${ac_cv_path_BINPWD+set}" = set; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6947 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
6950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6954 test -z "$as_dir" && as_dir
=.
6955 for ac_exec_ext
in '' $ac_executable_extensions; do
6956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6957 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
6958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
6969 BINPWD
=$ac_cv_path_BINPWD
6970 if test -n "$BINPWD"; then
6971 { echo "$as_me:$LINENO: result: $BINPWD" >&5
6972 echo "${ECHO_T}$BINPWD" >&6; }
6974 { echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6; }
6980 # Extract the first word of "Graphviz", so it can be a program name with args.
6981 set dummy Graphviz
; ac_word
=$2
6982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6984 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
6992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir
=.
6997 for ac_exec_ext
in '' $ac_executable_extensions; do
6998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6999 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7011 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7012 if test -n "$GRAPHVIZ"; then
7013 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7014 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7016 { echo "$as_me:$LINENO: result: no" >&5
7017 echo "${ECHO_T}no" >&6; }
7021 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7023 cat >>confdefs.h
<<\_ACEOF
7024 #define HAVE_GRAPHVIZ 1
7027 if test "$llvm_cv_os_type" = "MingW" ; then
7028 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7031 cat >>confdefs.h
<<_ACEOF
7032 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7036 # Extract the first word of "dot", so it can be a program name with args.
7037 set dummy dot
; ac_word
=$2
7038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7040 if test "${ac_cv_path_DOT+set}" = set; then
7041 echo $ECHO_N "(cached) $ECHO_C" >&6
7045 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7052 test -z "$as_dir" && as_dir
=.
7053 for ac_exec_ext
in '' $ac_executable_extensions; do
7054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7055 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7063 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7068 if test -n "$DOT"; then
7069 { echo "$as_me:$LINENO: result: $DOT" >&5
7070 echo "${ECHO_T}$DOT" >&6; }
7072 { echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6; }
7077 if test "$DOT" != "echo dot" ; then
7079 cat >>confdefs.h
<<\_ACEOF
7083 if test "$llvm_cv_os_type" = "MingW" ; then
7084 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7087 cat >>confdefs.h
<<_ACEOF
7088 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7092 for ac_prog
in gv gsview32
7094 # Extract the first word of "$ac_prog", so it can be a program name with args.
7095 set dummy
$ac_prog; ac_word
=$2
7096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7098 if test "${ac_cv_path_GV+set}" = set; then
7099 echo $ECHO_N "(cached) $ECHO_C" >&6
7103 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir
=.
7111 for ac_exec_ext
in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7125 if test -n "$GV"; then
7126 { echo "$as_me:$LINENO: result: $GV" >&5
7127 echo "${ECHO_T}$GV" >&6; }
7129 { echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6; }
7134 test -n "$GV" && break
7136 test -n "$GV" || GV
="echo gv"
7138 if test "$GV" != "echo gv" ; then
7140 cat >>confdefs.h
<<\_ACEOF
7144 if test "$llvm_cv_os_type" = "MingW" ; then
7145 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7148 cat >>confdefs.h
<<_ACEOF
7149 #define LLVM_PATH_GV "$GV${EXEEXT}"
7153 # Extract the first word of "dotty", so it can be a program name with args.
7154 set dummy dotty
; ac_word
=$2
7155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7157 if test "${ac_cv_path_DOTTY+set}" = set; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir
=.
7170 for ac_exec_ext
in '' $ac_executable_extensions; do
7171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7172 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7180 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7184 DOTTY
=$ac_cv_path_DOTTY
7185 if test -n "$DOTTY"; then
7186 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7187 echo "${ECHO_T}$DOTTY" >&6; }
7189 { echo "$as_me:$LINENO: result: no" >&5
7190 echo "${ECHO_T}no" >&6; }
7194 if test "$DOTTY" != "echo dotty" ; then
7196 cat >>confdefs.h
<<\_ACEOF
7197 #define HAVE_DOTTY 1
7200 if test "$llvm_cv_os_type" = "MingW" ; then
7201 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7204 cat >>confdefs.h
<<_ACEOF
7205 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7211 # Extract the first word of "perl", so it can be a program name with args.
7212 set dummy perl
; ac_word
=$2
7213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7215 if test "${ac_cv_path_PERL+set}" = set; then
7216 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir
=.
7228 for ac_exec_ext
in '' $ac_executable_extensions; do
7229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7230 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7238 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7242 PERL
=$ac_cv_path_PERL
7243 if test -n "$PERL"; then
7244 { echo "$as_me:$LINENO: result: $PERL" >&5
7245 echo "${ECHO_T}$PERL" >&6; }
7247 { echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6; }
7252 if test "$PERL" != "none"; then
7253 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7254 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7255 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7256 { echo "$as_me:$LINENO: result: yes" >&5
7257 echo "${ECHO_T}yes" >&6; }
7260 { echo "$as_me:$LINENO: result: not found" >&5
7261 echo "${ECHO_T}not found" >&6; }
7266 if test x
"$PERL" = xnone
; then
7269 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7270 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7271 { (exit 1); exit 1; }; }
7277 # Find a good install program. We prefer a C program (faster),
7278 # so one script is as good as another. But avoid the broken or
7279 # incompatible versions:
7280 # SysV /etc/install, /usr/sbin/install
7281 # SunOS /usr/etc/install
7282 # IRIX /sbin/install
7284 # AmigaOS /C/install, which installs bootblocks on floppy discs
7285 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7286 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7287 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7288 # OS/2's system install, which has a completely different semantic
7289 # ./install, which can be erroneously created by make from ./install.sh.
7290 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7291 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7292 if test -z "$INSTALL"; then
7293 if test "${ac_cv_path_install+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7300 test -z "$as_dir" && as_dir
=.
7301 # Account for people who put trailing slashes in PATH elements.
7303 .
/ | .
// |
/cC
/* | \
7304 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7305 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7308 # OSF1 and SCO ODT 3.0 have their own names for install.
7309 # Don't use installbsd from OSF since it installs stuff as root
7311 for ac_prog
in ginstall scoinst
install; do
7312 for ac_exec_ext
in '' $ac_executable_extensions; do
7313 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7314 if test $ac_prog = install &&
7315 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7316 # AIX install. It has an incompatible calling convention.
7318 elif test $ac_prog = install &&
7319 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7320 # program-specific install script used by HP pwplus--don't use.
7323 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7336 if test "${ac_cv_path_install+set}" = set; then
7337 INSTALL
=$ac_cv_path_install
7339 # As a last resort, use the slow shell script. Don't cache a
7340 # value for INSTALL within a source directory, because that will
7341 # break other packages using the cache if that directory is
7342 # removed, or if the value is a relative name.
7343 INSTALL
=$ac_install_sh
7346 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7347 echo "${ECHO_T}$INSTALL" >&6; }
7349 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7350 # It thinks the first close brace ends the variable substitution.
7351 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7353 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7355 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7358 # Extract the first word of "bzip2", so it can be a program name with args.
7359 set dummy
bzip2; ac_word
=$2
7360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7362 if test "${ac_cv_path_BZIP2+set}" = set; then
7363 echo $ECHO_N "(cached) $ECHO_C" >&6
7367 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir
=.
7375 for ac_exec_ext
in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 BZIP2
=$ac_cv_path_BZIP2
7389 if test -n "$BZIP2"; then
7390 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7391 echo "${ECHO_T}$BZIP2" >&6; }
7393 { echo "$as_me:$LINENO: result: no" >&5
7394 echo "${ECHO_T}no" >&6; }
7398 # Extract the first word of "doxygen", so it can be a program name with args.
7399 set dummy doxygen
; ac_word
=$2
7400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7402 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7403 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7414 test -z "$as_dir" && as_dir
=.
7415 for ac_exec_ext
in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 DOXYGEN
=$ac_cv_path_DOXYGEN
7429 if test -n "$DOXYGEN"; then
7430 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7431 echo "${ECHO_T}$DOXYGEN" >&6; }
7433 { echo "$as_me:$LINENO: result: no" >&5
7434 echo "${ECHO_T}no" >&6; }
7438 # Extract the first word of "groff", so it can be a program name with args.
7439 set dummy
groff; ac_word
=$2
7440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7442 if test "${ac_cv_path_GROFF+set}" = set; then
7443 echo $ECHO_N "(cached) $ECHO_C" >&6
7447 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7454 test -z "$as_dir" && as_dir
=.
7455 for ac_exec_ext
in '' $ac_executable_extensions; do
7456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7457 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 GROFF
=$ac_cv_path_GROFF
7469 if test -n "$GROFF"; then
7470 { echo "$as_me:$LINENO: result: $GROFF" >&5
7471 echo "${ECHO_T}$GROFF" >&6; }
7473 { echo "$as_me:$LINENO: result: no" >&5
7474 echo "${ECHO_T}no" >&6; }
7478 # Extract the first word of "gzip", so it can be a program name with args.
7479 set dummy
gzip; ac_word
=$2
7480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7482 if test "${ac_cv_path_GZIP+set}" = set; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir
=.
7495 for ac_exec_ext
in '' $ac_executable_extensions; do
7496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7497 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 GZIP
=$ac_cv_path_GZIP
7509 if test -n "$GZIP"; then
7510 { echo "$as_me:$LINENO: result: $GZIP" >&5
7511 echo "${ECHO_T}$GZIP" >&6; }
7513 { echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6; }
7518 # Extract the first word of "pod2html", so it can be a program name with args.
7519 set dummy pod2html
; ac_word
=$2
7520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7522 if test "${ac_cv_path_POD2HTML+set}" = set; then
7523 echo $ECHO_N "(cached) $ECHO_C" >&6
7527 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7534 test -z "$as_dir" && as_dir
=.
7535 for ac_exec_ext
in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 POD2HTML
=$ac_cv_path_POD2HTML
7549 if test -n "$POD2HTML"; then
7550 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7551 echo "${ECHO_T}$POD2HTML" >&6; }
7553 { echo "$as_me:$LINENO: result: no" >&5
7554 echo "${ECHO_T}no" >&6; }
7558 # Extract the first word of "pod2man", so it can be a program name with args.
7559 set dummy pod2man
; ac_word
=$2
7560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7562 if test "${ac_cv_path_POD2MAN+set}" = set; then
7563 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7574 test -z "$as_dir" && as_dir
=.
7575 for ac_exec_ext
in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7588 POD2MAN
=$ac_cv_path_POD2MAN
7589 if test -n "$POD2MAN"; then
7590 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7591 echo "${ECHO_T}$POD2MAN" >&6; }
7593 { echo "$as_me:$LINENO: result: no" >&5
7594 echo "${ECHO_T}no" >&6; }
7598 # Extract the first word of "runtest", so it can be a program name with args.
7599 set dummy runtest
; ac_word
=$2
7600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7602 if test "${ac_cv_path_RUNTEST+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7614 test -z "$as_dir" && as_dir
=.
7615 for ac_exec_ext
in '' $ac_executable_extensions; do
7616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7628 RUNTEST
=$ac_cv_path_RUNTEST
7629 if test -n "$RUNTEST"; then
7630 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7631 echo "${ECHO_T}$RUNTEST" >&6; }
7633 { echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6; }
7640 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7641 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7643 # Check whether --with-tclinclude was given.
7644 if test "${with_tclinclude+set}" = set; then
7645 withval
=$with_tclinclude; with_tclinclude
=${withval}
7650 if test "${ac_cv_path_tclsh+set}" = set; then
7651 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 if test x
"${with_tclinclude}" != x
; then
7655 if test -f ${with_tclinclude}/tclsh
; then
7656 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7657 elif test -f ${with_tclinclude}/src
/tclsh
; then
7658 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7660 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7661 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7662 { (exit 1); exit 1; }; }
7666 if test x
"${ac_cv_path_tclsh}" = x
; then
7667 { echo "$as_me:$LINENO: result: none" >&5
7668 echo "${ECHO_T}none" >&6; }
7669 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
7671 # Extract the first word of "$ac_prog", so it can be a program name with args.
7672 set dummy
$ac_prog; ac_word
=$2
7673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7675 if test "${ac_cv_path_TCLSH+set}" = set; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7680 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7687 test -z "$as_dir" && as_dir
=.
7688 for ac_exec_ext
in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 TCLSH
=$ac_cv_path_TCLSH
7702 if test -n "$TCLSH"; then
7703 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7704 echo "${ECHO_T}$TCLSH" >&6; }
7706 { echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6; }
7711 test -n "$TCLSH" && break
7714 if test x
"${TCLSH}" = x
; then
7715 ac_cv_path_tclsh
='';
7717 ac_cv_path_tclsh
="${TCLSH}";
7720 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7721 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7722 TCLSH="${ac_cv_path_tclsh}"
7728 # Extract the first word of "zip", so it can be a program name with args.
7729 set dummy zip; ac_word=$2
7730 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7731 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7732 if test "${ac_cv_path_ZIP+set}" = set; then
7733 echo $ECHO_N "(cached
) $ECHO_C" >&6
7737 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7747 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7748 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7759 if test -n "$ZIP"; then
7760 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7761 echo "${ECHO_T}$ZIP" >&6; }
7763 { echo "$as_me:$LINENO: result
: no
" >&5
7764 echo "${ECHO_T}no
" >&6; }
7768 for ac_prog in ocamlc
7770 # Extract the first word of "$ac_prog", so it can be a program name with args.
7771 set dummy $ac_prog; ac_word=$2
7772 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7773 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7774 if test "${ac_cv_path_OCAMLC+set}" = set; then
7775 echo $ECHO_N "(cached
) $ECHO_C" >&6
7779 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7786 test -z "$as_dir" && as_dir=.
7787 for ac_exec_ext in '' $ac_executable_extensions; do
7788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7789 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7790 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7800 OCAMLC=$ac_cv_path_OCAMLC
7801 if test -n "$OCAMLC"; then
7802 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
7803 echo "${ECHO_T}$OCAMLC" >&6; }
7805 { echo "$as_me:$LINENO: result
: no
" >&5
7806 echo "${ECHO_T}no
" >&6; }
7810 test -n "$OCAMLC" && break
7813 for ac_prog in ocamlopt
7815 # Extract the first word of "$ac_prog", so it can be a program name with args.
7816 set dummy $ac_prog; ac_word=$2
7817 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7818 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7819 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
7820 echo $ECHO_N "(cached
) $ECHO_C" >&6
7824 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7834 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
7835 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7845 OCAMLOPT=$ac_cv_path_OCAMLOPT
7846 if test -n "$OCAMLOPT"; then
7847 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
7848 echo "${ECHO_T}$OCAMLOPT" >&6; }
7850 { echo "$as_me:$LINENO: result
: no
" >&5
7851 echo "${ECHO_T}no
" >&6; }
7855 test -n "$OCAMLOPT" && break
7858 for ac_prog in ocamldep
7860 # Extract the first word of "$ac_prog", so it can be a program name with args.
7861 set dummy $ac_prog; ac_word=$2
7862 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7863 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7864 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
7865 echo $ECHO_N "(cached
) $ECHO_C" >&6
7869 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7879 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
7880 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7890 OCAMLDEP=$ac_cv_path_OCAMLDEP
7891 if test -n "$OCAMLDEP"; then
7892 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
7893 echo "${ECHO_T}$OCAMLDEP" >&6; }
7895 { echo "$as_me:$LINENO: result
: no
" >&5
7896 echo "${ECHO_T}no
" >&6; }
7900 test -n "$OCAMLDEP" && break
7903 for ac_prog in ocamldoc
7905 # Extract the first word of "$ac_prog", so it can be a program name with args.
7906 set dummy $ac_prog; ac_word=$2
7907 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7908 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7909 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
7910 echo $ECHO_N "(cached
) $ECHO_C" >&6
7914 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
7917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 test -z "$as_dir" && as_dir=.
7922 for ac_exec_ext in '' $ac_executable_extensions; do
7923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7924 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
7925 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7935 OCAMLDOC=$ac_cv_path_OCAMLDOC
7936 if test -n "$OCAMLDOC"; then
7937 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
7938 echo "${ECHO_T}$OCAMLDOC" >&6; }
7940 { echo "$as_me:$LINENO: result
: no
" >&5
7941 echo "${ECHO_T}no
" >&6; }
7945 test -n "$OCAMLDOC" && break
7948 for ac_prog in gas as
7950 # Extract the first word of "$ac_prog", so it can be a program name with args.
7951 set dummy $ac_prog; ac_word=$2
7952 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7953 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7954 if test "${ac_cv_path_GAS+set}" = set; then
7955 echo $ECHO_N "(cached
) $ECHO_C" >&6
7959 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7969 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
7970 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7981 if test -n "$GAS"; then
7982 { echo "$as_me:$LINENO: result
: $GAS" >&5
7983 echo "${ECHO_T}$GAS" >&6; }
7985 { echo "$as_me:$LINENO: result
: no
" >&5
7986 echo "${ECHO_T}no
" >&6; }
7990 test -n "$GAS" && break
7994 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
7995 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
7996 if test "${llvm_cv_link_use_r+set}" = set; then
7997 echo $ECHO_N "(cached
) $ECHO_C" >&6
8000 ac_cpp='$CPP $CPPFLAGS'
8001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8006 CFLAGS="$CFLAGS -Wl,-R.
"
8007 cat >conftest.$ac_ext <<_ACEOF
8010 cat confdefs.h >>conftest.$ac_ext
8011 cat >>conftest.$ac_ext <<_ACEOF
8012 /* end confdefs.h. */
8017 int main() { return 0; }
8022 rm -f conftest.$ac_objext conftest$ac_exeext
8023 if { (ac_try="$ac_link"
8025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8026 *) ac_try_echo=$ac_try;;
8028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8029 (eval "$ac_link") 2>conftest.er1
8031 grep -v '^ *+' conftest.er1 >conftest.err
8033 cat conftest.err >&5
8034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8035 (exit $ac_status); } &&
8036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8037 { (case "(($ac_try" in
8038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8039 *) ac_try_echo=$ac_try;;
8041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8042 (eval "$ac_try") 2>&5
8044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8045 (exit $ac_status); }; } &&
8046 { ac_try='test -s conftest$ac_exeext'
8047 { (case "(($ac_try" in
8048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8049 *) ac_try_echo=$ac_try;;
8051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8052 (eval "$ac_try") 2>&5
8054 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8055 (exit $ac_status); }; }; then
8056 llvm_cv_link_use_r=yes
8058 echo "$as_me: failed program was
:" >&5
8059 sed 's/^/| /' conftest.$ac_ext >&5
8061 llvm_cv_link_use_r=no
8064 rm -f core conftest.err conftest.$ac_objext \
8065 conftest$ac_exeext conftest.$ac_ext
8068 ac_cpp='$CPP $CPPFLAGS'
8069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8075 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
8076 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8077 if test "$llvm_cv_link_use_r" = yes ; then
8079 cat >>confdefs.h <<\_ACEOF
8080 #define HAVE_LINK_R 1
8086 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-export-dynamic option
" >&5
8087 echo $ECHO_N "checking
for compiler
-Wl,-export-dynamic option...
$ECHO_C" >&6; }
8088 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
8089 echo $ECHO_N "(cached
) $ECHO_C" >&6
8092 ac_cpp='$CPP $CPPFLAGS'
8093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8098 CFLAGS="$CFLAGS -Wl,-export-dynamic"
8099 cat >conftest.$ac_ext <<_ACEOF
8102 cat confdefs.h >>conftest.$ac_ext
8103 cat >>conftest.$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8109 int main() { return 0; }
8114 rm -f conftest.$ac_objext conftest$ac_exeext
8115 if { (ac_try="$ac_link"
8117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8118 *) ac_try_echo=$ac_try;;
8120 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8121 (eval "$ac_link") 2>conftest.er1
8123 grep -v '^ *+' conftest.er1 >conftest.err
8125 cat conftest.err >&5
8126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8129 { (case "(($ac_try" in
8130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8131 *) ac_try_echo=$ac_try;;
8133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8134 (eval "$ac_try") 2>&5
8136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8137 (exit $ac_status); }; } &&
8138 { ac_try='test -s conftest$ac_exeext'
8139 { (case "(($ac_try" in
8140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8141 *) ac_try_echo=$ac_try;;
8143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8144 (eval "$ac_try") 2>&5
8146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8147 (exit $ac_status); }; }; then
8148 llvm_cv_link_use_export_dynamic=yes
8150 echo "$as_me: failed program was
:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8153 llvm_cv_link_use_export_dynamic=no
8156 rm -f core conftest.err conftest.$ac_objext \
8157 conftest$ac_exeext conftest.$ac_ext
8160 ac_cpp='$CPP $CPPFLAGS'
8161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8167 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_export_dynamic" >&5
8168 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
8169 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
8171 cat >>confdefs.h <<\_ACEOF
8172 #define HAVE_LINK_EXPORT_DYNAMIC 1
8180 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8181 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8182 if test "${ac_cv_c_const+set}" = set; then
8183 echo $ECHO_N "(cached
) $ECHO_C" >&6
8185 cat >conftest.$ac_ext <<_ACEOF
8188 cat confdefs.h >>conftest.$ac_ext
8189 cat >>conftest.$ac_ext <<_ACEOF
8190 /* end confdefs.h. */
8195 /* FIXME: Include the comments suggested by Paul. */
8197 /* Ultrix mips cc rejects this. */
8198 typedef int charset[2];
8200 /* SunOS 4.1.1 cc rejects this. */
8201 char const *const *ccp;
8203 /* NEC SVR4.0.2 mips cc rejects this. */
8204 struct point {int x, y;};
8205 static struct point const zero = {0,0};
8206 /* AIX XL C 1.02.0.0 rejects this.
8207 It does not let you subtract one const X* pointer from another in
8208 an arm of an if-expression whose if-part is not a constant
8210 const char *g = "string
";
8211 ccp = &g + (g ? g-g : 0);
8212 /* HPUX 7.0 cc rejects these. */
8215 ccp = (char const *const *) p;
8216 { /* SCO 3.2v4 cc rejects this. */
8218 char const *s = 0 ? (char *) 0 : (char const *) 0;
8223 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8225 const int *foo = &x[0];
8228 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8229 typedef const int *iptr;
8233 { /* AIX XL C 1.02.0.0 rejects this saying
8234 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8235 struct s { int j; const int *ap[3]; };
8236 struct s *b; b->j = 5;
8238 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8242 return !x[0] && !zero.x;
8249 rm -f conftest.$ac_objext
8250 if { (ac_try="$ac_compile"
8252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8253 *) ac_try_echo=$ac_try;;
8255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8256 (eval "$ac_compile") 2>conftest.er1
8258 grep -v '^ *+' conftest.er1 >conftest.err
8260 cat conftest.err >&5
8261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8262 (exit $ac_status); } &&
8263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8264 { (case "(($ac_try" in
8265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8266 *) ac_try_echo=$ac_try;;
8268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8269 (eval "$ac_try") 2>&5
8271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8272 (exit $ac_status); }; } &&
8273 { ac_try='test -s conftest.$ac_objext'
8274 { (case "(($ac_try" in
8275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8276 *) ac_try_echo=$ac_try;;
8278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8279 (eval "$ac_try") 2>&5
8281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8282 (exit $ac_status); }; }; then
8285 echo "$as_me: failed program was
:" >&5
8286 sed 's/^/| /' conftest.$ac_ext >&5
8291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8293 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8294 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8295 if test $ac_cv_c_const = no; then
8297 cat >>confdefs.h <<\_ACEOF
8309 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8310 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8311 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8312 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8313 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8314 echo $ECHO_N "(cached
) $ECHO_C" >&6
8316 cat >conftest.$ac_ext <<_ACEOF
8319 cat confdefs.h >>conftest.$ac_ext
8320 cat >>conftest.$ac_ext <<_ACEOF
8321 /* end confdefs.h. */
8322 #include <sys/types.h>
8334 rm -f conftest.$ac_objext
8335 if { (ac_try="$ac_compile"
8337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8338 *) ac_try_echo=$ac_try;;
8340 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8341 (eval "$ac_compile") 2>conftest.er1
8343 grep -v '^ *+' conftest.er1 >conftest.err
8345 cat conftest.err >&5
8346 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8347 (exit $ac_status); } &&
8348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8349 { (case "(($ac_try" in
8350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8351 *) ac_try_echo=$ac_try;;
8353 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8354 (eval "$ac_try") 2>&5
8356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8357 (exit $ac_status); }; } &&
8358 { ac_try='test -s conftest.$ac_objext'
8359 { (case "(($ac_try" in
8360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8361 *) ac_try_echo=$ac_try;;
8363 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8364 (eval "$ac_try") 2>&5
8366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8367 (exit $ac_status); }; }; then
8368 eval "$as_ac_Header=yes"
8370 echo "$as_me: failed program was
:" >&5
8371 sed 's/^/| /' conftest.$ac_ext >&5
8373 eval "$as_ac_Header=no
"
8376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8378 ac_res=`eval echo '${'$as_ac_Header'}'`
8379 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8380 echo "${ECHO_T}$ac_res" >&6; }
8381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8382 cat >>confdefs.h <<_ACEOF
8383 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8386 ac_header_dirent=$ac_hdr; break
8390 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8391 if test $ac_header_dirent = dirent.h; then
8392 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8393 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8394 if test "${ac_cv_search_opendir+set}" = set; then
8395 echo $ECHO_N "(cached
) $ECHO_C" >&6
8397 ac_func_search_save_LIBS=$LIBS
8398 cat >conftest.$ac_ext <<_ACEOF
8401 cat confdefs.h >>conftest.$ac_ext
8402 cat >>conftest.$ac_ext <<_ACEOF
8403 /* end confdefs.h. */
8405 /* Override any GCC internal prototype to avoid an error.
8406 Use char because int might match the return type of a GCC
8407 builtin and then its argument prototype would still apply. */
8420 for ac_lib in '' dir; do
8421 if test -z "$ac_lib"; then
8422 ac_res="none required
"
8425 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8427 rm -f conftest.$ac_objext conftest$ac_exeext
8428 if { (ac_try="$ac_link"
8430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8431 *) ac_try_echo=$ac_try;;
8433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8434 (eval "$ac_link") 2>conftest.er1
8436 grep -v '^ *+' conftest.er1 >conftest.err
8438 cat conftest.err >&5
8439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8440 (exit $ac_status); } &&
8441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8442 { (case "(($ac_try" in
8443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8446 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8447 (eval "$ac_try") 2>&5
8449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8450 (exit $ac_status); }; } &&
8451 { ac_try='test -s conftest$ac_exeext'
8452 { (case "(($ac_try" in
8453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8454 *) ac_try_echo=$ac_try;;
8456 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8457 (eval "$ac_try") 2>&5
8459 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8460 (exit $ac_status); }; }; then
8461 ac_cv_search_opendir=$ac_res
8463 echo "$as_me: failed program was
:" >&5
8464 sed 's/^/| /' conftest.$ac_ext >&5
8469 rm -f core conftest.err conftest.$ac_objext \
8471 if test "${ac_cv_search_opendir+set}" = set; then
8475 if test "${ac_cv_search_opendir+set}" = set; then
8478 ac_cv_search_opendir=no
8481 LIBS=$ac_func_search_save_LIBS
8483 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8484 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8485 ac_res=$ac_cv_search_opendir
8486 if test "$ac_res" != no; then
8487 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8492 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8493 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8494 if test "${ac_cv_search_opendir+set}" = set; then
8495 echo $ECHO_N "(cached
) $ECHO_C" >&6
8497 ac_func_search_save_LIBS=$LIBS
8498 cat >conftest.$ac_ext <<_ACEOF
8501 cat confdefs.h >>conftest.$ac_ext
8502 cat >>conftest.$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8505 /* Override any GCC internal prototype to avoid an error.
8506 Use char because int might match the return type of a GCC
8507 builtin and then its argument prototype would still apply. */
8520 for ac_lib in '' x; do
8521 if test -z "$ac_lib"; then
8522 ac_res="none required
"
8525 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8527 rm -f conftest.$ac_objext conftest$ac_exeext
8528 if { (ac_try="$ac_link"
8530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8531 *) ac_try_echo=$ac_try;;
8533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8534 (eval "$ac_link") 2>conftest.er1
8536 grep -v '^ *+' conftest.er1 >conftest.err
8538 cat conftest.err >&5
8539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8540 (exit $ac_status); } &&
8541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8542 { (case "(($ac_try" in
8543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8544 *) ac_try_echo=$ac_try;;
8546 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8547 (eval "$ac_try") 2>&5
8549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try='test -s conftest$ac_exeext'
8552 { (case "(($ac_try" in
8553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8556 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_try") 2>&5
8559 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8560 (exit $ac_status); }; }; then
8561 ac_cv_search_opendir=$ac_res
8563 echo "$as_me: failed program was
:" >&5
8564 sed 's/^/| /' conftest.$ac_ext >&5
8569 rm -f core conftest.err conftest.$ac_objext \
8571 if test "${ac_cv_search_opendir+set}" = set; then
8575 if test "${ac_cv_search_opendir+set}" = set; then
8578 ac_cv_search_opendir=no
8581 LIBS=$ac_func_search_save_LIBS
8583 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8584 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8585 ac_res=$ac_cv_search_opendir
8586 if test "$ac_res" != no; then
8587 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8594 for ac_header in dlfcn.h
8596 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8597 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8598 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8599 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8600 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8601 echo $ECHO_N "(cached
) $ECHO_C" >&6
8603 ac_res=`eval echo '${'$as_ac_Header'}'`
8604 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8605 echo "${ECHO_T}$ac_res" >&6; }
8607 # Is the header compilable?
8608 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8609 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8610 cat >conftest.$ac_ext <<_ACEOF
8613 cat confdefs.h >>conftest.$ac_ext
8614 cat >>conftest.$ac_ext <<_ACEOF
8615 /* end confdefs.h. */
8616 $ac_includes_default
8617 #include <$ac_header>
8619 rm -f conftest.$ac_objext
8620 if { (ac_try="$ac_compile"
8622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8623 *) ac_try_echo=$ac_try;;
8625 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8626 (eval "$ac_compile") 2>conftest.er1
8628 grep -v '^ *+' conftest.er1 >conftest.err
8630 cat conftest.err >&5
8631 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8632 (exit $ac_status); } &&
8633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8634 { (case "(($ac_try" in
8635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8636 *) ac_try_echo=$ac_try;;
8638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8639 (eval "$ac_try") 2>&5
8641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8642 (exit $ac_status); }; } &&
8643 { ac_try='test -s conftest.$ac_objext'
8644 { (case "(($ac_try" in
8645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8646 *) ac_try_echo=$ac_try;;
8648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8649 (eval "$ac_try") 2>&5
8651 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8652 (exit $ac_status); }; }; then
8653 ac_header_compiler=yes
8655 echo "$as_me: failed program was
:" >&5
8656 sed 's/^/| /' conftest.$ac_ext >&5
8658 ac_header_compiler=no
8661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8662 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8663 echo "${ECHO_T}$ac_header_compiler" >&6; }
8665 # Is the header present?
8666 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8667 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8668 cat >conftest.$ac_ext <<_ACEOF
8671 cat confdefs.h >>conftest.$ac_ext
8672 cat >>conftest.$ac_ext <<_ACEOF
8673 /* end confdefs.h. */
8674 #include <$ac_header>
8676 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8679 *) ac_try_echo=$ac_try;;
8681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8682 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8684 grep -v '^ *+' conftest.er1 >conftest.err
8686 cat conftest.err >&5
8687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8688 (exit $ac_status); } >/dev/null; then
8689 if test -s conftest.err; then
8690 ac_cpp_err=$ac_c_preproc_warn_flag
8691 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8698 if test -z "$ac_cpp_err"; then
8699 ac_header_preproc=yes
8701 echo "$as_me: failed program was
:" >&5
8702 sed 's/^/| /' conftest.$ac_ext >&5
8704 ac_header_preproc=no
8707 rm -f conftest.err conftest.$ac_ext
8708 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8709 echo "${ECHO_T}$ac_header_preproc" >&6; }
8711 # So? What about this header?
8712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8714 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8715 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8716 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8718 ac_header_preproc=yes
8721 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8722 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8723 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8724 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8725 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8726 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8727 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8728 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8729 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8731 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8732 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8734 ## ----------------------------------- ##
8735 ## Report this to llvmbugs@cs.uiuc.edu ##
8736 ## ----------------------------------- ##
8738 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8741 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8742 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8743 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8744 echo $ECHO_N "(cached
) $ECHO_C" >&6
8746 eval "$as_ac_Header=\
$ac_header_preproc"
8748 ac_res=`eval echo '${'$as_ac_Header'}'`
8749 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8750 echo "${ECHO_T}$ac_res" >&6; }
8753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8754 cat >>confdefs.h <<_ACEOF
8755 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8762 # Check whether --enable-ltdl-install was given.
8763 if test "${enable_ltdl_install+set}" = set; then
8764 enableval=$enable_ltdl_install;
8770 if test x"${enable_ltdl_install-no}" != xno; then
8772 INSTALL_LTDL_FALSE='#'
8774 INSTALL_LTDL_TRUE='#'
8780 if test x"${enable_ltdl_convenience-no}" != xno; then
8781 CONVENIENCE_LTDL_TRUE=
8782 CONVENIENCE_LTDL_FALSE='#'
8784 CONVENIENCE_LTDL_TRUE='#'
8785 CONVENIENCE_LTDL_FALSE=
8789 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8790 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8792 libname_spec='lib$name'
8800 shlibpath_overrides_runpath=unknown
8802 dynamic_linker="$host_os ld.so
"
8803 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8804 if test "$GCC" = yes; then
8805 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8806 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8807 # if the path contains ";" then we assume it to be the separator
8808 # otherwise default to the standard path separator (i.e. ":") - it is
8809 # assumed that no part of a normal pathname contains ";" but that should
8810 # okay in the real world where ";" in dirpaths is itself problematic.
8811 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8813 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8816 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8818 need_lib_prefix=unknown
8819 hardcode_into_libs=no
8821 # when you set need_version to no, make sure it does not cause -set_version
8822 # flags to be left without arguments
8823 need_version=unknown
8828 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8829 shlibpath_var=LIBPATH
8831 # AIX 3 has no versioning support, so we append a major version to the name.
8832 soname_spec='${libname}${release}${shared_ext}$major'
8839 hardcode_into_libs=yes
8840 if test "$host_cpu" = ia64; then
8841 # AIX 5 supports IA64
8842 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8843 shlibpath_var=LD_LIBRARY_PATH
8845 # With GCC up to 2.95.x, collect2 would create an import file
8846 # for dependence libraries. The import file would start with
8847 # the line `#! .'. This would cause the generated library to
8848 # depend on `.', always an invalid library. This was fixed in
8849 # development snapshots of GCC prior to 3.0.
8851 aix4 | aix4.[01] | aix4.[01].*)
8852 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8854 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8861 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8862 # soname into executable. Probably we can add versioning support to
8863 # collect2, so additional links can be useful in future.
8864 if test "$aix_use_runtimelinking" = yes; then
8865 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8866 # instead of lib<name>.a to let people know that these are not
8867 # typical AIX shared libraries.
8868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8870 # We preserve .a as extension for shared libraries through AIX4.2
8871 # and later when we are not doing run time linking.
8872 library_names_spec='${libname}${release}.a $libname.a'
8873 soname_spec='${libname}${release}${shared_ext}$major'
8875 shlibpath_var=LIBPATH
8880 library_names_spec='$libname.ixlibrary $libname.a'
8881 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8882 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'
8886 library_names_spec='${libname}${shared_ext}'
8887 dynamic_linker="$host_os ld.so
"
8888 shlibpath_var=LIBRARY_PATH
8894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8895 soname_spec='${libname}${release}${shared_ext}$major'
8896 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8897 shlibpath_var=LD_LIBRARY_PATH
8898 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8899 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8900 # the default ld.so.conf also contains /usr/contrib/lib and
8901 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8902 # libtool to hard-code these into programs
8905 cygwin* | mingw* | pw32*)
8906 version_type=windows
8911 case $GCC,$host_os in
8912 yes,cygwin* | yes,mingw* | yes,pw32*)
8913 library_names_spec='$libname.dll.a'
8914 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8915 postinstall_cmds='base_file=`basename \${file}`~
8916 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8917 dldir=$destdir/`dirname \$dlpath`~
8918 test -d \$dldir || mkdir -p \$dldir~
8919 $install_prog $dir/$dlname \$dldir/$dlname~
8920 chmod a+x \$dldir/$dlname'
8921 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8922 dlpath=$dir/\$dldll~
8924 shlibpath_overrides_runpath=yes
8928 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8929 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8930 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8933 # MinGW DLLs use traditional 'lib' prefix
8934 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8935 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8936 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8937 # It is most probably a Windows format PATH printed by
8938 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8939 # path with ; separators, and with drive letters. We can handle the
8940 # drive letters (cygwin fileutils understands them), so leave them,
8941 # especially as we might pass files found there to a mingw objdump,
8942 # which wouldn't understand a cygwinified path. Ahh.
8943 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8945 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8949 # pw32 DLLs use 'pw' prefix rather than 'lib'
8950 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8956 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8959 dynamic_linker='Win32 ld.exe'
8960 # FIXME: first we should search . and the directory the executable is in
8964 darwin* | rhapsody*)
8965 dynamic_linker="$host_os dyld
"
8969 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8970 soname_spec='${libname}${release}${major}$shared_ext'
8971 shlibpath_overrides_runpath=yes
8972 shlibpath_var=DYLD_LIBRARY_PATH
8973 shrext_cmds='.dylib'
8974 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8975 if test "$GCC" = yes; then
8976 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
"`
8978 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8980 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8988 soname_spec='${libname}${release}${shared_ext}$major'
8989 shlibpath_var=LD_LIBRARY_PATH
9000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9001 soname_spec='${libname}${release}${shared_ext}$major'
9002 shlibpath_var=LD_LIBRARY_PATH
9003 shlibpath_overrides_runpath=no
9004 hardcode_into_libs=yes
9005 dynamic_linker='GNU ld.so'
9008 freebsd* | dragonfly*)
9009 # DragonFly does not have aout. When/if they implement a new
9010 # versioning mechanism, adjust this.
9011 if test -x /usr/bin/objformat; then
9012 objformat=`/usr/bin/objformat`
9015 freebsd[123]*) objformat=aout ;;
9019 version_type=freebsd-$objformat
9020 case $version_type in
9022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9027 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9031 shlibpath_var=LD_LIBRARY_PATH
9034 shlibpath_overrides_runpath=yes
9036 freebsd3.[01]* | freebsdelf3.[01]*)
9037 shlibpath_overrides_runpath=yes
9038 hardcode_into_libs=yes
9040 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9041 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9042 shlibpath_overrides_runpath=no
9043 hardcode_into_libs=yes
9045 freebsd*) # from 4.6 on
9046 shlibpath_overrides_runpath=yes
9047 hardcode_into_libs=yes
9056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9057 soname_spec='${libname}${release}${shared_ext}$major'
9058 shlibpath_var=LD_LIBRARY_PATH
9059 hardcode_into_libs=yes
9062 hpux9* | hpux10* | hpux11*)
9063 # Give a soname corresponding to the major version so that dld.sl refuses to
9064 # link against other versions.
9071 hardcode_into_libs=yes
9072 dynamic_linker="$host_os dld.so
"
9073 shlibpath_var=LD_LIBRARY_PATH
9074 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9076 soname_spec='${libname}${release}${shared_ext}$major'
9077 if test "X
$HPUX_IA64_MODE" = X32; then
9078 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
9080 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
9082 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9086 hardcode_into_libs=yes
9087 dynamic_linker="$host_os dld.sl
"
9088 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9089 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9091 soname_spec='${libname}${release}${shared_ext}$major'
9092 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
9093 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9097 dynamic_linker="$host_os dld.sl
"
9098 shlibpath_var=SHLIB_PATH
9099 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9101 soname_spec='${libname}${release}${shared_ext}$major'
9104 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9105 postinstall_cmds='chmod 555 $lib'
9112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9113 soname_spec='${libname}${release}${shared_ext}$major'
9114 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9115 shlibpath_var=LD_LIBRARY_PATH
9116 shlibpath_overrides_runpath=no
9117 hardcode_into_libs=yes
9120 irix5* | irix6* | nonstopux*)
9122 nonstopux*) version_type=nonstopux ;;
9124 if test "$lt_cv_prog_gnu_ld" = yes; then
9132 soname_spec='${libname}${release}${shared_ext}$major'
9133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9135 irix5* | nonstopux*)
9139 case $LD in # libtool.m4 will add one of these switches to LD
9140 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9141 libsuff= shlibsuff= libmagic=32-bit;;
9142 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9143 libsuff=32 shlibsuff=N32 libmagic=N32;;
9144 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9145 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9146 *) libsuff= shlibsuff= libmagic=never-match;;
9150 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9151 shlibpath_overrides_runpath=no
9152 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9153 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
9154 hardcode_into_libs=yes
9157 # No shared lib support for Linux oldld, aout, or coff.
9158 linux*oldld* | linux*aout* | linux*coff*)
9162 # This must be Linux ELF.
9167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9168 soname_spec='${libname}${release}${shared_ext}$major'
9169 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
9170 shlibpath_var=LD_LIBRARY_PATH
9171 shlibpath_overrides_runpath=no
9172 # This implies no fast_install, which is unacceptable.
9173 # Some rework will be needed to allow for fast_install
9174 # before this can be enabled.
9175 hardcode_into_libs=yes
9177 # Append ld.so.conf contents to the search path
9178 if test -f /etc/ld.so.conf; then
9179 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' ' '`
9180 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9183 # We used to test for /lib/ld.so.1 and disable shared libraries on
9184 # powerpc, because MkLinux only supported shared libraries with the
9185 # GNU dynamic linker. Since this was broken with cross compilers,
9186 # most powerpc-linux boxes support dynamic linking these days and
9187 # people can always --disable-shared, the test was removed, and we
9188 # assume the GNU/Linux dynamic linker is in use.
9189 dynamic_linker='GNU/Linux ld.so'
9196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9197 soname_spec='${libname}${release}${shared_ext}$major'
9198 shlibpath_var=LD_LIBRARY_PATH
9199 shlibpath_overrides_runpath=no
9200 hardcode_into_libs=yes
9201 dynamic_linker='GNU ld.so'
9208 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9210 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9211 dynamic_linker='NetBSD (a.out) ld.so'
9213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9214 soname_spec='${libname}${release}${shared_ext}$major'
9215 dynamic_linker='NetBSD ld.elf_so'
9217 shlibpath_var=LD_LIBRARY_PATH
9218 shlibpath_overrides_runpath=yes
9219 hardcode_into_libs=yes
9224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9225 shlibpath_var=LD_LIBRARY_PATH
9226 shlibpath_overrides_runpath=yes
9233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9234 soname_spec='${libname}${release}${shared_ext}$major'
9235 shlibpath_var=LD_LIBRARY_PATH
9236 shlibpath_overrides_runpath=yes
9241 sys_lib_dlsearch_path_spec="/usr
/lib
"
9243 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9245 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9246 *) need_version=no ;;
9248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9249 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9250 shlibpath_var=LD_LIBRARY_PATH
9251 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9253 openbsd2.[89] | openbsd2.[89].*)
9254 shlibpath_overrides_runpath=no
9257 shlibpath_overrides_runpath=yes
9261 shlibpath_overrides_runpath=yes
9266 libname_spec='$name'
9269 library_names_spec='$libname${shared_ext} $libname.a'
9270 dynamic_linker='OS/2 ld.exe'
9271 shlibpath_var=LIBPATH
9274 osf3* | osf4* | osf5*)
9278 soname_spec='${libname}${release}${shared_ext}$major'
9279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9280 shlibpath_var=LD_LIBRARY_PATH
9281 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9282 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9290 soname_spec='${libname}${release}${shared_ext}$major'
9291 shlibpath_var=LD_LIBRARY_PATH
9292 shlibpath_overrides_runpath=yes
9293 hardcode_into_libs=yes
9294 # ldd complains unless libraries are executable
9295 postinstall_cmds='chmod +x $lib'
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9301 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9302 shlibpath_var=LD_LIBRARY_PATH
9303 shlibpath_overrides_runpath=yes
9304 if test "$with_gnu_ld" = yes; then
9312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9313 soname_spec='${libname}${release}${shared_ext}$major'
9314 shlibpath_var=LD_LIBRARY_PATH
9315 case $host_vendor in
9317 shlibpath_overrides_runpath=no
9319 export_dynamic_flag_spec='${wl}-Blargedynsym'
9320 runpath_var=LD_RUN_PATH
9328 shlibpath_overrides_runpath=no
9329 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9335 if test -d /usr/nec ;then
9337 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9338 soname_spec='$libname${shared_ext}.$major'
9339 shlibpath_var=LD_LIBRARY_PATH
9343 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9344 version_type=freebsd-elf
9347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9348 soname_spec='${libname}${release}${shared_ext}$major'
9349 shlibpath_var=LD_LIBRARY_PATH
9350 hardcode_into_libs=yes
9351 if test "$with_gnu_ld" = yes; then
9352 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9353 shlibpath_overrides_runpath=no
9355 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9356 shlibpath_overrides_runpath=yes
9359 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9363 sys_lib_dlsearch_path_spec='/usr/lib'
9368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9369 soname_spec='${libname}${release}${shared_ext}$major'
9370 shlibpath_var=LD_LIBRARY_PATH
9377 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9378 echo "${ECHO_T}$dynamic_linker" >&6; }
9379 test "$dynamic_linker" = no && can_build_shared=no
9381 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9382 if test "$GCC" = yes; then
9383 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9387 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9388 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9389 if test "${libltdl_cv_shlibext+set}" = set; then
9390 echo $ECHO_N "(cached
) $ECHO_C" >&6
9394 eval libltdl_cv_shlibext=$shrext_cmds
9397 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9398 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9399 if test -n "$libltdl_cv_shlibext"; then
9401 cat >>confdefs.h <<_ACEOF
9402 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9408 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9409 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9410 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9411 echo $ECHO_N "(cached
) $ECHO_C" >&6
9413 libltdl_cv_shlibpath_var="$shlibpath_var"
9415 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9416 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9417 if test -n "$libltdl_cv_shlibpath_var"; then
9419 cat >>confdefs.h <<_ACEOF
9420 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9426 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9427 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9428 if test "${libltdl_cv_sys_search_path+set}" = set; then
9429 echo $ECHO_N "(cached
) $ECHO_C" >&6
9431 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9433 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9434 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9435 if test -n "$libltdl_cv_sys_search_path"; then
9437 for dir in $libltdl_cv_sys_search_path; do
9438 if test -z "$sys_search_path"; then
9439 sys_search_path="$dir"
9441 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9445 cat >>confdefs.h <<_ACEOF
9446 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9451 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9452 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9453 if test "${libltdl_cv_objdir+set}" = set; then
9454 echo $ECHO_N "(cached
) $ECHO_C" >&6
9456 libltdl_cv_objdir="$objdir"
9457 if test -n "$objdir"; then
9460 rm -f .libs 2>/dev/null
9461 mkdir .libs 2>/dev/null
9462 if test -d .libs; then
9463 libltdl_cv_objdir=.libs
9465 # MS-DOS does not allow filenames that begin with a dot.
9466 libltdl_cv_objdir=_libs
9468 rmdir .libs 2>/dev/null
9472 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9473 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9475 cat >>confdefs.h <<_ACEOF
9476 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9484 # Check for command to grab the raw symbol name followed by C symbol from nm.
9485 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9486 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9487 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9488 echo $ECHO_N "(cached
) $ECHO_C" >&6
9491 # These are sane defaults that work on at least a few old systems.
9492 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9494 # Character class describing NM global symbol codes.
9495 symcode='[BCDEGRST]'
9497 # Regexp to match symbols that can be accessed directly from C.
9498 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9500 # Transform an extracted symbol line into a proper C declaration
9501 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9503 # Transform an extracted symbol line into symbol name and symbol address
9504 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'"
9506 # Define system-specific variables.
9511 cygwin* | mingw* | pw32*)
9512 symcode='[ABCDGISTW]'
9514 hpux*) # Its linker distinguishes data from code symbols
9515 if test "$host_cpu" = ia64; then
9516 symcode='[ABCDEGRST]'
9518 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9519 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'"
9522 if test "$host_cpu" = ia64; then
9523 symcode='[ABCDGIRSTW]'
9524 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9525 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'"
9529 symcode='[BCDEGRST]'
9532 symcode='[BCDEGQRST]'
9543 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9551 # Handle CRLF in mingw tool chain
9555 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9559 # If we're using GNU nm, then use its standard symbol codes.
9560 case `$NM -V 2>&1` in
9561 *GNU* | *'with BFD'*)
9562 symcode='[ABCDGIRSTW]' ;;
9565 # Try without a prefix undercore, then with it.
9566 for ac_symprfx in "" "_
"; do
9568 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9569 symxfrm="\\1 $ac_symprfx\\2 \\2"
9571 # Write the raw and C identifiers.
9572 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9574 # Check to see that the pipe works correctly.
9578 cat > conftest.$ac_ext <<EOF
9583 void nm_test_func(){}
9587 int main(){nm_test_var='a';nm_test_func();return(0);}
9590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9591 (eval $ac_compile) 2>&5
9593 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9594 (exit $ac_status); }; then
9595 # Now try to grab the symbols.
9597 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9598 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9601 (exit $ac_status); } && test -s "$nlist"; then
9602 # Try sorting and uniquifying the output.
9603 if sort "$nlist" | uniq > "$nlist"T; then
9604 mv -f "$nlist"T "$nlist"
9609 # Make sure that we snagged all the symbols we need.
9610 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9611 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9612 cat <<EOF > conftest.$ac_ext
9618 # Now generate the symbol file.
9619 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9621 cat <<EOF >> conftest.$ac_ext
9622 #if defined (__STDC__) && __STDC__
9623 # define lt_ptr_t void *
9625 # define lt_ptr_t char *
9629 /* The mapping between symbol names and symbols. */
9634 lt_preloaded_symbols[] =
9637 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9638 cat <<\EOF >> conftest.$ac_ext
9646 # Now try linking the two files.
9647 mv conftest.$ac_objext conftstm.$ac_objext
9648 lt_save_LIBS="$LIBS"
9649 lt_save_CFLAGS="$CFLAGS"
9650 LIBS="conftstm.
$ac_objext"
9651 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9653 (eval $ac_link) 2>&5
9655 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9656 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9659 LIBS="$lt_save_LIBS"
9660 CFLAGS="$lt_save_CFLAGS"
9662 echo "cannot
find nm_test_func
in $nlist" >&5
9665 echo "cannot
find nm_test_var
in $nlist" >&5
9668 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9671 echo "$progname: failed program was
:" >&5
9672 cat conftest.$ac_ext >&5
9674 rm -f conftest* conftst*
9676 # Do not use the global_symbol_pipe unless it works.
9677 if test "$pipe_works" = yes; then
9680 lt_cv_sys_global_symbol_pipe=
9686 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9687 lt_cv_sys_global_symbol_to_cdecl=
9689 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9690 { echo "$as_me:$LINENO: result
: failed
" >&5
9691 echo "${ECHO_T}failed
" >&6; }
9693 { echo "$as_me:$LINENO: result
: ok
" >&5
9694 echo "${ECHO_T}ok
" >&6; }
9698 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9699 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9700 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9701 echo $ECHO_N "(cached
) $ECHO_C" >&6
9703 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9704 libltdl_cv_preloaded_symbols=yes
9706 libltdl_cv_preloaded_symbols=no
9710 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9711 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9712 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9714 cat >>confdefs.h <<\_ACEOF
9715 #define HAVE_PRELOADED_SYMBOLS 1
9723 ac_cpp='$CPP $CPPFLAGS'
9724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9729 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9730 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9731 if test "${ac_cv_func_shl_load+set}" = set; then
9732 echo $ECHO_N "(cached
) $ECHO_C" >&6
9734 cat >conftest.$ac_ext <<_ACEOF
9737 cat confdefs.h >>conftest.$ac_ext
9738 cat >>conftest.$ac_ext <<_ACEOF
9739 /* end confdefs.h. */
9740 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9742 #define shl_load innocuous_shl_load
9744 /* System header to define __stub macros and hopefully few prototypes,
9745 which can conflict with char shl_load (); below.
9746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9747 <limits.h> exists even on freestanding compilers. */
9750 # include <limits.h>
9752 # include <assert.h>
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9764 /* The GNU C library defines this for functions which it implements
9765 to always fail with ENOSYS. Some functions are actually named
9766 something starting with __ and the normal name is an alias. */
9767 #if defined __stub_shl_load || defined __stub___shl_load
9779 rm -f conftest.$ac_objext conftest$ac_exeext
9780 if { (ac_try="$ac_link"
9782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9783 *) ac_try_echo=$ac_try;;
9785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9786 (eval "$ac_link") 2>conftest.er1
9788 grep -v '^ *+' conftest.er1 >conftest.err
9790 cat conftest.err >&5
9791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9792 (exit $ac_status); } &&
9793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9794 { (case "(($ac_try" in
9795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9798 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_try") 2>&5
9801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9802 (exit $ac_status); }; } &&
9803 { ac_try='test -s conftest$ac_exeext'
9804 { (case "(($ac_try" in
9805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9806 *) ac_try_echo=$ac_try;;
9808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9809 (eval "$ac_try") 2>&5
9811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9812 (exit $ac_status); }; }; then
9813 ac_cv_func_shl_load=yes
9815 echo "$as_me: failed program was
:" >&5
9816 sed 's/^/| /' conftest.$ac_ext >&5
9818 ac_cv_func_shl_load=no
9821 rm -f core conftest.err conftest.$ac_objext \
9822 conftest$ac_exeext conftest.$ac_ext
9824 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9825 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9826 if test $ac_cv_func_shl_load = yes; then
9828 cat >>confdefs.h <<\_ACEOF
9829 #define HAVE_SHL_LOAD 1
9833 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9834 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9835 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9836 echo $ECHO_N "(cached
) $ECHO_C" >&6
9838 ac_check_lib_save_LIBS=$LIBS
9840 cat >conftest.$ac_ext <<_ACEOF
9843 cat confdefs.h >>conftest.$ac_ext
9844 cat >>conftest.$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9862 rm -f conftest.$ac_objext conftest$ac_exeext
9863 if { (ac_try="$ac_link"
9865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9866 *) ac_try_echo=$ac_try;;
9868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9869 (eval "$ac_link") 2>conftest.er1
9871 grep -v '^ *+' conftest.er1 >conftest.err
9873 cat conftest.err >&5
9874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9875 (exit $ac_status); } &&
9876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9877 { (case "(($ac_try" in
9878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9879 *) ac_try_echo=$ac_try;;
9881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9882 (eval "$ac_try") 2>&5
9884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9885 (exit $ac_status); }; } &&
9886 { ac_try='test -s conftest$ac_exeext'
9887 { (case "(($ac_try" in
9888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9889 *) ac_try_echo=$ac_try;;
9891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9892 (eval "$ac_try") 2>&5
9894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9895 (exit $ac_status); }; }; then
9896 ac_cv_lib_dld_shl_load=yes
9898 echo "$as_me: failed program was
:" >&5
9899 sed 's/^/| /' conftest.$ac_ext >&5
9901 ac_cv_lib_dld_shl_load=no
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 LIBS=$ac_check_lib_save_LIBS
9908 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9909 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9910 if test $ac_cv_lib_dld_shl_load = yes; then
9912 cat >>confdefs.h <<\_ACEOF
9913 #define HAVE_SHL_LOAD 1
9916 LIBADD_DL="$LIBADD_DL -ldld"
9918 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9919 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9920 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9921 echo $ECHO_N "(cached
) $ECHO_C" >&6
9923 ac_check_lib_save_LIBS=$LIBS
9925 cat >conftest.$ac_ext <<_ACEOF
9928 cat confdefs.h >>conftest.$ac_ext
9929 cat >>conftest.$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9947 rm -f conftest.$ac_objext conftest$ac_exeext
9948 if { (ac_try="$ac_link"
9950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9951 *) ac_try_echo=$ac_try;;
9953 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9954 (eval "$ac_link") 2>conftest.er1
9956 grep -v '^ *+' conftest.er1 >conftest.err
9958 cat conftest.err >&5
9959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9960 (exit $ac_status); } &&
9961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9962 { (case "(($ac_try" in
9963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9964 *) ac_try_echo=$ac_try;;
9966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9967 (eval "$ac_try") 2>&5
9969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9970 (exit $ac_status); }; } &&
9971 { ac_try='test -s conftest$ac_exeext'
9972 { (case "(($ac_try" in
9973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9974 *) ac_try_echo=$ac_try;;
9976 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9977 (eval "$ac_try") 2>&5
9979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9980 (exit $ac_status); }; }; then
9981 ac_cv_lib_dl_dlopen=yes
9983 echo "$as_me: failed program was
:" >&5
9984 sed 's/^/| /' conftest.$ac_ext >&5
9986 ac_cv_lib_dl_dlopen=no
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 LIBS=$ac_check_lib_save_LIBS
9993 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
9994 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9995 if test $ac_cv_lib_dl_dlopen = yes; then
9997 cat >>confdefs.h <<\_ACEOF
9998 #define HAVE_LIBDL 1
10001 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
10003 cat >conftest.$ac_ext <<_ACEOF
10006 cat confdefs.h >>conftest.$ac_ext
10007 cat >>conftest.$ac_ext <<_ACEOF
10008 /* end confdefs.h. */
10010 # include <dlfcn.h>
10021 rm -f conftest.$ac_objext conftest$ac_exeext
10022 if { (ac_try="$ac_link"
10023 case "(($ac_try" in
10024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025 *) ac_try_echo=$ac_try;;
10027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10028 (eval "$ac_link") 2>conftest.er1
10030 grep -v '^ *+' conftest.er1 >conftest.err
10032 cat conftest.err >&5
10033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10034 (exit $ac_status); } &&
10035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10036 { (case "(($ac_try" in
10037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10038 *) ac_try_echo=$ac_try;;
10040 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10041 (eval "$ac_try") 2>&5
10043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10044 (exit $ac_status); }; } &&
10045 { ac_try='test -s conftest$ac_exeext'
10046 { (case "(($ac_try" in
10047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10048 *) ac_try_echo=$ac_try;;
10050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10051 (eval "$ac_try") 2>&5
10053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10054 (exit $ac_status); }; }; then
10056 cat >>confdefs.h <<\_ACEOF
10057 #define HAVE_LIBDL 1
10059 libltdl_cv_func_dlopen="yes"
10061 echo "$as_me: failed program was
:" >&5
10062 sed 's/^/| /' conftest.$ac_ext >&5
10064 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
10065 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
10066 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10067 echo $ECHO_N "(cached
) $ECHO_C" >&6
10069 ac_check_lib_save_LIBS=$LIBS
10070 LIBS="-lsvld $LIBS"
10071 cat >conftest.$ac_ext <<_ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10078 /* Override any GCC internal prototype to avoid an error.
10079 Use char because int might match the return type of a GCC
10080 builtin and then its argument prototype would still apply. */
10093 rm -f conftest.$ac_objext conftest$ac_exeext
10094 if { (ac_try="$ac_link"
10095 case "(($ac_try" in
10096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10097 *) ac_try_echo=$ac_try;;
10099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10100 (eval "$ac_link") 2>conftest.er1
10102 grep -v '^ *+' conftest.er1 >conftest.err
10104 cat conftest.err >&5
10105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10108 { (case "(($ac_try" in
10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10113 (eval "$ac_try") 2>&5
10115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10116 (exit $ac_status); }; } &&
10117 { ac_try='test -s conftest$ac_exeext'
10118 { (case "(($ac_try" in
10119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10120 *) ac_try_echo=$ac_try;;
10122 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10123 (eval "$ac_try") 2>&5
10125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10126 (exit $ac_status); }; }; then
10127 ac_cv_lib_svld_dlopen=yes
10129 echo "$as_me: failed program was
:" >&5
10130 sed 's/^/| /' conftest.$ac_ext >&5
10132 ac_cv_lib_svld_dlopen=no
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_lib_save_LIBS
10139 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
10140 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10141 if test $ac_cv_lib_svld_dlopen = yes; then
10143 cat >>confdefs.h <<\_ACEOF
10144 #define HAVE_LIBDL 1
10147 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10149 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
10150 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
10151 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10152 echo $ECHO_N "(cached
) $ECHO_C" >&6
10154 ac_check_lib_save_LIBS=$LIBS
10156 cat >conftest.$ac_ext <<_ACEOF
10159 cat confdefs.h >>conftest.$ac_ext
10160 cat >>conftest.$ac_ext <<_ACEOF
10161 /* end confdefs.h. */
10163 /* Override any GCC internal prototype to avoid an error.
10164 Use char because int might match the return type of a GCC
10165 builtin and then its argument prototype would still apply. */
10173 return dld_link ();
10178 rm -f conftest.$ac_objext conftest$ac_exeext
10179 if { (ac_try="$ac_link"
10180 case "(($ac_try" in
10181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10182 *) ac_try_echo=$ac_try;;
10184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10185 (eval "$ac_link") 2>conftest.er1
10187 grep -v '^ *+' conftest.er1 >conftest.err
10189 cat conftest.err >&5
10190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10191 (exit $ac_status); } &&
10192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10193 { (case "(($ac_try" in
10194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10195 *) ac_try_echo=$ac_try;;
10197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10198 (eval "$ac_try") 2>&5
10200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10201 (exit $ac_status); }; } &&
10202 { ac_try='test -s conftest$ac_exeext'
10203 { (case "(($ac_try" in
10204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10205 *) ac_try_echo=$ac_try;;
10207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10208 (eval "$ac_try") 2>&5
10210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10211 (exit $ac_status); }; }; then
10212 ac_cv_lib_dld_dld_link=yes
10214 echo "$as_me: failed program was
:" >&5
10215 sed 's/^/| /' conftest.$ac_ext >&5
10217 ac_cv_lib_dld_dld_link=no
10220 rm -f core conftest.err conftest.$ac_objext \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_lib_save_LIBS
10224 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10225 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10226 if test $ac_cv_lib_dld_dld_link = yes; then
10228 cat >>confdefs.h <<\_ACEOF
10232 LIBADD_DL="$LIBADD_DL -ldld"
10234 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10235 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10236 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10237 echo $ECHO_N "(cached
) $ECHO_C" >&6
10239 cat >conftest.$ac_ext <<_ACEOF
10242 cat confdefs.h >>conftest.$ac_ext
10243 cat >>conftest.$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10245 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10247 #define _dyld_func_lookup innocuous__dyld_func_lookup
10249 /* System header to define __stub macros and hopefully few prototypes,
10250 which can conflict with char _dyld_func_lookup (); below.
10251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10252 <limits.h> exists even on freestanding compilers. */
10255 # include <limits.h>
10257 # include <assert.h>
10260 #undef _dyld_func_lookup
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10268 char _dyld_func_lookup ();
10269 /* The GNU C library defines this for functions which it implements
10270 to always fail with ENOSYS. Some functions are actually named
10271 something starting with __ and the normal name is an alias. */
10272 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10279 return _dyld_func_lookup ();
10284 rm -f conftest.$ac_objext conftest$ac_exeext
10285 if { (ac_try="$ac_link"
10286 case "(($ac_try" in
10287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10288 *) ac_try_echo=$ac_try;;
10290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10291 (eval "$ac_link") 2>conftest.er1
10293 grep -v '^ *+' conftest.er1 >conftest.err
10295 cat conftest.err >&5
10296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10297 (exit $ac_status); } &&
10298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10299 { (case "(($ac_try" in
10300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10301 *) ac_try_echo=$ac_try;;
10303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10304 (eval "$ac_try") 2>&5
10306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10307 (exit $ac_status); }; } &&
10308 { ac_try='test -s conftest$ac_exeext'
10309 { (case "(($ac_try" in
10310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10311 *) ac_try_echo=$ac_try;;
10313 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10314 (eval "$ac_try") 2>&5
10316 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10317 (exit $ac_status); }; }; then
10318 ac_cv_func__dyld_func_lookup=yes
10320 echo "$as_me: failed program was
:" >&5
10321 sed 's/^/| /' conftest.$ac_ext >&5
10323 ac_cv_func__dyld_func_lookup=no
10326 rm -f core conftest.err conftest.$ac_objext \
10327 conftest$ac_exeext conftest.$ac_ext
10329 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10330 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10331 if test $ac_cv_func__dyld_func_lookup = yes; then
10333 cat >>confdefs.h <<\_ACEOF
10334 #define HAVE_DYLD 1
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10360 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10362 lt_save_LIBS="$LIBS"
10363 LIBS="$LIBS $LIBADD_DL"
10365 for ac_func in dlerror
10367 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10368 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10369 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10370 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10371 echo $ECHO_N "(cached
) $ECHO_C" >&6
10373 cat >conftest.$ac_ext <<_ACEOF
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h. */
10379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10381 #define $ac_func innocuous_$ac_func
10383 /* System header to define __stub macros and hopefully few prototypes,
10384 which can conflict with char $ac_func (); below.
10385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10386 <limits.h> exists even on freestanding compilers. */
10389 # include <limits.h>
10391 # include <assert.h>
10396 /* Override any GCC internal prototype to avoid an error.
10397 Use char because int might match the return type of a GCC
10398 builtin and then its argument prototype would still apply. */
10403 /* The GNU C library defines this for functions which it implements
10404 to always fail with ENOSYS. Some functions are actually named
10405 something starting with __ and the normal name is an alias. */
10406 #if defined __stub_$ac_func || defined __stub___$ac_func
10413 return $ac_func ();
10418 rm -f conftest.$ac_objext conftest$ac_exeext
10419 if { (ac_try="$ac_link"
10420 case "(($ac_try" in
10421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10422 *) ac_try_echo=$ac_try;;
10424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10425 (eval "$ac_link") 2>conftest.er1
10427 grep -v '^ *+' conftest.er1 >conftest.err
10429 cat conftest.err >&5
10430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10431 (exit $ac_status); } &&
10432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10433 { (case "(($ac_try" in
10434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10435 *) ac_try_echo=$ac_try;;
10437 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10438 (eval "$ac_try") 2>&5
10440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10441 (exit $ac_status); }; } &&
10442 { ac_try='test -s conftest$ac_exeext'
10443 { (case "(($ac_try" in
10444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10445 *) ac_try_echo=$ac_try;;
10447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10448 (eval "$ac_try") 2>&5
10450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10451 (exit $ac_status); }; }; then
10452 eval "$as_ac_var=yes"
10454 echo "$as_me: failed program was
:" >&5
10455 sed 's/^/| /' conftest.$ac_ext >&5
10457 eval "$as_ac_var=no
"
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10463 ac_res=`eval echo '${'$as_ac_var'}'`
10464 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10465 echo "${ECHO_T}$ac_res" >&6; }
10466 if test `eval echo '${'$as_ac_var'}'` = yes; then
10467 cat >>confdefs.h <<_ACEOF
10468 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10474 LIBS="$lt_save_LIBS"
10477 ac_cpp='$CPP $CPPFLAGS'
10478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10484 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10485 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10486 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10487 echo $ECHO_N "(cached
) $ECHO_C" >&6
10489 ac_cv_sys_symbol_underscore=no
10490 cat > conftest.$ac_ext <<EOF
10491 void nm_test_func(){}
10492 int main(){nm_test_func;return 0;}
10494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10495 (eval $ac_compile) 2>&5
10497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10498 (exit $ac_status); }; then
10499 # Now try to grab the symbols.
10500 ac_nlist=conftest.nm
10501 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10502 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10505 (exit $ac_status); } && test -s "$ac_nlist"; then
10506 # See whether the symbols have a leading underscore.
10507 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10508 ac_cv_sys_symbol_underscore=yes
10510 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10513 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10517 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10520 echo "configure
: failed program was
:" >&5
10526 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10527 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10530 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10531 if test x"$libltdl_cv_func_dlopen" = xyes ||
10532 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10533 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10534 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10535 if test "${libltdl_cv_need_uscore+set}" = set; then
10536 echo $ECHO_N "(cached
) $ECHO_C" >&6
10538 libltdl_cv_need_uscore=unknown
10540 LIBS="$LIBS $LIBADD_DL"
10541 if test "$cross_compiling" = yes; then :
10542 libltdl_cv_need_uscore=cross
10544 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10545 lt_status=$lt_dlunknown
10546 cat > conftest.$ac_ext <<EOF
10547 #line 10547 "configure
"
10548 #include "confdefs.h
"
10557 # define LT_DLGLOBAL RTLD_GLOBAL
10560 # define LT_DLGLOBAL DL_GLOBAL
10562 # define LT_DLGLOBAL 0
10566 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10567 find out it does not work in some platform. */
10568 #ifndef LT_DLLAZY_OR_NOW
10570 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10573 # define LT_DLLAZY_OR_NOW DL_LAZY
10576 # define LT_DLLAZY_OR_NOW RTLD_NOW
10579 # define LT_DLLAZY_OR_NOW DL_NOW
10581 # define LT_DLLAZY_OR_NOW 0
10589 extern "C
" void exit (int);
10592 void fnord() { int i=42;}
10595 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10596 int status = $lt_dlunknown;
10600 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10601 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10602 /* dlclose (self); */
10610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10611 (eval $ac_link) 2>&5
10613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10614 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10615 (./conftest; exit; ) >&5 2>/dev/null
10617 case x$lt_status in
10618 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10619 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10620 x$lt_dlunknown|x*) ;;
10623 # compilation failed
10632 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10633 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10637 if test x"$libltdl_cv_need_uscore" = xyes; then
10639 cat >>confdefs.h <<\_ACEOF
10640 #define NEED_USCORE 1
10646 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10647 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10648 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10649 echo $ECHO_N "(cached
) $ECHO_C" >&6
10651 # PORTME does your system automatically load deplibs for dlopen?
10652 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10653 # For now, we just catch OSes we know something about -- in the
10654 # future, we'll try test this programmatically.
10655 libltdl_cv_sys_dlopen_deplibs=unknown
10657 aix3*|aix4.1.*|aix4.2.*)
10658 # Unknown whether this is true for these versions of AIX, but
10659 # we want this `case' here to explicitly catch those versions.
10660 libltdl_cv_sys_dlopen_deplibs=unknown
10663 libltdl_cv_sys_dlopen_deplibs=yes
10666 # Assuming the user has installed a libdl from somewhere, this is true
10667 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10668 libltdl_cv_sys_dlopen_deplibs=yes
10670 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10671 # GNU and its variants, using gnu ld.so (Glibc)
10672 libltdl_cv_sys_dlopen_deplibs=yes
10675 libltdl_cv_sys_dlopen_deplibs=yes
10678 libltdl_cv_sys_dlopen_deplibs=yes
10680 irix[12345]*|irix6.[01]*)
10681 # Catch all versions of IRIX before 6.2, and indicate that we don't
10682 # know how it worked for any of those versions.
10683 libltdl_cv_sys_dlopen_deplibs=unknown
10686 # The case above catches anything before 6.2, and it's known that
10687 # at 6.2 and later dlopen does load deplibs.
10688 libltdl_cv_sys_dlopen_deplibs=yes
10691 libltdl_cv_sys_dlopen_deplibs=yes
10694 libltdl_cv_sys_dlopen_deplibs=yes
10697 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10698 # it did *not* use an RPATH in a shared library to find objects the
10699 # library depends on, so we explictly say `no'.
10700 libltdl_cv_sys_dlopen_deplibs=no
10702 osf5.0|osf5.0a|osf5.1)
10703 # dlopen *does* load deplibs and with the right loader patch applied
10704 # it even uses RPATH in a shared library to search for shared objects
10705 # that the library depends on, but there's no easy way to know if that
10706 # patch is installed. Since this is the case, all we can really
10707 # say is unknown -- it depends on the patch being installed. If
10708 # it is, this changes to `yes'. Without it, it would be `no'.
10709 libltdl_cv_sys_dlopen_deplibs=unknown
10712 # the two cases above should catch all versions of osf <= 5.1. Read
10713 # the comments above for what we know about them.
10714 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10715 # is used to find them so we can finally say `yes'.
10716 libltdl_cv_sys_dlopen_deplibs=yes
10719 libltdl_cv_sys_dlopen_deplibs=yes
10721 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10722 libltdl_cv_sys_dlopen_deplibs=yes
10727 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10728 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10729 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10731 cat >>confdefs.h <<\_ACEOF
10732 #define LTDL_DLOPEN_DEPLIBS 1
10738 for ac_header in argz.h
10740 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10741 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10742 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10743 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10744 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10745 echo $ECHO_N "(cached
) $ECHO_C" >&6
10747 ac_res=`eval echo '${'$as_ac_Header'}'`
10748 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10749 echo "${ECHO_T}$ac_res" >&6; }
10751 # Is the header compilable?
10752 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10753 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 $ac_includes_default
10761 #include <$ac_header>
10763 rm -f conftest.$ac_objext
10764 if { (ac_try="$ac_compile"
10765 case "(($ac_try" in
10766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10767 *) ac_try_echo=$ac_try;;
10769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10770 (eval "$ac_compile") 2>conftest.er1
10772 grep -v '^ *+' conftest.er1 >conftest.err
10774 cat conftest.err >&5
10775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10776 (exit $ac_status); } &&
10777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10778 { (case "(($ac_try" in
10779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10780 *) ac_try_echo=$ac_try;;
10782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10783 (eval "$ac_try") 2>&5
10785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10786 (exit $ac_status); }; } &&
10787 { ac_try='test -s conftest.$ac_objext'
10788 { (case "(($ac_try" in
10789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10790 *) ac_try_echo=$ac_try;;
10792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10793 (eval "$ac_try") 2>&5
10795 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10796 (exit $ac_status); }; }; then
10797 ac_header_compiler=yes
10799 echo "$as_me: failed program was
:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10802 ac_header_compiler=no
10805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10806 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10807 echo "${ECHO_T}$ac_header_compiler" >&6; }
10809 # Is the header present?
10810 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10811 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10812 cat >conftest.$ac_ext <<_ACEOF
10815 cat confdefs.h >>conftest.$ac_ext
10816 cat >>conftest.$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10818 #include <$ac_header>
10820 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10821 case "(($ac_try" in
10822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10823 *) ac_try_echo=$ac_try;;
10825 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10826 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10828 grep -v '^ *+' conftest.er1 >conftest.err
10830 cat conftest.err >&5
10831 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10832 (exit $ac_status); } >/dev/null; then
10833 if test -s conftest.err; then
10834 ac_cpp_err=$ac_c_preproc_warn_flag
10835 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10842 if test -z "$ac_cpp_err"; then
10843 ac_header_preproc=yes
10845 echo "$as_me: failed program was
:" >&5
10846 sed 's/^/| /' conftest.$ac_ext >&5
10848 ac_header_preproc=no
10851 rm -f conftest.err conftest.$ac_ext
10852 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10853 echo "${ECHO_T}$ac_header_preproc" >&6; }
10855 # So? What about this header?
10856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10858 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10859 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10860 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10862 ac_header_preproc=yes
10865 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10866 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10867 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10868 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10869 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10870 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10871 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10872 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10873 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10875 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10876 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10878 ## ----------------------------------- ##
10879 ## Report this to llvmbugs@cs.uiuc.edu ##
10880 ## ----------------------------------- ##
10882 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10885 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10886 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10887 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10888 echo $ECHO_N "(cached
) $ECHO_C" >&6
10890 eval "$as_ac_Header=\
$ac_header_preproc"
10892 ac_res=`eval echo '${'$as_ac_Header'}'`
10893 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10894 echo "${ECHO_T}$ac_res" >&6; }
10897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10898 cat >>confdefs.h <<_ACEOF
10899 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10907 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10908 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10909 if test "${ac_cv_type_error_t+set}" = set; then
10910 echo $ECHO_N "(cached
) $ECHO_C" >&6
10912 cat >conftest.$ac_ext <<_ACEOF
10915 cat confdefs.h >>conftest.$ac_ext
10916 cat >>conftest.$ac_ext <<_ACEOF
10917 /* end confdefs.h. */
10922 typedef error_t ac__type_new_;
10926 if ((ac__type_new_ *) 0)
10928 if (sizeof (ac__type_new_))
10934 rm -f conftest.$ac_objext
10935 if { (ac_try="$ac_compile"
10936 case "(($ac_try" in
10937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10940 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_compile") 2>conftest.er1
10943 grep -v '^ *+' conftest.er1 >conftest.err
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10949 { (case "(($ac_try" in
10950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10953 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_try") 2>&5
10956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try='test -s conftest.$ac_objext'
10959 { (case "(($ac_try" in
10960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10961 *) ac_try_echo=$ac_try;;
10963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_try") 2>&5
10966 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 ac_cv_type_error_t=yes
10970 echo "$as_me: failed program was
:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 ac_cv_type_error_t=no
10976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10978 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
10979 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10980 if test $ac_cv_type_error_t = yes; then
10982 cat >>confdefs.h <<_ACEOF
10983 #define HAVE_ERROR_T 1
10989 cat >>confdefs.h <<\_ACEOF
10990 #define error_t int
11001 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
11003 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11004 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11005 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11006 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11007 echo $ECHO_N "(cached
) $ECHO_C" >&6
11009 cat >conftest.$ac_ext <<_ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11017 #define $ac_func innocuous_$ac_func
11019 /* System header to define __stub macros and hopefully few prototypes,
11020 which can conflict with char $ac_func (); below.
11021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11022 <limits.h> exists even on freestanding compilers. */
11025 # include <limits.h>
11027 # include <assert.h>
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11039 /* The GNU C library defines this for functions which it implements
11040 to always fail with ENOSYS. Some functions are actually named
11041 something starting with __ and the normal name is an alias. */
11042 #if defined __stub_$ac_func || defined __stub___$ac_func
11049 return $ac_func ();
11054 rm -f conftest.$ac_objext conftest$ac_exeext
11055 if { (ac_try="$ac_link"
11056 case "(($ac_try" in
11057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11058 *) ac_try_echo=$ac_try;;
11060 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11061 (eval "$ac_link") 2>conftest.er1
11063 grep -v '^ *+' conftest.er1 >conftest.err
11065 cat conftest.err >&5
11066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11067 (exit $ac_status); } &&
11068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11069 { (case "(($ac_try" in
11070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11071 *) ac_try_echo=$ac_try;;
11073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11074 (eval "$ac_try") 2>&5
11076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11077 (exit $ac_status); }; } &&
11078 { ac_try='test -s conftest$ac_exeext'
11079 { (case "(($ac_try" in
11080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11081 *) ac_try_echo=$ac_try;;
11083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11084 (eval "$ac_try") 2>&5
11086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11087 (exit $ac_status); }; }; then
11088 eval "$as_ac_var=yes"
11090 echo "$as_me: failed program was
:" >&5
11091 sed 's/^/| /' conftest.$ac_ext >&5
11093 eval "$as_ac_var=no
"
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11099 ac_res=`eval echo '${'$as_ac_var'}'`
11100 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11101 echo "${ECHO_T}$ac_res" >&6; }
11102 if test `eval echo '${'$as_ac_var'}'` = yes; then
11103 cat >>confdefs.h <<_ACEOF
11104 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11137 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11140 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11141 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11142 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11143 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11144 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11145 echo $ECHO_N "(cached
) $ECHO_C" >&6
11147 ac_res=`eval echo '${'$as_ac_Header'}'`
11148 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11149 echo "${ECHO_T}$ac_res" >&6; }
11151 # Is the header compilable?
11152 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11153 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11154 cat >conftest.$ac_ext <<_ACEOF
11157 cat confdefs.h >>conftest.$ac_ext
11158 cat >>conftest.$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11160 $ac_includes_default
11161 #include <$ac_header>
11163 rm -f conftest.$ac_objext
11164 if { (ac_try="$ac_compile"
11165 case "(($ac_try" in
11166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11167 *) ac_try_echo=$ac_try;;
11169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11170 (eval "$ac_compile") 2>conftest.er1
11172 grep -v '^ *+' conftest.er1 >conftest.err
11174 cat conftest.err >&5
11175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11176 (exit $ac_status); } &&
11177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11178 { (case "(($ac_try" in
11179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11180 *) ac_try_echo=$ac_try;;
11182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11183 (eval "$ac_try") 2>&5
11185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11186 (exit $ac_status); }; } &&
11187 { ac_try='test -s conftest.$ac_objext'
11188 { (case "(($ac_try" in
11189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11190 *) ac_try_echo=$ac_try;;
11192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11193 (eval "$ac_try") 2>&5
11195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11196 (exit $ac_status); }; }; then
11197 ac_header_compiler=yes
11199 echo "$as_me: failed program was
:" >&5
11200 sed 's/^/| /' conftest.$ac_ext >&5
11202 ac_header_compiler=no
11205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11206 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11207 echo "${ECHO_T}$ac_header_compiler" >&6; }
11209 # Is the header present?
11210 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11211 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11212 cat >conftest.$ac_ext <<_ACEOF
11215 cat confdefs.h >>conftest.$ac_ext
11216 cat >>conftest.$ac_ext <<_ACEOF
11217 /* end confdefs.h. */
11218 #include <$ac_header>
11220 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11221 case "(($ac_try" in
11222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11223 *) ac_try_echo=$ac_try;;
11225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11226 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11228 grep -v '^ *+' conftest.er1 >conftest.err
11230 cat conftest.err >&5
11231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11232 (exit $ac_status); } >/dev/null; then
11233 if test -s conftest.err; then
11234 ac_cpp_err=$ac_c_preproc_warn_flag
11235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11242 if test -z "$ac_cpp_err"; then
11243 ac_header_preproc=yes
11245 echo "$as_me: failed program was
:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11248 ac_header_preproc=no
11251 rm -f conftest.err conftest.$ac_ext
11252 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11253 echo "${ECHO_T}$ac_header_preproc" >&6; }
11255 # So? What about this header?
11256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11258 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11259 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11260 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11261 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11262 ac_header_preproc=yes
11265 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11266 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11267 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11268 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11269 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11270 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11271 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11272 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11273 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11275 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11276 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11278 ## ----------------------------------- ##
11279 ## Report this to llvmbugs@cs.uiuc.edu ##
11280 ## ----------------------------------- ##
11282 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11285 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11286 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11287 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11288 echo $ECHO_N "(cached
) $ECHO_C" >&6
11290 eval "$as_ac_Header=\
$ac_header_preproc"
11292 ac_res=`eval echo '${'$as_ac_Header'}'`
11293 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11294 echo "${ECHO_T}$ac_res" >&6; }
11297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11298 cat >>confdefs.h <<_ACEOF
11299 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11310 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11312 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11313 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11314 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11315 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11316 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11317 echo $ECHO_N "(cached
) $ECHO_C" >&6
11319 ac_res=`eval echo '${'$as_ac_Header'}'`
11320 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11321 echo "${ECHO_T}$ac_res" >&6; }
11323 # Is the header compilable?
11324 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11325 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11326 cat >conftest.$ac_ext <<_ACEOF
11329 cat confdefs.h >>conftest.$ac_ext
11330 cat >>conftest.$ac_ext <<_ACEOF
11331 /* end confdefs.h. */
11332 $ac_includes_default
11333 #include <$ac_header>
11335 rm -f conftest.$ac_objext
11336 if { (ac_try="$ac_compile"
11337 case "(($ac_try" in
11338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11339 *) ac_try_echo=$ac_try;;
11341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11342 (eval "$ac_compile") 2>conftest.er1
11344 grep -v '^ *+' conftest.er1 >conftest.err
11346 cat conftest.err >&5
11347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11348 (exit $ac_status); } &&
11349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11350 { (case "(($ac_try" in
11351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11352 *) ac_try_echo=$ac_try;;
11354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11355 (eval "$ac_try") 2>&5
11357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11358 (exit $ac_status); }; } &&
11359 { ac_try='test -s conftest.$ac_objext'
11360 { (case "(($ac_try" in
11361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11362 *) ac_try_echo=$ac_try;;
11364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11365 (eval "$ac_try") 2>&5
11367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11368 (exit $ac_status); }; }; then
11369 ac_header_compiler=yes
11371 echo "$as_me: failed program was
:" >&5
11372 sed 's/^/| /' conftest.$ac_ext >&5
11374 ac_header_compiler=no
11377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11378 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11379 echo "${ECHO_T}$ac_header_compiler" >&6; }
11381 # Is the header present?
11382 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11383 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11384 cat >conftest.$ac_ext <<_ACEOF
11387 cat confdefs.h >>conftest.$ac_ext
11388 cat >>conftest.$ac_ext <<_ACEOF
11389 /* end confdefs.h. */
11390 #include <$ac_header>
11392 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11393 case "(($ac_try" in
11394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11395 *) ac_try_echo=$ac_try;;
11397 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11398 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11400 grep -v '^ *+' conftest.er1 >conftest.err
11402 cat conftest.err >&5
11403 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11404 (exit $ac_status); } >/dev/null; then
11405 if test -s conftest.err; then
11406 ac_cpp_err=$ac_c_preproc_warn_flag
11407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11414 if test -z "$ac_cpp_err"; then
11415 ac_header_preproc=yes
11417 echo "$as_me: failed program was
:" >&5
11418 sed 's/^/| /' conftest.$ac_ext >&5
11420 ac_header_preproc=no
11423 rm -f conftest.err conftest.$ac_ext
11424 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11425 echo "${ECHO_T}$ac_header_preproc" >&6; }
11427 # So? What about this header?
11428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11430 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11431 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11432 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11434 ac_header_preproc=yes
11437 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11438 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11439 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11440 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11441 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11442 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11443 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11444 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11445 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11447 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11448 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11450 ## ----------------------------------- ##
11451 ## Report this to llvmbugs@cs.uiuc.edu ##
11452 ## ----------------------------------- ##
11454 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11457 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11458 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11459 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11460 echo $ECHO_N "(cached
) $ECHO_C" >&6
11462 eval "$as_ac_Header=\
$ac_header_preproc"
11464 ac_res=`eval echo '${'$as_ac_Header'}'`
11465 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11466 echo "${ECHO_T}$ac_res" >&6; }
11469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11470 cat >>confdefs.h <<_ACEOF
11471 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11480 for ac_header in string.h strings.h
11482 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11483 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11484 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11485 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11486 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11487 echo $ECHO_N "(cached
) $ECHO_C" >&6
11489 ac_res=`eval echo '${'$as_ac_Header'}'`
11490 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11491 echo "${ECHO_T}$ac_res" >&6; }
11493 # Is the header compilable?
11494 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11495 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11496 cat >conftest.$ac_ext <<_ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11502 $ac_includes_default
11503 #include <$ac_header>
11505 rm -f conftest.$ac_objext
11506 if { (ac_try="$ac_compile"
11507 case "(($ac_try" in
11508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11509 *) ac_try_echo=$ac_try;;
11511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11512 (eval "$ac_compile") 2>conftest.er1
11514 grep -v '^ *+' conftest.er1 >conftest.err
11516 cat conftest.err >&5
11517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11520 { (case "(($ac_try" in
11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11524 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11525 (eval "$ac_try") 2>&5
11527 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11528 (exit $ac_status); }; } &&
11529 { ac_try='test -s conftest.$ac_objext'
11530 { (case "(($ac_try" in
11531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11532 *) ac_try_echo=$ac_try;;
11534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11535 (eval "$ac_try") 2>&5
11537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11538 (exit $ac_status); }; }; then
11539 ac_header_compiler=yes
11541 echo "$as_me: failed program was
:" >&5
11542 sed 's/^/| /' conftest.$ac_ext >&5
11544 ac_header_compiler=no
11547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11548 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11549 echo "${ECHO_T}$ac_header_compiler" >&6; }
11551 # Is the header present?
11552 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11553 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11554 cat >conftest.$ac_ext <<_ACEOF
11557 cat confdefs.h >>conftest.$ac_ext
11558 cat >>conftest.$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11560 #include <$ac_header>
11562 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11563 case "(($ac_try" in
11564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11565 *) ac_try_echo=$ac_try;;
11567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11568 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11570 grep -v '^ *+' conftest.er1 >conftest.err
11572 cat conftest.err >&5
11573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11574 (exit $ac_status); } >/dev/null; then
11575 if test -s conftest.err; then
11576 ac_cpp_err=$ac_c_preproc_warn_flag
11577 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11584 if test -z "$ac_cpp_err"; then
11585 ac_header_preproc=yes
11587 echo "$as_me: failed program was
:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 ac_header_preproc=no
11593 rm -f conftest.err conftest.$ac_ext
11594 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11595 echo "${ECHO_T}$ac_header_preproc" >&6; }
11597 # So? What about this header?
11598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11600 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11601 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11602 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11604 ac_header_preproc=yes
11607 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11608 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11609 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11610 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11611 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11612 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11613 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11614 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11615 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11617 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11618 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11620 ## ----------------------------------- ##
11621 ## Report this to llvmbugs@cs.uiuc.edu ##
11622 ## ----------------------------------- ##
11624 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11627 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11628 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11629 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11630 echo $ECHO_N "(cached
) $ECHO_C" >&6
11632 eval "$as_ac_Header=\
$ac_header_preproc"
11634 ac_res=`eval echo '${'$as_ac_Header'}'`
11635 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11636 echo "${ECHO_T}$ac_res" >&6; }
11639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11640 cat >>confdefs.h <<_ACEOF
11641 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11651 for ac_func in strchr index
11653 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11654 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11655 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11656 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11657 echo $ECHO_N "(cached
) $ECHO_C" >&6
11659 cat >conftest.$ac_ext <<_ACEOF
11662 cat confdefs.h >>conftest.$ac_ext
11663 cat >>conftest.$ac_ext <<_ACEOF
11664 /* end confdefs.h. */
11665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11667 #define $ac_func innocuous_$ac_func
11669 /* System header to define __stub macros and hopefully few prototypes,
11670 which can conflict with char $ac_func (); below.
11671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11672 <limits.h> exists even on freestanding compilers. */
11675 # include <limits.h>
11677 # include <assert.h>
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11689 /* The GNU C library defines this for functions which it implements
11690 to always fail with ENOSYS. Some functions are actually named
11691 something starting with __ and the normal name is an alias. */
11692 #if defined __stub_$ac_func || defined __stub___$ac_func
11699 return $ac_func ();
11704 rm -f conftest.$ac_objext conftest$ac_exeext
11705 if { (ac_try="$ac_link"
11706 case "(($ac_try" in
11707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11708 *) ac_try_echo=$ac_try;;
11710 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11711 (eval "$ac_link") 2>conftest.er1
11713 grep -v '^ *+' conftest.er1 >conftest.err
11715 cat conftest.err >&5
11716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11717 (exit $ac_status); } &&
11718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11719 { (case "(($ac_try" in
11720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11721 *) ac_try_echo=$ac_try;;
11723 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11724 (eval "$ac_try") 2>&5
11726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11727 (exit $ac_status); }; } &&
11728 { ac_try='test -s conftest$ac_exeext'
11729 { (case "(($ac_try" in
11730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11731 *) ac_try_echo=$ac_try;;
11733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11734 (eval "$ac_try") 2>&5
11736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11737 (exit $ac_status); }; }; then
11738 eval "$as_ac_var=yes"
11740 echo "$as_me: failed program was
:" >&5
11741 sed 's/^/| /' conftest.$ac_ext >&5
11743 eval "$as_ac_var=no
"
11746 rm -f core conftest.err conftest.$ac_objext \
11747 conftest$ac_exeext conftest.$ac_ext
11749 ac_res=`eval echo '${'$as_ac_var'}'`
11750 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11751 echo "${ECHO_T}$ac_res" >&6; }
11752 if test `eval echo '${'$as_ac_var'}'` = yes; then
11753 cat >>confdefs.h <<_ACEOF
11754 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11762 for ac_func in strrchr rindex
11764 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11765 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11766 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11767 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11768 echo $ECHO_N "(cached
) $ECHO_C" >&6
11770 cat >conftest.$ac_ext <<_ACEOF
11773 cat confdefs.h >>conftest.$ac_ext
11774 cat >>conftest.$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11778 #define $ac_func innocuous_$ac_func
11780 /* System header to define __stub macros and hopefully few prototypes,
11781 which can conflict with char $ac_func (); below.
11782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11783 <limits.h> exists even on freestanding compilers. */
11786 # include <limits.h>
11788 # include <assert.h>
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11800 /* The GNU C library defines this for functions which it implements
11801 to always fail with ENOSYS. Some functions are actually named
11802 something starting with __ and the normal name is an alias. */
11803 #if defined __stub_$ac_func || defined __stub___$ac_func
11810 return $ac_func ();
11815 rm -f conftest.$ac_objext conftest$ac_exeext
11816 if { (ac_try="$ac_link"
11817 case "(($ac_try" in
11818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11819 *) ac_try_echo=$ac_try;;
11821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11822 (eval "$ac_link") 2>conftest.er1
11824 grep -v '^ *+' conftest.er1 >conftest.err
11826 cat conftest.err >&5
11827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11828 (exit $ac_status); } &&
11829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11830 { (case "(($ac_try" in
11831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11832 *) ac_try_echo=$ac_try;;
11834 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11835 (eval "$ac_try") 2>&5
11837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try='test -s conftest$ac_exeext'
11840 { (case "(($ac_try" in
11841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11842 *) ac_try_echo=$ac_try;;
11844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11845 (eval "$ac_try") 2>&5
11847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11848 (exit $ac_status); }; }; then
11849 eval "$as_ac_var=yes"
11851 echo "$as_me: failed program was
:" >&5
11852 sed 's/^/| /' conftest.$ac_ext >&5
11854 eval "$as_ac_var=no
"
11857 rm -f core conftest.err conftest.$ac_objext \
11858 conftest$ac_exeext conftest.$ac_ext
11860 ac_res=`eval echo '${'$as_ac_var'}'`
11861 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11862 echo "${ECHO_T}$ac_res" >&6; }
11863 if test `eval echo '${'$as_ac_var'}'` = yes; then
11864 cat >>confdefs.h <<_ACEOF
11865 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11873 for ac_func in memcpy bcopy
11875 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11876 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11877 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11878 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11879 echo $ECHO_N "(cached
) $ECHO_C" >&6
11881 cat >conftest.$ac_ext <<_ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11889 #define $ac_func innocuous_$ac_func
11891 /* System header to define __stub macros and hopefully few prototypes,
11892 which can conflict with char $ac_func (); below.
11893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11894 <limits.h> exists even on freestanding compilers. */
11897 # include <limits.h>
11899 # include <assert.h>
11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
11911 /* The GNU C library defines this for functions which it implements
11912 to always fail with ENOSYS. Some functions are actually named
11913 something starting with __ and the normal name is an alias. */
11914 #if defined __stub_$ac_func || defined __stub___$ac_func
11921 return $ac_func ();
11926 rm -f conftest.$ac_objext conftest$ac_exeext
11927 if { (ac_try="$ac_link"
11928 case "(($ac_try" in
11929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11930 *) ac_try_echo=$ac_try;;
11932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11933 (eval "$ac_link") 2>conftest.er1
11935 grep -v '^ *+' conftest.er1 >conftest.err
11937 cat conftest.err >&5
11938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11941 { (case "(($ac_try" in
11942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11943 *) ac_try_echo=$ac_try;;
11945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11946 (eval "$ac_try") 2>&5
11948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11949 (exit $ac_status); }; } &&
11950 { ac_try='test -s conftest$ac_exeext'
11951 { (case "(($ac_try" in
11952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11953 *) ac_try_echo=$ac_try;;
11955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11956 (eval "$ac_try") 2>&5
11958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11959 (exit $ac_status); }; }; then
11960 eval "$as_ac_var=yes"
11962 echo "$as_me: failed program was
:" >&5
11963 sed 's/^/| /' conftest.$ac_ext >&5
11965 eval "$as_ac_var=no
"
11968 rm -f core conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11971 ac_res=`eval echo '${'$as_ac_var'}'`
11972 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11973 echo "${ECHO_T}$ac_res" >&6; }
11974 if test `eval echo '${'$as_ac_var'}'` = yes; then
11975 cat >>confdefs.h <<_ACEOF
11976 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11984 for ac_func in memmove strcmp
11986 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11987 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11988 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11989 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11990 echo $ECHO_N "(cached
) $ECHO_C" >&6
11992 cat >conftest.$ac_ext <<_ACEOF
11995 cat confdefs.h >>conftest.$ac_ext
11996 cat >>conftest.$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12000 #define $ac_func innocuous_$ac_func
12002 /* System header to define __stub macros and hopefully few prototypes,
12003 which can conflict with char $ac_func (); below.
12004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12005 <limits.h> exists even on freestanding compilers. */
12008 # include <limits.h>
12010 # include <assert.h>
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12022 /* The GNU C library defines this for functions which it implements
12023 to always fail with ENOSYS. Some functions are actually named
12024 something starting with __ and the normal name is an alias. */
12025 #if defined __stub_$ac_func || defined __stub___$ac_func
12032 return $ac_func ();
12037 rm -f conftest.$ac_objext conftest$ac_exeext
12038 if { (ac_try="$ac_link"
12039 case "(($ac_try" in
12040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12041 *) ac_try_echo=$ac_try;;
12043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12044 (eval "$ac_link") 2>conftest.er1
12046 grep -v '^ *+' conftest.er1 >conftest.err
12048 cat conftest.err >&5
12049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12050 (exit $ac_status); } &&
12051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12052 { (case "(($ac_try" in
12053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12054 *) ac_try_echo=$ac_try;;
12056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12057 (eval "$ac_try") 2>&5
12059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12060 (exit $ac_status); }; } &&
12061 { ac_try='test -s conftest$ac_exeext'
12062 { (case "(($ac_try" in
12063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12064 *) ac_try_echo=$ac_try;;
12066 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12067 (eval "$ac_try") 2>&5
12069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12070 (exit $ac_status); }; }; then
12071 eval "$as_ac_var=yes"
12073 echo "$as_me: failed program was
:" >&5
12074 sed 's/^/| /' conftest.$ac_ext >&5
12076 eval "$as_ac_var=no
"
12079 rm -f core conftest.err conftest.$ac_objext \
12080 conftest$ac_exeext conftest.$ac_ext
12082 ac_res=`eval echo '${'$as_ac_var'}'`
12083 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12084 echo "${ECHO_T}$ac_res" >&6; }
12085 if test `eval echo '${'$as_ac_var'}'` = yes; then
12086 cat >>confdefs.h <<_ACEOF
12087 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12096 for ac_func in closedir opendir readdir
12098 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12099 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12100 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12101 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12102 echo $ECHO_N "(cached
) $ECHO_C" >&6
12104 cat >conftest.$ac_ext <<_ACEOF
12107 cat confdefs.h >>conftest.$ac_ext
12108 cat >>conftest.$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12112 #define $ac_func innocuous_$ac_func
12114 /* System header to define __stub macros and hopefully few prototypes,
12115 which can conflict with char $ac_func (); below.
12116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12117 <limits.h> exists even on freestanding compilers. */
12120 # include <limits.h>
12122 # include <assert.h>
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12134 /* The GNU C library defines this for functions which it implements
12135 to always fail with ENOSYS. Some functions are actually named
12136 something starting with __ and the normal name is an alias. */
12137 #if defined __stub_$ac_func || defined __stub___$ac_func
12144 return $ac_func ();
12149 rm -f conftest.$ac_objext conftest$ac_exeext
12150 if { (ac_try="$ac_link"
12151 case "(($ac_try" in
12152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12153 *) ac_try_echo=$ac_try;;
12155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12156 (eval "$ac_link") 2>conftest.er1
12158 grep -v '^ *+' conftest.er1 >conftest.err
12160 cat conftest.err >&5
12161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12162 (exit $ac_status); } &&
12163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12164 { (case "(($ac_try" in
12165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12166 *) ac_try_echo=$ac_try;;
12168 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12169 (eval "$ac_try") 2>&5
12171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12172 (exit $ac_status); }; } &&
12173 { ac_try='test -s conftest$ac_exeext'
12174 { (case "(($ac_try" in
12175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12176 *) ac_try_echo=$ac_try;;
12178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12179 (eval "$ac_try") 2>&5
12181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12182 (exit $ac_status); }; }; then
12183 eval "$as_ac_var=yes"
12185 echo "$as_me: failed program was
:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12188 eval "$as_ac_var=no
"
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12194 ac_res=`eval echo '${'$as_ac_var'}'`
12195 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12196 echo "${ECHO_T}$ac_res" >&6; }
12197 if test `eval echo '${'$as_ac_var'}'` = yes; then
12198 cat >>confdefs.h <<_ACEOF
12199 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12206 # Check whether --enable-shared was given.
12207 if test "${enable_shared+set}" = set; then
12208 enableval=$enable_shared; p=${PACKAGE-default}
12210 yes) enable_shared=yes ;;
12211 no) enable_shared=no ;;
12214 # Look at the argument we got. We use all the common list separators.
12215 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12216 for pkg in $enableval; do
12218 if test "X
$pkg" = "X
$p"; then
12230 # Check whether --enable-static was given.
12231 if test "${enable_static+set}" = set; then
12232 enableval=$enable_static; p=${PACKAGE-default}
12234 yes) enable_static=yes ;;
12235 no) enable_static=no ;;
12238 # Look at the argument we got. We use all the common list separators.
12239 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12240 for pkg in $enableval; do
12242 if test "X
$pkg" = "X
$p"; then
12254 # Check whether --enable-fast-install was given.
12255 if test "${enable_fast_install+set}" = set; then
12256 enableval=$enable_fast_install; p=${PACKAGE-default}
12258 yes) enable_fast_install=yes ;;
12259 no) enable_fast_install=no ;;
12261 enable_fast_install=no
12262 # Look at the argument we got. We use all the common list separators.
12263 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12264 for pkg in $enableval; do
12266 if test "X
$pkg" = "X
$p"; then
12267 enable_fast_install=yes
12274 enable_fast_install=yes
12278 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12279 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12280 if test "${lt_cv_path_SED+set}" = set; then
12281 echo $ECHO_N "(cached
) $ECHO_C" >&6
12283 # Loop through the user's path and test for sed and gsed.
12284 # Then use that list of sed's as ones to test for truncation.
12285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12286 for as_dir in $PATH
12289 test -z "$as_dir" && as_dir=.
12290 for lt_ac_prog in sed gsed; do
12291 for ac_exec_ext in '' $ac_executable_extensions; do
12292 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12293 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12300 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12301 # along with /bin/sed that truncates output.
12302 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12303 test ! -f $lt_ac_sed && continue
12304 cat /dev/null > conftest.in
12306 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12307 # Check for GNU sed and select it if it is found.
12308 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12309 lt_cv_path_SED=$lt_ac_sed
12313 cat conftest.in conftest.in >conftest.tmp
12314 mv conftest.tmp conftest.in
12315 cp conftest.in conftest.nl
12317 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12318 cmp -s conftest.out conftest.nl || break
12319 # 10000 chars as input seems more than enough
12320 test $lt_ac_count -gt 10 && break
12321 lt_ac_count=`expr $lt_ac_count + 1`
12322 if test $lt_ac_count -gt $lt_ac_max; then
12323 lt_ac_max=$lt_ac_count
12324 lt_cv_path_SED=$lt_ac_sed
12331 SED=$lt_cv_path_SED
12332 { echo "$as_me:$LINENO: result
: $SED" >&5
12333 echo "${ECHO_T}$SED" >&6; }
12336 # Check whether --with-gnu-ld was given.
12337 if test "${with_gnu_ld+set}" = set; then
12338 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12344 if test "$GCC" = yes; then
12345 # Check if gcc -print-prog-name=ld gives a path.
12346 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12347 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12350 # gcc leaves a trailing carriage return which upsets mingw
12351 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12353 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12356 # Accept absolute paths.
12358 re_direlt='/[^/][^/]*/\.\./'
12359 # Canonicalize the pathname of ld
12360 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12361 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12362 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12364 test -z "$LD" && LD="$ac_prog"
12367 # If it fails, then pretend we aren't using GCC.
12371 # If it is relative, then search for the first ld in PATH.
12372 with_gnu_ld=unknown
12375 elif test "$with_gnu_ld" = yes; then
12376 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12377 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12379 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12380 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12382 if test "${lt_cv_path_LD+set}" = set; then
12383 echo $ECHO_N "(cached
) $ECHO_C" >&6
12385 if test -z "$LD"; then
12386 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12387 for ac_dir in $PATH; do
12389 test -z "$ac_dir" && ac_dir=.
12390 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12391 lt_cv_path_LD="$ac_dir/$ac_prog"
12392 # Check to see if the program is GNU ld. I'd rather use --version,
12393 # but apparently some variants of GNU ld only accept -v.
12394 # Break only if it was the GNU/non-GNU ld that we prefer.
12395 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12396 *GNU* | *'with BFD'*)
12397 test "$with_gnu_ld" != no && break
12400 test "$with_gnu_ld" != yes && break
12407 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12411 LD="$lt_cv_path_LD"
12412 if test -n "$LD"; then
12413 { echo "$as_me:$LINENO: result
: $LD" >&5
12414 echo "${ECHO_T}$LD" >&6; }
12416 { echo "$as_me:$LINENO: result
: no
" >&5
12417 echo "${ECHO_T}no
" >&6; }
12419 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12420 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12421 { (exit 1); exit 1; }; }
12422 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12423 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12424 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12425 echo $ECHO_N "(cached
) $ECHO_C" >&6
12427 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12428 case `$LD -v 2>&1 </dev/null` in
12429 *GNU* | *'with BFD'*)
12430 lt_cv_prog_gnu_ld=yes
12433 lt_cv_prog_gnu_ld=no
12437 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12438 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12439 with_gnu_ld=$lt_cv_prog_gnu_ld
12442 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12443 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12444 if test "${lt_cv_ld_reload_flag+set}" = set; then
12445 echo $ECHO_N "(cached
) $ECHO_C" >&6
12447 lt_cv_ld_reload_flag='-r'
12449 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12450 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12451 reload_flag=$lt_cv_ld_reload_flag
12452 case $reload_flag in
12454 *) reload_flag=" $reload_flag" ;;
12456 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12459 if test "$GCC" = yes; then
12460 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12462 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12467 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12468 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12469 if test "${lt_cv_deplibs_check_method+set}" = set; then
12470 echo $ECHO_N "(cached
) $ECHO_C" >&6
12472 lt_cv_file_magic_cmd='$MAGIC_CMD'
12473 lt_cv_file_magic_test_file=
12474 lt_cv_deplibs_check_method='unknown'
12475 # Need to set the preceding variable on all platforms that support
12476 # interlibrary dependencies.
12477 # 'none' -- dependencies not supported.
12478 # `unknown' -- same as none, but documents that we really don't know.
12479 # 'pass_all' -- all dependencies passed with no checks.
12480 # 'test_compile' -- check by making test program.
12481 # 'file_magic [[regex]]' -- check by looking for files in library path
12482 # which responds to the $file_magic_cmd with a given extended regex.
12483 # If you have `file' or equivalent on your system and you're not sure
12484 # whether `pass_all' will *always* work, you probably want this one.
12488 lt_cv_deplibs_check_method=pass_all
12492 lt_cv_deplibs_check_method=pass_all
12496 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12497 lt_cv_file_magic_cmd='/usr/bin/file -L'
12498 lt_cv_file_magic_test_file=/shlib/libc.so
12502 # func_win32_libid is a shell function defined in ltmain.sh
12503 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12504 lt_cv_file_magic_cmd='func_win32_libid'
12508 # Base MSYS/MinGW do not provide the 'file' command needed by
12509 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12510 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12511 lt_cv_file_magic_cmd='$OBJDUMP -f'
12514 darwin* | rhapsody*)
12515 lt_cv_deplibs_check_method=pass_all
12518 freebsd* | kfreebsd*-gnu | dragonfly*)
12519 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12522 # Not sure whether the presence of OpenBSD here was a mistake.
12523 # Let's accept both of them until this is cleared up.
12524 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12525 lt_cv_file_magic_cmd=/usr/bin/file
12526 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12530 lt_cv_deplibs_check_method=pass_all
12535 lt_cv_deplibs_check_method=pass_all
12538 hpux10.20* | hpux11*)
12539 lt_cv_file_magic_cmd=/usr/bin/file
12542 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12543 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12546 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]'
12547 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12550 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12551 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12557 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12558 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12561 irix5* | irix6* | nonstopux*)
12563 *-32|*"-32 ") libmagic=32-bit;;
12564 *-n32|*"-n32 ") libmagic=N32;;
12565 *-64|*"-64 ") libmagic=64-bit;;
12566 *) libmagic=never-match;;
12568 lt_cv_deplibs_check_method=pass_all
12571 # This must be Linux ELF.
12573 lt_cv_deplibs_check_method=pass_all
12577 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12578 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12580 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12585 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12586 lt_cv_file_magic_cmd=/usr/bin/file
12587 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12591 lt_cv_deplibs_check_method=unknown
12595 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12596 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12598 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12602 osf3* | osf4* | osf5*)
12603 lt_cv_deplibs_check_method=pass_all
12607 lt_cv_deplibs_check_method=pass_all
12611 case $host_vendor in
12613 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]'
12614 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12617 lt_cv_deplibs_check_method=pass_all
12620 lt_cv_file_magic_cmd='/bin/file'
12621 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12624 lt_cv_file_magic_cmd='/bin/file'
12625 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12626 lt_cv_file_magic_test_file=/lib/libc.so
12629 lt_cv_deplibs_check_method=pass_all
12632 lt_cv_deplibs_check_method=pass_all
12637 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12638 lt_cv_deplibs_check_method=pass_all
12643 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12644 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12645 file_magic_cmd=$lt_cv_file_magic_cmd
12646 deplibs_check_method=$lt_cv_deplibs_check_method
12647 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12651 # If no C compiler was specified, use CC.
12654 # If no C compiler flags were specified, use CFLAGS.
12655 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12657 # Allow CC to be a program name with arguments.
12660 # Check whether --enable-libtool-lock was given.
12661 if test "${enable_libtool_lock+set}" = set; then
12662 enableval=$enable_libtool_lock;
12665 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12667 # Some flags need to be propagated to the compiler or linker for good
12671 # Find out which ABI we are using.
12672 echo 'int i;' > conftest.$ac_ext
12673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12674 (eval $ac_compile) 2>&5
12676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12677 (exit $ac_status); }; then
12678 case `/usr/bin/file conftest.$ac_objext` in
12680 HPUX_IA64_MODE="32"
12683 HPUX_IA64_MODE="64"
12690 # Find out which ABI we are using.
12691 echo '#line 12691 "configure
"' > conftest.$ac_ext
12692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12693 (eval $ac_compile) 2>&5
12695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12696 (exit $ac_status); }; then
12697 if test "$lt_cv_prog_gnu_ld" = yes; then
12698 case `/usr/bin/file conftest.$ac_objext` in
12700 LD="${LD-ld} -melf32bsmip"
12703 LD="${LD-ld} -melf32bmipn32"
12706 LD="${LD-ld} -melf64bmip"
12710 case `/usr/bin/file conftest.$ac_objext` in
12726 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12727 # Find out which ABI we are using.
12728 echo 'int i;' > conftest.$ac_ext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12730 (eval $ac_compile) 2>&5
12732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12733 (exit $ac_status); }; then
12734 case `/usr/bin/file conftest.o` in
12738 LD="${LD-ld} -m elf_i386
"
12740 ppc64-*linux*|powerpc64-*linux*)
12741 LD="${LD-ld} -m elf32ppclinux
"
12744 LD="${LD-ld} -m elf_s390
"
12747 LD="${LD-ld} -m elf32_sparc
"
12754 LD="${LD-ld} -m elf_x86_64
"
12756 ppc*-*linux*|powerpc*-*linux*)
12757 LD="${LD-ld} -m elf64ppc
"
12760 LD="${LD-ld} -m elf64_s390
"
12763 LD="${LD-ld} -m elf64_sparc
"
12773 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12774 SAVE_CFLAGS="$CFLAGS"
12775 CFLAGS="$CFLAGS -belf"
12776 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12777 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12778 if test "${lt_cv_cc_needs_belf+set}" = set; then
12779 echo $ECHO_N "(cached
) $ECHO_C" >&6
12782 ac_cpp='$CPP $CPPFLAGS'
12783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12787 cat >conftest.$ac_ext <<_ACEOF
12790 cat confdefs.h >>conftest.$ac_ext
12791 cat >>conftest.$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12802 rm -f conftest.$ac_objext conftest$ac_exeext
12803 if { (ac_try="$ac_link"
12804 case "(($ac_try" in
12805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12806 *) ac_try_echo=$ac_try;;
12808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12809 (eval "$ac_link") 2>conftest.er1
12811 grep -v '^ *+' conftest.er1 >conftest.err
12813 cat conftest.err >&5
12814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12815 (exit $ac_status); } &&
12816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12817 { (case "(($ac_try" in
12818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12819 *) ac_try_echo=$ac_try;;
12821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12822 (eval "$ac_try") 2>&5
12824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12825 (exit $ac_status); }; } &&
12826 { ac_try='test -s conftest$ac_exeext'
12827 { (case "(($ac_try" in
12828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12829 *) ac_try_echo=$ac_try;;
12831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12832 (eval "$ac_try") 2>&5
12834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 lt_cv_cc_needs_belf=yes
12838 echo "$as_me: failed program was
:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12841 lt_cv_cc_needs_belf=no
12844 rm -f core conftest.err conftest.$ac_objext \
12845 conftest$ac_exeext conftest.$ac_ext
12847 ac_cpp='$CPP $CPPFLAGS'
12848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12853 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12854 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12855 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12856 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12857 CFLAGS="$SAVE_CFLAGS"
12861 # Find out which ABI we are using.
12862 echo 'int i;' > conftest.$ac_ext
12863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12864 (eval $ac_compile) 2>&5
12866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12867 (exit $ac_status); }; then
12868 case `/usr/bin/file conftest.o` in
12870 case $lt_cv_prog_gnu_ld in
12871 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12872 *) LD="${LD-ld} -64" ;;
12883 need_locks="$enable_libtool_lock"
12888 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12889 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12890 (test "X
$CXX" != "Xg
++"))) ; then
12892 ac_cpp='$CXXCPP $CPPFLAGS'
12893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12896 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12897 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12898 if test -z "$CXXCPP"; then
12899 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12900 echo $ECHO_N "(cached
) $ECHO_C" >&6
12902 # Double quotes because CXXCPP needs to be expanded
12903 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12905 ac_preproc_ok=false
12906 for ac_cxx_preproc_warn_flag in '' yes
12908 # Use a header file that comes with gcc, so configuring glibc
12909 # with a fresh cross-compiler works.
12910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12911 # <limits.h> exists even on freestanding compilers.
12912 # On the NeXT, cc -E runs the code through the compiler's parser,
12913 # not just through cpp. "Syntax error
" is here to catch this case.
12914 cat >conftest.$ac_ext <<_ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12921 # include <limits.h>
12923 # include <assert.h>
12927 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12928 case "(($ac_try" in
12929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12930 *) ac_try_echo=$ac_try;;
12932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12933 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12935 grep -v '^ *+' conftest.er1 >conftest.err
12937 cat conftest.err >&5
12938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12939 (exit $ac_status); } >/dev/null; then
12940 if test -s conftest.err; then
12941 ac_cpp_err=$ac_cxx_preproc_warn_flag
12942 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12949 if test -z "$ac_cpp_err"; then
12952 echo "$as_me: failed program was
:" >&5
12953 sed 's/^/| /' conftest.$ac_ext >&5
12955 # Broken: fails on valid input.
12959 rm -f conftest.err conftest.$ac_ext
12961 # OK, works on sane cases. Now check whether nonexistent headers
12962 # can be detected and how.
12963 cat >conftest.$ac_ext <<_ACEOF
12966 cat confdefs.h >>conftest.$ac_ext
12967 cat >>conftest.$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969 #include <ac_nonexistent.h>
12971 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12972 case "(($ac_try" in
12973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12974 *) ac_try_echo=$ac_try;;
12976 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12977 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12979 grep -v '^ *+' conftest.er1 >conftest.err
12981 cat conftest.err >&5
12982 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12983 (exit $ac_status); } >/dev/null; then
12984 if test -s conftest.err; then
12985 ac_cpp_err=$ac_cxx_preproc_warn_flag
12986 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12993 if test -z "$ac_cpp_err"; then
12994 # Broken: success on invalid input.
12997 echo "$as_me: failed program was
:" >&5
12998 sed 's/^/| /' conftest.$ac_ext >&5
13000 # Passes both tests.
13005 rm -f conftest.err conftest.$ac_ext
13008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13009 rm -f conftest.err conftest.$ac_ext
13010 if $ac_preproc_ok; then
13015 ac_cv_prog_CXXCPP=$CXXCPP
13018 CXXCPP=$ac_cv_prog_CXXCPP
13020 ac_cv_prog_CXXCPP=$CXXCPP
13022 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
13023 echo "${ECHO_T}$CXXCPP" >&6; }
13024 ac_preproc_ok=false
13025 for ac_cxx_preproc_warn_flag in '' yes
13027 # Use a header file that comes with gcc, so configuring glibc
13028 # with a fresh cross-compiler works.
13029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13030 # <limits.h> exists even on freestanding compilers.
13031 # On the NeXT, cc -E runs the code through the compiler's parser,
13032 # not just through cpp. "Syntax error
" is here to catch this case.
13033 cat >conftest.$ac_ext <<_ACEOF
13036 cat confdefs.h >>conftest.$ac_ext
13037 cat >>conftest.$ac_ext <<_ACEOF
13038 /* end confdefs.h. */
13040 # include <limits.h>
13042 # include <assert.h>
13046 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13047 case "(($ac_try" in
13048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13049 *) ac_try_echo=$ac_try;;
13051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13052 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13054 grep -v '^ *+' conftest.er1 >conftest.err
13056 cat conftest.err >&5
13057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13058 (exit $ac_status); } >/dev/null; then
13059 if test -s conftest.err; then
13060 ac_cpp_err=$ac_cxx_preproc_warn_flag
13061 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13068 if test -z "$ac_cpp_err"; then
13071 echo "$as_me: failed program was
:" >&5
13072 sed 's/^/| /' conftest.$ac_ext >&5
13074 # Broken: fails on valid input.
13078 rm -f conftest.err conftest.$ac_ext
13080 # OK, works on sane cases. Now check whether nonexistent headers
13081 # can be detected and how.
13082 cat >conftest.$ac_ext <<_ACEOF
13085 cat confdefs.h >>conftest.$ac_ext
13086 cat >>conftest.$ac_ext <<_ACEOF
13087 /* end confdefs.h. */
13088 #include <ac_nonexistent.h>
13090 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13091 case "(($ac_try" in
13092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13093 *) ac_try_echo=$ac_try;;
13095 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13096 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13098 grep -v '^ *+' conftest.er1 >conftest.err
13100 cat conftest.err >&5
13101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13102 (exit $ac_status); } >/dev/null; then
13103 if test -s conftest.err; then
13104 ac_cpp_err=$ac_cxx_preproc_warn_flag
13105 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13112 if test -z "$ac_cpp_err"; then
13113 # Broken: success on invalid input.
13116 echo "$as_me: failed program was
:" >&5
13117 sed 's/^/| /' conftest.$ac_ext >&5
13119 # Passes both tests.
13124 rm -f conftest.err conftest.$ac_ext
13127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13128 rm -f conftest.err conftest.$ac_ext
13129 if $ac_preproc_ok; then
13132 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
13133 See \
`config.log' for more details." >&5
13134 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13135 See \`config.log
' for more details." >&2;}
13136 { (exit 1); exit 1; }; }
13140 ac_cpp='$CXXCPP $CPPFLAGS'
13141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13142 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13149 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13150 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13151 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13152 if test -n "$ac_tool_prefix"; then
13153 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
13155 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13156 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13159 if test "${ac_cv_prog_F77+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13162 if test -n "$F77"; then
13163 ac_cv_prog_F77="$F77" # Let the user override the test.
13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13166 for as_dir in $PATH
13169 test -z "$as_dir" && as_dir=.
13170 for ac_exec_ext in '' $ac_executable_extensions; do
13171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13172 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13182 F77=$ac_cv_prog_F77
13183 if test -n "$F77"; then
13184 { echo "$as_me:$LINENO: result: $F77" >&5
13185 echo "${ECHO_T}$F77" >&6; }
13187 { echo "$as_me:$LINENO: result: no" >&5
13188 echo "${ECHO_T}no" >&6; }
13192 test -n "$F77" && break
13195 if test -z "$F77"; then
13197 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
13199 # Extract the first word of "$ac_prog", so it can be a program name with args.
13200 set dummy $ac_prog; ac_word=$2
13201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13203 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13204 echo $ECHO_N "(cached) $ECHO_C" >&6
13206 if test -n "$ac_ct_F77"; then
13207 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13210 for as_dir in $PATH
13213 test -z "$as_dir" && as_dir=.
13214 for ac_exec_ext in '' $ac_executable_extensions; do
13215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13216 ac_cv_prog_ac_ct_F77="$ac_prog"
13217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13226 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13227 if test -n "$ac_ct_F77"; then
13228 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13229 echo "${ECHO_T}$ac_ct_F77" >&6; }
13231 { echo "$as_me:$LINENO: result: no" >&5
13232 echo "${ECHO_T}no" >&6; }
13236 test -n "$ac_ct_F77" && break
13239 if test "x$ac_ct_F77" = x; then
13242 case $cross_compiling:$ac_tool_warned in
13244 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13245 whose name does not start with the host triplet. If you think this
13246 configuration is useful to you, please write to autoconf@gnu.org." >&5
13247 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13248 whose name does not start with the host triplet. If you think this
13249 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13250 ac_tool_warned=yes ;;
13257 # Provide some information about the compiler.
13258 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13259 ac_compiler=`set X $ac_compile; echo $2`
13260 { (ac_try="$ac_compiler --version >&5"
13261 case "(($ac_try" in
13262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13266 (eval "$ac_compiler --version >&5") 2>&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }
13270 { (ac_try="$ac_compiler -v >&5"
13271 case "(($ac_try" in
13272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13273 *) ac_try_echo=$ac_try;;
13275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13276 (eval "$ac_compiler -v >&5") 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }
13280 { (ac_try="$ac_compiler -V >&5"
13281 case "(($ac_try" in
13282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13283 *) ac_try_echo=$ac_try;;
13285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13286 (eval "$ac_compiler -V >&5") 2>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); }
13292 # If we don't use
`.F' as extension, the preprocessor is not run on the
13293 # input file. (Note that this only needs to work for GNU compilers.)
13294 ac_save_ext=$ac_ext
13296 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13297 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13298 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13299 echo $ECHO_N "(cached) $ECHO_C" >&6
13301 cat >conftest.$ac_ext <<_ACEOF
13309 rm -f conftest.$ac_objext
13310 if { (ac_try="$ac_compile"
13311 case "(($ac_try" in
13312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13313 *) ac_try_echo
=$ac_try;;
13315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13316 (eval "$ac_compile") 2>conftest.er1
13318 grep -v '^ *+' conftest.er1
>conftest.err
13320 cat conftest.err
>&5
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); } &&
13323 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13324 { (case "(($ac_try" in
13325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13326 *) ac_try_echo=$ac_try;;
13328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13329 (eval "$ac_try") 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; } &&
13333 { ac_try='test -s conftest.$ac_objext'
13334 { (case "(($ac_try" in
13335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13336 *) ac_try_echo
=$ac_try;;
13338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13339 (eval "$ac_try") 2>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); }; }; then
13343 ac_compiler_gnu
=yes
13345 echo "$as_me: failed program was:" >&5
13346 sed 's/^/| /' conftest.
$ac_ext >&5
13351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13352 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13355 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13356 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13357 ac_ext
=$ac_save_ext
13358 ac_test_FFLAGS
=${FFLAGS+set}
13359 ac_save_FFLAGS
=$FFLAGS
13361 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13362 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13363 if test "${ac_cv_prog_f77_g+set}" = set; then
13364 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 cat >conftest.
$ac_ext <<_ACEOF
13372 rm -f conftest.
$ac_objext
13373 if { (ac_try
="$ac_compile"
13374 case "(($ac_try" in
13375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13376 *) ac_try_echo=$ac_try;;
13378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13379 (eval "$ac_compile") 2>conftest.er1
13381 grep -v '^ *+' conftest.er1 >conftest.err
13383 cat conftest.err >&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); } &&
13386 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13387 { (case "(($ac_try" in
13388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13389 *) ac_try_echo
=$ac_try;;
13391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13392 (eval "$ac_try") 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; } &&
13396 { ac_try
='test -s conftest.$ac_objext'
13397 { (case "(($ac_try" in
13398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13399 *) ac_try_echo=$ac_try;;
13401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_try") 2>&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; }; then
13406 ac_cv_prog_f77_g=yes
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.$ac_ext >&5
13411 ac_cv_prog_f77_g=no
13414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13417 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13418 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13419 if test "$ac_test_FFLAGS" = set; then
13420 FFLAGS=$ac_save_FFLAGS
13421 elif test $ac_cv_prog_f77_g = yes; then
13422 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13428 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13435 G77=`test $ac_compiler_gnu = yes && echo yes`
13437 ac_cpp='$CPP $CPPFLAGS'
13438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13444 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13446 # find the maximum length of command line arguments
13447 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13448 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13449 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13450 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 # On DJGPP, this test can blow up pretty badly due to problems in libc
13458 # (any single argument exceeding 2000 bytes causes a buffer overrun
13459 # during glob expansion). Even if it were fixed, the result of this
13460 # check would be larger than it should be.
13461 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13465 # Under GNU Hurd, this test is not required because there is
13466 # no limit to the length of command line arguments.
13467 # Libtool will interpret -1 as no limit whatsoever
13468 lt_cv_sys_max_cmd_len=-1;
13472 # On Win9x/ME, this test blows up -- it succeeds, but takes
13473 # about 5 minutes as the teststring grows exponentially.
13474 # Worse, since 9x/ME are not pre-emptively multitasking,
13475 # you end up with a "frozen" computer, even though with patience
13476 # the test eventually succeeds (with a max line length of 256k).
13477 # Instead, let's just punt: use the minimum linelength reported by
13478 # all of the supported platforms: 8192 (on NT/2K/XP).
13479 lt_cv_sys_max_cmd_len=8192;
13483 # On AmigaOS with pdksh, this test takes hours, literally.
13484 # So we just punt and use a minimum line length of 8192.
13485 lt_cv_sys_max_cmd_len=8192;
13488 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13489 # This has been around since 386BSD, at least. Likely further.
13490 if test -x /sbin/sysctl; then
13491 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13492 elif test -x /usr/sbin/sysctl; then
13493 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13495 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13497 # And add a safety zone
13498 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13499 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13503 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13504 lt_cv_sys_max_cmd_len=196608
13508 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13509 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13510 # nice to cause kernel panics so lets avoid the loop below.
13511 # First set a reasonable default.
13512 lt_cv_sys_max_cmd_len=16384
13514 if test -x /sbin/sysconfig; then
13515 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13516 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13521 lt_cv_sys_max_cmd_len=102400
13523 sysv5* | sco5v6* | sysv4.2uw2*)
13524 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13525 if test -n "$kargmax"; then
13526 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13528 lt_cv_sys_max_cmd_len=32768
13532 # If test is not a shell built-in, we'll probably end up computing a
13533 # maximum length that is only half of the actual maximum length, but
13535 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13536 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13537 = "XX$teststring") >/dev/null 2>&1 &&
13538 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13539 lt_cv_sys_max_cmd_len=$new_result &&
13540 test $i != 17 # 1/2 MB should be enough
13543 teststring=$teststring$teststring
13546 # Add a significant safety factor because C++ compilers can tack on massive
13547 # amounts of additional arguments before passing them to the linker.
13548 # It appears as though 1/2 is a usable value.
13549 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13555 if test -n $lt_cv_sys_max_cmd_len ; then
13556 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13557 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13559 { echo "$as_me:$LINENO: result: none" >&5
13560 echo "${ECHO_T}none" >&6; }
13566 # Check for command to grab the raw symbol name followed by C symbol from nm.
13567 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13568 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13569 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13573 # These are sane defaults that work on at least a few old systems.
13574 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13576 # Character class describing NM global symbol codes.
13577 symcode='[BCDEGRST]'
13579 # Regexp to match symbols that can be accessed directly from C.
13580 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13582 # Transform an extracted symbol line into a proper C declaration
13583 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13585 # Transform an extracted symbol line into symbol name and symbol address
13586 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'"
13588 # Define system-specific variables.
13593 cygwin* | mingw* | pw32*)
13594 symcode='[ABCDGISTW]'
13596 hpux*) # Its linker distinguishes data from code symbols
13597 if test "$host_cpu" = ia64; then
13598 symcode='[ABCDEGRST]'
13600 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13601 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'"
13604 if test "$host_cpu" = ia64; then
13605 symcode='[ABCDGIRSTW]'
13606 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13607 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'"
13610 irix* | nonstopux*)
13611 symcode='[BCDEGRST]'
13614 symcode='[BCDEGQRST]'
13625 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13633 # Handle CRLF in mingw tool chain
13637 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13641 # If we're using GNU nm, then use its standard symbol codes.
13642 case `$NM -V 2>&1` in
13643 *GNU* | *'with BFD'*)
13644 symcode='[ABCDGIRSTW]' ;;
13647 # Try without a prefix undercore, then with it.
13648 for ac_symprfx in "" "_"; do
13650 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13651 symxfrm="\\1 $ac_symprfx\\2 \\2"
13653 # Write the raw and C identifiers.
13654 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13656 # Check to see that the pipe works correctly.
13660 cat > conftest.$ac_ext <<EOF
13665 void nm_test_func(){}
13669 int main(){nm_test_var='a';nm_test_func();return(0);}
13672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; then
13677 # Now try to grab the symbols.
13679 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13680 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); } && test -s "$nlist"; then
13684 # Try sorting and uniquifying the output.
13685 if sort "$nlist" | uniq > "$nlist"T; then
13686 mv -f "$nlist"T "$nlist"
13691 # Make sure that we snagged all the symbols we need.
13692 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13693 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13694 cat <<EOF > conftest.$ac_ext
13700 # Now generate the symbol file.
13701 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13703 cat <<EOF >> conftest.$ac_ext
13704 #if defined (__STDC__) && __STDC__
13705 # define lt_ptr_t void *
13707 # define lt_ptr_t char *
13711 /* The mapping between symbol names and symbols. */
13716 lt_preloaded_symbols[] =
13719 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13720 cat <<\EOF >> conftest.$ac_ext
13728 # Now try linking the two files.
13729 mv conftest.$ac_objext conftstm.$ac_objext
13730 lt_save_LIBS="$LIBS"
13731 lt_save_CFLAGS="$CFLAGS"
13732 LIBS="conftstm.$ac_objext"
13733 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13735 (eval $ac_link) 2>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13741 LIBS="$lt_save_LIBS"
13742 CFLAGS="$lt_save_CFLAGS"
13744 echo "cannot find nm_test_func in $nlist" >&5
13747 echo "cannot find nm_test_var in $nlist" >&5
13750 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13753 echo "$progname: failed program was:" >&5
13754 cat conftest.$ac_ext >&5
13756 rm -f conftest* conftst*
13758 # Do not use the global_symbol_pipe unless it works.
13759 if test "$pipe_works" = yes; then
13762 lt_cv_sys_global_symbol_pipe=
13768 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13769 lt_cv_sys_global_symbol_to_cdecl=
13771 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13772 { echo "$as_me:$LINENO: result: failed" >&5
13773 echo "${ECHO_T}failed" >&6; }
13775 { echo "$as_me:$LINENO: result: ok" >&5
13776 echo "${ECHO_T}ok" >&6; }
13779 { echo "$as_me:$LINENO: checking for objdir" >&5
13780 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13781 if test "${lt_cv_objdir+set}" = set; then
13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 rm -f .libs 2>/dev/null
13785 mkdir .libs 2>/dev/null
13786 if test -d .libs; then
13789 # MS-DOS does not allow filenames that begin with a dot.
13792 rmdir .libs 2>/dev/null
13794 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13795 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13796 objdir=$lt_cv_objdir
13804 # AIX sometimes has problems with the GCC collect2 program. For some
13805 # reason, if we set the COLLECT_NAMES environment variable, the problems
13806 # vanish in a puff of smoke.
13807 if test "X${COLLECT_NAMES+set}" != Xset; then
13809 export COLLECT_NAMES
13814 # Sed substitution that helps us do robust quoting. It backslashifies
13815 # metacharacters that are still active within double-quoted strings.
13816 Xsed='sed -e 1s/^X//'
13817 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13819 # Same as above, but do not quote variable references.
13820 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13822 # Sed substitution to delay expansion of an escaped shell variable in a
13823 # double_quote_subst'ed string.
13824 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13826 # Sed substitution to avoid accidental globbing in evaled expressions
13827 no_glob_subst='s/\*/\\\*/g'
13832 # Global variables:
13833 default_ofile=mklib
13834 can_build_shared=yes
13836 # All known linkers require a `.a' archive for static linking (except MSVC,
13837 # which needs '.lib').
13839 ltmain="$ac_aux_dir/ltmain.sh
"
13840 ofile="$default_ofile"
13841 with_gnu_ld="$lt_cv_prog_gnu_ld"
13843 if test -n "$ac_tool_prefix"; then
13844 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13845 set dummy ${ac_tool_prefix}ar; ac_word=$2
13846 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13847 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13848 if test "${ac_cv_prog_AR+set}" = set; then
13849 echo $ECHO_N "(cached
) $ECHO_C" >&6
13851 if test -n "$AR"; then
13852 ac_cv_prog_AR="$AR" # Let the user override the test.
13854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13855 for as_dir in $PATH
13858 test -z "$as_dir" && as_dir=.
13859 for ac_exec_ext in '' $ac_executable_extensions; do
13860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13861 ac_cv_prog_AR="${ac_tool_prefix}ar"
13862 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13872 if test -n "$AR"; then
13873 { echo "$as_me:$LINENO: result
: $AR" >&5
13874 echo "${ECHO_T}$AR" >&6; }
13876 { echo "$as_me:$LINENO: result
: no
" >&5
13877 echo "${ECHO_T}no
" >&6; }
13882 if test -z "$ac_cv_prog_AR"; then
13884 # Extract the first word of "ar", so it can be a program name with args.
13885 set dummy ar; ac_word=$2
13886 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13887 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13888 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13889 echo $ECHO_N "(cached
) $ECHO_C" >&6
13891 if test -n "$ac_ct_AR"; then
13892 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13895 for as_dir in $PATH
13898 test -z "$as_dir" && as_dir=.
13899 for ac_exec_ext in '' $ac_executable_extensions; do
13900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13901 ac_cv_prog_ac_ct_AR="ar"
13902 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13911 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13912 if test -n "$ac_ct_AR"; then
13913 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13914 echo "${ECHO_T}$ac_ct_AR" >&6; }
13916 { echo "$as_me:$LINENO: result
: no
" >&5
13917 echo "${ECHO_T}no
" >&6; }
13920 if test "x
$ac_ct_AR" = x; then
13923 case $cross_compiling:$ac_tool_warned in
13925 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13926 whose name does not start with the
host triplet. If you think this
13927 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13928 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13929 whose name does not start with the
host triplet. If you think this
13930 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13931 ac_tool_warned=yes ;;
13936 AR="$ac_cv_prog_AR"
13939 if test -n "$ac_tool_prefix"; then
13940 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13941 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13942 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13943 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13944 if test "${ac_cv_prog_RANLIB+set}" = set; then
13945 echo $ECHO_N "(cached
) $ECHO_C" >&6
13947 if test -n "$RANLIB"; then
13948 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13951 for as_dir in $PATH
13954 test -z "$as_dir" && as_dir=.
13955 for ac_exec_ext in '' $ac_executable_extensions; do
13956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13957 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13958 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13967 RANLIB=$ac_cv_prog_RANLIB
13968 if test -n "$RANLIB"; then
13969 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
13970 echo "${ECHO_T}$RANLIB" >&6; }
13972 { echo "$as_me:$LINENO: result
: no
" >&5
13973 echo "${ECHO_T}no
" >&6; }
13978 if test -z "$ac_cv_prog_RANLIB"; then
13979 ac_ct_RANLIB=$RANLIB
13980 # Extract the first word of "ranlib
", so it can be a program name with args.
13981 set dummy ranlib; ac_word=$2
13982 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13983 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13984 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13985 echo $ECHO_N "(cached
) $ECHO_C" >&6
13987 if test -n "$ac_ct_RANLIB"; then
13988 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13991 for as_dir in $PATH
13994 test -z "$as_dir" && as_dir=.
13995 for ac_exec_ext in '' $ac_executable_extensions; do
13996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13997 ac_cv_prog_ac_ct_RANLIB="ranlib
"
13998 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14007 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14008 if test -n "$ac_ct_RANLIB"; then
14009 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
14010 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14012 { echo "$as_me:$LINENO: result
: no
" >&5
14013 echo "${ECHO_T}no
" >&6; }
14016 if test "x
$ac_ct_RANLIB" = x; then
14019 case $cross_compiling:$ac_tool_warned in
14021 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14022 whose name does not start with the
host triplet. If you think this
14023 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14024 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14025 whose name does not start with the
host triplet. If you think this
14026 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14027 ac_tool_warned=yes ;;
14029 RANLIB=$ac_ct_RANLIB
14032 RANLIB="$ac_cv_prog_RANLIB"
14035 if test -n "$ac_tool_prefix"; then
14036 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14037 set dummy ${ac_tool_prefix}strip; ac_word=$2
14038 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14039 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14040 if test "${ac_cv_prog_STRIP+set}" = set; then
14041 echo $ECHO_N "(cached
) $ECHO_C" >&6
14043 if test -n "$STRIP"; then
14044 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14047 for as_dir in $PATH
14050 test -z "$as_dir" && as_dir=.
14051 for ac_exec_ext in '' $ac_executable_extensions; do
14052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14053 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14054 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14063 STRIP=$ac_cv_prog_STRIP
14064 if test -n "$STRIP"; then
14065 { echo "$as_me:$LINENO: result
: $STRIP" >&5
14066 echo "${ECHO_T}$STRIP" >&6; }
14068 { echo "$as_me:$LINENO: result
: no
" >&5
14069 echo "${ECHO_T}no
" >&6; }
14074 if test -z "$ac_cv_prog_STRIP"; then
14076 # Extract the first word of "strip
", so it can be a program name with args.
14077 set dummy strip; ac_word=$2
14078 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14079 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14080 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14081 echo $ECHO_N "(cached
) $ECHO_C" >&6
14083 if test -n "$ac_ct_STRIP"; then
14084 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14087 for as_dir in $PATH
14090 test -z "$as_dir" && as_dir=.
14091 for ac_exec_ext in '' $ac_executable_extensions; do
14092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14093 ac_cv_prog_ac_ct_STRIP="strip
"
14094 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14103 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14104 if test -n "$ac_ct_STRIP"; then
14105 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
14106 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14108 { echo "$as_me:$LINENO: result
: no
" >&5
14109 echo "${ECHO_T}no
" >&6; }
14112 if test "x
$ac_ct_STRIP" = x; then
14115 case $cross_compiling:$ac_tool_warned in
14117 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14118 whose name does not start with the
host triplet. If you think this
14119 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14120 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14121 whose name does not start with the
host triplet. If you think this
14122 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14123 ac_tool_warned=yes ;;
14128 STRIP="$ac_cv_prog_STRIP"
14133 old_CFLAGS="$CFLAGS"
14135 # Set sane defaults for various variables
14136 test -z "$AR" && AR=ar
14137 test -z "$AR_FLAGS" && AR_FLAGS=cru
14138 test -z "$AS" && AS=as
14139 test -z "$CC" && CC=cc
14140 test -z "$LTCC" && LTCC=$CC
14141 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14142 test -z "$DLLTOOL" && DLLTOOL=dlltool
14143 test -z "$LD" && LD=ld
14144 test -z "$LN_S" && LN_S="ln -s"
14145 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14146 test -z "$NM" && NM=nm
14147 test -z "$SED" && SED=sed
14148 test -z "$OBJDUMP" && OBJDUMP=objdump
14149 test -z "$RANLIB" && RANLIB=:
14150 test -z "$STRIP" && STRIP=:
14151 test -z "$ac_objext" && ac_objext=o
14153 # Determine commands to create old-style static archives.
14154 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14155 old_postinstall_cmds='chmod 644 $oldlib'
14156 old_postuninstall_cmds=
14158 if test -n "$RANLIB"; then
14161 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
14164 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
14167 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
14170 for cc_temp in $compiler""; do
14172 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14173 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14178 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14181 # Only perform the check for file, if the check method requires it
14182 case $deplibs_check_method in
14184 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14185 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14186 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14187 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14188 echo $ECHO_N "(cached
) $ECHO_C" >&6
14192 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14195 lt_save_MAGIC_CMD="$MAGIC_CMD"
14196 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14197 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14198 for ac_dir in $ac_dummy; do
14200 test -z "$ac_dir" && ac_dir=.
14201 if test -f $ac_dir/${ac_tool_prefix}file; then
14202 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14203 if test -n "$file_magic_test_file"; then
14204 case $deplibs_check_method in
14206 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14207 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14208 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14209 $EGREP "$file_magic_regex" > /dev/null; then
14214 *** Warning: the command libtool uses to detect shared libraries,
14215 *** $file_magic_cmd, produces output that libtool cannot recognize.
14216 *** The result is that libtool may fail to recognize shared libraries
14217 *** as such. This will affect the creation of libtool libraries that
14218 *** depend on shared libraries, but programs linked with such libtool
14219 *** libraries will work regardless of this problem. Nevertheless, you
14220 *** may want to report the problem to your system manager and/or to
14221 *** bug-libtool@gnu.org
14231 MAGIC_CMD="$lt_save_MAGIC_CMD"
14236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14237 if test -n "$MAGIC_CMD"; then
14238 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14239 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14241 { echo "$as_me:$LINENO: result
: no
" >&5
14242 echo "${ECHO_T}no
" >&6; }
14245 if test -z "$lt_cv_path_MAGIC_CMD"; then
14246 if test -n "$ac_tool_prefix"; then
14247 { echo "$as_me:$LINENO: checking
for file" >&5
14248 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14249 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14250 echo $ECHO_N "(cached
) $ECHO_C" >&6
14254 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14257 lt_save_MAGIC_CMD="$MAGIC_CMD"
14258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14259 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14260 for ac_dir in $ac_dummy; do
14262 test -z "$ac_dir" && ac_dir=.
14263 if test -f $ac_dir/file; then
14264 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14265 if test -n "$file_magic_test_file"; then
14266 case $deplibs_check_method in
14268 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14269 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14270 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14271 $EGREP "$file_magic_regex" > /dev/null; then
14276 *** Warning: the command libtool uses to detect shared libraries,
14277 *** $file_magic_cmd, produces output that libtool cannot recognize.
14278 *** The result is that libtool may fail to recognize shared libraries
14279 *** as such. This will affect the creation of libtool libraries that
14280 *** depend on shared libraries, but programs linked with such libtool
14281 *** libraries will work regardless of this problem. Nevertheless, you
14282 *** may want to report the problem to your system manager and/or to
14283 *** bug-libtool@gnu.org
14293 MAGIC_CMD="$lt_save_MAGIC_CMD"
14298 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14299 if test -n "$MAGIC_CMD"; then
14300 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14301 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14303 { echo "$as_me:$LINENO: result
: no
" >&5
14304 echo "${ECHO_T}no
" >&6; }
14317 enable_win32_dll=no
14319 # Check whether --enable-libtool-lock was given.
14320 if test "${enable_libtool_lock+set}" = set; then
14321 enableval=$enable_libtool_lock;
14324 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14327 # Check whether --with-pic was given.
14328 if test "${with_pic+set}" = set; then
14329 withval=$with_pic; pic_mode="$withval"
14334 test -z "$pic_mode" && pic_mode=default
14336 # Use C for the default configuration in the libtool script
14340 ac_cpp='$CPP $CPPFLAGS'
14341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14346 # Source file extension for C test sources.
14349 # Object file extension for compiled C test sources.
14353 # Code to be used in simple compile tests
14354 lt_simple_compile_test_code="int some_variable
= 0;\n"
14356 # Code to be used in simple link tests
14357 lt_simple_link_test_code='int main(){return(0);}\n'
14360 # If no C compiler was specified, use CC.
14363 # If no C compiler flags were specified, use CFLAGS.
14364 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14366 # Allow CC to be a program name with arguments.
14370 # save warnings/boilerplate of simple test code
14371 ac_outfile=conftest.$ac_objext
14372 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14373 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14374 _lt_compiler_boilerplate=`cat conftest.err`
14377 ac_outfile=conftest.$ac_objext
14378 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14379 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14380 _lt_linker_boilerplate=`cat conftest.err`
14385 lt_prog_compiler_no_builtin_flag=
14387 if test "$GCC" = yes; then
14388 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14391 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14392 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14393 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14394 echo $ECHO_N "(cached
) $ECHO_C" >&6
14396 lt_cv_prog_compiler_rtti_exceptions=no
14397 ac_outfile=conftest.$ac_objext
14398 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14399 lt_compiler_flag="-fno-rtti -fno-exceptions"
14400 # Insert the option either (1) after the last *FLAGS variable, or
14401 # (2) before a word containing "conftest.
", or (3) at the end.
14402 # Note that $ac_compile itself does not contain backslashes and begins
14403 # with a dollar sign (not a hyphen), so the echo should work correctly.
14404 # The option is referenced via a variable to avoid confusing sed.
14405 lt_compile=`echo "$ac_compile" | $SED \
14406 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14408 -e 's:$: $lt_compiler_flag:'`
14409 (eval echo "\"\
$as_me:14409: $lt_compile\"" >&5)
14410 (eval "$lt_compile" 2>conftest.err)
14412 cat conftest.err >&5
14413 echo "$as_me:14413: \$?
= $ac_status" >&5
14414 if (exit $ac_status) && test -s "$ac_outfile"; then
14415 # The compiler can only warn and ignore the option if not recognized
14416 # So say no if there are warnings other than the usual output.
14417 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14418 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14419 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14420 lt_cv_prog_compiler_rtti_exceptions=yes
14426 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14427 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14429 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14430 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14437 lt_prog_compiler_wl=
14438 lt_prog_compiler_pic=
14439 lt_prog_compiler_static=
14441 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14442 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14444 if test "$GCC" = yes; then
14445 lt_prog_compiler_wl='-Wl,'
14446 lt_prog_compiler_static='-static'
14450 # All AIX code is PIC.
14451 if test "$host_cpu" = ia64; then
14452 # AIX 5 now supports IA64 processor
14453 lt_prog_compiler_static='-Bstatic'
14458 # FIXME: we need at least 68020 code to build shared libraries, but
14459 # adding the `-m68020' flag to GCC prevents building anything better,
14461 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14464 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14465 # PIC is the default for these OSes.
14468 mingw* | pw32* | os2*)
14469 # This hack is so that the source file can tell whether it is being
14470 # built for inclusion in a dll (and should export symbols for example).
14471 lt_prog_compiler_pic='-DDLL_EXPORT'
14474 darwin* | rhapsody*)
14475 # PIC is the default on this platform
14476 # Common symbols not allowed in MH_DYLIB files
14477 lt_prog_compiler_pic='-fno-common'
14481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14482 # Instead, we relocate shared libraries at runtime.
14486 # Just because we use GCC doesn't mean we suddenly get shared libraries
14487 # on systems that don't support them.
14488 lt_prog_compiler_can_build_shared=no
14493 if test -d /usr/nec; then
14494 lt_prog_compiler_pic=-Kconform_pic
14499 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14500 # not for PA HP-UX.
14506 lt_prog_compiler_pic='-fPIC'
14512 lt_prog_compiler_pic='-fPIC'
14516 # PORTME Check for flag to pass linker flags through the system compiler.
14519 lt_prog_compiler_wl='-Wl,'
14520 if test "$host_cpu" = ia64; then
14521 # AIX 5 now supports IA64 processor
14522 lt_prog_compiler_static='-Bstatic'
14524 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14528 # PIC is the default on this platform
14529 # Common symbols not allowed in MH_DYLIB files
14530 case $cc_basename in
14532 lt_prog_compiler_pic='-qnocommon'
14533 lt_prog_compiler_wl='-Wl,'
14538 mingw* | pw32* | os2*)
14539 # This hack is so that the source file can tell whether it is being
14540 # built for inclusion in a dll (and should export symbols for example).
14541 lt_prog_compiler_pic='-DDLL_EXPORT'
14544 hpux9* | hpux10* | hpux11*)
14545 lt_prog_compiler_wl='-Wl,'
14546 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14547 # not for PA HP-UX.
14553 lt_prog_compiler_pic='+Z'
14556 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14557 lt_prog_compiler_static='${wl}-a ${wl}archive'
14560 irix5* | irix6* | nonstopux*)
14561 lt_prog_compiler_wl='-Wl,'
14562 # PIC (with -KPIC) is the default.
14563 lt_prog_compiler_static='-non_shared'
14567 lt_prog_compiler_pic='-KPIC'
14568 lt_prog_compiler_static='-Bstatic'
14572 case $cc_basename in
14574 lt_prog_compiler_wl='-Wl,'
14575 lt_prog_compiler_pic='-KPIC'
14576 lt_prog_compiler_static='-static'
14578 pgcc* | pgf77* | pgf90* | pgf95*)
14579 # Portland Group compilers (*not* the Pentium gcc compiler,
14580 # which looks to be a dead project)
14581 lt_prog_compiler_wl='-Wl,'
14582 lt_prog_compiler_pic='-fpic'
14583 lt_prog_compiler_static='-Bstatic'
14586 lt_prog_compiler_wl='-Wl,'
14587 # All Alpha code is PIC.
14588 lt_prog_compiler_static='-non_shared'
14593 osf3* | osf4* | osf5*)
14594 lt_prog_compiler_wl='-Wl,'
14595 # All OSF/1 code is PIC.
14596 lt_prog_compiler_static='-non_shared'
14600 lt_prog_compiler_pic='-KPIC'
14601 lt_prog_compiler_static='-Bstatic'
14602 case $cc_basename in
14603 f77* | f90* | f95*)
14604 lt_prog_compiler_wl='-Qoption ld ';;
14606 lt_prog_compiler_wl='-Wl,';;
14611 lt_prog_compiler_wl='-Qoption ld '
14612 lt_prog_compiler_pic='-PIC'
14613 lt_prog_compiler_static='-Bstatic'
14616 sysv4 | sysv4.2uw2* | sysv4.3*)
14617 lt_prog_compiler_wl='-Wl,'
14618 lt_prog_compiler_pic='-KPIC'
14619 lt_prog_compiler_static='-Bstatic'
14623 if test -d /usr/nec ;then
14624 lt_prog_compiler_pic='-Kconform_pic'
14625 lt_prog_compiler_static='-Bstatic'
14629 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14630 lt_prog_compiler_wl='-Wl,'
14631 lt_prog_compiler_pic='-KPIC'
14632 lt_prog_compiler_static='-Bstatic'
14636 lt_prog_compiler_wl='-Wl,'
14637 lt_prog_compiler_can_build_shared=no
14641 lt_prog_compiler_pic='-pic'
14642 lt_prog_compiler_static='-Bstatic'
14646 lt_prog_compiler_can_build_shared=no
14651 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14652 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14655 # Check to make sure the PIC flag actually works.
14657 if test -n "$lt_prog_compiler_pic"; then
14659 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14660 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14661 if test "${lt_prog_compiler_pic_works+set}" = set; then
14662 echo $ECHO_N "(cached
) $ECHO_C" >&6
14664 lt_prog_compiler_pic_works=no
14665 ac_outfile=conftest.$ac_objext
14666 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14667 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14668 # Insert the option either (1) after the last *FLAGS variable, or
14669 # (2) before a word containing "conftest.
", or (3) at the end.
14670 # Note that $ac_compile itself does not contain backslashes and begins
14671 # with a dollar sign (not a hyphen), so the echo should work correctly.
14672 # The option is referenced via a variable to avoid confusing sed.
14673 lt_compile=`echo "$ac_compile" | $SED \
14674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14676 -e 's:$: $lt_compiler_flag:'`
14677 (eval echo "\"\
$as_me:14677: $lt_compile\"" >&5)
14678 (eval "$lt_compile" 2>conftest.err)
14680 cat conftest.err >&5
14681 echo "$as_me:14681: \$?
= $ac_status" >&5
14682 if (exit $ac_status) && test -s "$ac_outfile"; then
14683 # The compiler can only warn and ignore the option if not recognized
14684 # So say no if there are warnings other than the usual output.
14685 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14686 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14687 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14688 lt_prog_compiler_pic_works=yes
14694 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14695 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14697 if test x"$lt_prog_compiler_pic_works" = xyes; then
14698 case $lt_prog_compiler_pic in
14700 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14703 lt_prog_compiler_pic=
14704 lt_prog_compiler_can_build_shared=no
14709 # For platforms which do not support PIC, -DPIC is meaningless:
14711 lt_prog_compiler_pic=
14714 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14719 # Check to make sure the static flag actually works.
14721 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14722 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14723 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14724 if test "${lt_prog_compiler_static_works+set}" = set; then
14725 echo $ECHO_N "(cached
) $ECHO_C" >&6
14727 lt_prog_compiler_static_works=no
14728 save_LDFLAGS="$LDFLAGS"
14729 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14730 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14731 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14732 # The linker can only warn and ignore the option if not recognized
14733 # So say no if there are warnings
14734 if test -s conftest.err; then
14735 # Append any errors to the config.log.
14736 cat conftest.err 1>&5
14737 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14738 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14739 if diff conftest.exp conftest.er2 >/dev/null; then
14740 lt_prog_compiler_static_works=yes
14743 lt_prog_compiler_static_works=yes
14747 LDFLAGS="$save_LDFLAGS"
14750 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14751 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14753 if test x"$lt_prog_compiler_static_works" = xyes; then
14756 lt_prog_compiler_static=
14760 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14761 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14762 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14763 echo $ECHO_N "(cached
) $ECHO_C" >&6
14765 lt_cv_prog_compiler_c_o=no
14766 $rm -r conftest 2>/dev/null
14770 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14772 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14773 # Insert the option either (1) after the last *FLAGS variable, or
14774 # (2) before a word containing "conftest.
", or (3) at the end.
14775 # Note that $ac_compile itself does not contain backslashes and begins
14776 # with a dollar sign (not a hyphen), so the echo should work correctly.
14777 lt_compile=`echo "$ac_compile" | $SED \
14778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14780 -e 's:$: $lt_compiler_flag:'`
14781 (eval echo "\"\
$as_me:14781: $lt_compile\"" >&5)
14782 (eval "$lt_compile" 2>out/conftest.err)
14784 cat out/conftest.err >&5
14785 echo "$as_me:14785: \$?
= $ac_status" >&5
14786 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14788 # The compiler can only warn and ignore the option if not recognized
14789 # So say no if there are warnings
14790 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14791 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14792 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14793 lt_cv_prog_compiler_c_o=yes
14798 # SGI C++ compiler will create directory out/ii_files/ for
14799 # template instantiation
14800 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14801 $rm out/* && rmdir out
14807 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14808 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14811 hard_links="nottested
"
14812 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14813 # do not overwrite the value of need_locks provided by the user
14814 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14815 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14818 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14820 ln conftest.a conftest.b 2>&5 || hard_links=no
14821 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14822 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14823 echo "${ECHO_T}$hard_links" >&6; }
14824 if test "$hard_links" = no; then
14825 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14826 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14833 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14834 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14837 allow_undefined_flag=
14838 enable_shared_with_static_runtimes=no
14840 archive_expsym_cmds=
14841 old_archive_From_new_cmds=
14842 old_archive_from_expsyms_cmds=
14843 export_dynamic_flag_spec=
14844 whole_archive_flag_spec=
14845 thread_safe_flag_spec=
14846 hardcode_libdir_flag_spec=
14847 hardcode_libdir_flag_spec_ld=
14848 hardcode_libdir_separator=
14850 hardcode_minus_L=no
14851 hardcode_shlibpath_var=unsupported
14852 link_all_deplibs=unknown
14853 hardcode_automatic=no
14855 module_expsym_cmds=
14856 always_export_symbols=no
14857 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14858 # include_expsyms should be a list of space-separated symbols to be *always*
14859 # included in the symbol list
14861 # exclude_expsyms can be an extended regexp of symbols to exclude
14862 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14863 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14864 # as well as any symbol that contains `d'.
14865 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14866 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14867 # platforms (ab)use it in PIC code, but their linkers get confused if
14868 # the symbol is explicitly referenced. Since portable code cannot
14869 # rely on this symbol name, it's probably fine to never include it in
14870 # preloaded symbol tables.
14871 extract_expsyms_cmds=
14872 # Just being paranoid about ensuring that cc_basename is set.
14873 for cc_temp in $compiler""; do
14875 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14876 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14881 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14884 cygwin* | mingw* | pw32*)
14885 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14886 # When not using gcc, we currently assume that we are using
14887 # Microsoft Visual C++.
14888 if test "$GCC" != yes; then
14893 # we just hope/assume this is gcc and not c89 (= MSVC++)
14902 if test "$with_gnu_ld" = yes; then
14903 # If archive_cmds runs LD, not CC, wlarc should be empty
14906 # Set some defaults for GNU ld with shared library support. These
14907 # are reset later if shared libraries are not supported. Putting them
14908 # here allows them to be overridden if necessary.
14909 runpath_var=LD_RUN_PATH
14910 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14911 export_dynamic_flag_spec='${wl}--export-dynamic'
14912 # ancient GNU ld didn't support --whole-archive et. al.
14913 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14914 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14916 whole_archive_flag_spec=
14918 supports_anon_versioning=no
14919 case `$LD -v 2>/dev/null` in
14920 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14921 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14922 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14923 *\ 2.11.*) ;; # other 2.11 versions
14924 *) supports_anon_versioning=yes ;;
14927 # See if GNU ld supports shared libraries.
14929 aix3* | aix4* | aix5*)
14930 # On AIX/PPC, the GNU linker is very broken
14931 if test "$host_cpu" != ia64; then
14935 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14936 *** to be unable to reliably create shared libraries on AIX.
14937 *** Therefore, libtool is disabling shared libraries support. If you
14938 *** really care for shared libraries, you may want to modify your PATH
14939 *** so that a non-GNU linker is found, and then restart.
14946 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)'
14947 hardcode_libdir_flag_spec
='-L$libdir'
14948 hardcode_minus_L
=yes
14950 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14951 # that the semantics of dynamic libraries on AmigaOS, at least up
14952 # to version 4, is to share data among multiple programs linked
14953 # with the same dynamic library. Since this doesn't match the
14954 # behavior of shared libraries on other platforms, we can't use
14960 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14961 allow_undefined_flag
=unsupported
14962 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14963 # support --undefined. This deserves some investigation. FIXME
14964 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14970 cygwin
* | mingw
* | pw32
*)
14971 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14972 # as there is no search path for DLLs.
14973 hardcode_libdir_flag_spec
='-L$libdir'
14974 allow_undefined_flag
=unsupported
14975 always_export_symbols
=no
14976 enable_shared_with_static_runtimes
=yes
14977 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14979 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14980 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14981 # If the export-symbols file already is a .def file (1st line
14982 # is EXPORTS), use it as is; otherwise, prepend...
14983 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14984 cp $export_symbols $output_objdir/$soname.def;
14986 echo EXPORTS > $output_objdir/$soname.def;
14987 cat $export_symbols >> $output_objdir/$soname.def;
14989 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14997 hardcode_shlibpath_var
=no
14998 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
14999 export_dynamic_flag_spec
='${wl}-E'
15000 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15001 # Instead, shared libraries are loaded at an image base (0x10000000 by
15002 # default) and relocated if they conflict, which is a slow very memory
15003 # consuming and fragmenting process. To avoid this, we pick a random,
15004 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15005 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15006 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15007 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'
15011 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15013 case $cc_basename,$host_cpu in
15014 pgcc
*) # Portland Group C compiler
15015 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'
15016 tmp_addflag
=' $pic_flag'
15018 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15019 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'
15020 tmp_addflag
=' $pic_flag -Mnomain' ;;
15021 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15022 tmp_addflag
=' -i_dynamic' ;;
15023 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15024 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15025 ifc
* | ifort
*) # Intel Fortran compiler
15026 tmp_addflag
=' -nofor_main' ;;
15028 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15030 if test $supports_anon_versioning = yes; then
15031 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
15032 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15033 $echo "local: *; };" >> $output_objdir/$libname.ver~
15034 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15042 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15043 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15046 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15047 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15052 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15056 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15057 *** create shared libraries on Solaris systems. Therefore, libtool
15058 *** is disabling shared libraries support. We urge you to upgrade GNU
15059 *** binutils to release 2.9.1 or newer. Another option is to modify
15060 *** your PATH or compiler configuration so that the native linker is
15061 *** used, and then restart.
15064 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15065 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15066 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15072 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15073 case `$LD -v 2>&1` in
15074 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15078 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15079 *** reliably create shared libraries on SCO systems. Therefore, libtool
15080 *** is disabling shared libraries support. We urge you to upgrade GNU
15081 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15082 *** your PATH or compiler configuration so that the native linker is
15083 *** used, and then restart.
15088 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15089 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15090 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15091 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15100 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15102 hardcode_direct
=yes
15103 hardcode_shlibpath_var
=no
15107 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15108 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15109 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15116 if test "$ld_shlibs" = no
; then
15118 hardcode_libdir_flag_spec
=
15119 export_dynamic_flag_spec
=
15120 whole_archive_flag_spec
=
15123 # PORTME fill in a description of your system's linker (not GNU ld)
15126 allow_undefined_flag
=unsupported
15127 always_export_symbols
=yes
15128 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'
15129 # Note: this linker hardcodes the directories in LIBPATH if there
15130 # are no directories specified by -L.
15131 hardcode_minus_L
=yes
15132 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15133 # Neither direct hardcoding nor static linking is supported with a
15135 hardcode_direct
=unsupported
15140 if test "$host_cpu" = ia64
; then
15141 # On IA64, the linker does run time linking by default, so we don't
15142 # have to do anything special.
15143 aix_use_runtimelinking
=no
15144 exp_sym_flag
='-Bexport'
15147 # If we're using GNU nm, then we don't want the "-C" option.
15148 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15149 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15150 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'
15152 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'
15154 aix_use_runtimelinking
=no
15156 # Test if we are trying to use run time linking or normal
15157 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15158 # need to do runtime linking.
15159 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15160 for ld_flag
in $LDFLAGS; do
15161 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15162 aix_use_runtimelinking
=yes
15169 exp_sym_flag
='-bexport'
15170 no_entry_flag
='-bnoentry'
15173 # When large executables or shared objects are built, AIX ld can
15174 # have problems creating the table of contents. If linking a library
15175 # or program results in "error TOC overflow" add -mminimal-toc to
15176 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15177 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15180 hardcode_direct
=yes
15181 hardcode_libdir_separator
=':'
15182 link_all_deplibs
=yes
15184 if test "$GCC" = yes; then
15185 case $host_os in aix4.
[012]|aix4.
[012].
*)
15186 # We only want to do this on AIX 4.2 and lower, the check
15187 # below for broken collect2 doesn't work under 4.3+
15188 collect2name
=`${CC} -print-prog-name=collect2`
15189 if test -f "$collect2name" && \
15190 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15192 # We have reworked collect2
15193 hardcode_direct
=yes
15195 # We have old collect2
15196 hardcode_direct
=unsupported
15197 # It fails to find uninstalled libraries when the uninstalled
15198 # path is not listed in the libpath. Setting hardcode_minus_L
15199 # to unsupported forces relinking
15200 hardcode_minus_L
=yes
15201 hardcode_libdir_flag_spec
='-L$libdir'
15202 hardcode_libdir_separator
=
15206 shared_flag
='-shared'
15207 if test "$aix_use_runtimelinking" = yes; then
15208 shared_flag
="$shared_flag "'${wl}-G'
15212 if test "$host_cpu" = ia64
; then
15213 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15214 # chokes on -Wl,-G. The following line is correct:
15217 if test "$aix_use_runtimelinking" = yes; then
15218 shared_flag
='${wl}-G'
15220 shared_flag
='${wl}-bM:SRE'
15225 # It seems that -bexpall does not export symbols beginning with
15226 # underscore (_), so it is better to generate a list of symbols to export.
15227 always_export_symbols
=yes
15228 if test "$aix_use_runtimelinking" = yes; then
15229 # Warning - without using the other runtime loading flags (-brtl),
15230 # -berok will link without error, but may produce a broken library.
15231 allow_undefined_flag
='-berok'
15232 # Determine the default libpath from the value encoded in an empty executable.
15233 cat >conftest.
$ac_ext <<_ACEOF
15236 cat confdefs.h
>>conftest.
$ac_ext
15237 cat >>conftest.
$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15248 rm -f conftest.
$ac_objext conftest
$ac_exeext
15249 if { (ac_try
="$ac_link"
15250 case "(($ac_try" in
15251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15252 *) ac_try_echo=$ac_try;;
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15255 (eval "$ac_link") 2>conftest.er1
15257 grep -v '^ *+' conftest.er1 >conftest.err
15259 cat conftest.err >&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15263 { (case "(($ac_try" in
15264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15265 *) ac_try_echo
=$ac_try;;
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_try") 2>&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); }; } &&
15272 { ac_try
='test -s conftest$ac_exeext'
15273 { (case "(($ac_try" in
15274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_try") 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15283 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15285 # Check for a 64-bit object if we didn't find anything.
15286 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; }
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.$ac_ext >&5
15295 rm -f core conftest.err conftest.$ac_objext \
15296 conftest$ac_exeext conftest.$ac_ext
15297 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15299 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15300 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"
15302 if test "$host_cpu" = ia64; then
15303 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15304 allow_undefined_flag="-z nodefs"
15305 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"
15307 # Determine the default libpath from the value encoded in an empty executable.
15308 cat >conftest.$ac_ext <<_ACEOF
15311 cat confdefs.h >>conftest.$ac_ext
15312 cat >>conftest.$ac_ext <<_ACEOF
15313 /* end confdefs.h. */
15323 rm -f conftest.$ac_objext conftest$ac_exeext
15324 if { (ac_try="$ac_link"
15325 case "(($ac_try" in
15326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15327 *) ac_try_echo
=$ac_try;;
15329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15330 (eval "$ac_link") 2>conftest.er1
15332 grep -v '^ *+' conftest.er1
>conftest.err
15334 cat conftest.err
>&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); } &&
15337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15338 { (case "(($ac_try" in
15339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15340 *) ac_try_echo=$ac_try;;
15342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15343 (eval "$ac_try") 2>&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); }; } &&
15347 { ac_try='test -s conftest$ac_exeext'
15348 { (case "(($ac_try" in
15349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15350 *) ac_try_echo
=$ac_try;;
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_try") 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }; }; then
15358 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15360 # Check for a 64-bit object if we didn't find anything.
15361 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; }
15364 echo "$as_me: failed program was:" >&5
15365 sed 's/^/| /' conftest.
$ac_ext >&5
15370 rm -f core conftest.err conftest.
$ac_objext \
15371 conftest
$ac_exeext conftest.
$ac_ext
15372 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15374 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15375 # Warning - without using the other run time loading flags,
15376 # -berok will link without error, but may produce a broken library.
15377 no_undefined_flag
=' ${wl}-bernotok'
15378 allow_undefined_flag
=' ${wl}-berok'
15379 # Exported symbols can be pulled into shared objects from archives
15380 whole_archive_flag_spec
='$convenience'
15381 archive_cmds_need_lc
=yes
15382 # This is similar to how AIX traditionally builds its shared libraries.
15383 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'
15389 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)'
15390 hardcode_libdir_flag_spec
='-L$libdir'
15391 hardcode_minus_L
=yes
15392 # see comment about different semantics on the GNU ld section
15397 export_dynamic_flag_spec
=-rdynamic
15400 cygwin
* | mingw
* | pw32
*)
15401 # When not using gcc, we currently assume that we are using
15402 # Microsoft Visual C++.
15403 # hardcode_libdir_flag_spec is actually meaningless, as there is
15404 # no search path for DLLs.
15405 hardcode_libdir_flag_spec
=' '
15406 allow_undefined_flag
=unsupported
15407 # Tell ltmain to make .lib files, not .a files.
15409 # Tell ltmain to make .dll files, not .so files.
15411 # FIXME: Setting linknames here is a bad hack.
15412 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15413 # The linker will automatically build a .lib file if we build a DLL.
15414 old_archive_From_new_cmds
='true'
15415 # FIXME: Should let the user specify the lib program.
15416 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15417 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15418 enable_shared_with_static_runtimes
=yes
15421 darwin
* | rhapsody
*)
15423 rhapsody
* | darwin1.
[012])
15424 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15427 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15428 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15430 case ${MACOSX_DEPLOYMENT_TARGET} in
15432 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15435 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15441 archive_cmds_need_lc
=no
15443 hardcode_automatic
=yes
15444 hardcode_shlibpath_var
=unsupported
15445 whole_archive_flag_spec
=''
15446 link_all_deplibs
=yes
15447 if test "$GCC" = yes ; then
15448 output_verbose_link_cmd
='echo'
15449 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15450 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15451 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15452 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}'
15453 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}'
15455 case $cc_basename in
15457 output_verbose_link_cmd
='echo'
15458 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15459 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15460 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15461 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}'
15462 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}'
15472 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15473 hardcode_libdir_flag_spec
='-L$libdir'
15474 hardcode_shlibpath_var
=no
15481 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15482 # support. Future versions do this automatically, but an explicit c++rt0.o
15483 # does not break anything, and helps significantly (at the cost of a little
15486 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15487 hardcode_libdir_flag_spec
='-R$libdir'
15488 hardcode_direct
=yes
15489 hardcode_shlibpath_var
=no
15492 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15494 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15495 hardcode_direct
=yes
15496 hardcode_minus_L
=yes
15497 hardcode_shlibpath_var
=no
15500 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15501 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15502 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15503 hardcode_libdir_flag_spec
='-R$libdir'
15504 hardcode_direct
=yes
15505 hardcode_shlibpath_var
=no
15509 if test "$GCC" = yes; then
15510 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'
15512 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'
15514 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15515 hardcode_libdir_separator
=:
15516 hardcode_direct
=yes
15518 # hardcode_minus_L: Not really in the search PATH,
15519 # but as the default location of the library.
15520 hardcode_minus_L
=yes
15521 export_dynamic_flag_spec
='${wl}-E'
15525 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15526 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15528 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15530 if test "$with_gnu_ld" = no
; then
15531 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15532 hardcode_libdir_separator
=:
15534 hardcode_direct
=yes
15535 export_dynamic_flag_spec
='${wl}-E'
15537 # hardcode_minus_L: Not really in the search PATH,
15538 # but as the default location of the library.
15539 hardcode_minus_L
=yes
15544 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15547 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15550 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15553 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15559 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15562 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15565 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15569 if test "$with_gnu_ld" = no
; then
15570 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15571 hardcode_libdir_separator
=:
15575 hardcode_libdir_flag_spec_ld
='+b $libdir'
15577 hardcode_shlibpath_var
=no
15580 hardcode_direct
=yes
15581 export_dynamic_flag_spec
='${wl}-E'
15583 # hardcode_minus_L: Not really in the search PATH,
15584 # but as the default location of the library.
15585 hardcode_minus_L
=yes
15591 irix5
* | irix6
* | nonstopux
*)
15592 if test "$GCC" = yes; then
15593 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'
15595 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'
15596 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15598 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15599 hardcode_libdir_separator
=:
15600 link_all_deplibs
=yes
15604 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15605 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15607 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15609 hardcode_libdir_flag_spec
='-R$libdir'
15610 hardcode_direct
=yes
15611 hardcode_shlibpath_var
=no
15615 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15616 hardcode_direct
=yes
15617 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15618 hardcode_libdir_separator
=:
15619 hardcode_shlibpath_var
=no
15623 hardcode_direct
=yes
15624 hardcode_shlibpath_var
=no
15625 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15626 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15627 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15628 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15629 export_dynamic_flag_spec
='${wl}-E'
15632 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15633 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15634 hardcode_libdir_flag_spec
='-R$libdir'
15637 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15638 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15645 hardcode_libdir_flag_spec
='-L$libdir'
15646 hardcode_minus_L
=yes
15647 allow_undefined_flag
=unsupported
15648 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'
15649 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15653 if test "$GCC" = yes; then
15654 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15655 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'
15657 allow_undefined_flag
=' -expect_unresolved \*'
15658 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'
15660 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15661 hardcode_libdir_separator
=:
15664 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15665 if test "$GCC" = yes; then
15666 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15667 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'
15668 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15670 allow_undefined_flag
=' -expect_unresolved \*'
15671 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'
15672 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15673 $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'
15675 # Both c and cxx compiler support -rpath directly
15676 hardcode_libdir_flag_spec
='-rpath $libdir'
15678 hardcode_libdir_separator
=:
15682 no_undefined_flag
=' -z text'
15683 if test "$GCC" = yes; then
15685 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15686 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15687 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15690 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15691 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15692 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15694 hardcode_libdir_flag_spec
='-R$libdir'
15695 hardcode_shlibpath_var
=no
15697 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15699 # The compiler driver will combine linker options so we
15700 # cannot just pass the convience library names through
15701 # without $wl, iff we do not link with $LD.
15702 # Luckily, gcc supports the same syntax we need for Sun Studio.
15703 # Supported since Solaris 2.6 (maybe 2.5.1?)
15706 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15708 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' ;;
15711 link_all_deplibs
=yes
15715 if test "x$host_vendor" = xsequent
; then
15716 # Use $CC to link under sequent, because it throws in some extra .o
15717 # files that make .init and .fini sections work.
15718 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15720 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15722 hardcode_libdir_flag_spec
='-L$libdir'
15723 hardcode_direct
=yes
15724 hardcode_minus_L
=yes
15725 hardcode_shlibpath_var
=no
15729 case $host_vendor in
15731 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15732 hardcode_direct
=yes # is this really true???
15735 ## LD is ld it makes a PLAMLIB
15736 ## CC just makes a GrossModule.
15737 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15738 reload_cmds
='$CC -r -o $output$reload_objs'
15742 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15743 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15746 runpath_var
='LD_RUN_PATH'
15747 hardcode_shlibpath_var
=no
15751 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15752 hardcode_shlibpath_var
=no
15753 export_dynamic_flag_spec
='-Bexport'
15757 if test -d /usr
/nec
; then
15758 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15759 hardcode_shlibpath_var
=no
15760 runpath_var
=LD_RUN_PATH
15761 hardcode_runpath_var
=yes
15766 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15767 no_undefined_flag
='${wl}-z,text'
15768 archive_cmds_need_lc
=no
15769 hardcode_shlibpath_var
=no
15770 runpath_var
='LD_RUN_PATH'
15772 if test "$GCC" = yes; then
15773 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15774 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15776 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15777 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15781 sysv5
* | sco3.2v5
* | sco5v6
*)
15782 # Note: We can NOT use -z defs as we might desire, because we do not
15783 # link with -lc, and that would cause any symbols used from libc to
15784 # always be unresolved, which means just about no library would
15785 # ever link correctly. If we're not using GNU ld we use -z text
15786 # though, which does catch some bad symbols but isn't as heavy-handed
15788 no_undefined_flag
='${wl}-z,text'
15789 allow_undefined_flag
='${wl}-z,nodefs'
15790 archive_cmds_need_lc
=no
15791 hardcode_shlibpath_var
=no
15792 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15793 hardcode_libdir_separator
=':'
15794 link_all_deplibs
=yes
15795 export_dynamic_flag_spec
='${wl}-Bexport'
15796 runpath_var
='LD_RUN_PATH'
15798 if test "$GCC" = yes; then
15799 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15800 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15802 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15803 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15808 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15809 hardcode_libdir_flag_spec
='-L$libdir'
15810 hardcode_shlibpath_var
=no
15819 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15820 echo "${ECHO_T}$ld_shlibs" >&6; }
15821 test "$ld_shlibs" = no
&& can_build_shared
=no
15824 # Do we need to explicitly link libc?
15826 case "x$archive_cmds_need_lc" in
15828 # Assume -lc should be added
15829 archive_cmds_need_lc
=yes
15831 if test "$enable_shared" = yes && test "$GCC" = yes; then
15832 case $archive_cmds in
15834 # FIXME: we may have to deal with multi-command sequences.
15837 # Test whether the compiler implicitly links with -lc since on some
15838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15839 # to ld, don't add -lc before -lgcc.
15840 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15841 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15843 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15846 (eval $ac_compile) 2>&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } 2>conftest.err
; then
15852 libobjs
=conftest.
$ac_objext
15854 wl
=$lt_prog_compiler_wl
15855 pic_flag
=$lt_prog_compiler_pic
15861 lt_save_allow_undefined_flag
=$allow_undefined_flag
15862 allow_undefined_flag
=
15863 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15864 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }
15869 archive_cmds_need_lc
=no
15871 archive_cmds_need_lc
=yes
15873 allow_undefined_flag
=$lt_save_allow_undefined_flag
15875 cat conftest.err
1>&5
15878 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15879 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15886 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15887 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15888 library_names_spec
=
15889 libname_spec
='lib$name'
15893 postuninstall_cmds
=
15897 shlibpath_overrides_runpath
=unknown
15899 dynamic_linker
="$host_os ld.so"
15900 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15901 if test "$GCC" = yes; then
15902 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15903 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15904 # if the path contains ";" then we assume it to be the separator
15905 # otherwise default to the standard path separator (i.e. ":") - it is
15906 # assumed that no part of a normal pathname contains ";" but that should
15907 # okay in the real world where ";" in dirpaths is itself problematic.
15908 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15910 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15913 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15915 need_lib_prefix
=unknown
15916 hardcode_into_libs
=no
15918 # when you set need_version to no, make sure it does not cause -set_version
15919 # flags to be left without arguments
15920 need_version
=unknown
15925 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15926 shlibpath_var
=LIBPATH
15928 # AIX 3 has no versioning support, so we append a major version to the name.
15929 soname_spec
='${libname}${release}${shared_ext}$major'
15936 hardcode_into_libs
=yes
15937 if test "$host_cpu" = ia64
; then
15938 # AIX 5 supports IA64
15939 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15940 shlibpath_var
=LD_LIBRARY_PATH
15942 # With GCC up to 2.95.x, collect2 would create an import file
15943 # for dependence libraries. The import file would start with
15944 # the line `#! .'. This would cause the generated library to
15945 # depend on `.', always an invalid library. This was fixed in
15946 # development snapshots of GCC prior to 3.0.
15948 aix4 | aix4.
[01] | aix4.
[01].
*)
15949 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15951 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15954 can_build_shared
=no
15958 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15959 # soname into executable. Probably we can add versioning support to
15960 # collect2, so additional links can be useful in future.
15961 if test "$aix_use_runtimelinking" = yes; then
15962 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15963 # instead of lib<name>.a to let people know that these are not
15964 # typical AIX shared libraries.
15965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15967 # We preserve .a as extension for shared libraries through AIX4.2
15968 # and later when we are not doing run time linking.
15969 library_names_spec
='${libname}${release}.a $libname.a'
15970 soname_spec
='${libname}${release}${shared_ext}$major'
15972 shlibpath_var
=LIBPATH
15977 library_names_spec
='$libname.ixlibrary $libname.a'
15978 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15979 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'
15983 library_names_spec
='${libname}${shared_ext}'
15984 dynamic_linker
="$host_os ld.so"
15985 shlibpath_var
=LIBRARY_PATH
15991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15992 soname_spec
='${libname}${release}${shared_ext}$major'
15993 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15994 shlibpath_var
=LD_LIBRARY_PATH
15995 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15996 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15997 # the default ld.so.conf also contains /usr/contrib/lib and
15998 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15999 # libtool to hard-code these into programs
16002 cygwin
* | mingw
* | pw32
*)
16003 version_type
=windows
16008 case $GCC,$host_os in
16009 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16010 library_names_spec
='$libname.dll.a'
16011 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16012 postinstall_cmds
='base_file=`basename \${file}`~
16013 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16014 dldir=$destdir/`dirname \$dlpath`~
16015 test -d \$dldir || mkdir -p \$dldir~
16016 $install_prog $dir/$dlname \$dldir/$dlname~
16017 chmod a+x \$dldir/$dlname'
16018 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16019 dlpath=$dir/\$dldll~
16021 shlibpath_overrides_runpath
=yes
16025 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16026 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16027 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16030 # MinGW DLLs use traditional 'lib' prefix
16031 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16032 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16033 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16034 # It is most probably a Windows format PATH printed by
16035 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16036 # path with ; separators, and with drive letters. We can handle the
16037 # drive letters (cygwin fileutils understands them), so leave them,
16038 # especially as we might pass files found there to a mingw objdump,
16039 # which wouldn't understand a cygwinified path. Ahh.
16040 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16042 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16046 # pw32 DLLs use 'pw' prefix rather than 'lib'
16047 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16053 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16056 dynamic_linker
='Win32 ld.exe'
16057 # FIXME: first we should search . and the directory the executable is in
16061 darwin
* | rhapsody
*)
16062 dynamic_linker
="$host_os dyld"
16063 version_type
=darwin
16066 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16067 soname_spec
='${libname}${release}${major}$shared_ext'
16068 shlibpath_overrides_runpath
=yes
16069 shlibpath_var
=DYLD_LIBRARY_PATH
16070 shrext_cmds
='.dylib'
16071 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16072 if test "$GCC" = yes; then
16073 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"`
16075 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16077 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16085 soname_spec
='${libname}${release}${shared_ext}$major'
16086 shlibpath_var
=LD_LIBRARY_PATH
16097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16098 soname_spec
='${libname}${release}${shared_ext}$major'
16099 shlibpath_var
=LD_LIBRARY_PATH
16100 shlibpath_overrides_runpath
=no
16101 hardcode_into_libs
=yes
16102 dynamic_linker
='GNU ld.so'
16105 freebsd
* | dragonfly
*)
16106 # DragonFly does not have aout. When/if they implement a new
16107 # versioning mechanism, adjust this.
16108 if test -x /usr
/bin
/objformat
; then
16109 objformat
=`/usr/bin/objformat`
16112 freebsd
[123]*) objformat
=aout
;;
16113 *) objformat
=elf
;;
16116 version_type
=freebsd-
$objformat
16117 case $version_type in
16119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16124 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16128 shlibpath_var
=LD_LIBRARY_PATH
16131 shlibpath_overrides_runpath
=yes
16133 freebsd3.
[01]* | freebsdelf3.
[01]*)
16134 shlibpath_overrides_runpath
=yes
16135 hardcode_into_libs
=yes
16137 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16138 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16139 shlibpath_overrides_runpath
=no
16140 hardcode_into_libs
=yes
16142 freebsd
*) # from 4.6 on
16143 shlibpath_overrides_runpath
=yes
16144 hardcode_into_libs
=yes
16153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16154 soname_spec
='${libname}${release}${shared_ext}$major'
16155 shlibpath_var
=LD_LIBRARY_PATH
16156 hardcode_into_libs
=yes
16159 hpux9
* | hpux10
* | hpux11
*)
16160 # Give a soname corresponding to the major version so that dld.sl refuses to
16161 # link against other versions.
16168 hardcode_into_libs
=yes
16169 dynamic_linker
="$host_os dld.so"
16170 shlibpath_var
=LD_LIBRARY_PATH
16171 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16173 soname_spec
='${libname}${release}${shared_ext}$major'
16174 if test "X$HPUX_IA64_MODE" = X32
; then
16175 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16177 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16179 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16183 hardcode_into_libs
=yes
16184 dynamic_linker
="$host_os dld.sl"
16185 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16186 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16188 soname_spec
='${libname}${release}${shared_ext}$major'
16189 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16190 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16194 dynamic_linker
="$host_os dld.sl"
16195 shlibpath_var
=SHLIB_PATH
16196 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16198 soname_spec
='${libname}${release}${shared_ext}$major'
16201 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16202 postinstall_cmds
='chmod 555 $lib'
16209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16210 soname_spec
='${libname}${release}${shared_ext}$major'
16211 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16212 shlibpath_var
=LD_LIBRARY_PATH
16213 shlibpath_overrides_runpath
=no
16214 hardcode_into_libs
=yes
16217 irix5
* | irix6
* | nonstopux
*)
16219 nonstopux
*) version_type
=nonstopux
;;
16221 if test "$lt_cv_prog_gnu_ld" = yes; then
16229 soname_spec
='${libname}${release}${shared_ext}$major'
16230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16232 irix5
* | nonstopux
*)
16233 libsuff
= shlibsuff
=
16236 case $LD in # libtool.m4 will add one of these switches to LD
16237 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16238 libsuff
= shlibsuff
= libmagic
=32-bit;;
16239 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16240 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16241 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16242 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16243 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16247 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16248 shlibpath_overrides_runpath
=no
16249 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16250 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16251 hardcode_into_libs
=yes
16254 # No shared lib support for Linux oldld, aout, or coff.
16255 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16259 # This must be Linux ELF.
16264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16265 soname_spec
='${libname}${release}${shared_ext}$major'
16266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16267 shlibpath_var
=LD_LIBRARY_PATH
16268 shlibpath_overrides_runpath
=no
16269 # This implies no fast_install, which is unacceptable.
16270 # Some rework will be needed to allow for fast_install
16271 # before this can be enabled.
16272 hardcode_into_libs
=yes
16274 # Append ld.so.conf contents to the search path
16275 if test -f /etc
/ld.so.conf
; then
16276 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' ' '`
16277 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16280 # We used to test for /lib/ld.so.1 and disable shared libraries on
16281 # powerpc, because MkLinux only supported shared libraries with the
16282 # GNU dynamic linker. Since this was broken with cross compilers,
16283 # most powerpc-linux boxes support dynamic linking these days and
16284 # people can always --disable-shared, the test was removed, and we
16285 # assume the GNU/Linux dynamic linker is in use.
16286 dynamic_linker
='GNU/Linux ld.so'
16293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16294 soname_spec
='${libname}${release}${shared_ext}$major'
16295 shlibpath_var
=LD_LIBRARY_PATH
16296 shlibpath_overrides_runpath
=no
16297 hardcode_into_libs
=yes
16298 dynamic_linker
='GNU ld.so'
16305 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16307 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16308 dynamic_linker
='NetBSD (a.out) ld.so'
16310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16311 soname_spec
='${libname}${release}${shared_ext}$major'
16312 dynamic_linker
='NetBSD ld.elf_so'
16314 shlibpath_var
=LD_LIBRARY_PATH
16315 shlibpath_overrides_runpath
=yes
16316 hardcode_into_libs
=yes
16321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16322 shlibpath_var
=LD_LIBRARY_PATH
16323 shlibpath_overrides_runpath
=yes
16330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16331 soname_spec
='${libname}${release}${shared_ext}$major'
16332 shlibpath_var
=LD_LIBRARY_PATH
16333 shlibpath_overrides_runpath
=yes
16338 sys_lib_dlsearch_path_spec
="/usr/lib"
16340 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16342 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16343 *) need_version
=no
;;
16345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16346 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16347 shlibpath_var
=LD_LIBRARY_PATH
16348 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16350 openbsd2.
[89] | openbsd2.
[89].
*)
16351 shlibpath_overrides_runpath
=no
16354 shlibpath_overrides_runpath
=yes
16358 shlibpath_overrides_runpath
=yes
16363 libname_spec
='$name'
16366 library_names_spec
='$libname${shared_ext} $libname.a'
16367 dynamic_linker
='OS/2 ld.exe'
16368 shlibpath_var
=LIBPATH
16371 osf3
* | osf4
* | osf5
*)
16375 soname_spec
='${libname}${release}${shared_ext}$major'
16376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16377 shlibpath_var
=LD_LIBRARY_PATH
16378 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16379 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16387 soname_spec
='${libname}${release}${shared_ext}$major'
16388 shlibpath_var
=LD_LIBRARY_PATH
16389 shlibpath_overrides_runpath
=yes
16390 hardcode_into_libs
=yes
16391 # ldd complains unless libraries are executable
16392 postinstall_cmds
='chmod +x $lib'
16397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16398 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16399 shlibpath_var
=LD_LIBRARY_PATH
16400 shlibpath_overrides_runpath
=yes
16401 if test "$with_gnu_ld" = yes; then
16409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16410 soname_spec
='${libname}${release}${shared_ext}$major'
16411 shlibpath_var
=LD_LIBRARY_PATH
16412 case $host_vendor in
16414 shlibpath_overrides_runpath
=no
16416 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16417 runpath_var
=LD_RUN_PATH
16425 shlibpath_overrides_runpath
=no
16426 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16432 if test -d /usr
/nec
;then
16434 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16435 soname_spec
='$libname${shared_ext}.$major'
16436 shlibpath_var
=LD_LIBRARY_PATH
16440 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16441 version_type
=freebsd-elf
16444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16445 soname_spec
='${libname}${release}${shared_ext}$major'
16446 shlibpath_var
=LD_LIBRARY_PATH
16447 hardcode_into_libs
=yes
16448 if test "$with_gnu_ld" = yes; then
16449 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16450 shlibpath_overrides_runpath
=no
16452 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16453 shlibpath_overrides_runpath
=yes
16456 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16460 sys_lib_dlsearch_path_spec
='/usr/lib'
16465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16466 soname_spec
='${libname}${release}${shared_ext}$major'
16467 shlibpath_var
=LD_LIBRARY_PATH
16474 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16475 echo "${ECHO_T}$dynamic_linker" >&6; }
16476 test "$dynamic_linker" = no
&& can_build_shared
=no
16478 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16479 if test "$GCC" = yes; then
16480 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16483 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16484 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16486 if test -n "$hardcode_libdir_flag_spec" || \
16487 test -n "$runpath_var" || \
16488 test "X$hardcode_automatic" = "Xyes" ; then
16490 # We can hardcode non-existant directories.
16491 if test "$hardcode_direct" != no
&&
16492 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16493 # have to relink, otherwise we might link with an installed library
16494 # when we should be linking with a yet-to-be-installed one
16495 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16496 test "$hardcode_minus_L" != no
; then
16497 # Linking always hardcodes the temporary library directory.
16498 hardcode_action
=relink
16500 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16501 hardcode_action
=immediate
16504 # We cannot hardcode anything, or else we can only hardcode existing
16506 hardcode_action
=unsupported
16508 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16509 echo "${ECHO_T}$hardcode_action" >&6; }
16511 if test "$hardcode_action" = relink
; then
16512 # Fast installation is not supported
16513 enable_fast_install
=no
16514 elif test "$shlibpath_overrides_runpath" = yes ||
16515 test "$enable_shared" = no
; then
16516 # Fast installation is not necessary
16517 enable_fast_install
=needless
16522 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16523 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16524 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16525 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16526 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16527 { echo "$as_me:$LINENO: result: yes" >&5
16528 echo "${ECHO_T}yes" >&6; }
16530 # FIXME - insert some real tests, host_os isn't really good enough
16533 if test -n "$STRIP" ; then
16534 striplib
="$STRIP -x"
16535 { echo "$as_me:$LINENO: result: yes" >&5
16536 echo "${ECHO_T}yes" >&6; }
16538 { echo "$as_me:$LINENO: result: no" >&5
16539 echo "${ECHO_T}no" >&6; }
16543 { echo "$as_me:$LINENO: result: no" >&5
16544 echo "${ECHO_T}no" >&6; }
16549 if test "x$enable_dlopen" != xyes
; then
16550 enable_dlopen
=unknown
16551 enable_dlopen_self
=unknown
16552 enable_dlopen_self_static
=unknown
16559 lt_cv_dlopen
="load_add_on"
16561 lt_cv_dlopen_self
=yes
16565 lt_cv_dlopen
="LoadLibrary"
16570 lt_cv_dlopen
="dlopen"
16575 # if libdl is installed we need to link against it
16576 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16577 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16578 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16579 echo $ECHO_N "(cached) $ECHO_C" >&6
16581 ac_check_lib_save_LIBS
=$LIBS
16583 cat >conftest.
$ac_ext <<_ACEOF
16586 cat confdefs.h
>>conftest.
$ac_ext
16587 cat >>conftest.
$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16590 /* Override any GCC internal prototype to avoid an error.
16591 Use char because int might match the return type of a GCC
16592 builtin and then its argument prototype would still apply. */
16605 rm -f conftest.
$ac_objext conftest
$ac_exeext
16606 if { (ac_try
="$ac_link"
16607 case "(($ac_try" in
16608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16609 *) ac_try_echo=$ac_try;;
16611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16612 (eval "$ac_link") 2>conftest.er1
16614 grep -v '^ *+' conftest.er1 >conftest.err
16616 cat conftest.err >&5
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); } &&
16619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16620 { (case "(($ac_try" in
16621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16622 *) ac_try_echo
=$ac_try;;
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_try") 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; } &&
16629 { ac_try
='test -s conftest$ac_exeext'
16630 { (case "(($ac_try" in
16631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_try") 2>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_cv_lib_dl_dlopen=yes
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.$ac_ext >&5
16644 ac_cv_lib_dl_dlopen=no
16647 rm -f core conftest.err conftest.$ac_objext \
16648 conftest$ac_exeext conftest.$ac_ext
16649 LIBS=$ac_check_lib_save_LIBS
16651 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16652 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16653 if test $ac_cv_lib_dl_dlopen = yes; then
16654 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16657 lt_cv_dlopen="dyld"
16659 lt_cv_dlopen_self=yes
16666 { echo "$as_me:$LINENO: checking for shl_load" >&5
16667 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16668 if test "${ac_cv_func_shl_load+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 cat >conftest.$ac_ext <<_ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16677 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16679 #define shl_load innocuous_shl_load
16681 /* System header to define __stub macros and hopefully few prototypes,
16682 which can conflict with char shl_load (); below.
16683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16684 <limits.h> exists even on freestanding compilers. */
16687 # include <limits.h>
16689 # include <assert.h>
16694 /* Override any GCC internal prototype to avoid an error.
16695 Use char because int might match the return type of a GCC
16696 builtin and then its argument prototype would still apply. */
16701 /* The GNU C library defines this for functions which it implements
16702 to always fail with ENOSYS. Some functions are actually named
16703 something starting with __ and the normal name is an alias. */
16704 #if defined __stub_shl_load || defined __stub___shl_load
16711 return shl_load ();
16716 rm -f conftest.$ac_objext conftest$ac_exeext
16717 if { (ac_try="$ac_link"
16718 case "(($ac_try" in
16719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16720 *) ac_try_echo
=$ac_try;;
16722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16723 (eval "$ac_link") 2>conftest.er1
16725 grep -v '^ *+' conftest.er1
>conftest.err
16727 cat conftest.err
>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } &&
16730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16731 { (case "(($ac_try" in
16732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16733 *) ac_try_echo=$ac_try;;
16735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16736 (eval "$ac_try") 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; } &&
16740 { ac_try='test -s conftest$ac_exeext'
16741 { (case "(($ac_try" in
16742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16743 *) ac_try_echo
=$ac_try;;
16745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16746 (eval "$ac_try") 2>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); }; }; then
16750 ac_cv_func_shl_load
=yes
16752 echo "$as_me: failed program was:" >&5
16753 sed 's/^/| /' conftest.
$ac_ext >&5
16755 ac_cv_func_shl_load
=no
16758 rm -f core conftest.err conftest.
$ac_objext \
16759 conftest
$ac_exeext conftest.
$ac_ext
16761 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16762 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16763 if test $ac_cv_func_shl_load = yes; then
16764 lt_cv_dlopen
="shl_load"
16766 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16767 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16768 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 ac_check_lib_save_LIBS
=$LIBS
16773 cat >conftest.
$ac_ext <<_ACEOF
16776 cat confdefs.h
>>conftest.
$ac_ext
16777 cat >>conftest.
$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16780 /* Override any GCC internal prototype to avoid an error.
16781 Use char because int might match the return type of a GCC
16782 builtin and then its argument prototype would still apply. */
16790 return shl_load ();
16795 rm -f conftest.
$ac_objext conftest
$ac_exeext
16796 if { (ac_try
="$ac_link"
16797 case "(($ac_try" in
16798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16799 *) ac_try_echo=$ac_try;;
16801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16802 (eval "$ac_link") 2>conftest.er1
16804 grep -v '^ *+' conftest.er1 >conftest.err
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } &&
16809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16810 { (case "(($ac_try" in
16811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16812 *) ac_try_echo
=$ac_try;;
16814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16815 (eval "$ac_try") 2>&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; } &&
16819 { ac_try
='test -s conftest$ac_exeext'
16820 { (case "(($ac_try" in
16821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16822 *) ac_try_echo=$ac_try;;
16824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825 (eval "$ac_try") 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 ac_cv_lib_dld_shl_load=yes
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16834 ac_cv_lib_dld_shl_load=no
16837 rm -f core conftest.err conftest.$ac_objext \
16838 conftest$ac_exeext conftest.$ac_ext
16839 LIBS=$ac_check_lib_save_LIBS
16841 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16842 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16843 if test $ac_cv_lib_dld_shl_load = yes; then
16844 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16846 { echo "$as_me:$LINENO: checking for dlopen" >&5
16847 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16848 if test "${ac_cv_func_dlopen+set}" = set; then
16849 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 cat >conftest.$ac_ext <<_ACEOF
16854 cat confdefs.h >>conftest.$ac_ext
16855 cat >>conftest.$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16859 #define dlopen innocuous_dlopen
16861 /* System header to define __stub macros and hopefully few prototypes,
16862 which can conflict with char dlopen (); below.
16863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16864 <limits.h> exists even on freestanding compilers. */
16867 # include <limits.h>
16869 # include <assert.h>
16874 /* Override any GCC internal prototype to avoid an error.
16875 Use char because int might match the return type of a GCC
16876 builtin and then its argument prototype would still apply. */
16881 /* The GNU C library defines this for functions which it implements
16882 to always fail with ENOSYS. Some functions are actually named
16883 something starting with __ and the normal name is an alias. */
16884 #if defined __stub_dlopen || defined __stub___dlopen
16896 rm -f conftest.$ac_objext conftest$ac_exeext
16897 if { (ac_try="$ac_link"
16898 case "(($ac_try" in
16899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16900 *) ac_try_echo
=$ac_try;;
16902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16903 (eval "$ac_link") 2>conftest.er1
16905 grep -v '^ *+' conftest.er1
>conftest.err
16907 cat conftest.err
>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } &&
16910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16911 { (case "(($ac_try" in
16912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_try") 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try='test -s conftest$ac_exeext'
16921 { (case "(($ac_try" in
16922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16923 *) ac_try_echo
=$ac_try;;
16925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16926 (eval "$ac_try") 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16930 ac_cv_func_dlopen
=yes
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.
$ac_ext >&5
16935 ac_cv_func_dlopen
=no
16938 rm -f core conftest.err conftest.
$ac_objext \
16939 conftest
$ac_exeext conftest.
$ac_ext
16941 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16942 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16943 if test $ac_cv_func_dlopen = yes; then
16944 lt_cv_dlopen
="dlopen"
16946 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16947 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16948 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16951 ac_check_lib_save_LIBS
=$LIBS
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16960 /* Override any GCC internal prototype to avoid an error.
16961 Use char because int might match the return type of a GCC
16962 builtin and then its argument prototype would still apply. */
16975 rm -f conftest.
$ac_objext conftest
$ac_exeext
16976 if { (ac_try
="$ac_link"
16977 case "(($ac_try" in
16978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982 (eval "$ac_link") 2>conftest.er1
16984 grep -v '^ *+' conftest.er1 >conftest.err
16986 cat conftest.err >&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } &&
16989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16990 { (case "(($ac_try" in
16991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16992 *) ac_try_echo
=$ac_try;;
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_try") 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; } &&
16999 { ac_try
='test -s conftest$ac_exeext'
17000 { (case "(($ac_try" in
17001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17002 *) ac_try_echo=$ac_try;;
17004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17005 (eval "$ac_try") 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 ac_cv_lib_dl_dlopen=yes
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17014 ac_cv_lib_dl_dlopen=no
17017 rm -f core conftest.err conftest.$ac_objext \
17018 conftest$ac_exeext conftest.$ac_ext
17019 LIBS=$ac_check_lib_save_LIBS
17021 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17022 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17023 if test $ac_cv_lib_dl_dlopen = yes; then
17024 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17026 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17027 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17028 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 ac_check_lib_save_LIBS=$LIBS
17032 LIBS="-lsvld $LIBS"
17033 cat >conftest.$ac_ext <<_ACEOF
17036 cat confdefs.h >>conftest.$ac_ext
17037 cat >>conftest.$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17040 /* Override any GCC internal prototype to avoid an error.
17041 Use char because int might match the return type of a GCC
17042 builtin and then its argument prototype would still apply. */
17055 rm -f conftest.$ac_objext conftest$ac_exeext
17056 if { (ac_try="$ac_link"
17057 case "(($ac_try" in
17058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17059 *) ac_try_echo
=$ac_try;;
17061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17062 (eval "$ac_link") 2>conftest.er1
17064 grep -v '^ *+' conftest.er1
>conftest.err
17066 cat conftest.err
>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17070 { (case "(($ac_try" in
17071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17072 *) ac_try_echo=$ac_try;;
17074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17075 (eval "$ac_try") 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; } &&
17079 { ac_try='test -s conftest$ac_exeext'
17080 { (case "(($ac_try" in
17081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17082 *) ac_try_echo
=$ac_try;;
17084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17085 (eval "$ac_try") 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; }; then
17089 ac_cv_lib_svld_dlopen
=yes
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.
$ac_ext >&5
17094 ac_cv_lib_svld_dlopen
=no
17097 rm -f core conftest.err conftest.
$ac_objext \
17098 conftest
$ac_exeext conftest.
$ac_ext
17099 LIBS
=$ac_check_lib_save_LIBS
17101 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17102 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17103 if test $ac_cv_lib_svld_dlopen = yes; then
17104 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17106 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17107 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17108 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 ac_check_lib_save_LIBS
=$LIBS
17113 cat >conftest.
$ac_ext <<_ACEOF
17116 cat confdefs.h
>>conftest.
$ac_ext
17117 cat >>conftest.
$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17120 /* Override any GCC internal prototype to avoid an error.
17121 Use char because int might match the return type of a GCC
17122 builtin and then its argument prototype would still apply. */
17130 return dld_link ();
17135 rm -f conftest.
$ac_objext conftest
$ac_exeext
17136 if { (ac_try
="$ac_link"
17137 case "(($ac_try" in
17138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17139 *) ac_try_echo=$ac_try;;
17141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17142 (eval "$ac_link") 2>conftest.er1
17144 grep -v '^ *+' conftest.er1 >conftest.err
17146 cat conftest.err >&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); } &&
17149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17150 { (case "(($ac_try" in
17151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17152 *) ac_try_echo
=$ac_try;;
17154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17155 (eval "$ac_try") 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; } &&
17159 { ac_try
='test -s conftest$ac_exeext'
17160 { (case "(($ac_try" in
17161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17162 *) ac_try_echo=$ac_try;;
17164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17165 (eval "$ac_try") 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17169 ac_cv_lib_dld_dld_link=yes
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 ac_cv_lib_dld_dld_link=no
17177 rm -f core conftest.err conftest.$ac_objext \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17181 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17182 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17183 if test $ac_cv_lib_dld_dld_link = yes; then
17184 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17205 if test "x$lt_cv_dlopen" != xno; then
17211 case $lt_cv_dlopen in
17213 save_CPPFLAGS="$CPPFLAGS"
17214 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17216 save_LDFLAGS="$LDFLAGS"
17217 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17220 LIBS="$lt_cv_dlopen_libs $LIBS"
17222 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17223 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17224 if test "${lt_cv_dlopen_self+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 if test "$cross_compiling" = yes; then :
17228 lt_cv_dlopen_self=cross
17230 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17231 lt_status=$lt_dlunknown
17232 cat > conftest.$ac_ext <<EOF
17233 #line 17233 "configure"
17234 #include "confdefs.h"
17243 # define LT_DLGLOBAL RTLD_GLOBAL
17246 # define LT_DLGLOBAL DL_GLOBAL
17248 # define LT_DLGLOBAL 0
17252 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17253 find out it does not work in some platform. */
17254 #ifndef LT_DLLAZY_OR_NOW
17256 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17259 # define LT_DLLAZY_OR_NOW DL_LAZY
17262 # define LT_DLLAZY_OR_NOW RTLD_NOW
17265 # define LT_DLLAZY_OR_NOW DL_NOW
17267 # define LT_DLLAZY_OR_NOW 0
17275 extern "C" void exit (int);
17278 void fnord() { int i=42;}
17281 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17282 int status = $lt_dlunknown;
17286 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17287 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17288 /* dlclose (self); */
17296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17297 (eval $ac_link) 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17301 (./conftest; exit; ) >&5 2>/dev/null
17303 case x$lt_status in
17304 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17305 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17306 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17309 # compilation failed
17310 lt_cv_dlopen_self=no
17317 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17318 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17320 if test "x$lt_cv_dlopen_self" = xyes; then
17321 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17322 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17323 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17324 if test "${lt_cv_dlopen_self_static+set}" = set; then
17325 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 if test "$cross_compiling" = yes; then :
17328 lt_cv_dlopen_self_static=cross
17330 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17331 lt_status=$lt_dlunknown
17332 cat > conftest.$ac_ext <<EOF
17333 #line 17333 "configure"
17334 #include "confdefs.h"
17343 # define LT_DLGLOBAL RTLD_GLOBAL
17346 # define LT_DLGLOBAL DL_GLOBAL
17348 # define LT_DLGLOBAL 0
17352 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17353 find out it does not work in some platform. */
17354 #ifndef LT_DLLAZY_OR_NOW
17356 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17359 # define LT_DLLAZY_OR_NOW DL_LAZY
17362 # define LT_DLLAZY_OR_NOW RTLD_NOW
17365 # define LT_DLLAZY_OR_NOW DL_NOW
17367 # define LT_DLLAZY_OR_NOW 0
17375 extern "C" void exit (int);
17378 void fnord() { int i=42;}
17381 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17382 int status = $lt_dlunknown;
17386 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17387 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17388 /* dlclose (self); */
17396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17397 (eval $ac_link) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17401 (./conftest; exit; ) >&5 2>/dev/null
17403 case x$lt_status in
17404 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17405 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17406 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17409 # compilation failed
17410 lt_cv_dlopen_self_static=no
17417 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17418 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17421 CPPFLAGS="$save_CPPFLAGS"
17422 LDFLAGS="$save_LDFLAGS"
17427 case $lt_cv_dlopen_self in
17428 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17429 *) enable_dlopen_self=unknown ;;
17432 case $lt_cv_dlopen_self_static in
17433 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17434 *) enable_dlopen_self_static=unknown ;;
17439 # Report which library types will actually be built
17440 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17441 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17442 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17443 echo "${ECHO_T}$can_build_shared" >&6; }
17445 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17446 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17447 test "$can_build_shared" = "no" && enable_shared=no
17449 # On AIX, shared libraries and static libraries use the same namespace, and
17450 # are all built from PIC.
17453 test "$enable_shared" = yes && enable_static=no
17454 if test -n "$RANLIB"; then
17455 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17456 postinstall_cmds='$RANLIB $lib'
17461 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17462 test "$enable_shared" = yes && enable_static=no
17466 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17467 echo "${ECHO_T}$enable_shared" >&6; }
17469 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17470 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17471 # Make sure either enable_shared or enable_static is yes.
17472 test "$enable_shared" = yes || enable_static=yes
17473 { echo "$as_me:$LINENO: result: $enable_static" >&5
17474 echo "${ECHO_T}$enable_static" >&6; }
17476 # The else clause should only fire when bootstrapping the
17477 # libtool distribution, otherwise you forgot to ship ltmain.sh
17478 # with your package, and you will get complaints that there are
17479 # no rules to generate ltmain.sh.
17480 if test -f "$ltmain"; then
17481 # See if we are running on zsh, and set the options which allow our commands through
17482 # without removal of \ escapes.
17483 if test -n "${ZSH_VERSION+set}" ; then
17484 setopt NO_GLOB_SUBST
17486 # Now quote all the things that may contain metacharacters while being
17487 # careful not to overquote the AC_SUBSTed values. We take copies of the
17488 # variables and quote the copies for generation of the libtool script.
17489 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17491 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17492 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17493 deplibs_check_method reload_flag reload_cmds need_locks \
17494 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17495 lt_cv_sys_global_symbol_to_c_name_address \
17496 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17497 old_postinstall_cmds old_postuninstall_cmds \
17501 lt_prog_compiler_wl \
17502 lt_prog_compiler_pic \
17503 lt_prog_compiler_static \
17504 lt_prog_compiler_no_builtin_flag \
17505 export_dynamic_flag_spec \
17506 thread_safe_flag_spec \
17507 whole_archive_flag_spec \
17508 enable_shared_with_static_runtimes \
17510 old_archive_from_new_cmds \
17515 compiler_lib_search_path \
17517 archive_expsym_cmds \
17519 postuninstall_cmds \
17520 old_archive_from_expsyms_cmds \
17521 allow_undefined_flag \
17522 no_undefined_flag \
17523 export_symbols_cmds \
17524 hardcode_libdir_flag_spec \
17525 hardcode_libdir_flag_spec_ld \
17526 hardcode_libdir_separator \
17527 hardcode_automatic \
17529 module_expsym_cmds \
17530 lt_cv_prog_compiler_c_o \
17532 include_expsyms; do
17535 old_archive_cmds | \
17536 old_archive_from_new_cmds | \
17538 archive_expsym_cmds | \
17540 module_expsym_cmds | \
17541 old_archive_from_expsyms_cmds | \
17542 export_symbols_cmds | \
17543 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17544 postinstall_cmds | postuninstall_cmds | \
17545 old_postinstall_cmds | old_postuninstall_cmds | \
17546 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17547 # Double-quote double-evaled strings.
17548 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17551 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17557 *'\$0 --fallback-echo"')
17558 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17562 cfgfile="${ofile}T"
17563 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17565 { echo "$as_me:$LINENO: creating $ofile" >&5
17566 echo "$as_me: creating $ofile" >&6;}
17568 cat <<__EOF__ >> "$cfgfile"
17571 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17572 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17573 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17575 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17576 # Free Software Foundation, Inc.
17578 # This file is part of GNU Libtool:
17579 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17581 # This program is free software; you can redistribute it and/or modify
17582 # it under the terms of the GNU General Public License as published by
17583 # the Free Software Foundation; either version 2 of the License, or
17584 # (at your option) any later version.
17586 # This program is distributed in the hope that it will be useful, but
17587 # WITHOUT ANY WARRANTY; without even the implied warranty of
17588 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17589 # General Public License for more details.
17591 # You should have received a copy of the GNU General Public License
17592 # along with this program; if not, write to the Free Software
17593 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17595 # As a special exception to the GNU General Public License, if you
17596 # distribute this file as part of a program that contains a
17597 # configuration script generated by Autoconf, you may include it under
17598 # the same distribution terms that you use for the rest of that program.
17600 # A sed program that does not truncate output.
17603 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17604 Xsed="$SED -e 1s/^X//"
17606 # The HP-UX ksh and POSIX shell print the target directory to stdout
17607 # if CDPATH is set.
17608 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17610 # The names of the tagged configurations supported by this script.
17613 # ### BEGIN LIBTOOL CONFIG
17615 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17617 # Shell to use when invoking shell scripts.
17620 # Whether or not to build shared libraries.
17621 build_libtool_libs=$enable_shared
17623 # Whether or not to build static libraries.
17624 build_old_libs=$enable_static
17626 # Whether or not to add -lc for building shared libraries.
17627 build_libtool_need_lc=$archive_cmds_need_lc
17629 # Whether or not to disallow shared libs when runtime libs are static
17630 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17632 # Whether or not to optimize for fast installation.
17633 fast_install=$enable_fast_install
17636 host_alias=$host_alias
17640 # The build system.
17641 build_alias=$build_alias
17645 # An echo program that does not interpret backslashes.
17650 AR_FLAGS=$lt_AR_FLAGS
17655 # LTCC compiler flags.
17656 LTCFLAGS=$lt_LTCFLAGS
17658 # A language-specific compiler.
17661 # Is the compiler the GNU C compiler?
17667 # The linker used to build libraries.
17670 # Whether we need hard or soft links.
17673 # A BSD-compatible nm program.
17676 # A symbol stripping program
17679 # Used to examine libraries when file_magic_cmd begins "file"
17680 MAGIC_CMD=$MAGIC_CMD
17682 # Used on cygwin: DLL creation program.
17685 # Used on cygwin: object dumper.
17688 # Used on cygwin: assembler.
17691 # The name of the directory that contains temporary libtool files.
17694 # How to create reloadable object files.
17695 reload_flag=$lt_reload_flag
17696 reload_cmds=$lt_reload_cmds
17698 # How to pass a linker flag through the compiler.
17699 wl=$lt_lt_prog_compiler_wl
17701 # Object file suffix (normally "o").
17702 objext="$ac_objext"
17704 # Old archive suffix (normally "a").
17707 # Shared library suffix (normally ".so").
17708 shrext_cmds='$shrext_cmds'
17710 # Executable file suffix (normally "").
17713 # Additional compiler flags for building library objects.
17714 pic_flag=$lt_lt_prog_compiler_pic
17717 # What is the maximum length of a command?
17718 max_cmd_len=$lt_cv_sys_max_cmd_len
17720 # Does compiler simultaneously support -c and -o options?
17721 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17723 # Must we lock files when doing compilation?
17724 need_locks=$lt_need_locks
17726 # Do we need the lib prefix for modules?
17727 need_lib_prefix=$need_lib_prefix
17729 # Do we need a version for libraries?
17730 need_version=$need_version
17732 # Whether dlopen is supported.
17733 dlopen_support=$enable_dlopen
17735 # Whether dlopen of programs is supported.
17736 dlopen_self=$enable_dlopen_self
17738 # Whether dlopen of statically linked programs is supported.
17739 dlopen_self_static=$enable_dlopen_self_static
17741 # Compiler flag to prevent dynamic linking.
17742 link_static_flag=$lt_lt_prog_compiler_static
17744 # Compiler flag to turn off builtin functions.
17745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17747 # Compiler flag to allow reflexive dlopens.
17748 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17750 # Compiler flag to generate shared objects directly from archives.
17751 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17753 # Compiler flag to generate thread-safe objects.
17754 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17756 # Library versioning type.
17757 version_type=$version_type
17759 # Format of library name prefix.
17760 libname_spec=$lt_libname_spec
17762 # List of archive names. First name is the real one, the rest are links.
17763 # The last name is the one that the linker finds with -lNAME.
17764 library_names_spec=$lt_library_names_spec
17766 # The coded name of the library, if different from the real name.
17767 soname_spec=$lt_soname_spec
17769 # Commands used to build and install an old-style archive.
17771 old_archive_cmds=$lt_old_archive_cmds
17772 old_postinstall_cmds=$lt_old_postinstall_cmds
17773 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17775 # Create an old-style archive from a shared archive.
17776 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17778 # Create a temporary old-style archive to link instead of a shared archive.
17779 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17781 # Commands used to build and install a shared archive.
17782 archive_cmds=$lt_archive_cmds
17783 archive_expsym_cmds=$lt_archive_expsym_cmds
17784 postinstall_cmds=$lt_postinstall_cmds
17785 postuninstall_cmds=$lt_postuninstall_cmds
17787 # Commands used to build a loadable module (assumed same as above if empty)
17788 module_cmds=$lt_module_cmds
17789 module_expsym_cmds=$lt_module_expsym_cmds
17791 # Commands to strip libraries.
17792 old_striplib=$lt_old_striplib
17793 striplib=$lt_striplib
17795 # Dependencies to place before the objects being linked to create a
17797 predep_objects=$lt_predep_objects
17799 # Dependencies to place after the objects being linked to create a
17801 postdep_objects=$lt_postdep_objects
17803 # Dependencies to place before the objects being linked to create a
17805 predeps=$lt_predeps
17807 # Dependencies to place after the objects being linked to create a
17809 postdeps=$lt_postdeps
17811 # The library search path used internally by the compiler when linking
17812 # a shared library.
17813 compiler_lib_search_path=$lt_compiler_lib_search_path
17815 # Method to check whether dependent libraries are shared objects.
17816 deplibs_check_method=$lt_deplibs_check_method
17818 # Command to use when deplibs_check_method == file_magic.
17819 file_magic_cmd=$lt_file_magic_cmd
17821 # Flag that allows shared libraries with undefined symbols to be built.
17822 allow_undefined_flag=$lt_allow_undefined_flag
17824 # Flag that forces no undefined symbols.
17825 no_undefined_flag=$lt_no_undefined_flag
17827 # Commands used to finish a libtool library installation in a directory.
17828 finish_cmds=$lt_finish_cmds
17830 # Same as above, but a single script fragment to be evaled but not shown.
17831 finish_eval=$lt_finish_eval
17833 # Take the output of nm and produce a listing of raw symbols and C names.
17834 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17836 # Transform the output of nm in a proper C declaration
17837 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17839 # Transform the output of nm in a C name address pair
17840 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17842 # This is the shared library runtime path variable.
17843 runpath_var=$runpath_var
17845 # This is the shared library path variable.
17846 shlibpath_var=$shlibpath_var
17848 # Is shlibpath searched before the hard-coded library search path?
17849 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17851 # How to hardcode a shared library path into an executable.
17852 hardcode_action=$hardcode_action
17854 # Whether we should hardcode library paths into libraries.
17855 hardcode_into_libs=$hardcode_into_libs
17857 # Flag to hardcode \$libdir into a binary during linking.
17858 # This must work even if \$libdir does not exist.
17859 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17861 # If ld is used when linking, flag to hardcode \$libdir into
17862 # a binary during linking. This must work even if \$libdir does
17864 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17866 # Whether we need a single -rpath flag with a separated argument.
17867 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17869 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17870 # resulting binary.
17871 hardcode_direct=$hardcode_direct
17873 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17874 # resulting binary.
17875 hardcode_minus_L=$hardcode_minus_L
17877 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17878 # the resulting binary.
17879 hardcode_shlibpath_var=$hardcode_shlibpath_var
17881 # Set to yes if building a shared library automatically hardcodes DIR into the library
17882 # and all subsequent libraries and executables linked against it.
17883 hardcode_automatic=$hardcode_automatic
17885 # Variables whose values should be saved in libtool wrapper scripts and
17886 # restored at relink time.
17887 variables_saved_for_relink="$variables_saved_for_relink"
17889 # Whether libtool must link a program against all its dependency libraries.
17890 link_all_deplibs=$link_all_deplibs
17892 # Compile-time system search path for libraries
17893 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17895 # Run-time system search path for libraries
17896 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17898 # Fix the shell variable \$srcfile for the compiler.
17899 fix_srcfile_path="$fix_srcfile_path"
17901 # Set to yes if exported symbols are required.
17902 always_export_symbols=$always_export_symbols
17904 # The commands to list exported symbols.
17905 export_symbols_cmds=$lt_export_symbols_cmds
17907 # The commands to extract the exported symbol list from a shared archive.
17908 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17910 # Symbols that should not be listed in the preloaded symbols.
17911 exclude_expsyms=$lt_exclude_expsyms
17913 # Symbols that must always be exported.
17914 include_expsyms=$lt_include_expsyms
17916 # ### END LIBTOOL CONFIG
17923 cat <<\EOF >> "$cfgfile"
17925 # AIX sometimes has problems with the GCC collect2 program. For some
17926 # reason, if we set the COLLECT_NAMES environment variable, the problems
17927 # vanish in a puff of smoke.
17928 if test "X${COLLECT_NAMES+set}" != Xset; then
17930 export COLLECT_NAMES
17936 # We use sed instead of cat because bash on DJGPP gets confused if
17937 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17938 # text mode, it properly converts lines to CR/LF. This bash problem
17939 # is reportedly fixed, but why not run on old versions too?
17940 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17942 mv -f "$cfgfile" "$ofile" || \
17943 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17947 # If there is no Makefile yet, we rely on a make rule to execute
17948 # `config.status
--recheck' to rerun these tests and create the
17949 # libtool script then.
17950 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17951 if test -f "$ltmain_in"; then
17952 test -f Makefile && make "$ltmain"
17958 ac_cpp='$CPP $CPPFLAGS'
17959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17960 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17966 # Check whether --with-tags was given.
17967 if test "${with_tags+set}" = set; then
17968 withval=$with_tags; tagnames="$withval"
17972 if test -f "$ltmain" && test -n "$tagnames"; then
17973 if test ! -f "${ofile}"; then
17974 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
17975 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
17978 if test -z "$LTCC"; then
17979 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
17980 if test -z "$LTCC"; then
17981 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
17982 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
17984 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
17985 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
17988 if test -z "$LTCFLAGS"; then
17989 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
17992 # Extract list of available tagged configurations in $ofile.
17993 # Note that this assumes the entire list is on one line.
17994 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
17996 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17997 for tagname in $tagnames; do
17999 # Check whether tagname contains only valid characters
18000 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18002 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18003 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18004 { (exit 1); exit 1; }; }
18008 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18010 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18011 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18012 { (exit 1); exit 1; }; }
18015 # Update the list of available tags.
18016 if test -n "$tagname"; then
18017 echo appending configuration tag \"$tagname\" to $ofile
18021 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18022 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
18023 (test "X$CXX" != "Xg++"))) ; then
18025 ac_cpp='$CXXCPP $CPPFLAGS'
18026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18033 archive_cmds_need_lc_CXX=no
18034 allow_undefined_flag_CXX=
18035 always_export_symbols_CXX=no
18036 archive_expsym_cmds_CXX=
18037 export_dynamic_flag_spec_CXX=
18038 hardcode_direct_CXX=no
18039 hardcode_libdir_flag_spec_CXX=
18040 hardcode_libdir_flag_spec_ld_CXX=
18041 hardcode_libdir_separator_CXX=
18042 hardcode_minus_L_CXX=no
18043 hardcode_shlibpath_var_CXX=unsupported
18044 hardcode_automatic_CXX=no
18046 module_expsym_cmds_CXX=
18047 link_all_deplibs_CXX=unknown
18048 old_archive_cmds_CXX=$old_archive_cmds
18049 no_undefined_flag_CXX=
18050 whole_archive_flag_spec_CXX=
18051 enable_shared_with_static_runtimes_CXX=no
18053 # Dependencies to place before and after the object being linked:
18054 predep_objects_CXX=
18055 postdep_objects_CXX=
18058 compiler_lib_search_path_CXX=
18060 # Source file extension for C++ test sources.
18063 # Object file extension for compiled C++ test sources.
18067 # Code to be used in simple compile tests
18068 lt_simple_compile_test_code="int some_variable = 0;\n"
18070 # Code to be used in simple link tests
18071 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18073 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18075 # If no C compiler was specified, use CC.
18078 # If no C compiler flags were specified, use CFLAGS.
18079 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18081 # Allow CC to be a program name with arguments.
18085 # save warnings/boilerplate of simple test code
18086 ac_outfile=conftest.$ac_objext
18087 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18088 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18089 _lt_compiler_boilerplate=`cat conftest.err
`
18092 ac_outfile=conftest.$ac_objext
18093 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18094 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18095 _lt_linker_boilerplate=`cat conftest.err
`
18099 # Allow CC to be a program name with arguments.
18104 lt_save_with_gnu_ld=$with_gnu_ld
18105 lt_save_path_LD=$lt_cv_path_LD
18106 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18107 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18109 $as_unset lt_cv_prog_gnu_ld
18111 if test -n "${lt_cv_path_LDCXX+set}"; then
18112 lt_cv_path_LD=$lt_cv_path_LDCXX
18114 $as_unset lt_cv_path_LD
18116 test -z "${LDCXX+set}" || LD=$LDCXX
18120 for cc_temp in $compiler""; do
18122 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18123 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18128 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18131 # We don't want -fno-exception wen compiling C++ code, so set the
18132 # no_builtin_flag separately
18133 if test "$GXX" = yes; then
18134 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18136 lt_prog_compiler_no_builtin_flag_CXX=
18139 if test "$GXX" = yes; then
18140 # Set up default GNU C++ configuration
18143 # Check whether --with-gnu-ld was given.
18144 if test "${with_gnu_ld+set}" = set; then
18145 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18151 if test "$GCC" = yes; then
18152 # Check if gcc -print-prog-name=ld gives a path.
18153 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18154 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18157 # gcc leaves a trailing carriage return which upsets mingw
18158 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
18160 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18163 # Accept absolute paths.
18165 re_direlt='/[^/][^/]*/\.\./'
18166 # Canonicalize the pathname of ld
18167 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
18168 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18169 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
18171 test -z "$LD" && LD="$ac_prog"
18174 # If it fails, then pretend we aren't using GCC.
18178 # If it is relative, then search for the first ld in PATH.
18179 with_gnu_ld=unknown
18182 elif test "$with_gnu_ld" = yes; then
18183 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18184 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18186 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18187 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18189 if test "${lt_cv_path_LD+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18192 if test -z "$LD"; then
18193 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18194 for ac_dir in $PATH; do
18196 test -z "$ac_dir" && ac_dir=.
18197 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18198 lt_cv_path_LD="$ac_dir/$ac_prog"
18199 # Check to see if the program is GNU ld. I'd rather use --version,
18200 # but apparently some variants of GNU ld only accept -v.
18201 # Break only if it was the GNU/non-GNU ld that we prefer.
18202 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18203 *GNU* | *'with BFD'*)
18204 test "$with_gnu_ld" != no && break
18207 test "$with_gnu_ld" != yes && break
18214 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18218 LD="$lt_cv_path_LD"
18219 if test -n "$LD"; then
18220 { echo "$as_me:$LINENO: result: $LD" >&5
18221 echo "${ECHO_T}$LD" >&6; }
18223 { echo "$as_me:$LINENO: result: no" >&5
18224 echo "${ECHO_T}no" >&6; }
18226 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18227 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18228 { (exit 1); exit 1; }; }
18229 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18230 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18231 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18235 case `$LD -v 2>&1 </dev
/null
` in
18236 *GNU* | *'with BFD'*)
18237 lt_cv_prog_gnu_ld=yes
18240 lt_cv_prog_gnu_ld=no
18244 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18245 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18246 with_gnu_ld=$lt_cv_prog_gnu_ld
18250 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18251 # archiving commands below assume that GNU ld is being used.
18252 if test "$with_gnu_ld" = yes; then
18253 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18254 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'
18256 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18257 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18259 # If archive_cmds runs LD, not CC, wlarc should be empty
18260 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18261 # investigate it a little bit more. (MM)
18264 # ancient GNU ld didn't support --whole-archive et. al.
18265 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18266 grep 'no-whole-archive' > /dev/null; then
18267 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18269 whole_archive_flag_spec_CXX=
18275 # A generic and very simple default shared library creation
18276 # command for GNU C++ for the case where it uses the native
18277 # linker, instead of GNU ld. If possible, this setting should
18278 # overridden to take advantage of the native linker features on
18279 # the platform it is being used on.
18280 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18283 # Commands to make compiler produce verbose output that lists
18284 # what "hidden" libraries, object files and flags are used when
18285 # linking a shared library.
18286 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18294 # PORTME: fill in a description of your system's C++ link characteristics
18295 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18296 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18300 # FIXME: insert proper C++ library support
18304 if test "$host_cpu" = ia64; then
18305 # On IA64, the linker does run time linking by default, so we don't
18306 # have to do anything special.
18307 aix_use_runtimelinking=no
18308 exp_sym_flag='-Bexport'
18311 aix_use_runtimelinking=no
18313 # Test if we are trying to use run time linking or normal
18314 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18315 # need to do runtime linking.
18316 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18317 for ld_flag in $LDFLAGS; do
18320 aix_use_runtimelinking=yes
18328 exp_sym_flag='-bexport'
18329 no_entry_flag='-bnoentry'
18332 # When large executables or shared objects are built, AIX ld can
18333 # have problems creating the table of contents. If linking a library
18334 # or program results in "error TOC overflow" add -mminimal-toc to
18335 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18336 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18338 archive_cmds_CXX=''
18339 hardcode_direct_CXX=yes
18340 hardcode_libdir_separator_CXX=':'
18341 link_all_deplibs_CXX=yes
18343 if test "$GXX" = yes; then
18344 case $host_os in aix4.[012]|aix4.[012].*)
18345 # We only want to do this on AIX 4.2 and lower, the check
18346 # below for broken collect2 doesn't work under 4.3+
18347 collect2name=`${CC} -print-prog-name=collect2
`
18348 if test -f "$collect2name" && \
18349 strings "$collect2name" | grep resolve_lib_name >/dev/null
18351 # We have reworked collect2
18352 hardcode_direct_CXX=yes
18354 # We have old collect2
18355 hardcode_direct_CXX=unsupported
18356 # It fails to find uninstalled libraries when the uninstalled
18357 # path is not listed in the libpath. Setting hardcode_minus_L
18358 # to unsupported forces relinking
18359 hardcode_minus_L_CXX=yes
18360 hardcode_libdir_flag_spec_CXX='-L$libdir'
18361 hardcode_libdir_separator_CXX=
18365 shared_flag='-shared'
18366 if test "$aix_use_runtimelinking" = yes; then
18367 shared_flag="$shared_flag "'${wl}-G'
18371 if test "$host_cpu" = ia64; then
18372 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18373 # chokes on -Wl,-G. The following line is correct:
18376 if test "$aix_use_runtimelinking" = yes; then
18377 shared_flag='${wl}-G'
18379 shared_flag='${wl}-bM:SRE'
18384 # It seems that -bexpall does not export symbols beginning with
18385 # underscore (_), so it is better to generate a list of symbols to export.
18386 always_export_symbols_CXX=yes
18387 if test "$aix_use_runtimelinking" = yes; then
18388 # Warning - without using the other runtime loading flags (-brtl),
18389 # -berok will link without error, but may produce a broken library.
18390 allow_undefined_flag_CXX='-berok'
18391 # Determine the default libpath from the value encoded in an empty executable.
18392 cat >conftest.$ac_ext <<_ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18407 rm -f conftest.$ac_objext conftest$ac_exeext
18408 if { (ac_try="$ac_link"
18409 case "(($ac_try" in
18410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18411 *) ac_try_echo
=$ac_try;;
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_link") 2>conftest.er1
18416 grep -v '^ *+' conftest.er1
>conftest.err
18418 cat conftest.err
>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } &&
18421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18422 { (case "(($ac_try" in
18423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18427 (eval "$ac_try") 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try='test -s conftest$ac_exeext'
18432 { (case "(($ac_try" in
18433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18434 *) ac_try_echo
=$ac_try;;
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_try") 2>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; }; then
18442 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18444 # Check for a 64-bit object if we didn't find anything.
18445 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; }
18448 echo "$as_me: failed program was:" >&5
18449 sed 's/^/| /' conftest.
$ac_ext >&5
18454 rm -f core conftest.err conftest.
$ac_objext \
18455 conftest
$ac_exeext conftest.
$ac_ext
18456 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18458 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18460 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"
18462 if test "$host_cpu" = ia64
; then
18463 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18464 allow_undefined_flag_CXX
="-z nodefs"
18465 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"
18467 # Determine the default libpath from the value encoded in an empty executable.
18468 cat >conftest.
$ac_ext <<_ACEOF
18471 cat confdefs.h
>>conftest.
$ac_ext
18472 cat >>conftest.
$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18483 rm -f conftest.
$ac_objext conftest
$ac_exeext
18484 if { (ac_try
="$ac_link"
18485 case "(($ac_try" in
18486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18487 *) ac_try_echo=$ac_try;;
18489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18490 (eval "$ac_link") 2>conftest.er1
18492 grep -v '^ *+' conftest.er1 >conftest.err
18494 cat conftest.err >&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } &&
18497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18498 { (case "(($ac_try" in
18499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18500 *) ac_try_echo
=$ac_try;;
18502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18503 (eval "$ac_try") 2>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; } &&
18507 { ac_try
='test -s conftest$ac_exeext'
18508 { (case "(($ac_try" in
18509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18510 *) ac_try_echo=$ac_try;;
18512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18513 (eval "$ac_try") 2>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; }; then
18518 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18520 # Check for a 64-bit object if we didn't find anything.
18521 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; }
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18530 rm -f core conftest.err conftest.$ac_objext \
18531 conftest$ac_exeext conftest.$ac_ext
18532 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18534 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18535 # Warning - without using the other run time loading flags,
18536 # -berok will link without error, but may produce a broken library.
18537 no_undefined_flag_CXX=' ${wl}-bernotok'
18538 allow_undefined_flag_CXX=' ${wl}-berok'
18539 # Exported symbols can be pulled into shared objects from archives
18540 whole_archive_flag_spec_CXX='$convenience'
18541 archive_cmds_need_lc_CXX=yes
18542 # This is similar to how AIX traditionally builds its shared libraries.
18543 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'
18549 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18550 allow_undefined_flag_CXX=unsupported
18551 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18552 # support --undefined. This deserves some investigation. FIXME
18553 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18560 case $cc_basename in
18562 # FIXME: insert proper C++ library support
18568 cygwin* | mingw* | pw32*)
18569 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18570 # as there is no search path for DLLs.
18571 hardcode_libdir_flag_spec_CXX='-L$libdir'
18572 allow_undefined_flag_CXX=unsupported
18573 always_export_symbols_CXX=no
18574 enable_shared_with_static_runtimes_CXX=yes
18576 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18577 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'
18578 # If the export-symbols file already is a .def file (1st line
18579 # is EXPORTS), use it as is; otherwise, prepend...
18580 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18581 cp $export_symbols $output_objdir/$soname.def;
18583 echo EXPORTS > $output_objdir/$soname.def;
18584 cat $export_symbols >> $output_objdir/$soname.def;
18586 $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'
18591 darwin* | rhapsody*)
18593 rhapsody* | darwin1.[012])
18594 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18597 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18598 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18600 case ${MACOSX_DEPLOYMENT_TARGET} in
18602 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18605 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18611 archive_cmds_need_lc_CXX=no
18612 hardcode_direct_CXX=no
18613 hardcode_automatic_CXX=yes
18614 hardcode_shlibpath_var_CXX=unsupported
18615 whole_archive_flag_spec_CXX=''
18616 link_all_deplibs_CXX=yes
18618 if test "$GXX" = yes ; then
18619 lt_int_apple_cc_single_mod=no
18620 output_verbose_link_cmd='echo'
18621 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18622 lt_int_apple_cc_single_mod=yes
18624 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18625 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18627 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'
18629 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18630 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18631 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18632 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}'
18634 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}'
18636 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}'
18638 case $cc_basename in
18640 output_verbose_link_cmd='echo'
18641 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'
18642 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18643 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18644 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}'
18645 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}'
18655 case $cc_basename in
18657 # FIXME: insert proper C++ library support
18661 # Green Hills C++ Compiler
18662 # FIXME: insert proper C++ library support
18666 # FIXME: insert proper C++ library support
18672 # C++ shared libraries reported to be fairly broken before switch to ELF
18676 archive_cmds_need_lc_CXX=no
18678 freebsd* | kfreebsd*-gnu | dragonfly*)
18679 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18686 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18687 hardcode_libdir_separator_CXX=:
18688 export_dynamic_flag_spec_CXX='${wl}-E'
18689 hardcode_direct_CXX=yes
18690 hardcode_minus_L_CXX=yes # Not in the search PATH,
18691 # but as the default
18692 # location of the library.
18694 case $cc_basename in
18696 # FIXME: insert proper C++ library support
18700 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'
18701 # Commands to make compiler produce verbose output that lists
18702 # what "hidden" libraries, object files and flags are used when
18703 # linking a shared library.
18705 # There doesn't appear to be a way to prevent this compiler from
18706 # explicitly linking system object files so we need to strip them
18707 # from the output so that they don't get included in the library
18709 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'
18712 if test "$GXX" = yes; then
18713 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'
18715 # FIXME: insert proper C++ library support
18722 if test $with_gnu_ld = no; then
18723 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18724 hardcode_libdir_separator_CXX=:
18728 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18731 export_dynamic_flag_spec_CXX='${wl}-E'
18737 hardcode_direct_CXX=no
18738 hardcode_shlibpath_var_CXX=no
18741 hardcode_direct_CXX=yes
18742 hardcode_minus_L_CXX=yes # Not in the search PATH,
18743 # but as the default
18744 # location of the library.
18748 case $cc_basename in
18750 # FIXME: insert proper C++ library support
18756 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18759 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18762 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18765 # Commands to make compiler produce verbose output that lists
18766 # what "hidden" libraries, object files and flags are used when
18767 # linking a shared library.
18769 # There doesn't appear to be a way to prevent this compiler from
18770 # explicitly linking system object files so we need to strip them
18771 # from the output so that they don't get included in the library
18773 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'
18776 if test "$GXX" = yes; then
18777 if test $with_gnu_ld = no; then
18780 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18783 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18786 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'
18791 # FIXME: insert proper C++ library support
18798 hardcode_direct_CXX=no
18799 hardcode_shlibpath_var_CXX=no
18800 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18801 export_dynamic_flag_spec_CXX='${wl}-E'
18802 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18803 # Instead, shared libraries are loaded at an image base (0x10000000 by
18804 # default) and relocated if they conflict, which is a slow very memory
18805 # consuming and fragmenting process. To avoid this, we pick a random,
18806 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18807 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18808 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'
18809 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'
18812 case $cc_basename in
18815 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'
18817 # Archives containing C++ object files must be created using
18818 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18819 # necessary to make sure instantiated templates are included
18821 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18824 if test "$GXX" = yes; then
18825 if test "$with_gnu_ld" = no; then
18826 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'
18828 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'
18831 link_all_deplibs_CXX=yes
18834 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18835 hardcode_libdir_separator_CXX=:
18838 case $cc_basename in
18840 # Kuck and Associates, Inc. (KAI) C++ Compiler
18842 # KCC will only create a shared library if the output file
18843 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18844 # to its proper name (with version) after linking.
18845 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'
18846 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'
18847 # Commands to make compiler produce verbose output that lists
18848 # what "hidden" libraries, object files and flags are used when
18849 # linking a shared library.
18851 # There doesn't appear to be a way to prevent this compiler from
18852 # explicitly linking system object files so we need to strip them
18853 # from the output so that they don't get included in the library
18855 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'
18857 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18858 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18860 # Archives containing C++ object files must be created using
18861 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18862 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18867 # version 8.0 and above of icpc choke on multiply defined symbols
18868 # if we add $predep_objects and $postdep_objects, however 7.1 and
18869 # earlier do not add the objects themselves.
18870 case `$CC -V 2>&1` in
18872 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18873 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'
18875 *) # Version 8.0 or newer
18878 ia64
*) tmp_idyn
=' -i_dynamic';;
18880 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18881 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'
18884 archive_cmds_need_lc_CXX
=no
18885 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18886 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18887 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18890 # Portland Group C++ compiler
18891 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18892 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'
18894 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18895 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18896 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'
18900 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18901 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'
18903 runpath_var
=LD_RUN_PATH
18904 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18905 hardcode_libdir_separator_CXX
=:
18907 # Commands to make compiler produce verbose output that lists
18908 # what "hidden" libraries, object files and flags are used when
18909 # linking a shared library.
18911 # There doesn't appear to be a way to prevent this compiler from
18912 # explicitly linking system object files so we need to strip them
18913 # from the output so that they don't get included in the library
18915 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'
18920 # FIXME: insert proper C++ library support
18924 # FIXME: insert proper C++ library support
18928 case $cc_basename in
18930 # FIXME: insert proper C++ library support
18934 # FIXME: insert proper C++ library support
18940 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18941 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18943 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18944 hardcode_direct_CXX
=yes
18945 hardcode_shlibpath_var_CXX
=no
18947 # Workaround some broken pre-1.5 toolchains
18948 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18951 # C++ shared libraries are fairly broken
18955 hardcode_direct_CXX
=yes
18956 hardcode_shlibpath_var_CXX
=no
18957 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18958 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18959 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18960 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18961 export_dynamic_flag_spec_CXX
='${wl}-E'
18962 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18964 output_verbose_link_cmd
='echo'
18967 case $cc_basename in
18969 # Kuck and Associates, Inc. (KAI) C++ Compiler
18971 # KCC will only create a shared library if the output file
18972 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18973 # to its proper name (with version) after linking.
18974 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'
18976 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18977 hardcode_libdir_separator_CXX
=:
18979 # Archives containing C++ object files must be created using
18980 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18981 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18985 # Rational C++ 2.4.1
18986 # FIXME: insert proper C++ library support
18990 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18991 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'
18993 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18994 hardcode_libdir_separator_CXX
=:
18996 # Commands to make compiler produce verbose output that lists
18997 # what "hidden" libraries, object files and flags are used when
18998 # linking a shared library.
19000 # There doesn't appear to be a way to prevent this compiler from
19001 # explicitly linking system object files so we need to strip them
19002 # from the output so that they don't get included in the library
19004 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'
19007 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19008 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19009 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'
19011 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19012 hardcode_libdir_separator_CXX
=:
19014 # Commands to make compiler produce verbose output that lists
19015 # what "hidden" libraries, object files and flags are used when
19016 # linking a shared library.
19017 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19020 # FIXME: insert proper C++ library support
19027 case $cc_basename in
19029 # Kuck and Associates, Inc. (KAI) C++ Compiler
19031 # KCC will only create a shared library if the output file
19032 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19033 # to its proper name (with version) after linking.
19034 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'
19036 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19037 hardcode_libdir_separator_CXX
=:
19039 # Archives containing C++ object files must be created using
19040 # the KAI C++ compiler.
19041 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
19044 # Rational C++ 2.4.1
19045 # FIXME: insert proper C++ library support
19049 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19050 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'
19051 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19052 echo "-hidden">> $lib.exp~
19053 $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~
19056 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19057 hardcode_libdir_separator_CXX
=:
19059 # Commands to make compiler produce verbose output that lists
19060 # what "hidden" libraries, object files and flags are used when
19061 # linking a shared library.
19063 # There doesn't appear to be a way to prevent this compiler from
19064 # explicitly linking system object files so we need to strip them
19065 # from the output so that they don't get included in the library
19067 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'
19070 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19071 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19072 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'
19074 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19075 hardcode_libdir_separator_CXX
=:
19077 # Commands to make compiler produce verbose output that lists
19078 # what "hidden" libraries, object files and flags are used when
19079 # linking a shared library.
19080 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19083 # FIXME: insert proper C++ library support
19090 # FIXME: insert proper C++ library support
19094 case $cc_basename in
19097 # FIXME: insert proper C++ library support
19102 # FIXME: insert proper C++ library support
19106 # FIXME: insert proper C++ library support
19112 case $cc_basename in
19114 # Sun C++ 4.2, 5.x and Centerline C++
19115 archive_cmds_need_lc_CXX
=yes
19116 no_undefined_flag_CXX
=' -zdefs'
19117 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19118 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19119 $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'
19121 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19122 hardcode_shlibpath_var_CXX
=no
19124 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19126 # The C++ compiler is used as linker so we must use $wl
19127 # flag to pass the commands to the underlying system
19128 # linker. We must also pass each convience library through
19129 # to the system linker between allextract/defaultextract.
19130 # The C++ compiler will combine linker options so we
19131 # cannot just pass the convience library names through
19133 # Supported since Solaris 2.6 (maybe 2.5.1?)
19134 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'
19137 link_all_deplibs_CXX
=yes
19139 output_verbose_link_cmd
='echo'
19141 # Archives containing C++ object files must be created using
19142 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19143 # necessary to make sure instantiated templates are included
19145 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19148 # Green Hills C++ Compiler
19149 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19151 # The C++ compiler must be used to create the archive.
19152 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19155 # GNU C++ compiler with Solaris linker
19156 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19157 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19158 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
19159 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19160 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19161 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19163 # Commands to make compiler produce verbose output that lists
19164 # what "hidden" libraries, object files and flags are used when
19165 # linking a shared library.
19166 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19168 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19170 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19171 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19172 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19174 # Commands to make compiler produce verbose output that lists
19175 # what "hidden" libraries, object files and flags are used when
19176 # linking a shared library.
19177 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19180 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19185 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19186 no_undefined_flag_CXX
='${wl}-z,text'
19187 archive_cmds_need_lc_CXX
=no
19188 hardcode_shlibpath_var_CXX
=no
19189 runpath_var
='LD_RUN_PATH'
19191 case $cc_basename in
19193 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19194 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19197 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19198 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19202 sysv5
* | sco3.2v5
* | sco5v6
*)
19203 # Note: We can NOT use -z defs as we might desire, because we do not
19204 # link with -lc, and that would cause any symbols used from libc to
19205 # always be unresolved, which means just about no library would
19206 # ever link correctly. If we're not using GNU ld we use -z text
19207 # though, which does catch some bad symbols but isn't as heavy-handed
19209 # For security reasons, it is highly recommended that you always
19210 # use absolute paths for naming shared libraries, and exclude the
19211 # DT_RUNPATH tag from executables and libraries. But doing so
19212 # requires that you compile everything twice, which is a pain.
19213 # So that behaviour is only enabled if SCOABSPATH is set to a
19214 # non-empty value in the environment. Most likely only useful for
19215 # creating official distributions of packages.
19216 # This is a hack until libtool officially supports absolute path
19217 # names for shared libraries.
19218 no_undefined_flag_CXX
='${wl}-z,text'
19219 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19220 archive_cmds_need_lc_CXX
=no
19221 hardcode_shlibpath_var_CXX
=no
19222 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19223 hardcode_libdir_separator_CXX
=':'
19224 link_all_deplibs_CXX
=yes
19225 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19226 runpath_var
='LD_RUN_PATH'
19228 case $cc_basename in
19230 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19231 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19234 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19235 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19240 case $cc_basename in
19242 # NonStop-UX NCC 3.20
19243 # FIXME: insert proper C++ library support
19247 # FIXME: insert proper C++ library support
19253 # FIXME: insert proper C++ library support
19257 # FIXME: insert proper C++ library support
19261 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19262 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19263 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19269 cat > conftest.
$ac_ext <<EOF
19273 Foo (void) { a = 0; }
19279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19280 (eval $ac_compile) 2>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; then
19284 # Parse the compiler output and extract the necessary
19285 # objects, libraries and library flags.
19287 # Sentinel used to keep track of whether or not we are before
19288 # the conftest object file.
19289 pre_test_object_deps_done
=no
19291 # The `*' in the case matches for architectures that use `case' in
19292 # $output_verbose_cmd can trigger glob expansion during the loop
19293 # eval without this substitution.
19294 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19296 for p
in `eval $output_verbose_link_cmd`; do
19300 # Some compilers place space between "-{L,R}" and the path.
19301 # Remove the space.
19302 if test $p = "-L" \
19303 ||
test $p = "-R"; then
19310 if test "$pre_test_object_deps_done" = no
; then
19313 # Internal compiler library paths should come after those
19314 # provided the user. The postdeps already come after the
19315 # user supplied libs so there is no need to process them.
19316 if test -z "$compiler_lib_search_path_CXX"; then
19317 compiler_lib_search_path_CXX
="${prev}${p}"
19319 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19322 # The "-l" case would never come before the object being
19323 # linked, so don't bother handling this case.
19326 if test -z "$postdeps_CXX"; then
19327 postdeps_CXX
="${prev}${p}"
19329 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19335 # This assumes that the test object file only shows up
19336 # once in the compiler output.
19337 if test "$p" = "conftest.$objext"; then
19338 pre_test_object_deps_done
=yes
19342 if test "$pre_test_object_deps_done" = no
; then
19343 if test -z "$predep_objects_CXX"; then
19344 predep_objects_CXX
="$p"
19346 predep_objects_CXX
="$predep_objects_CXX $p"
19349 if test -z "$postdep_objects_CXX"; then
19350 postdep_objects_CXX
="$p"
19352 postdep_objects_CXX
="$postdep_objects_CXX $p"
19357 *) ;; # Ignore the rest.
19365 echo "libtool.m4: error: problem compiling CXX test program"
19368 $rm -f confest.
$objext
19370 # PORTME: override above test on systems where it is broken
19373 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19374 # hack all around it, let's just trust "g++" to DTRT.
19375 predep_objects_CXX
=
19376 postdep_objects_CXX
=
19381 case $cc_basename in
19383 # Adding this requires a known-good setup of shared libraries for
19384 # Sun compiler versions before 5.6, else PIC objects from an old
19385 # archive will be linked into the output, leading to subtle bugs.
19386 postdeps_CXX
='-lCstd -lCrun'
19393 case " $postdeps_CXX " in
19394 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19397 lt_prog_compiler_wl_CXX
=
19398 lt_prog_compiler_pic_CXX
=
19399 lt_prog_compiler_static_CXX
=
19401 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19402 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19404 # C++ specific cases for pic, static, wl, etc.
19405 if test "$GXX" = yes; then
19406 lt_prog_compiler_wl_CXX
='-Wl,'
19407 lt_prog_compiler_static_CXX
='-static'
19411 # All AIX code is PIC.
19412 if test "$host_cpu" = ia64
; then
19413 # AIX 5 now supports IA64 processor
19414 lt_prog_compiler_static_CXX
='-Bstatic'
19418 # FIXME: we need at least 68020 code to build shared libraries, but
19419 # adding the `-m68020' flag to GCC prevents building anything better,
19421 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19423 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19424 # PIC is the default for these OSes.
19426 mingw
* | os2
* | pw32
*)
19427 # This hack is so that the source file can tell whether it is being
19428 # built for inclusion in a dll (and should export symbols for example).
19429 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19431 darwin
* | rhapsody
*)
19432 # PIC is the default on this platform
19433 # Common symbols not allowed in MH_DYLIB files
19434 lt_prog_compiler_pic_CXX
='-fno-common'
19437 # DJGPP does not support shared libraries at all
19438 lt_prog_compiler_pic_CXX
=
19441 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19442 # Instead, we relocate shared libraries at runtime.
19445 if test -d /usr
/nec
; then
19446 lt_prog_compiler_pic_CXX
=-Kconform_pic
19450 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19451 # not for PA HP-UX.
19456 lt_prog_compiler_pic_CXX
='-fPIC'
19461 lt_prog_compiler_pic_CXX
='-fPIC'
19467 # All AIX code is PIC.
19468 if test "$host_cpu" = ia64
; then
19469 # AIX 5 now supports IA64 processor
19470 lt_prog_compiler_static_CXX
='-Bstatic'
19472 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19476 case $cc_basename in
19478 # Green Hills C++ Compiler
19479 # _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"
19484 # PIC is the default on this platform
19485 # Common symbols not allowed in MH_DYLIB files
19486 case $cc_basename in
19488 lt_prog_compiler_pic_CXX
='-qnocommon'
19489 lt_prog_compiler_wl_CXX
='-Wl,'
19494 case $cc_basename in
19496 lt_prog_compiler_pic_CXX
='-KPIC'
19499 # Green Hills C++ Compiler
19500 lt_prog_compiler_pic_CXX
='-pic'
19506 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19507 # FreeBSD uses GNU C++
19509 hpux9
* | hpux10
* | hpux11
*)
19510 case $cc_basename in
19512 lt_prog_compiler_wl_CXX
='-Wl,'
19513 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19514 if test "$host_cpu" != ia64
; then
19515 lt_prog_compiler_pic_CXX
='+Z'
19519 lt_prog_compiler_wl_CXX
='-Wl,'
19520 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19526 lt_prog_compiler_pic_CXX
='+Z'
19535 # This is c89, which is MS Visual C++ (no shared libs)
19536 # Anyone wants to do a port?
19538 irix5
* | irix6
* | nonstopux
*)
19539 case $cc_basename in
19541 lt_prog_compiler_wl_CXX
='-Wl,'
19542 lt_prog_compiler_static_CXX
='-non_shared'
19543 # CC pic flag -KPIC is the default.
19550 case $cc_basename in
19553 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19554 lt_prog_compiler_pic_CXX
='-fPIC'
19558 lt_prog_compiler_wl_CXX
='-Wl,'
19559 lt_prog_compiler_pic_CXX
='-KPIC'
19560 lt_prog_compiler_static_CXX
='-static'
19563 # Portland Group C++ compiler.
19564 lt_prog_compiler_wl_CXX
='-Wl,'
19565 lt_prog_compiler_pic_CXX
='-fpic'
19566 lt_prog_compiler_static_CXX
='-Bstatic'
19570 # Make sure the PIC flag is empty. It appears that all Alpha
19571 # Linux and Compaq Tru64 Unix objects are PIC.
19572 lt_prog_compiler_pic_CXX
=
19573 lt_prog_compiler_static_CXX
='-non_shared'
19584 case $cc_basename in
19586 lt_prog_compiler_pic_CXX
='-W c,exportall'
19594 osf3
* | osf4
* | osf5
*)
19595 case $cc_basename in
19597 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19600 # Rational C++ 2.4.1
19601 lt_prog_compiler_pic_CXX
='-pic'
19604 # Digital/Compaq C++
19605 lt_prog_compiler_wl_CXX
='-Wl,'
19606 # Make sure the PIC flag is empty. It appears that all Alpha
19607 # Linux and Compaq Tru64 Unix objects are PIC.
19608 lt_prog_compiler_pic_CXX
=
19609 lt_prog_compiler_static_CXX
='-non_shared'
19618 case $cc_basename in
19620 # Sun C++ 4.2, 5.x and Centerline C++
19621 lt_prog_compiler_pic_CXX
='-KPIC'
19622 lt_prog_compiler_static_CXX
='-Bstatic'
19623 lt_prog_compiler_wl_CXX
='-Qoption ld '
19626 # Green Hills C++ Compiler
19627 lt_prog_compiler_pic_CXX
='-PIC'
19634 case $cc_basename in
19637 lt_prog_compiler_pic_CXX
='-pic'
19638 lt_prog_compiler_static_CXX
='-Bstatic'
19642 lt_prog_compiler_pic_CXX
='-pic'
19649 case $cc_basename in
19651 # NonStop-UX NCC 3.20
19652 lt_prog_compiler_pic_CXX
='-KPIC'
19658 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19659 case $cc_basename in
19661 lt_prog_compiler_wl_CXX
='-Wl,'
19662 lt_prog_compiler_pic_CXX
='-KPIC'
19663 lt_prog_compiler_static_CXX
='-Bstatic'
19670 lt_prog_compiler_can_build_shared_CXX
=no
19675 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19676 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19679 # Check to make sure the PIC flag actually works.
19681 if test -n "$lt_prog_compiler_pic_CXX"; then
19683 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19684 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19685 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19686 echo $ECHO_N "(cached) $ECHO_C" >&6
19688 lt_prog_compiler_pic_works_CXX
=no
19689 ac_outfile
=conftest.
$ac_objext
19690 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19691 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19692 # Insert the option either (1) after the last *FLAGS variable, or
19693 # (2) before a word containing "conftest.", or (3) at the end.
19694 # Note that $ac_compile itself does not contain backslashes and begins
19695 # with a dollar sign (not a hyphen), so the echo should work correctly.
19696 # The option is referenced via a variable to avoid confusing sed.
19697 lt_compile
=`echo "$ac_compile" | $SED \
19698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19700 -e 's:$: $lt_compiler_flag:'`
19701 (eval echo "\"\$as_me:19701: $lt_compile\"" >&5)
19702 (eval "$lt_compile" 2>conftest.err
)
19704 cat conftest.err
>&5
19705 echo "$as_me:19705: \$? = $ac_status" >&5
19706 if (exit $ac_status) && test -s "$ac_outfile"; then
19707 # The compiler can only warn and ignore the option if not recognized
19708 # So say no if there are warnings other than the usual output.
19709 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19710 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19711 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19712 lt_prog_compiler_pic_works_CXX
=yes
19718 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19719 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19721 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19722 case $lt_prog_compiler_pic_CXX in
19724 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19727 lt_prog_compiler_pic_CXX
=
19728 lt_prog_compiler_can_build_shared_CXX
=no
19733 # For platforms which do not support PIC, -DPIC is meaningless:
19735 lt_prog_compiler_pic_CXX
=
19738 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19743 # Check to make sure the static flag actually works.
19745 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19746 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19747 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19748 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 lt_prog_compiler_static_works_CXX
=no
19752 save_LDFLAGS
="$LDFLAGS"
19753 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19754 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19755 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19756 # The linker can only warn and ignore the option if not recognized
19757 # So say no if there are warnings
19758 if test -s conftest.err
; then
19759 # Append any errors to the config.log.
19760 cat conftest.err
1>&5
19761 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19762 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19763 if diff conftest.exp conftest.er2
>/dev
/null
; then
19764 lt_prog_compiler_static_works_CXX
=yes
19767 lt_prog_compiler_static_works_CXX
=yes
19771 LDFLAGS
="$save_LDFLAGS"
19774 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19775 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19777 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19780 lt_prog_compiler_static_CXX
=
19784 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19785 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19786 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19787 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 lt_cv_prog_compiler_c_o_CXX
=no
19790 $rm -r conftest
2>/dev
/null
19794 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19796 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19797 # Insert the option either (1) after the last *FLAGS variable, or
19798 # (2) before a word containing "conftest.", or (3) at the end.
19799 # Note that $ac_compile itself does not contain backslashes and begins
19800 # with a dollar sign (not a hyphen), so the echo should work correctly.
19801 lt_compile
=`echo "$ac_compile" | $SED \
19802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19804 -e 's:$: $lt_compiler_flag:'`
19805 (eval echo "\"\$as_me:19805: $lt_compile\"" >&5)
19806 (eval "$lt_compile" 2>out
/conftest.err
)
19808 cat out
/conftest.err
>&5
19809 echo "$as_me:19809: \$? = $ac_status" >&5
19810 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19812 # The compiler can only warn and ignore the option if not recognized
19813 # So say no if there are warnings
19814 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19815 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19816 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19817 lt_cv_prog_compiler_c_o_CXX
=yes
19822 # SGI C++ compiler will create directory out/ii_files/ for
19823 # template instantiation
19824 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19825 $rm out
/* && rmdir out
19831 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19832 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19835 hard_links
="nottested"
19836 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19837 # do not overwrite the value of need_locks provided by the user
19838 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19839 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19842 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19844 ln conftest.a conftest.b
2>&5 || hard_links
=no
19845 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19846 { echo "$as_me:$LINENO: result: $hard_links" >&5
19847 echo "${ECHO_T}$hard_links" >&6; }
19848 if test "$hard_links" = no
; then
19849 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19850 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19857 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19858 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19860 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19863 # If we're using GNU nm, then we don't want the "-C" option.
19864 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19865 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19866 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'
19868 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'
19872 export_symbols_cmds_CXX
="$ltdll_cmds"
19875 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'
19878 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19882 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19883 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19884 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19887 # Do we need to explicitly link libc?
19889 case "x$archive_cmds_need_lc_CXX" in
19891 # Assume -lc should be added
19892 archive_cmds_need_lc_CXX
=yes
19894 if test "$enable_shared" = yes && test "$GCC" = yes; then
19895 case $archive_cmds_CXX in
19897 # FIXME: we may have to deal with multi-command sequences.
19900 # Test whether the compiler implicitly links with -lc since on some
19901 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19902 # to ld, don't add -lc before -lgcc.
19903 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19904 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19906 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19909 (eval $ac_compile) 2>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } 2>conftest.err
; then
19915 libobjs
=conftest.
$ac_objext
19917 wl
=$lt_prog_compiler_wl_CXX
19918 pic_flag
=$lt_prog_compiler_pic_CXX
19924 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19925 allow_undefined_flag_CXX
=
19926 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19927 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }
19932 archive_cmds_need_lc_CXX
=no
19934 archive_cmds_need_lc_CXX
=yes
19936 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19938 cat conftest.err
1>&5
19941 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19942 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19949 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19950 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19951 library_names_spec
=
19952 libname_spec
='lib$name'
19956 postuninstall_cmds
=
19960 shlibpath_overrides_runpath
=unknown
19962 dynamic_linker
="$host_os ld.so"
19963 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19964 if test "$GCC" = yes; then
19965 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19966 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19967 # if the path contains ";" then we assume it to be the separator
19968 # otherwise default to the standard path separator (i.e. ":") - it is
19969 # assumed that no part of a normal pathname contains ";" but that should
19970 # okay in the real world where ";" in dirpaths is itself problematic.
19971 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19973 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19976 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19978 need_lib_prefix
=unknown
19979 hardcode_into_libs
=no
19981 # when you set need_version to no, make sure it does not cause -set_version
19982 # flags to be left without arguments
19983 need_version
=unknown
19988 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19989 shlibpath_var
=LIBPATH
19991 # AIX 3 has no versioning support, so we append a major version to the name.
19992 soname_spec
='${libname}${release}${shared_ext}$major'
19999 hardcode_into_libs
=yes
20000 if test "$host_cpu" = ia64
; then
20001 # AIX 5 supports IA64
20002 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20003 shlibpath_var
=LD_LIBRARY_PATH
20005 # With GCC up to 2.95.x, collect2 would create an import file
20006 # for dependence libraries. The import file would start with
20007 # the line `#! .'. This would cause the generated library to
20008 # depend on `.', always an invalid library. This was fixed in
20009 # development snapshots of GCC prior to 3.0.
20011 aix4 | aix4.
[01] | aix4.
[01].
*)
20012 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20014 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20017 can_build_shared
=no
20021 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20022 # soname into executable. Probably we can add versioning support to
20023 # collect2, so additional links can be useful in future.
20024 if test "$aix_use_runtimelinking" = yes; then
20025 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20026 # instead of lib<name>.a to let people know that these are not
20027 # typical AIX shared libraries.
20028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20030 # We preserve .a as extension for shared libraries through AIX4.2
20031 # and later when we are not doing run time linking.
20032 library_names_spec
='${libname}${release}.a $libname.a'
20033 soname_spec
='${libname}${release}${shared_ext}$major'
20035 shlibpath_var
=LIBPATH
20040 library_names_spec
='$libname.ixlibrary $libname.a'
20041 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20042 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'
20046 library_names_spec
='${libname}${shared_ext}'
20047 dynamic_linker
="$host_os ld.so"
20048 shlibpath_var
=LIBRARY_PATH
20054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20055 soname_spec
='${libname}${release}${shared_ext}$major'
20056 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20057 shlibpath_var
=LD_LIBRARY_PATH
20058 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20059 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20060 # the default ld.so.conf also contains /usr/contrib/lib and
20061 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20062 # libtool to hard-code these into programs
20065 cygwin
* | mingw
* | pw32
*)
20066 version_type
=windows
20071 case $GCC,$host_os in
20072 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20073 library_names_spec
='$libname.dll.a'
20074 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20075 postinstall_cmds
='base_file=`basename \${file}`~
20076 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20077 dldir=$destdir/`dirname \$dlpath`~
20078 test -d \$dldir || mkdir -p \$dldir~
20079 $install_prog $dir/$dlname \$dldir/$dlname~
20080 chmod a+x \$dldir/$dlname'
20081 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20082 dlpath=$dir/\$dldll~
20084 shlibpath_overrides_runpath
=yes
20088 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20089 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20090 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20093 # MinGW DLLs use traditional 'lib' prefix
20094 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20095 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20096 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20097 # It is most probably a Windows format PATH printed by
20098 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20099 # path with ; separators, and with drive letters. We can handle the
20100 # drive letters (cygwin fileutils understands them), so leave them,
20101 # especially as we might pass files found there to a mingw objdump,
20102 # which wouldn't understand a cygwinified path. Ahh.
20103 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20105 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20109 # pw32 DLLs use 'pw' prefix rather than 'lib'
20110 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20116 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20119 dynamic_linker
='Win32 ld.exe'
20120 # FIXME: first we should search . and the directory the executable is in
20124 darwin
* | rhapsody
*)
20125 dynamic_linker
="$host_os dyld"
20126 version_type
=darwin
20129 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20130 soname_spec
='${libname}${release}${major}$shared_ext'
20131 shlibpath_overrides_runpath
=yes
20132 shlibpath_var
=DYLD_LIBRARY_PATH
20133 shrext_cmds
='.dylib'
20134 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20135 if test "$GCC" = yes; then
20136 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"`
20138 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20140 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20148 soname_spec
='${libname}${release}${shared_ext}$major'
20149 shlibpath_var
=LD_LIBRARY_PATH
20160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20161 soname_spec
='${libname}${release}${shared_ext}$major'
20162 shlibpath_var
=LD_LIBRARY_PATH
20163 shlibpath_overrides_runpath
=no
20164 hardcode_into_libs
=yes
20165 dynamic_linker
='GNU ld.so'
20168 freebsd
* | dragonfly
*)
20169 # DragonFly does not have aout. When/if they implement a new
20170 # versioning mechanism, adjust this.
20171 if test -x /usr
/bin
/objformat
; then
20172 objformat
=`/usr/bin/objformat`
20175 freebsd
[123]*) objformat
=aout
;;
20176 *) objformat
=elf
;;
20179 version_type
=freebsd-
$objformat
20180 case $version_type in
20182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20187 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20191 shlibpath_var
=LD_LIBRARY_PATH
20194 shlibpath_overrides_runpath
=yes
20196 freebsd3.
[01]* | freebsdelf3.
[01]*)
20197 shlibpath_overrides_runpath
=yes
20198 hardcode_into_libs
=yes
20200 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20201 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20202 shlibpath_overrides_runpath
=no
20203 hardcode_into_libs
=yes
20205 freebsd
*) # from 4.6 on
20206 shlibpath_overrides_runpath
=yes
20207 hardcode_into_libs
=yes
20216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20217 soname_spec
='${libname}${release}${shared_ext}$major'
20218 shlibpath_var
=LD_LIBRARY_PATH
20219 hardcode_into_libs
=yes
20222 hpux9
* | hpux10
* | hpux11
*)
20223 # Give a soname corresponding to the major version so that dld.sl refuses to
20224 # link against other versions.
20231 hardcode_into_libs
=yes
20232 dynamic_linker
="$host_os dld.so"
20233 shlibpath_var
=LD_LIBRARY_PATH
20234 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20236 soname_spec
='${libname}${release}${shared_ext}$major'
20237 if test "X$HPUX_IA64_MODE" = X32
; then
20238 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20240 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20242 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20246 hardcode_into_libs
=yes
20247 dynamic_linker
="$host_os dld.sl"
20248 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20249 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20251 soname_spec
='${libname}${release}${shared_ext}$major'
20252 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20253 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20257 dynamic_linker
="$host_os dld.sl"
20258 shlibpath_var
=SHLIB_PATH
20259 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20261 soname_spec
='${libname}${release}${shared_ext}$major'
20264 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20265 postinstall_cmds
='chmod 555 $lib'
20272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20273 soname_spec
='${libname}${release}${shared_ext}$major'
20274 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20275 shlibpath_var
=LD_LIBRARY_PATH
20276 shlibpath_overrides_runpath
=no
20277 hardcode_into_libs
=yes
20280 irix5
* | irix6
* | nonstopux
*)
20282 nonstopux
*) version_type
=nonstopux
;;
20284 if test "$lt_cv_prog_gnu_ld" = yes; then
20292 soname_spec
='${libname}${release}${shared_ext}$major'
20293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20295 irix5
* | nonstopux
*)
20296 libsuff
= shlibsuff
=
20299 case $LD in # libtool.m4 will add one of these switches to LD
20300 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20301 libsuff
= shlibsuff
= libmagic
=32-bit;;
20302 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20303 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20304 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20305 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20306 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20310 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20311 shlibpath_overrides_runpath
=no
20312 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20313 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20314 hardcode_into_libs
=yes
20317 # No shared lib support for Linux oldld, aout, or coff.
20318 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20322 # This must be Linux ELF.
20327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20328 soname_spec
='${libname}${release}${shared_ext}$major'
20329 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20330 shlibpath_var
=LD_LIBRARY_PATH
20331 shlibpath_overrides_runpath
=no
20332 # This implies no fast_install, which is unacceptable.
20333 # Some rework will be needed to allow for fast_install
20334 # before this can be enabled.
20335 hardcode_into_libs
=yes
20337 # Append ld.so.conf contents to the search path
20338 if test -f /etc
/ld.so.conf
; then
20339 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' ' '`
20340 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20343 # We used to test for /lib/ld.so.1 and disable shared libraries on
20344 # powerpc, because MkLinux only supported shared libraries with the
20345 # GNU dynamic linker. Since this was broken with cross compilers,
20346 # most powerpc-linux boxes support dynamic linking these days and
20347 # people can always --disable-shared, the test was removed, and we
20348 # assume the GNU/Linux dynamic linker is in use.
20349 dynamic_linker
='GNU/Linux ld.so'
20356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20357 soname_spec
='${libname}${release}${shared_ext}$major'
20358 shlibpath_var
=LD_LIBRARY_PATH
20359 shlibpath_overrides_runpath
=no
20360 hardcode_into_libs
=yes
20361 dynamic_linker
='GNU ld.so'
20368 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20371 dynamic_linker
='NetBSD (a.out) ld.so'
20373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20374 soname_spec
='${libname}${release}${shared_ext}$major'
20375 dynamic_linker
='NetBSD ld.elf_so'
20377 shlibpath_var
=LD_LIBRARY_PATH
20378 shlibpath_overrides_runpath
=yes
20379 hardcode_into_libs
=yes
20384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20385 shlibpath_var
=LD_LIBRARY_PATH
20386 shlibpath_overrides_runpath
=yes
20393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20394 soname_spec
='${libname}${release}${shared_ext}$major'
20395 shlibpath_var
=LD_LIBRARY_PATH
20396 shlibpath_overrides_runpath
=yes
20401 sys_lib_dlsearch_path_spec
="/usr/lib"
20403 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20405 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20406 *) need_version
=no
;;
20408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20409 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20410 shlibpath_var
=LD_LIBRARY_PATH
20411 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20413 openbsd2.
[89] | openbsd2.
[89].
*)
20414 shlibpath_overrides_runpath
=no
20417 shlibpath_overrides_runpath
=yes
20421 shlibpath_overrides_runpath
=yes
20426 libname_spec
='$name'
20429 library_names_spec
='$libname${shared_ext} $libname.a'
20430 dynamic_linker
='OS/2 ld.exe'
20431 shlibpath_var
=LIBPATH
20434 osf3
* | osf4
* | osf5
*)
20438 soname_spec
='${libname}${release}${shared_ext}$major'
20439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20440 shlibpath_var
=LD_LIBRARY_PATH
20441 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20442 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20450 soname_spec
='${libname}${release}${shared_ext}$major'
20451 shlibpath_var
=LD_LIBRARY_PATH
20452 shlibpath_overrides_runpath
=yes
20453 hardcode_into_libs
=yes
20454 # ldd complains unless libraries are executable
20455 postinstall_cmds
='chmod +x $lib'
20460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20461 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20462 shlibpath_var
=LD_LIBRARY_PATH
20463 shlibpath_overrides_runpath
=yes
20464 if test "$with_gnu_ld" = yes; then
20472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20473 soname_spec
='${libname}${release}${shared_ext}$major'
20474 shlibpath_var
=LD_LIBRARY_PATH
20475 case $host_vendor in
20477 shlibpath_overrides_runpath
=no
20479 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20480 runpath_var
=LD_RUN_PATH
20488 shlibpath_overrides_runpath
=no
20489 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20495 if test -d /usr
/nec
;then
20497 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20498 soname_spec
='$libname${shared_ext}.$major'
20499 shlibpath_var
=LD_LIBRARY_PATH
20503 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20504 version_type
=freebsd-elf
20507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20508 soname_spec
='${libname}${release}${shared_ext}$major'
20509 shlibpath_var
=LD_LIBRARY_PATH
20510 hardcode_into_libs
=yes
20511 if test "$with_gnu_ld" = yes; then
20512 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20513 shlibpath_overrides_runpath
=no
20515 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20516 shlibpath_overrides_runpath
=yes
20519 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20523 sys_lib_dlsearch_path_spec
='/usr/lib'
20528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20529 soname_spec
='${libname}${release}${shared_ext}$major'
20530 shlibpath_var
=LD_LIBRARY_PATH
20537 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20538 echo "${ECHO_T}$dynamic_linker" >&6; }
20539 test "$dynamic_linker" = no
&& can_build_shared
=no
20541 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20542 if test "$GCC" = yes; then
20543 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20546 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20547 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20548 hardcode_action_CXX
=
20549 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20550 test -n "$runpath_var_CXX" || \
20551 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20553 # We can hardcode non-existant directories.
20554 if test "$hardcode_direct_CXX" != no
&&
20555 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20556 # have to relink, otherwise we might link with an installed library
20557 # when we should be linking with a yet-to-be-installed one
20558 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20559 test "$hardcode_minus_L_CXX" != no
; then
20560 # Linking always hardcodes the temporary library directory.
20561 hardcode_action_CXX
=relink
20563 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20564 hardcode_action_CXX
=immediate
20567 # We cannot hardcode anything, or else we can only hardcode existing
20569 hardcode_action_CXX
=unsupported
20571 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20572 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20574 if test "$hardcode_action_CXX" = relink
; then
20575 # Fast installation is not supported
20576 enable_fast_install
=no
20577 elif test "$shlibpath_overrides_runpath" = yes ||
20578 test "$enable_shared" = no
; then
20579 # Fast installation is not necessary
20580 enable_fast_install
=needless
20584 # The else clause should only fire when bootstrapping the
20585 # libtool distribution, otherwise you forgot to ship ltmain.sh
20586 # with your package, and you will get complaints that there are
20587 # no rules to generate ltmain.sh.
20588 if test -f "$ltmain"; then
20589 # See if we are running on zsh, and set the options which allow our commands through
20590 # without removal of \ escapes.
20591 if test -n "${ZSH_VERSION+set}" ; then
20592 setopt NO_GLOB_SUBST
20594 # Now quote all the things that may contain metacharacters while being
20595 # careful not to overquote the AC_SUBSTed values. We take copies of the
20596 # variables and quote the copies for generation of the libtool script.
20597 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20599 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20600 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20601 deplibs_check_method reload_flag reload_cmds need_locks \
20602 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20603 lt_cv_sys_global_symbol_to_c_name_address \
20604 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20605 old_postinstall_cmds old_postuninstall_cmds \
20609 lt_prog_compiler_wl_CXX \
20610 lt_prog_compiler_pic_CXX \
20611 lt_prog_compiler_static_CXX \
20612 lt_prog_compiler_no_builtin_flag_CXX \
20613 export_dynamic_flag_spec_CXX \
20614 thread_safe_flag_spec_CXX \
20615 whole_archive_flag_spec_CXX \
20616 enable_shared_with_static_runtimes_CXX \
20617 old_archive_cmds_CXX \
20618 old_archive_from_new_cmds_CXX \
20619 predep_objects_CXX \
20620 postdep_objects_CXX \
20623 compiler_lib_search_path_CXX \
20625 archive_expsym_cmds_CXX \
20626 postinstall_cmds_CXX \
20627 postuninstall_cmds_CXX \
20628 old_archive_from_expsyms_cmds_CXX \
20629 allow_undefined_flag_CXX \
20630 no_undefined_flag_CXX \
20631 export_symbols_cmds_CXX \
20632 hardcode_libdir_flag_spec_CXX \
20633 hardcode_libdir_flag_spec_ld_CXX \
20634 hardcode_libdir_separator_CXX \
20635 hardcode_automatic_CXX \
20637 module_expsym_cmds_CXX \
20638 lt_cv_prog_compiler_c_o_CXX \
20639 exclude_expsyms_CXX \
20640 include_expsyms_CXX
; do
20643 old_archive_cmds_CXX | \
20644 old_archive_from_new_cmds_CXX | \
20645 archive_cmds_CXX | \
20646 archive_expsym_cmds_CXX | \
20647 module_cmds_CXX | \
20648 module_expsym_cmds_CXX | \
20649 old_archive_from_expsyms_cmds_CXX | \
20650 export_symbols_cmds_CXX | \
20651 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20652 postinstall_cmds | postuninstall_cmds | \
20653 old_postinstall_cmds | old_postuninstall_cmds | \
20654 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20655 # Double-quote double-evaled strings.
20656 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20659 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20665 *'\$0 --fallback-echo"')
20666 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20672 cat <<__EOF__ >> "$cfgfile"
20673 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20675 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20677 # Shell to use when invoking shell scripts.
20680 # Whether or not to build shared libraries.
20681 build_libtool_libs=$enable_shared
20683 # Whether or not to build static libraries.
20684 build_old_libs=$enable_static
20686 # Whether or not to add -lc for building shared libraries.
20687 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20689 # Whether or not to disallow shared libs when runtime libs are static
20690 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20692 # Whether or not to optimize for fast installation.
20693 fast_install=$enable_fast_install
20696 host_alias=$host_alias
20700 # The build system.
20701 build_alias=$build_alias
20705 # An echo program that does not interpret backslashes.
20710 AR_FLAGS=$lt_AR_FLAGS
20715 # LTCC compiler flags.
20716 LTCFLAGS=$lt_LTCFLAGS
20718 # A language-specific compiler.
20719 CC=$lt_compiler_CXX
20721 # Is the compiler the GNU C compiler?
20727 # The linker used to build libraries.
20730 # Whether we need hard or soft links.
20733 # A BSD-compatible nm program.
20736 # A symbol stripping program
20739 # Used to examine libraries when file_magic_cmd begins "file"
20740 MAGIC_CMD=$MAGIC_CMD
20742 # Used on cygwin: DLL creation program.
20745 # Used on cygwin: object dumper.
20748 # Used on cygwin: assembler.
20751 # The name of the directory that contains temporary libtool files.
20754 # How to create reloadable object files.
20755 reload_flag=$lt_reload_flag
20756 reload_cmds=$lt_reload_cmds
20758 # How to pass a linker flag through the compiler.
20759 wl=$lt_lt_prog_compiler_wl_CXX
20761 # Object file suffix (normally "o").
20762 objext="$ac_objext"
20764 # Old archive suffix (normally "a").
20767 # Shared library suffix (normally ".so").
20768 shrext_cmds='$shrext_cmds'
20770 # Executable file suffix (normally "").
20773 # Additional compiler flags for building library objects.
20774 pic_flag=$lt_lt_prog_compiler_pic_CXX
20777 # What is the maximum length of a command?
20778 max_cmd_len=$lt_cv_sys_max_cmd_len
20780 # Does compiler simultaneously support -c and -o options?
20781 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20783 # Must we lock files when doing compilation?
20784 need_locks=$lt_need_locks
20786 # Do we need the lib prefix for modules?
20787 need_lib_prefix=$need_lib_prefix
20789 # Do we need a version for libraries?
20790 need_version=$need_version
20792 # Whether dlopen is supported.
20793 dlopen_support=$enable_dlopen
20795 # Whether dlopen of programs is supported.
20796 dlopen_self=$enable_dlopen_self
20798 # Whether dlopen of statically linked programs is supported.
20799 dlopen_self_static=$enable_dlopen_self_static
20801 # Compiler flag to prevent dynamic linking.
20802 link_static_flag=$lt_lt_prog_compiler_static_CXX
20804 # Compiler flag to turn off builtin functions.
20805 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20807 # Compiler flag to allow reflexive dlopens.
20808 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20810 # Compiler flag to generate shared objects directly from archives.
20811 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20813 # Compiler flag to generate thread-safe objects.
20814 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20816 # Library versioning type.
20817 version_type=$version_type
20819 # Format of library name prefix.
20820 libname_spec=$lt_libname_spec
20822 # List of archive names. First name is the real one, the rest are links.
20823 # The last name is the one that the linker finds with -lNAME.
20824 library_names_spec=$lt_library_names_spec
20826 # The coded name of the library, if different from the real name.
20827 soname_spec=$lt_soname_spec
20829 # Commands used to build and install an old-style archive.
20831 old_archive_cmds=$lt_old_archive_cmds_CXX
20832 old_postinstall_cmds=$lt_old_postinstall_cmds
20833 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20835 # Create an old-style archive from a shared archive.
20836 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20838 # Create a temporary old-style archive to link instead of a shared archive.
20839 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20841 # Commands used to build and install a shared archive.
20842 archive_cmds=$lt_archive_cmds_CXX
20843 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20844 postinstall_cmds=$lt_postinstall_cmds
20845 postuninstall_cmds=$lt_postuninstall_cmds
20847 # Commands used to build a loadable module (assumed same as above if empty)
20848 module_cmds=$lt_module_cmds_CXX
20849 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20851 # Commands to strip libraries.
20852 old_striplib=$lt_old_striplib
20853 striplib=$lt_striplib
20855 # Dependencies to place before the objects being linked to create a
20857 predep_objects=$lt_predep_objects_CXX
20859 # Dependencies to place after the objects being linked to create a
20861 postdep_objects=$lt_postdep_objects_CXX
20863 # Dependencies to place before the objects being linked to create a
20865 predeps=$lt_predeps_CXX
20867 # Dependencies to place after the objects being linked to create a
20869 postdeps=$lt_postdeps_CXX
20871 # The library search path used internally by the compiler when linking
20872 # a shared library.
20873 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20875 # Method to check whether dependent libraries are shared objects.
20876 deplibs_check_method=$lt_deplibs_check_method
20878 # Command to use when deplibs_check_method == file_magic.
20879 file_magic_cmd=$lt_file_magic_cmd
20881 # Flag that allows shared libraries with undefined symbols to be built.
20882 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20884 # Flag that forces no undefined symbols.
20885 no_undefined_flag=$lt_no_undefined_flag_CXX
20887 # Commands used to finish a libtool library installation in a directory.
20888 finish_cmds=$lt_finish_cmds
20890 # Same as above, but a single script fragment to be evaled but not shown.
20891 finish_eval=$lt_finish_eval
20893 # Take the output of nm and produce a listing of raw symbols and C names.
20894 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20896 # Transform the output of nm in a proper C declaration
20897 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20899 # Transform the output of nm in a C name address pair
20900 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20902 # This is the shared library runtime path variable.
20903 runpath_var=$runpath_var
20905 # This is the shared library path variable.
20906 shlibpath_var=$shlibpath_var
20908 # Is shlibpath searched before the hard-coded library search path?
20909 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20911 # How to hardcode a shared library path into an executable.
20912 hardcode_action=$hardcode_action_CXX
20914 # Whether we should hardcode library paths into libraries.
20915 hardcode_into_libs=$hardcode_into_libs
20917 # Flag to hardcode \$libdir into a binary during linking.
20918 # This must work even if \$libdir does not exist.
20919 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20921 # If ld is used when linking, flag to hardcode \$libdir into
20922 # a binary during linking. This must work even if \$libdir does
20924 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20926 # Whether we need a single -rpath flag with a separated argument.
20927 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20929 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20930 # resulting binary.
20931 hardcode_direct=$hardcode_direct_CXX
20933 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20934 # resulting binary.
20935 hardcode_minus_L=$hardcode_minus_L_CXX
20937 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20938 # the resulting binary.
20939 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20941 # Set to yes if building a shared library automatically hardcodes DIR into the library
20942 # and all subsequent libraries and executables linked against it.
20943 hardcode_automatic=$hardcode_automatic_CXX
20945 # Variables whose values should be saved in libtool wrapper scripts and
20946 # restored at relink time.
20947 variables_saved_for_relink="$variables_saved_for_relink"
20949 # Whether libtool must link a program against all its dependency libraries.
20950 link_all_deplibs=$link_all_deplibs_CXX
20952 # Compile-time system search path for libraries
20953 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20955 # Run-time system search path for libraries
20956 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20958 # Fix the shell variable \$srcfile for the compiler.
20959 fix_srcfile_path="$fix_srcfile_path_CXX"
20961 # Set to yes if exported symbols are required.
20962 always_export_symbols=$always_export_symbols_CXX
20964 # The commands to list exported symbols.
20965 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20967 # The commands to extract the exported symbol list from a shared archive.
20968 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20970 # Symbols that should not be listed in the preloaded symbols.
20971 exclude_expsyms=$lt_exclude_expsyms_CXX
20973 # Symbols that must always be exported.
20974 include_expsyms=$lt_include_expsyms_CXX
20976 # ### END LIBTOOL TAG CONFIG: $tagname
20982 # If there is no Makefile yet, we rely on a make rule to execute
20983 # `config.status --recheck' to rerun these tests and create the
20984 # libtool script then.
20985 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20986 if test -f "$ltmain_in"; then
20987 test -f Makefile
&& make "$ltmain"
20993 ac_cpp
='$CPP $CPPFLAGS'
20994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21002 with_gnu_ldcxx
=$with_gnu_ld
21003 with_gnu_ld
=$lt_save_with_gnu_ld
21004 lt_cv_path_LDCXX
=$lt_cv_path_LD
21005 lt_cv_path_LD
=$lt_save_path_LD
21006 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
21007 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
21015 if test -n "$F77" && test "X$F77" != "Xno"; then
21018 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21019 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
21023 archive_cmds_need_lc_F77
=no
21024 allow_undefined_flag_F77
=
21025 always_export_symbols_F77
=no
21026 archive_expsym_cmds_F77
=
21027 export_dynamic_flag_spec_F77
=
21028 hardcode_direct_F77
=no
21029 hardcode_libdir_flag_spec_F77
=
21030 hardcode_libdir_flag_spec_ld_F77
=
21031 hardcode_libdir_separator_F77
=
21032 hardcode_minus_L_F77
=no
21033 hardcode_automatic_F77
=no
21035 module_expsym_cmds_F77
=
21036 link_all_deplibs_F77
=unknown
21037 old_archive_cmds_F77
=$old_archive_cmds
21038 no_undefined_flag_F77
=
21039 whole_archive_flag_spec_F77
=
21040 enable_shared_with_static_runtimes_F77
=no
21042 # Source file extension for f77 test sources.
21045 # Object file extension for compiled f77 test sources.
21049 # Code to be used in simple compile tests
21050 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
21052 # Code to be used in simple link tests
21053 lt_simple_link_test_code
=" program t\n end\n"
21055 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21057 # If no C compiler was specified, use CC.
21060 # If no C compiler flags were specified, use CFLAGS.
21061 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21063 # Allow CC to be a program name with arguments.
21067 # save warnings/boilerplate of simple test code
21068 ac_outfile
=conftest.
$ac_objext
21069 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
21070 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21071 _lt_compiler_boilerplate
=`cat conftest.err`
21074 ac_outfile
=conftest.
$ac_objext
21075 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
21076 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21077 _lt_linker_boilerplate
=`cat conftest.err`
21081 # Allow CC to be a program name with arguments.
21086 for cc_temp
in $compiler""; do
21088 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21089 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21094 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21097 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21098 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21099 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21100 echo "${ECHO_T}$can_build_shared" >&6; }
21102 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21103 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21104 test "$can_build_shared" = "no" && enable_shared
=no
21106 # On AIX, shared libraries and static libraries use the same namespace, and
21107 # are all built from PIC.
21110 test "$enable_shared" = yes && enable_static
=no
21111 if test -n "$RANLIB"; then
21112 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
21113 postinstall_cmds
='$RANLIB $lib'
21117 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
21118 test "$enable_shared" = yes && enable_static
=no
21122 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21123 echo "${ECHO_T}$enable_shared" >&6; }
21125 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21126 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21127 # Make sure either enable_shared or enable_static is yes.
21128 test "$enable_shared" = yes || enable_static
=yes
21129 { echo "$as_me:$LINENO: result: $enable_static" >&5
21130 echo "${ECHO_T}$enable_static" >&6; }
21135 lt_prog_compiler_wl_F77
=
21136 lt_prog_compiler_pic_F77
=
21137 lt_prog_compiler_static_F77
=
21139 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21140 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21142 if test "$GCC" = yes; then
21143 lt_prog_compiler_wl_F77
='-Wl,'
21144 lt_prog_compiler_static_F77
='-static'
21148 # All AIX code is PIC.
21149 if test "$host_cpu" = ia64
; then
21150 # AIX 5 now supports IA64 processor
21151 lt_prog_compiler_static_F77
='-Bstatic'
21156 # FIXME: we need at least 68020 code to build shared libraries, but
21157 # adding the `-m68020' flag to GCC prevents building anything better,
21159 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21162 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21163 # PIC is the default for these OSes.
21166 mingw
* | pw32
* | os2
*)
21167 # This hack is so that the source file can tell whether it is being
21168 # built for inclusion in a dll (and should export symbols for example).
21169 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21172 darwin
* | rhapsody
*)
21173 # PIC is the default on this platform
21174 # Common symbols not allowed in MH_DYLIB files
21175 lt_prog_compiler_pic_F77
='-fno-common'
21179 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21180 # Instead, we relocate shared libraries at runtime.
21184 # Just because we use GCC doesn't mean we suddenly get shared libraries
21185 # on systems that don't support them.
21186 lt_prog_compiler_can_build_shared_F77
=no
21191 if test -d /usr
/nec
; then
21192 lt_prog_compiler_pic_F77
=-Kconform_pic
21197 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21198 # not for PA HP-UX.
21204 lt_prog_compiler_pic_F77
='-fPIC'
21210 lt_prog_compiler_pic_F77
='-fPIC'
21214 # PORTME Check for flag to pass linker flags through the system compiler.
21217 lt_prog_compiler_wl_F77
='-Wl,'
21218 if test "$host_cpu" = ia64
; then
21219 # AIX 5 now supports IA64 processor
21220 lt_prog_compiler_static_F77
='-Bstatic'
21222 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21226 # PIC is the default on this platform
21227 # Common symbols not allowed in MH_DYLIB files
21228 case $cc_basename in
21230 lt_prog_compiler_pic_F77
='-qnocommon'
21231 lt_prog_compiler_wl_F77
='-Wl,'
21236 mingw
* | pw32
* | os2
*)
21237 # This hack is so that the source file can tell whether it is being
21238 # built for inclusion in a dll (and should export symbols for example).
21239 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21242 hpux9
* | hpux10
* | hpux11
*)
21243 lt_prog_compiler_wl_F77
='-Wl,'
21244 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21245 # not for PA HP-UX.
21251 lt_prog_compiler_pic_F77
='+Z'
21254 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21255 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21258 irix5
* | irix6
* | nonstopux
*)
21259 lt_prog_compiler_wl_F77
='-Wl,'
21260 # PIC (with -KPIC) is the default.
21261 lt_prog_compiler_static_F77
='-non_shared'
21265 lt_prog_compiler_pic_F77
='-KPIC'
21266 lt_prog_compiler_static_F77
='-Bstatic'
21270 case $cc_basename in
21272 lt_prog_compiler_wl_F77
='-Wl,'
21273 lt_prog_compiler_pic_F77
='-KPIC'
21274 lt_prog_compiler_static_F77
='-static'
21276 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21277 # Portland Group compilers (*not* the Pentium gcc compiler,
21278 # which looks to be a dead project)
21279 lt_prog_compiler_wl_F77
='-Wl,'
21280 lt_prog_compiler_pic_F77
='-fpic'
21281 lt_prog_compiler_static_F77
='-Bstatic'
21284 lt_prog_compiler_wl_F77
='-Wl,'
21285 # All Alpha code is PIC.
21286 lt_prog_compiler_static_F77
='-non_shared'
21291 osf3
* | osf4
* | osf5
*)
21292 lt_prog_compiler_wl_F77
='-Wl,'
21293 # All OSF/1 code is PIC.
21294 lt_prog_compiler_static_F77
='-non_shared'
21298 lt_prog_compiler_pic_F77
='-KPIC'
21299 lt_prog_compiler_static_F77
='-Bstatic'
21300 case $cc_basename in
21301 f77
* | f90
* | f95
*)
21302 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21304 lt_prog_compiler_wl_F77
='-Wl,';;
21309 lt_prog_compiler_wl_F77
='-Qoption ld '
21310 lt_prog_compiler_pic_F77
='-PIC'
21311 lt_prog_compiler_static_F77
='-Bstatic'
21314 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21315 lt_prog_compiler_wl_F77
='-Wl,'
21316 lt_prog_compiler_pic_F77
='-KPIC'
21317 lt_prog_compiler_static_F77
='-Bstatic'
21321 if test -d /usr
/nec
;then
21322 lt_prog_compiler_pic_F77
='-Kconform_pic'
21323 lt_prog_compiler_static_F77
='-Bstatic'
21327 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21328 lt_prog_compiler_wl_F77
='-Wl,'
21329 lt_prog_compiler_pic_F77
='-KPIC'
21330 lt_prog_compiler_static_F77
='-Bstatic'
21334 lt_prog_compiler_wl_F77
='-Wl,'
21335 lt_prog_compiler_can_build_shared_F77
=no
21339 lt_prog_compiler_pic_F77
='-pic'
21340 lt_prog_compiler_static_F77
='-Bstatic'
21344 lt_prog_compiler_can_build_shared_F77
=no
21349 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21350 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21353 # Check to make sure the PIC flag actually works.
21355 if test -n "$lt_prog_compiler_pic_F77"; then
21357 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21358 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21359 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21360 echo $ECHO_N "(cached) $ECHO_C" >&6
21362 lt_prog_compiler_pic_works_F77
=no
21363 ac_outfile
=conftest.
$ac_objext
21364 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21365 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21366 # Insert the option either (1) after the last *FLAGS variable, or
21367 # (2) before a word containing "conftest.", or (3) at the end.
21368 # Note that $ac_compile itself does not contain backslashes and begins
21369 # with a dollar sign (not a hyphen), so the echo should work correctly.
21370 # The option is referenced via a variable to avoid confusing sed.
21371 lt_compile
=`echo "$ac_compile" | $SED \
21372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21374 -e 's:$: $lt_compiler_flag:'`
21375 (eval echo "\"\$as_me:21375: $lt_compile\"" >&5)
21376 (eval "$lt_compile" 2>conftest.err
)
21378 cat conftest.err
>&5
21379 echo "$as_me:21379: \$? = $ac_status" >&5
21380 if (exit $ac_status) && test -s "$ac_outfile"; then
21381 # The compiler can only warn and ignore the option if not recognized
21382 # So say no if there are warnings other than the usual output.
21383 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21384 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21385 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21386 lt_prog_compiler_pic_works_F77
=yes
21392 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21393 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21395 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21396 case $lt_prog_compiler_pic_F77 in
21398 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21401 lt_prog_compiler_pic_F77
=
21402 lt_prog_compiler_can_build_shared_F77
=no
21407 # For platforms which do not support PIC, -DPIC is meaningless:
21409 lt_prog_compiler_pic_F77
=
21412 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21417 # Check to make sure the static flag actually works.
21419 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21420 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21421 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21422 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21423 echo $ECHO_N "(cached) $ECHO_C" >&6
21425 lt_prog_compiler_static_works_F77
=no
21426 save_LDFLAGS
="$LDFLAGS"
21427 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21428 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21429 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21430 # The linker can only warn and ignore the option if not recognized
21431 # So say no if there are warnings
21432 if test -s conftest.err
; then
21433 # Append any errors to the config.log.
21434 cat conftest.err
1>&5
21435 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21436 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21437 if diff conftest.exp conftest.er2
>/dev
/null
; then
21438 lt_prog_compiler_static_works_F77
=yes
21441 lt_prog_compiler_static_works_F77
=yes
21445 LDFLAGS
="$save_LDFLAGS"
21448 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21449 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21451 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21454 lt_prog_compiler_static_F77
=
21458 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21459 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21460 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 lt_cv_prog_compiler_c_o_F77
=no
21464 $rm -r conftest
2>/dev
/null
21468 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21470 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21471 # Insert the option either (1) after the last *FLAGS variable, or
21472 # (2) before a word containing "conftest.", or (3) at the end.
21473 # Note that $ac_compile itself does not contain backslashes and begins
21474 # with a dollar sign (not a hyphen), so the echo should work correctly.
21475 lt_compile
=`echo "$ac_compile" | $SED \
21476 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21478 -e 's:$: $lt_compiler_flag:'`
21479 (eval echo "\"\$as_me:21479: $lt_compile\"" >&5)
21480 (eval "$lt_compile" 2>out
/conftest.err
)
21482 cat out
/conftest.err
>&5
21483 echo "$as_me:21483: \$? = $ac_status" >&5
21484 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21486 # The compiler can only warn and ignore the option if not recognized
21487 # So say no if there are warnings
21488 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21489 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21490 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21491 lt_cv_prog_compiler_c_o_F77
=yes
21496 # SGI C++ compiler will create directory out/ii_files/ for
21497 # template instantiation
21498 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21499 $rm out
/* && rmdir out
21505 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21506 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21509 hard_links
="nottested"
21510 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21511 # do not overwrite the value of need_locks provided by the user
21512 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21513 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21516 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21518 ln conftest.a conftest.b
2>&5 || hard_links
=no
21519 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21520 { echo "$as_me:$LINENO: result: $hard_links" >&5
21521 echo "${ECHO_T}$hard_links" >&6; }
21522 if test "$hard_links" = no
; then
21523 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21524 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21531 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21532 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21535 allow_undefined_flag_F77
=
21536 enable_shared_with_static_runtimes_F77
=no
21538 archive_expsym_cmds_F77
=
21539 old_archive_From_new_cmds_F77
=
21540 old_archive_from_expsyms_cmds_F77
=
21541 export_dynamic_flag_spec_F77
=
21542 whole_archive_flag_spec_F77
=
21543 thread_safe_flag_spec_F77
=
21544 hardcode_libdir_flag_spec_F77
=
21545 hardcode_libdir_flag_spec_ld_F77
=
21546 hardcode_libdir_separator_F77
=
21547 hardcode_direct_F77
=no
21548 hardcode_minus_L_F77
=no
21549 hardcode_shlibpath_var_F77
=unsupported
21550 link_all_deplibs_F77
=unknown
21551 hardcode_automatic_F77
=no
21553 module_expsym_cmds_F77
=
21554 always_export_symbols_F77
=no
21555 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21556 # include_expsyms should be a list of space-separated symbols to be *always*
21557 # included in the symbol list
21558 include_expsyms_F77
=
21559 # exclude_expsyms can be an extended regexp of symbols to exclude
21560 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21561 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21562 # as well as any symbol that contains `d'.
21563 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21564 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21565 # platforms (ab)use it in PIC code, but their linkers get confused if
21566 # the symbol is explicitly referenced. Since portable code cannot
21567 # rely on this symbol name, it's probably fine to never include it in
21568 # preloaded symbol tables.
21569 extract_expsyms_cmds
=
21570 # Just being paranoid about ensuring that cc_basename is set.
21571 for cc_temp
in $compiler""; do
21573 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21574 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21579 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21582 cygwin
* | mingw
* | pw32
*)
21583 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21584 # When not using gcc, we currently assume that we are using
21585 # Microsoft Visual C++.
21586 if test "$GCC" != yes; then
21591 # we just hope/assume this is gcc and not c89 (= MSVC++)
21600 if test "$with_gnu_ld" = yes; then
21601 # If archive_cmds runs LD, not CC, wlarc should be empty
21604 # Set some defaults for GNU ld with shared library support. These
21605 # are reset later if shared libraries are not supported. Putting them
21606 # here allows them to be overridden if necessary.
21607 runpath_var
=LD_RUN_PATH
21608 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21609 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21610 # ancient GNU ld didn't support --whole-archive et. al.
21611 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21612 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21614 whole_archive_flag_spec_F77
=
21616 supports_anon_versioning
=no
21617 case `$LD -v 2>/dev/null` in
21618 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21619 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21620 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21621 *\
2.11.
*) ;; # other 2.11 versions
21622 *) supports_anon_versioning
=yes ;;
21625 # See if GNU ld supports shared libraries.
21627 aix3
* | aix4
* | aix5
*)
21628 # On AIX/PPC, the GNU linker is very broken
21629 if test "$host_cpu" != ia64
; then
21633 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21634 *** to be unable to reliably create shared libraries on AIX.
21635 *** Therefore, libtool is disabling shared libraries support. If you
21636 *** really care for shared libraries, you may want to modify your PATH
21637 *** so that a non-GNU linker is found, and then restart.
21644 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)'
21645 hardcode_libdir_flag_spec_F77
='-L$libdir'
21646 hardcode_minus_L_F77
=yes
21648 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21649 # that the semantics of dynamic libraries on AmigaOS, at least up
21650 # to version 4, is to share data among multiple programs linked
21651 # with the same dynamic library. Since this doesn't match the
21652 # behavior of shared libraries on other platforms, we can't use
21658 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21659 allow_undefined_flag_F77
=unsupported
21660 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21661 # support --undefined. This deserves some investigation. FIXME
21662 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21668 cygwin
* | mingw
* | pw32
*)
21669 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21670 # as there is no search path for DLLs.
21671 hardcode_libdir_flag_spec_F77
='-L$libdir'
21672 allow_undefined_flag_F77
=unsupported
21673 always_export_symbols_F77
=no
21674 enable_shared_with_static_runtimes_F77
=yes
21675 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21677 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21678 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21679 # If the export-symbols file already is a .def file (1st line
21680 # is EXPORTS), use it as is; otherwise, prepend...
21681 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21682 cp $export_symbols $output_objdir/$soname.def;
21684 echo EXPORTS > $output_objdir/$soname.def;
21685 cat $export_symbols >> $output_objdir/$soname.def;
21687 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21694 hardcode_direct_F77
=no
21695 hardcode_shlibpath_var_F77
=no
21696 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21697 export_dynamic_flag_spec_F77
='${wl}-E'
21698 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21699 # Instead, shared libraries are loaded at an image base (0x10000000 by
21700 # default) and relocated if they conflict, which is a slow very memory
21701 # consuming and fragmenting process. To avoid this, we pick a random,
21702 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21703 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21704 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'
21705 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'
21709 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21711 case $cc_basename,$host_cpu in
21712 pgcc
*) # Portland Group C compiler
21713 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'
21714 tmp_addflag
=' $pic_flag'
21716 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21717 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'
21718 tmp_addflag
=' $pic_flag -Mnomain' ;;
21719 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21720 tmp_addflag
=' -i_dynamic' ;;
21721 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21722 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21723 ifc
* | ifort
*) # Intel Fortran compiler
21724 tmp_addflag
=' -nofor_main' ;;
21726 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21728 if test $supports_anon_versioning = yes; then
21729 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21730 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21731 $echo "local: *; };" >> $output_objdir/$libname.ver~
21732 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21740 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21741 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21744 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21745 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21750 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21754 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21755 *** create shared libraries on Solaris systems. Therefore, libtool
21756 *** is disabling shared libraries support. We urge you to upgrade GNU
21757 *** binutils to release 2.9.1 or newer. Another option is to modify
21758 *** your PATH or compiler configuration so that the native linker is
21759 *** used, and then restart.
21762 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21763 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21764 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21770 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21771 case `$LD -v 2>&1` in
21772 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21776 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21777 *** reliably create shared libraries on SCO systems. Therefore, libtool
21778 *** is disabling shared libraries support. We urge you to upgrade GNU
21779 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21780 *** your PATH or compiler configuration so that the native linker is
21781 *** used, and then restart.
21786 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21787 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21788 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21789 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21798 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21800 hardcode_direct_F77
=yes
21801 hardcode_shlibpath_var_F77
=no
21805 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21806 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21807 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21814 if test "$ld_shlibs_F77" = no
; then
21816 hardcode_libdir_flag_spec_F77
=
21817 export_dynamic_flag_spec_F77
=
21818 whole_archive_flag_spec_F77
=
21821 # PORTME fill in a description of your system's linker (not GNU ld)
21824 allow_undefined_flag_F77
=unsupported
21825 always_export_symbols_F77
=yes
21826 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'
21827 # Note: this linker hardcodes the directories in LIBPATH if there
21828 # are no directories specified by -L.
21829 hardcode_minus_L_F77
=yes
21830 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21831 # Neither direct hardcoding nor static linking is supported with a
21833 hardcode_direct_F77
=unsupported
21838 if test "$host_cpu" = ia64
; then
21839 # On IA64, the linker does run time linking by default, so we don't
21840 # have to do anything special.
21841 aix_use_runtimelinking
=no
21842 exp_sym_flag
='-Bexport'
21845 # If we're using GNU nm, then we don't want the "-C" option.
21846 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21847 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21848 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'
21850 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'
21852 aix_use_runtimelinking
=no
21854 # Test if we are trying to use run time linking or normal
21855 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21856 # need to do runtime linking.
21857 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21858 for ld_flag
in $LDFLAGS; do
21859 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21860 aix_use_runtimelinking
=yes
21867 exp_sym_flag
='-bexport'
21868 no_entry_flag
='-bnoentry'
21871 # When large executables or shared objects are built, AIX ld can
21872 # have problems creating the table of contents. If linking a library
21873 # or program results in "error TOC overflow" add -mminimal-toc to
21874 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21875 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21877 archive_cmds_F77
=''
21878 hardcode_direct_F77
=yes
21879 hardcode_libdir_separator_F77
=':'
21880 link_all_deplibs_F77
=yes
21882 if test "$GCC" = yes; then
21883 case $host_os in aix4.
[012]|aix4.
[012].
*)
21884 # We only want to do this on AIX 4.2 and lower, the check
21885 # below for broken collect2 doesn't work under 4.3+
21886 collect2name
=`${CC} -print-prog-name=collect2`
21887 if test -f "$collect2name" && \
21888 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21890 # We have reworked collect2
21891 hardcode_direct_F77
=yes
21893 # We have old collect2
21894 hardcode_direct_F77
=unsupported
21895 # It fails to find uninstalled libraries when the uninstalled
21896 # path is not listed in the libpath. Setting hardcode_minus_L
21897 # to unsupported forces relinking
21898 hardcode_minus_L_F77
=yes
21899 hardcode_libdir_flag_spec_F77
='-L$libdir'
21900 hardcode_libdir_separator_F77
=
21904 shared_flag
='-shared'
21905 if test "$aix_use_runtimelinking" = yes; then
21906 shared_flag
="$shared_flag "'${wl}-G'
21910 if test "$host_cpu" = ia64
; then
21911 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21912 # chokes on -Wl,-G. The following line is correct:
21915 if test "$aix_use_runtimelinking" = yes; then
21916 shared_flag
='${wl}-G'
21918 shared_flag
='${wl}-bM:SRE'
21923 # It seems that -bexpall does not export symbols beginning with
21924 # underscore (_), so it is better to generate a list of symbols to export.
21925 always_export_symbols_F77
=yes
21926 if test "$aix_use_runtimelinking" = yes; then
21927 # Warning - without using the other runtime loading flags (-brtl),
21928 # -berok will link without error, but may produce a broken library.
21929 allow_undefined_flag_F77
='-berok'
21930 # Determine the default libpath from the value encoded in an empty executable.
21931 cat >conftest.
$ac_ext <<_ACEOF
21936 rm -f conftest.
$ac_objext conftest
$ac_exeext
21937 if { (ac_try
="$ac_link"
21938 case "(($ac_try" in
21939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_link") 2>conftest.er1
21945 grep -v '^ *+' conftest.er1 >conftest.err
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } &&
21950 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21951 { (case "(($ac_try" in
21952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21953 *) ac_try_echo
=$ac_try;;
21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_try") 2>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; } &&
21960 { ac_try
='test -s conftest$ac_exeext'
21961 { (case "(($ac_try" in
21962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_try") 2>&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); }; }; then
21971 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21973 # Check for a 64-bit object if we didn't find anything.
21974 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; }
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21983 rm -f core conftest.err conftest.$ac_objext \
21984 conftest$ac_exeext conftest.$ac_ext
21985 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21987 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21988 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"
21990 if test "$host_cpu" = ia64; then
21991 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21992 allow_undefined_flag_F77="-z nodefs"
21993 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"
21995 # Determine the default libpath from the value encoded in an empty executable.
21996 cat >conftest.$ac_ext <<_ACEOF
22001 rm -f conftest.$ac_objext conftest$ac_exeext
22002 if { (ac_try="$ac_link"
22003 case "(($ac_try" in
22004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22005 *) ac_try_echo
=$ac_try;;
22007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22008 (eval "$ac_link") 2>conftest.er1
22010 grep -v '^ *+' conftest.er1
>conftest.err
22012 cat conftest.err
>&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); } &&
22015 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22016 { (case "(($ac_try" in
22017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_try") 2>&5
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; } &&
22025 { ac_try='test -s conftest$ac_exeext'
22026 { (case "(($ac_try" in
22027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22028 *) ac_try_echo
=$ac_try;;
22030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_try") 2>&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22036 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22038 # Check for a 64-bit object if we didn't find anything.
22039 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; }
22042 echo "$as_me: failed program was:" >&5
22043 sed 's/^/| /' conftest.
$ac_ext >&5
22048 rm -f core conftest.err conftest.
$ac_objext \
22049 conftest
$ac_exeext conftest.
$ac_ext
22050 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22052 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22053 # Warning - without using the other run time loading flags,
22054 # -berok will link without error, but may produce a broken library.
22055 no_undefined_flag_F77
=' ${wl}-bernotok'
22056 allow_undefined_flag_F77
=' ${wl}-berok'
22057 # Exported symbols can be pulled into shared objects from archives
22058 whole_archive_flag_spec_F77
='$convenience'
22059 archive_cmds_need_lc_F77
=yes
22060 # This is similar to how AIX traditionally builds its shared libraries.
22061 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'
22067 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)'
22068 hardcode_libdir_flag_spec_F77
='-L$libdir'
22069 hardcode_minus_L_F77
=yes
22070 # see comment about different semantics on the GNU ld section
22075 export_dynamic_flag_spec_F77
=-rdynamic
22078 cygwin
* | mingw
* | pw32
*)
22079 # When not using gcc, we currently assume that we are using
22080 # Microsoft Visual C++.
22081 # hardcode_libdir_flag_spec is actually meaningless, as there is
22082 # no search path for DLLs.
22083 hardcode_libdir_flag_spec_F77
=' '
22084 allow_undefined_flag_F77
=unsupported
22085 # Tell ltmain to make .lib files, not .a files.
22087 # Tell ltmain to make .dll files, not .so files.
22089 # FIXME: Setting linknames here is a bad hack.
22090 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22091 # The linker will automatically build a .lib file if we build a DLL.
22092 old_archive_From_new_cmds_F77
='true'
22093 # FIXME: Should let the user specify the lib program.
22094 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
22095 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22096 enable_shared_with_static_runtimes_F77
=yes
22099 darwin
* | rhapsody
*)
22101 rhapsody
* | darwin1.
[012])
22102 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
22105 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22106 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22108 case ${MACOSX_DEPLOYMENT_TARGET} in
22110 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22113 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
22119 archive_cmds_need_lc_F77
=no
22120 hardcode_direct_F77
=no
22121 hardcode_automatic_F77
=yes
22122 hardcode_shlibpath_var_F77
=unsupported
22123 whole_archive_flag_spec_F77
=''
22124 link_all_deplibs_F77
=yes
22125 if test "$GCC" = yes ; then
22126 output_verbose_link_cmd
='echo'
22127 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22128 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22129 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22130 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}'
22131 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}'
22133 case $cc_basename in
22135 output_verbose_link_cmd
='echo'
22136 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22137 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22138 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22139 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}'
22140 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}'
22150 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22151 hardcode_libdir_flag_spec_F77
='-L$libdir'
22152 hardcode_shlibpath_var_F77
=no
22159 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22160 # support. Future versions do this automatically, but an explicit c++rt0.o
22161 # does not break anything, and helps significantly (at the cost of a little
22164 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22165 hardcode_libdir_flag_spec_F77
='-R$libdir'
22166 hardcode_direct_F77
=yes
22167 hardcode_shlibpath_var_F77
=no
22170 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22172 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22173 hardcode_direct_F77
=yes
22174 hardcode_minus_L_F77
=yes
22175 hardcode_shlibpath_var_F77
=no
22178 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22179 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22180 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22181 hardcode_libdir_flag_spec_F77
='-R$libdir'
22182 hardcode_direct_F77
=yes
22183 hardcode_shlibpath_var_F77
=no
22187 if test "$GCC" = yes; then
22188 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'
22190 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'
22192 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22193 hardcode_libdir_separator_F77
=:
22194 hardcode_direct_F77
=yes
22196 # hardcode_minus_L: Not really in the search PATH,
22197 # but as the default location of the library.
22198 hardcode_minus_L_F77
=yes
22199 export_dynamic_flag_spec_F77
='${wl}-E'
22203 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22204 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22206 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22208 if test "$with_gnu_ld" = no
; then
22209 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22210 hardcode_libdir_separator_F77
=:
22212 hardcode_direct_F77
=yes
22213 export_dynamic_flag_spec_F77
='${wl}-E'
22215 # hardcode_minus_L: Not really in the search PATH,
22216 # but as the default location of the library.
22217 hardcode_minus_L_F77
=yes
22222 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22225 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22228 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22231 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22237 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22240 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22243 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22247 if test "$with_gnu_ld" = no
; then
22248 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22249 hardcode_libdir_separator_F77
=:
22253 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22254 hardcode_direct_F77
=no
22255 hardcode_shlibpath_var_F77
=no
22258 hardcode_direct_F77
=yes
22259 export_dynamic_flag_spec_F77
='${wl}-E'
22261 # hardcode_minus_L: Not really in the search PATH,
22262 # but as the default location of the library.
22263 hardcode_minus_L_F77
=yes
22269 irix5
* | irix6
* | nonstopux
*)
22270 if test "$GCC" = yes; then
22271 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'
22273 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'
22274 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22276 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22277 hardcode_libdir_separator_F77
=:
22278 link_all_deplibs_F77
=yes
22282 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22283 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22285 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22287 hardcode_libdir_flag_spec_F77
='-R$libdir'
22288 hardcode_direct_F77
=yes
22289 hardcode_shlibpath_var_F77
=no
22293 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22294 hardcode_direct_F77
=yes
22295 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22296 hardcode_libdir_separator_F77
=:
22297 hardcode_shlibpath_var_F77
=no
22301 hardcode_direct_F77
=yes
22302 hardcode_shlibpath_var_F77
=no
22303 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22304 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22305 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22306 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22307 export_dynamic_flag_spec_F77
='${wl}-E'
22310 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22311 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22312 hardcode_libdir_flag_spec_F77
='-R$libdir'
22315 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22316 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22323 hardcode_libdir_flag_spec_F77
='-L$libdir'
22324 hardcode_minus_L_F77
=yes
22325 allow_undefined_flag_F77
=unsupported
22326 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'
22327 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22331 if test "$GCC" = yes; then
22332 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22333 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'
22335 allow_undefined_flag_F77
=' -expect_unresolved \*'
22336 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'
22338 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22339 hardcode_libdir_separator_F77
=:
22342 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22343 if test "$GCC" = yes; then
22344 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22345 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'
22346 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22348 allow_undefined_flag_F77
=' -expect_unresolved \*'
22349 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'
22350 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~
22351 $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'
22353 # Both c and cxx compiler support -rpath directly
22354 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22356 hardcode_libdir_separator_F77
=:
22360 no_undefined_flag_F77
=' -z text'
22361 if test "$GCC" = yes; then
22363 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22364 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22365 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22368 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22369 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22370 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22372 hardcode_libdir_flag_spec_F77
='-R$libdir'
22373 hardcode_shlibpath_var_F77
=no
22375 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22377 # The compiler driver will combine linker options so we
22378 # cannot just pass the convience library names through
22379 # without $wl, iff we do not link with $LD.
22380 # Luckily, gcc supports the same syntax we need for Sun Studio.
22381 # Supported since Solaris 2.6 (maybe 2.5.1?)
22384 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22386 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' ;;
22389 link_all_deplibs_F77
=yes
22393 if test "x$host_vendor" = xsequent
; then
22394 # Use $CC to link under sequent, because it throws in some extra .o
22395 # files that make .init and .fini sections work.
22396 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22398 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22400 hardcode_libdir_flag_spec_F77
='-L$libdir'
22401 hardcode_direct_F77
=yes
22402 hardcode_minus_L_F77
=yes
22403 hardcode_shlibpath_var_F77
=no
22407 case $host_vendor in
22409 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22410 hardcode_direct_F77
=yes # is this really true???
22413 ## LD is ld it makes a PLAMLIB
22414 ## CC just makes a GrossModule.
22415 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22416 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22417 hardcode_direct_F77
=no
22420 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22421 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22424 runpath_var
='LD_RUN_PATH'
22425 hardcode_shlibpath_var_F77
=no
22429 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22430 hardcode_shlibpath_var_F77
=no
22431 export_dynamic_flag_spec_F77
='-Bexport'
22435 if test -d /usr
/nec
; then
22436 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22437 hardcode_shlibpath_var_F77
=no
22438 runpath_var
=LD_RUN_PATH
22439 hardcode_runpath_var
=yes
22444 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22445 no_undefined_flag_F77
='${wl}-z,text'
22446 archive_cmds_need_lc_F77
=no
22447 hardcode_shlibpath_var_F77
=no
22448 runpath_var
='LD_RUN_PATH'
22450 if test "$GCC" = yes; then
22451 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22452 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22454 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22455 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22459 sysv5
* | sco3.2v5
* | sco5v6
*)
22460 # Note: We can NOT use -z defs as we might desire, because we do not
22461 # link with -lc, and that would cause any symbols used from libc to
22462 # always be unresolved, which means just about no library would
22463 # ever link correctly. If we're not using GNU ld we use -z text
22464 # though, which does catch some bad symbols but isn't as heavy-handed
22466 no_undefined_flag_F77
='${wl}-z,text'
22467 allow_undefined_flag_F77
='${wl}-z,nodefs'
22468 archive_cmds_need_lc_F77
=no
22469 hardcode_shlibpath_var_F77
=no
22470 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22471 hardcode_libdir_separator_F77
=':'
22472 link_all_deplibs_F77
=yes
22473 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22474 runpath_var
='LD_RUN_PATH'
22476 if test "$GCC" = yes; then
22477 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22478 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22480 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22481 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22486 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22487 hardcode_libdir_flag_spec_F77
='-L$libdir'
22488 hardcode_shlibpath_var_F77
=no
22497 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22498 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22499 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22502 # Do we need to explicitly link libc?
22504 case "x$archive_cmds_need_lc_F77" in
22506 # Assume -lc should be added
22507 archive_cmds_need_lc_F77
=yes
22509 if test "$enable_shared" = yes && test "$GCC" = yes; then
22510 case $archive_cmds_F77 in
22512 # FIXME: we may have to deal with multi-command sequences.
22515 # Test whether the compiler implicitly links with -lc since on some
22516 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22517 # to ld, don't add -lc before -lgcc.
22518 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22519 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22521 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22524 (eval $ac_compile) 2>&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); } 2>conftest.err
; then
22530 libobjs
=conftest.
$ac_objext
22532 wl
=$lt_prog_compiler_wl_F77
22533 pic_flag
=$lt_prog_compiler_pic_F77
22539 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22540 allow_undefined_flag_F77
=
22541 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22542 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }
22547 archive_cmds_need_lc_F77
=no
22549 archive_cmds_need_lc_F77
=yes
22551 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22553 cat conftest.err
1>&5
22556 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22557 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22564 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22565 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22566 library_names_spec
=
22567 libname_spec
='lib$name'
22571 postuninstall_cmds
=
22575 shlibpath_overrides_runpath
=unknown
22577 dynamic_linker
="$host_os ld.so"
22578 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22579 if test "$GCC" = yes; then
22580 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22581 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22582 # if the path contains ";" then we assume it to be the separator
22583 # otherwise default to the standard path separator (i.e. ":") - it is
22584 # assumed that no part of a normal pathname contains ";" but that should
22585 # okay in the real world where ";" in dirpaths is itself problematic.
22586 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22588 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22591 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22593 need_lib_prefix
=unknown
22594 hardcode_into_libs
=no
22596 # when you set need_version to no, make sure it does not cause -set_version
22597 # flags to be left without arguments
22598 need_version
=unknown
22603 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22604 shlibpath_var
=LIBPATH
22606 # AIX 3 has no versioning support, so we append a major version to the name.
22607 soname_spec
='${libname}${release}${shared_ext}$major'
22614 hardcode_into_libs
=yes
22615 if test "$host_cpu" = ia64
; then
22616 # AIX 5 supports IA64
22617 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22618 shlibpath_var
=LD_LIBRARY_PATH
22620 # With GCC up to 2.95.x, collect2 would create an import file
22621 # for dependence libraries. The import file would start with
22622 # the line `#! .'. This would cause the generated library to
22623 # depend on `.', always an invalid library. This was fixed in
22624 # development snapshots of GCC prior to 3.0.
22626 aix4 | aix4.
[01] | aix4.
[01].
*)
22627 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22629 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22632 can_build_shared
=no
22636 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22637 # soname into executable. Probably we can add versioning support to
22638 # collect2, so additional links can be useful in future.
22639 if test "$aix_use_runtimelinking" = yes; then
22640 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22641 # instead of lib<name>.a to let people know that these are not
22642 # typical AIX shared libraries.
22643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22645 # We preserve .a as extension for shared libraries through AIX4.2
22646 # and later when we are not doing run time linking.
22647 library_names_spec
='${libname}${release}.a $libname.a'
22648 soname_spec
='${libname}${release}${shared_ext}$major'
22650 shlibpath_var
=LIBPATH
22655 library_names_spec
='$libname.ixlibrary $libname.a'
22656 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22657 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'
22661 library_names_spec
='${libname}${shared_ext}'
22662 dynamic_linker
="$host_os ld.so"
22663 shlibpath_var
=LIBRARY_PATH
22669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22670 soname_spec
='${libname}${release}${shared_ext}$major'
22671 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22672 shlibpath_var
=LD_LIBRARY_PATH
22673 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22674 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22675 # the default ld.so.conf also contains /usr/contrib/lib and
22676 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22677 # libtool to hard-code these into programs
22680 cygwin
* | mingw
* | pw32
*)
22681 version_type
=windows
22686 case $GCC,$host_os in
22687 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22688 library_names_spec
='$libname.dll.a'
22689 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22690 postinstall_cmds
='base_file=`basename \${file}`~
22691 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22692 dldir=$destdir/`dirname \$dlpath`~
22693 test -d \$dldir || mkdir -p \$dldir~
22694 $install_prog $dir/$dlname \$dldir/$dlname~
22695 chmod a+x \$dldir/$dlname'
22696 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22697 dlpath=$dir/\$dldll~
22699 shlibpath_overrides_runpath
=yes
22703 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22704 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22705 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22708 # MinGW DLLs use traditional 'lib' prefix
22709 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22710 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22711 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22712 # It is most probably a Windows format PATH printed by
22713 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22714 # path with ; separators, and with drive letters. We can handle the
22715 # drive letters (cygwin fileutils understands them), so leave them,
22716 # especially as we might pass files found there to a mingw objdump,
22717 # which wouldn't understand a cygwinified path. Ahh.
22718 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22720 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22724 # pw32 DLLs use 'pw' prefix rather than 'lib'
22725 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22731 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22734 dynamic_linker
='Win32 ld.exe'
22735 # FIXME: first we should search . and the directory the executable is in
22739 darwin
* | rhapsody
*)
22740 dynamic_linker
="$host_os dyld"
22741 version_type
=darwin
22744 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22745 soname_spec
='${libname}${release}${major}$shared_ext'
22746 shlibpath_overrides_runpath
=yes
22747 shlibpath_var
=DYLD_LIBRARY_PATH
22748 shrext_cmds
='.dylib'
22749 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22750 if test "$GCC" = yes; then
22751 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"`
22753 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22755 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22763 soname_spec
='${libname}${release}${shared_ext}$major'
22764 shlibpath_var
=LD_LIBRARY_PATH
22775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22776 soname_spec
='${libname}${release}${shared_ext}$major'
22777 shlibpath_var
=LD_LIBRARY_PATH
22778 shlibpath_overrides_runpath
=no
22779 hardcode_into_libs
=yes
22780 dynamic_linker
='GNU ld.so'
22783 freebsd
* | dragonfly
*)
22784 # DragonFly does not have aout. When/if they implement a new
22785 # versioning mechanism, adjust this.
22786 if test -x /usr
/bin
/objformat
; then
22787 objformat
=`/usr/bin/objformat`
22790 freebsd
[123]*) objformat
=aout
;;
22791 *) objformat
=elf
;;
22794 version_type
=freebsd-
$objformat
22795 case $version_type in
22797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22802 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22806 shlibpath_var
=LD_LIBRARY_PATH
22809 shlibpath_overrides_runpath
=yes
22811 freebsd3.
[01]* | freebsdelf3.
[01]*)
22812 shlibpath_overrides_runpath
=yes
22813 hardcode_into_libs
=yes
22815 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22816 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22817 shlibpath_overrides_runpath
=no
22818 hardcode_into_libs
=yes
22820 freebsd
*) # from 4.6 on
22821 shlibpath_overrides_runpath
=yes
22822 hardcode_into_libs
=yes
22831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22832 soname_spec
='${libname}${release}${shared_ext}$major'
22833 shlibpath_var
=LD_LIBRARY_PATH
22834 hardcode_into_libs
=yes
22837 hpux9
* | hpux10
* | hpux11
*)
22838 # Give a soname corresponding to the major version so that dld.sl refuses to
22839 # link against other versions.
22846 hardcode_into_libs
=yes
22847 dynamic_linker
="$host_os dld.so"
22848 shlibpath_var
=LD_LIBRARY_PATH
22849 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22851 soname_spec
='${libname}${release}${shared_ext}$major'
22852 if test "X$HPUX_IA64_MODE" = X32
; then
22853 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22855 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22857 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22861 hardcode_into_libs
=yes
22862 dynamic_linker
="$host_os dld.sl"
22863 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22864 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22866 soname_spec
='${libname}${release}${shared_ext}$major'
22867 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22868 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22872 dynamic_linker
="$host_os dld.sl"
22873 shlibpath_var
=SHLIB_PATH
22874 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22876 soname_spec
='${libname}${release}${shared_ext}$major'
22879 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22880 postinstall_cmds
='chmod 555 $lib'
22887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22888 soname_spec
='${libname}${release}${shared_ext}$major'
22889 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22890 shlibpath_var
=LD_LIBRARY_PATH
22891 shlibpath_overrides_runpath
=no
22892 hardcode_into_libs
=yes
22895 irix5
* | irix6
* | nonstopux
*)
22897 nonstopux
*) version_type
=nonstopux
;;
22899 if test "$lt_cv_prog_gnu_ld" = yes; then
22907 soname_spec
='${libname}${release}${shared_ext}$major'
22908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22910 irix5
* | nonstopux
*)
22911 libsuff
= shlibsuff
=
22914 case $LD in # libtool.m4 will add one of these switches to LD
22915 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22916 libsuff
= shlibsuff
= libmagic
=32-bit;;
22917 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22918 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22919 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22920 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22921 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22925 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22926 shlibpath_overrides_runpath
=no
22927 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22928 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22929 hardcode_into_libs
=yes
22932 # No shared lib support for Linux oldld, aout, or coff.
22933 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22937 # This must be Linux ELF.
22942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22943 soname_spec
='${libname}${release}${shared_ext}$major'
22944 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22945 shlibpath_var
=LD_LIBRARY_PATH
22946 shlibpath_overrides_runpath
=no
22947 # This implies no fast_install, which is unacceptable.
22948 # Some rework will be needed to allow for fast_install
22949 # before this can be enabled.
22950 hardcode_into_libs
=yes
22952 # Append ld.so.conf contents to the search path
22953 if test -f /etc
/ld.so.conf
; then
22954 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' ' '`
22955 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22958 # We used to test for /lib/ld.so.1 and disable shared libraries on
22959 # powerpc, because MkLinux only supported shared libraries with the
22960 # GNU dynamic linker. Since this was broken with cross compilers,
22961 # most powerpc-linux boxes support dynamic linking these days and
22962 # people can always --disable-shared, the test was removed, and we
22963 # assume the GNU/Linux dynamic linker is in use.
22964 dynamic_linker
='GNU/Linux ld.so'
22971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22972 soname_spec
='${libname}${release}${shared_ext}$major'
22973 shlibpath_var
=LD_LIBRARY_PATH
22974 shlibpath_overrides_runpath
=no
22975 hardcode_into_libs
=yes
22976 dynamic_linker
='GNU ld.so'
22983 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22985 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22986 dynamic_linker
='NetBSD (a.out) ld.so'
22988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22989 soname_spec
='${libname}${release}${shared_ext}$major'
22990 dynamic_linker
='NetBSD ld.elf_so'
22992 shlibpath_var
=LD_LIBRARY_PATH
22993 shlibpath_overrides_runpath
=yes
22994 hardcode_into_libs
=yes
22999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23000 shlibpath_var
=LD_LIBRARY_PATH
23001 shlibpath_overrides_runpath
=yes
23008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23009 soname_spec
='${libname}${release}${shared_ext}$major'
23010 shlibpath_var
=LD_LIBRARY_PATH
23011 shlibpath_overrides_runpath
=yes
23016 sys_lib_dlsearch_path_spec
="/usr/lib"
23018 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23020 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
23021 *) need_version
=no
;;
23023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23024 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23025 shlibpath_var
=LD_LIBRARY_PATH
23026 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23028 openbsd2.
[89] | openbsd2.
[89].
*)
23029 shlibpath_overrides_runpath
=no
23032 shlibpath_overrides_runpath
=yes
23036 shlibpath_overrides_runpath
=yes
23041 libname_spec
='$name'
23044 library_names_spec
='$libname${shared_ext} $libname.a'
23045 dynamic_linker
='OS/2 ld.exe'
23046 shlibpath_var
=LIBPATH
23049 osf3
* | osf4
* | osf5
*)
23053 soname_spec
='${libname}${release}${shared_ext}$major'
23054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23055 shlibpath_var
=LD_LIBRARY_PATH
23056 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23057 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
23064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23065 soname_spec
='${libname}${release}${shared_ext}$major'
23066 shlibpath_var
=LD_LIBRARY_PATH
23067 shlibpath_overrides_runpath
=yes
23068 hardcode_into_libs
=yes
23069 # ldd complains unless libraries are executable
23070 postinstall_cmds
='chmod +x $lib'
23075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23076 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23077 shlibpath_var
=LD_LIBRARY_PATH
23078 shlibpath_overrides_runpath
=yes
23079 if test "$with_gnu_ld" = yes; then
23087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23088 soname_spec
='${libname}${release}${shared_ext}$major'
23089 shlibpath_var
=LD_LIBRARY_PATH
23090 case $host_vendor in
23092 shlibpath_overrides_runpath
=no
23094 export_dynamic_flag_spec
='${wl}-Blargedynsym'
23095 runpath_var
=LD_RUN_PATH
23103 shlibpath_overrides_runpath
=no
23104 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
23110 if test -d /usr
/nec
;then
23112 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23113 soname_spec
='$libname${shared_ext}.$major'
23114 shlibpath_var
=LD_LIBRARY_PATH
23118 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
23119 version_type
=freebsd-elf
23122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23123 soname_spec
='${libname}${release}${shared_ext}$major'
23124 shlibpath_var
=LD_LIBRARY_PATH
23125 hardcode_into_libs
=yes
23126 if test "$with_gnu_ld" = yes; then
23127 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23128 shlibpath_overrides_runpath
=no
23130 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
23131 shlibpath_overrides_runpath
=yes
23134 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
23138 sys_lib_dlsearch_path_spec
='/usr/lib'
23143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23144 soname_spec
='${libname}${release}${shared_ext}$major'
23145 shlibpath_var
=LD_LIBRARY_PATH
23152 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23153 echo "${ECHO_T}$dynamic_linker" >&6; }
23154 test "$dynamic_linker" = no
&& can_build_shared
=no
23156 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
23157 if test "$GCC" = yes; then
23158 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23161 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23162 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23163 hardcode_action_F77
=
23164 if test -n "$hardcode_libdir_flag_spec_F77" || \
23165 test -n "$runpath_var_F77" || \
23166 test "X$hardcode_automatic_F77" = "Xyes" ; then
23168 # We can hardcode non-existant directories.
23169 if test "$hardcode_direct_F77" != no
&&
23170 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23171 # have to relink, otherwise we might link with an installed library
23172 # when we should be linking with a yet-to-be-installed one
23173 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23174 test "$hardcode_minus_L_F77" != no
; then
23175 # Linking always hardcodes the temporary library directory.
23176 hardcode_action_F77
=relink
23178 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23179 hardcode_action_F77
=immediate
23182 # We cannot hardcode anything, or else we can only hardcode existing
23184 hardcode_action_F77
=unsupported
23186 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23187 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23189 if test "$hardcode_action_F77" = relink
; then
23190 # Fast installation is not supported
23191 enable_fast_install
=no
23192 elif test "$shlibpath_overrides_runpath" = yes ||
23193 test "$enable_shared" = no
; then
23194 # Fast installation is not necessary
23195 enable_fast_install
=needless
23199 # The else clause should only fire when bootstrapping the
23200 # libtool distribution, otherwise you forgot to ship ltmain.sh
23201 # with your package, and you will get complaints that there are
23202 # no rules to generate ltmain.sh.
23203 if test -f "$ltmain"; then
23204 # See if we are running on zsh, and set the options which allow our commands through
23205 # without removal of \ escapes.
23206 if test -n "${ZSH_VERSION+set}" ; then
23207 setopt NO_GLOB_SUBST
23209 # Now quote all the things that may contain metacharacters while being
23210 # careful not to overquote the AC_SUBSTed values. We take copies of the
23211 # variables and quote the copies for generation of the libtool script.
23212 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23214 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23215 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23216 deplibs_check_method reload_flag reload_cmds need_locks \
23217 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23218 lt_cv_sys_global_symbol_to_c_name_address \
23219 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23220 old_postinstall_cmds old_postuninstall_cmds \
23224 lt_prog_compiler_wl_F77 \
23225 lt_prog_compiler_pic_F77 \
23226 lt_prog_compiler_static_F77 \
23227 lt_prog_compiler_no_builtin_flag_F77 \
23228 export_dynamic_flag_spec_F77 \
23229 thread_safe_flag_spec_F77 \
23230 whole_archive_flag_spec_F77 \
23231 enable_shared_with_static_runtimes_F77 \
23232 old_archive_cmds_F77 \
23233 old_archive_from_new_cmds_F77 \
23234 predep_objects_F77 \
23235 postdep_objects_F77 \
23238 compiler_lib_search_path_F77 \
23240 archive_expsym_cmds_F77 \
23241 postinstall_cmds_F77 \
23242 postuninstall_cmds_F77 \
23243 old_archive_from_expsyms_cmds_F77 \
23244 allow_undefined_flag_F77 \
23245 no_undefined_flag_F77 \
23246 export_symbols_cmds_F77 \
23247 hardcode_libdir_flag_spec_F77 \
23248 hardcode_libdir_flag_spec_ld_F77 \
23249 hardcode_libdir_separator_F77 \
23250 hardcode_automatic_F77 \
23252 module_expsym_cmds_F77 \
23253 lt_cv_prog_compiler_c_o_F77 \
23254 exclude_expsyms_F77 \
23255 include_expsyms_F77
; do
23258 old_archive_cmds_F77 | \
23259 old_archive_from_new_cmds_F77 | \
23260 archive_cmds_F77 | \
23261 archive_expsym_cmds_F77 | \
23262 module_cmds_F77 | \
23263 module_expsym_cmds_F77 | \
23264 old_archive_from_expsyms_cmds_F77 | \
23265 export_symbols_cmds_F77 | \
23266 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23267 postinstall_cmds | postuninstall_cmds | \
23268 old_postinstall_cmds | old_postuninstall_cmds | \
23269 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23270 # Double-quote double-evaled strings.
23271 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23274 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23280 *'\$0 --fallback-echo"')
23281 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23287 cat <<__EOF__ >> "$cfgfile"
23288 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23290 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23292 # Shell to use when invoking shell scripts.
23295 # Whether or not to build shared libraries.
23296 build_libtool_libs=$enable_shared
23298 # Whether or not to build static libraries.
23299 build_old_libs=$enable_static
23301 # Whether or not to add -lc for building shared libraries.
23302 build_libtool_need_lc=$archive_cmds_need_lc_F77
23304 # Whether or not to disallow shared libs when runtime libs are static
23305 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23307 # Whether or not to optimize for fast installation.
23308 fast_install=$enable_fast_install
23311 host_alias=$host_alias
23315 # The build system.
23316 build_alias=$build_alias
23320 # An echo program that does not interpret backslashes.
23325 AR_FLAGS=$lt_AR_FLAGS
23330 # LTCC compiler flags.
23331 LTCFLAGS=$lt_LTCFLAGS
23333 # A language-specific compiler.
23334 CC=$lt_compiler_F77
23336 # Is the compiler the GNU C compiler?
23342 # The linker used to build libraries.
23345 # Whether we need hard or soft links.
23348 # A BSD-compatible nm program.
23351 # A symbol stripping program
23354 # Used to examine libraries when file_magic_cmd begins "file"
23355 MAGIC_CMD=$MAGIC_CMD
23357 # Used on cygwin: DLL creation program.
23360 # Used on cygwin: object dumper.
23363 # Used on cygwin: assembler.
23366 # The name of the directory that contains temporary libtool files.
23369 # How to create reloadable object files.
23370 reload_flag=$lt_reload_flag
23371 reload_cmds=$lt_reload_cmds
23373 # How to pass a linker flag through the compiler.
23374 wl=$lt_lt_prog_compiler_wl_F77
23376 # Object file suffix (normally "o").
23377 objext="$ac_objext"
23379 # Old archive suffix (normally "a").
23382 # Shared library suffix (normally ".so").
23383 shrext_cmds='$shrext_cmds'
23385 # Executable file suffix (normally "").
23388 # Additional compiler flags for building library objects.
23389 pic_flag=$lt_lt_prog_compiler_pic_F77
23392 # What is the maximum length of a command?
23393 max_cmd_len=$lt_cv_sys_max_cmd_len
23395 # Does compiler simultaneously support -c and -o options?
23396 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23398 # Must we lock files when doing compilation?
23399 need_locks=$lt_need_locks
23401 # Do we need the lib prefix for modules?
23402 need_lib_prefix=$need_lib_prefix
23404 # Do we need a version for libraries?
23405 need_version=$need_version
23407 # Whether dlopen is supported.
23408 dlopen_support=$enable_dlopen
23410 # Whether dlopen of programs is supported.
23411 dlopen_self=$enable_dlopen_self
23413 # Whether dlopen of statically linked programs is supported.
23414 dlopen_self_static=$enable_dlopen_self_static
23416 # Compiler flag to prevent dynamic linking.
23417 link_static_flag=$lt_lt_prog_compiler_static_F77
23419 # Compiler flag to turn off builtin functions.
23420 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23422 # Compiler flag to allow reflexive dlopens.
23423 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23425 # Compiler flag to generate shared objects directly from archives.
23426 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23428 # Compiler flag to generate thread-safe objects.
23429 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23431 # Library versioning type.
23432 version_type=$version_type
23434 # Format of library name prefix.
23435 libname_spec=$lt_libname_spec
23437 # List of archive names. First name is the real one, the rest are links.
23438 # The last name is the one that the linker finds with -lNAME.
23439 library_names_spec=$lt_library_names_spec
23441 # The coded name of the library, if different from the real name.
23442 soname_spec=$lt_soname_spec
23444 # Commands used to build and install an old-style archive.
23446 old_archive_cmds=$lt_old_archive_cmds_F77
23447 old_postinstall_cmds=$lt_old_postinstall_cmds
23448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23450 # Create an old-style archive from a shared archive.
23451 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23453 # Create a temporary old-style archive to link instead of a shared archive.
23454 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23456 # Commands used to build and install a shared archive.
23457 archive_cmds=$lt_archive_cmds_F77
23458 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23459 postinstall_cmds=$lt_postinstall_cmds
23460 postuninstall_cmds=$lt_postuninstall_cmds
23462 # Commands used to build a loadable module (assumed same as above if empty)
23463 module_cmds=$lt_module_cmds_F77
23464 module_expsym_cmds=$lt_module_expsym_cmds_F77
23466 # Commands to strip libraries.
23467 old_striplib=$lt_old_striplib
23468 striplib=$lt_striplib
23470 # Dependencies to place before the objects being linked to create a
23472 predep_objects=$lt_predep_objects_F77
23474 # Dependencies to place after the objects being linked to create a
23476 postdep_objects=$lt_postdep_objects_F77
23478 # Dependencies to place before the objects being linked to create a
23480 predeps=$lt_predeps_F77
23482 # Dependencies to place after the objects being linked to create a
23484 postdeps=$lt_postdeps_F77
23486 # The library search path used internally by the compiler when linking
23487 # a shared library.
23488 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23490 # Method to check whether dependent libraries are shared objects.
23491 deplibs_check_method=$lt_deplibs_check_method
23493 # Command to use when deplibs_check_method == file_magic.
23494 file_magic_cmd=$lt_file_magic_cmd
23496 # Flag that allows shared libraries with undefined symbols to be built.
23497 allow_undefined_flag=$lt_allow_undefined_flag_F77
23499 # Flag that forces no undefined symbols.
23500 no_undefined_flag=$lt_no_undefined_flag_F77
23502 # Commands used to finish a libtool library installation in a directory.
23503 finish_cmds=$lt_finish_cmds
23505 # Same as above, but a single script fragment to be evaled but not shown.
23506 finish_eval=$lt_finish_eval
23508 # Take the output of nm and produce a listing of raw symbols and C names.
23509 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23511 # Transform the output of nm in a proper C declaration
23512 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23514 # Transform the output of nm in a C name address pair
23515 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23517 # This is the shared library runtime path variable.
23518 runpath_var=$runpath_var
23520 # This is the shared library path variable.
23521 shlibpath_var=$shlibpath_var
23523 # Is shlibpath searched before the hard-coded library search path?
23524 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23526 # How to hardcode a shared library path into an executable.
23527 hardcode_action=$hardcode_action_F77
23529 # Whether we should hardcode library paths into libraries.
23530 hardcode_into_libs=$hardcode_into_libs
23532 # Flag to hardcode \$libdir into a binary during linking.
23533 # This must work even if \$libdir does not exist.
23534 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23536 # If ld is used when linking, flag to hardcode \$libdir into
23537 # a binary during linking. This must work even if \$libdir does
23539 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23541 # Whether we need a single -rpath flag with a separated argument.
23542 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23544 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23545 # resulting binary.
23546 hardcode_direct=$hardcode_direct_F77
23548 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23549 # resulting binary.
23550 hardcode_minus_L=$hardcode_minus_L_F77
23552 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23553 # the resulting binary.
23554 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23556 # Set to yes if building a shared library automatically hardcodes DIR into the library
23557 # and all subsequent libraries and executables linked against it.
23558 hardcode_automatic=$hardcode_automatic_F77
23560 # Variables whose values should be saved in libtool wrapper scripts and
23561 # restored at relink time.
23562 variables_saved_for_relink="$variables_saved_for_relink"
23564 # Whether libtool must link a program against all its dependency libraries.
23565 link_all_deplibs=$link_all_deplibs_F77
23567 # Compile-time system search path for libraries
23568 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23570 # Run-time system search path for libraries
23571 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23573 # Fix the shell variable \$srcfile for the compiler.
23574 fix_srcfile_path="$fix_srcfile_path_F77"
23576 # Set to yes if exported symbols are required.
23577 always_export_symbols=$always_export_symbols_F77
23579 # The commands to list exported symbols.
23580 export_symbols_cmds=$lt_export_symbols_cmds_F77
23582 # The commands to extract the exported symbol list from a shared archive.
23583 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23585 # Symbols that should not be listed in the preloaded symbols.
23586 exclude_expsyms=$lt_exclude_expsyms_F77
23588 # Symbols that must always be exported.
23589 include_expsyms=$lt_include_expsyms_F77
23591 # ### END LIBTOOL TAG CONFIG: $tagname
23597 # If there is no Makefile yet, we rely on a make rule to execute
23598 # `config.status --recheck' to rerun these tests and create the
23599 # libtool script then.
23600 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23601 if test -f "$ltmain_in"; then
23602 test -f Makefile
&& make "$ltmain"
23608 ac_cpp
='$CPP $CPPFLAGS'
23609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23621 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23623 ac_cpp
='$CPP $CPPFLAGS'
23624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23629 # Source file extension for Java test sources.
23632 # Object file extension for compiled Java test sources.
23636 # Code to be used in simple compile tests
23637 lt_simple_compile_test_code
="class foo {}\n"
23639 # Code to be used in simple link tests
23640 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23642 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23644 # If no C compiler was specified, use CC.
23647 # If no C compiler flags were specified, use CFLAGS.
23648 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23650 # Allow CC to be a program name with arguments.
23654 # save warnings/boilerplate of simple test code
23655 ac_outfile
=conftest.
$ac_objext
23656 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23657 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23658 _lt_compiler_boilerplate
=`cat conftest.err`
23661 ac_outfile
=conftest.
$ac_objext
23662 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23663 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23664 _lt_linker_boilerplate
=`cat conftest.err`
23668 # Allow CC to be a program name with arguments.
23673 for cc_temp
in $compiler""; do
23675 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23676 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23681 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23684 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23685 archive_cmds_need_lc_GCJ
=no
23687 old_archive_cmds_GCJ
=$old_archive_cmds
23690 lt_prog_compiler_no_builtin_flag_GCJ
=
23692 if test "$GCC" = yes; then
23693 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23696 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23697 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23698 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23699 echo $ECHO_N "(cached) $ECHO_C" >&6
23701 lt_cv_prog_compiler_rtti_exceptions
=no
23702 ac_outfile
=conftest.
$ac_objext
23703 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23704 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23705 # Insert the option either (1) after the last *FLAGS variable, or
23706 # (2) before a word containing "conftest.", or (3) at the end.
23707 # Note that $ac_compile itself does not contain backslashes and begins
23708 # with a dollar sign (not a hyphen), so the echo should work correctly.
23709 # The option is referenced via a variable to avoid confusing sed.
23710 lt_compile
=`echo "$ac_compile" | $SED \
23711 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23713 -e 's:$: $lt_compiler_flag:'`
23714 (eval echo "\"\$as_me:23714: $lt_compile\"" >&5)
23715 (eval "$lt_compile" 2>conftest.err
)
23717 cat conftest.err
>&5
23718 echo "$as_me:23718: \$? = $ac_status" >&5
23719 if (exit $ac_status) && test -s "$ac_outfile"; then
23720 # The compiler can only warn and ignore the option if not recognized
23721 # So say no if there are warnings other than the usual output.
23722 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23723 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23724 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23725 lt_cv_prog_compiler_rtti_exceptions
=yes
23731 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23732 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23734 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23735 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23742 lt_prog_compiler_wl_GCJ
=
23743 lt_prog_compiler_pic_GCJ
=
23744 lt_prog_compiler_static_GCJ
=
23746 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23747 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23749 if test "$GCC" = yes; then
23750 lt_prog_compiler_wl_GCJ
='-Wl,'
23751 lt_prog_compiler_static_GCJ
='-static'
23755 # All AIX code is PIC.
23756 if test "$host_cpu" = ia64
; then
23757 # AIX 5 now supports IA64 processor
23758 lt_prog_compiler_static_GCJ
='-Bstatic'
23763 # FIXME: we need at least 68020 code to build shared libraries, but
23764 # adding the `-m68020' flag to GCC prevents building anything better,
23766 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23769 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23770 # PIC is the default for these OSes.
23773 mingw
* | pw32
* | os2
*)
23774 # This hack is so that the source file can tell whether it is being
23775 # built for inclusion in a dll (and should export symbols for example).
23776 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23779 darwin
* | rhapsody
*)
23780 # PIC is the default on this platform
23781 # Common symbols not allowed in MH_DYLIB files
23782 lt_prog_compiler_pic_GCJ
='-fno-common'
23786 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23787 # Instead, we relocate shared libraries at runtime.
23791 # Just because we use GCC doesn't mean we suddenly get shared libraries
23792 # on systems that don't support them.
23793 lt_prog_compiler_can_build_shared_GCJ
=no
23798 if test -d /usr
/nec
; then
23799 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23804 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23805 # not for PA HP-UX.
23811 lt_prog_compiler_pic_GCJ
='-fPIC'
23817 lt_prog_compiler_pic_GCJ
='-fPIC'
23821 # PORTME Check for flag to pass linker flags through the system compiler.
23824 lt_prog_compiler_wl_GCJ
='-Wl,'
23825 if test "$host_cpu" = ia64
; then
23826 # AIX 5 now supports IA64 processor
23827 lt_prog_compiler_static_GCJ
='-Bstatic'
23829 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23833 # PIC is the default on this platform
23834 # Common symbols not allowed in MH_DYLIB files
23835 case $cc_basename in
23837 lt_prog_compiler_pic_GCJ
='-qnocommon'
23838 lt_prog_compiler_wl_GCJ
='-Wl,'
23843 mingw
* | pw32
* | os2
*)
23844 # This hack is so that the source file can tell whether it is being
23845 # built for inclusion in a dll (and should export symbols for example).
23846 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23849 hpux9
* | hpux10
* | hpux11
*)
23850 lt_prog_compiler_wl_GCJ
='-Wl,'
23851 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23852 # not for PA HP-UX.
23858 lt_prog_compiler_pic_GCJ
='+Z'
23861 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23862 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23865 irix5
* | irix6
* | nonstopux
*)
23866 lt_prog_compiler_wl_GCJ
='-Wl,'
23867 # PIC (with -KPIC) is the default.
23868 lt_prog_compiler_static_GCJ
='-non_shared'
23872 lt_prog_compiler_pic_GCJ
='-KPIC'
23873 lt_prog_compiler_static_GCJ
='-Bstatic'
23877 case $cc_basename in
23879 lt_prog_compiler_wl_GCJ
='-Wl,'
23880 lt_prog_compiler_pic_GCJ
='-KPIC'
23881 lt_prog_compiler_static_GCJ
='-static'
23883 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23884 # Portland Group compilers (*not* the Pentium gcc compiler,
23885 # which looks to be a dead project)
23886 lt_prog_compiler_wl_GCJ
='-Wl,'
23887 lt_prog_compiler_pic_GCJ
='-fpic'
23888 lt_prog_compiler_static_GCJ
='-Bstatic'
23891 lt_prog_compiler_wl_GCJ
='-Wl,'
23892 # All Alpha code is PIC.
23893 lt_prog_compiler_static_GCJ
='-non_shared'
23898 osf3
* | osf4
* | osf5
*)
23899 lt_prog_compiler_wl_GCJ
='-Wl,'
23900 # All OSF/1 code is PIC.
23901 lt_prog_compiler_static_GCJ
='-non_shared'
23905 lt_prog_compiler_pic_GCJ
='-KPIC'
23906 lt_prog_compiler_static_GCJ
='-Bstatic'
23907 case $cc_basename in
23908 f77
* | f90
* | f95
*)
23909 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23911 lt_prog_compiler_wl_GCJ
='-Wl,';;
23916 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23917 lt_prog_compiler_pic_GCJ
='-PIC'
23918 lt_prog_compiler_static_GCJ
='-Bstatic'
23921 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23922 lt_prog_compiler_wl_GCJ
='-Wl,'
23923 lt_prog_compiler_pic_GCJ
='-KPIC'
23924 lt_prog_compiler_static_GCJ
='-Bstatic'
23928 if test -d /usr
/nec
;then
23929 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23930 lt_prog_compiler_static_GCJ
='-Bstatic'
23934 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23935 lt_prog_compiler_wl_GCJ
='-Wl,'
23936 lt_prog_compiler_pic_GCJ
='-KPIC'
23937 lt_prog_compiler_static_GCJ
='-Bstatic'
23941 lt_prog_compiler_wl_GCJ
='-Wl,'
23942 lt_prog_compiler_can_build_shared_GCJ
=no
23946 lt_prog_compiler_pic_GCJ
='-pic'
23947 lt_prog_compiler_static_GCJ
='-Bstatic'
23951 lt_prog_compiler_can_build_shared_GCJ
=no
23956 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23957 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23960 # Check to make sure the PIC flag actually works.
23962 if test -n "$lt_prog_compiler_pic_GCJ"; then
23964 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23965 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23966 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23967 echo $ECHO_N "(cached) $ECHO_C" >&6
23969 lt_prog_compiler_pic_works_GCJ
=no
23970 ac_outfile
=conftest.
$ac_objext
23971 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23972 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
23973 # Insert the option either (1) after the last *FLAGS variable, or
23974 # (2) before a word containing "conftest.", or (3) at the end.
23975 # Note that $ac_compile itself does not contain backslashes and begins
23976 # with a dollar sign (not a hyphen), so the echo should work correctly.
23977 # The option is referenced via a variable to avoid confusing sed.
23978 lt_compile
=`echo "$ac_compile" | $SED \
23979 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23980 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23981 -e 's:$: $lt_compiler_flag:'`
23982 (eval echo "\"\$as_me:23982: $lt_compile\"" >&5)
23983 (eval "$lt_compile" 2>conftest.err
)
23985 cat conftest.err
>&5
23986 echo "$as_me:23986: \$? = $ac_status" >&5
23987 if (exit $ac_status) && test -s "$ac_outfile"; then
23988 # The compiler can only warn and ignore the option if not recognized
23989 # So say no if there are warnings other than the usual output.
23990 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23991 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23992 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23993 lt_prog_compiler_pic_works_GCJ
=yes
23999 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24000 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24002 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
24003 case $lt_prog_compiler_pic_GCJ in
24005 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
24008 lt_prog_compiler_pic_GCJ
=
24009 lt_prog_compiler_can_build_shared_GCJ
=no
24014 # For platforms which do not support PIC, -DPIC is meaningless:
24016 lt_prog_compiler_pic_GCJ
=
24019 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
24024 # Check to make sure the static flag actually works.
24026 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
24027 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24028 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24029 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24032 lt_prog_compiler_static_works_GCJ
=no
24033 save_LDFLAGS
="$LDFLAGS"
24034 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
24035 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
24036 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
24037 # The linker can only warn and ignore the option if not recognized
24038 # So say no if there are warnings
24039 if test -s conftest.err
; then
24040 # Append any errors to the config.log.
24041 cat conftest.err
1>&5
24042 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
24043 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24044 if diff conftest.exp conftest.er2
>/dev
/null
; then
24045 lt_prog_compiler_static_works_GCJ
=yes
24048 lt_prog_compiler_static_works_GCJ
=yes
24052 LDFLAGS
="$save_LDFLAGS"
24055 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24056 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24058 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
24061 lt_prog_compiler_static_GCJ
=
24065 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24066 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24067 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24068 echo $ECHO_N "(cached) $ECHO_C" >&6
24070 lt_cv_prog_compiler_c_o_GCJ
=no
24071 $rm -r conftest
2>/dev
/null
24075 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24077 lt_compiler_flag
="-o out/conftest2.$ac_objext"
24078 # Insert the option either (1) after the last *FLAGS variable, or
24079 # (2) before a word containing "conftest.", or (3) at the end.
24080 # Note that $ac_compile itself does not contain backslashes and begins
24081 # with a dollar sign (not a hyphen), so the echo should work correctly.
24082 lt_compile
=`echo "$ac_compile" | $SED \
24083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24085 -e 's:$: $lt_compiler_flag:'`
24086 (eval echo "\"\$as_me:24086: $lt_compile\"" >&5)
24087 (eval "$lt_compile" 2>out
/conftest.err
)
24089 cat out
/conftest.err
>&5
24090 echo "$as_me:24090: \$? = $ac_status" >&5
24091 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
24093 # The compiler can only warn and ignore the option if not recognized
24094 # So say no if there are warnings
24095 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
24096 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
24097 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
24098 lt_cv_prog_compiler_c_o_GCJ
=yes
24103 # SGI C++ compiler will create directory out/ii_files/ for
24104 # template instantiation
24105 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
24106 $rm out
/* && rmdir out
24112 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24113 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24116 hard_links
="nottested"
24117 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
24118 # do not overwrite the value of need_locks provided by the user
24119 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24120 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24123 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24125 ln conftest.a conftest.b
2>&5 || hard_links
=no
24126 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24127 { echo "$as_me:$LINENO: result: $hard_links" >&5
24128 echo "${ECHO_T}$hard_links" >&6; }
24129 if test "$hard_links" = no
; then
24130 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24131 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24138 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24139 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24142 allow_undefined_flag_GCJ
=
24143 enable_shared_with_static_runtimes_GCJ
=no
24145 archive_expsym_cmds_GCJ
=
24146 old_archive_From_new_cmds_GCJ
=
24147 old_archive_from_expsyms_cmds_GCJ
=
24148 export_dynamic_flag_spec_GCJ
=
24149 whole_archive_flag_spec_GCJ
=
24150 thread_safe_flag_spec_GCJ
=
24151 hardcode_libdir_flag_spec_GCJ
=
24152 hardcode_libdir_flag_spec_ld_GCJ
=
24153 hardcode_libdir_separator_GCJ
=
24154 hardcode_direct_GCJ
=no
24155 hardcode_minus_L_GCJ
=no
24156 hardcode_shlibpath_var_GCJ
=unsupported
24157 link_all_deplibs_GCJ
=unknown
24158 hardcode_automatic_GCJ
=no
24160 module_expsym_cmds_GCJ
=
24161 always_export_symbols_GCJ
=no
24162 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24163 # include_expsyms should be a list of space-separated symbols to be *always*
24164 # included in the symbol list
24165 include_expsyms_GCJ
=
24166 # exclude_expsyms can be an extended regexp of symbols to exclude
24167 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24168 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24169 # as well as any symbol that contains `d'.
24170 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
24171 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24172 # platforms (ab)use it in PIC code, but their linkers get confused if
24173 # the symbol is explicitly referenced. Since portable code cannot
24174 # rely on this symbol name, it's probably fine to never include it in
24175 # preloaded symbol tables.
24176 extract_expsyms_cmds
=
24177 # Just being paranoid about ensuring that cc_basename is set.
24178 for cc_temp
in $compiler""; do
24180 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24181 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24186 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24189 cygwin
* | mingw
* | pw32
*)
24190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24191 # When not using gcc, we currently assume that we are using
24192 # Microsoft Visual C++.
24193 if test "$GCC" != yes; then
24198 # we just hope/assume this is gcc and not c89 (= MSVC++)
24207 if test "$with_gnu_ld" = yes; then
24208 # If archive_cmds runs LD, not CC, wlarc should be empty
24211 # Set some defaults for GNU ld with shared library support. These
24212 # are reset later if shared libraries are not supported. Putting them
24213 # here allows them to be overridden if necessary.
24214 runpath_var
=LD_RUN_PATH
24215 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24216 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24217 # ancient GNU ld didn't support --whole-archive et. al.
24218 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24219 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24221 whole_archive_flag_spec_GCJ
=
24223 supports_anon_versioning
=no
24224 case `$LD -v 2>/dev/null` in
24225 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24226 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24227 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24228 *\
2.11.
*) ;; # other 2.11 versions
24229 *) supports_anon_versioning
=yes ;;
24232 # See if GNU ld supports shared libraries.
24234 aix3
* | aix4
* | aix5
*)
24235 # On AIX/PPC, the GNU linker is very broken
24236 if test "$host_cpu" != ia64
; then
24240 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24241 *** to be unable to reliably create shared libraries on AIX.
24242 *** Therefore, libtool is disabling shared libraries support. If you
24243 *** really care for shared libraries, you may want to modify your PATH
24244 *** so that a non-GNU linker is found, and then restart.
24251 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)'
24252 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24253 hardcode_minus_L_GCJ
=yes
24255 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24256 # that the semantics of dynamic libraries on AmigaOS, at least up
24257 # to version 4, is to share data among multiple programs linked
24258 # with the same dynamic library. Since this doesn't match the
24259 # behavior of shared libraries on other platforms, we can't use
24265 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24266 allow_undefined_flag_GCJ
=unsupported
24267 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24268 # support --undefined. This deserves some investigation. FIXME
24269 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24275 cygwin
* | mingw
* | pw32
*)
24276 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24277 # as there is no search path for DLLs.
24278 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24279 allow_undefined_flag_GCJ
=unsupported
24280 always_export_symbols_GCJ
=no
24281 enable_shared_with_static_runtimes_GCJ
=yes
24282 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24284 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24285 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24286 # If the export-symbols file already is a .def file (1st line
24287 # is EXPORTS), use it as is; otherwise, prepend...
24288 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24289 cp $export_symbols $output_objdir/$soname.def;
24291 echo EXPORTS > $output_objdir/$soname.def;
24292 cat $export_symbols >> $output_objdir/$soname.def;
24294 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24301 hardcode_direct_GCJ
=no
24302 hardcode_shlibpath_var_GCJ
=no
24303 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24304 export_dynamic_flag_spec_GCJ
='${wl}-E'
24305 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24306 # Instead, shared libraries are loaded at an image base (0x10000000 by
24307 # default) and relocated if they conflict, which is a slow very memory
24308 # consuming and fragmenting process. To avoid this, we pick a random,
24309 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24310 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24311 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'
24312 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'
24316 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24318 case $cc_basename,$host_cpu in
24319 pgcc
*) # Portland Group C compiler
24320 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'
24321 tmp_addflag
=' $pic_flag'
24323 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24324 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'
24325 tmp_addflag
=' $pic_flag -Mnomain' ;;
24326 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24327 tmp_addflag
=' -i_dynamic' ;;
24328 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24329 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24330 ifc
* | ifort
*) # Intel Fortran compiler
24331 tmp_addflag
=' -nofor_main' ;;
24333 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24335 if test $supports_anon_versioning = yes; then
24336 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24338 $echo "local: *; };" >> $output_objdir/$libname.ver~
24339 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24347 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24348 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24351 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24352 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24357 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24361 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24362 *** create shared libraries on Solaris systems. Therefore, libtool
24363 *** is disabling shared libraries support. We urge you to upgrade GNU
24364 *** binutils to release 2.9.1 or newer. Another option is to modify
24365 *** your PATH or compiler configuration so that the native linker is
24366 *** used, and then restart.
24369 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24370 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24371 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24377 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24378 case `$LD -v 2>&1` in
24379 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24383 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24384 *** reliably create shared libraries on SCO systems. Therefore, libtool
24385 *** is disabling shared libraries support. We urge you to upgrade GNU
24386 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24387 *** your PATH or compiler configuration so that the native linker is
24388 *** used, and then restart.
24393 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24394 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24395 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24396 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24405 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24407 hardcode_direct_GCJ
=yes
24408 hardcode_shlibpath_var_GCJ
=no
24412 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24413 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24414 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24421 if test "$ld_shlibs_GCJ" = no
; then
24423 hardcode_libdir_flag_spec_GCJ
=
24424 export_dynamic_flag_spec_GCJ
=
24425 whole_archive_flag_spec_GCJ
=
24428 # PORTME fill in a description of your system's linker (not GNU ld)
24431 allow_undefined_flag_GCJ
=unsupported
24432 always_export_symbols_GCJ
=yes
24433 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'
24434 # Note: this linker hardcodes the directories in LIBPATH if there
24435 # are no directories specified by -L.
24436 hardcode_minus_L_GCJ
=yes
24437 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24438 # Neither direct hardcoding nor static linking is supported with a
24440 hardcode_direct_GCJ
=unsupported
24445 if test "$host_cpu" = ia64
; then
24446 # On IA64, the linker does run time linking by default, so we don't
24447 # have to do anything special.
24448 aix_use_runtimelinking
=no
24449 exp_sym_flag
='-Bexport'
24452 # If we're using GNU nm, then we don't want the "-C" option.
24453 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24454 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24455 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'
24457 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'
24459 aix_use_runtimelinking
=no
24461 # Test if we are trying to use run time linking or normal
24462 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24463 # need to do runtime linking.
24464 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24465 for ld_flag
in $LDFLAGS; do
24466 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24467 aix_use_runtimelinking
=yes
24474 exp_sym_flag
='-bexport'
24475 no_entry_flag
='-bnoentry'
24478 # When large executables or shared objects are built, AIX ld can
24479 # have problems creating the table of contents. If linking a library
24480 # or program results in "error TOC overflow" add -mminimal-toc to
24481 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24482 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24484 archive_cmds_GCJ
=''
24485 hardcode_direct_GCJ
=yes
24486 hardcode_libdir_separator_GCJ
=':'
24487 link_all_deplibs_GCJ
=yes
24489 if test "$GCC" = yes; then
24490 case $host_os in aix4.
[012]|aix4.
[012].
*)
24491 # We only want to do this on AIX 4.2 and lower, the check
24492 # below for broken collect2 doesn't work under 4.3+
24493 collect2name
=`${CC} -print-prog-name=collect2`
24494 if test -f "$collect2name" && \
24495 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24497 # We have reworked collect2
24498 hardcode_direct_GCJ
=yes
24500 # We have old collect2
24501 hardcode_direct_GCJ
=unsupported
24502 # It fails to find uninstalled libraries when the uninstalled
24503 # path is not listed in the libpath. Setting hardcode_minus_L
24504 # to unsupported forces relinking
24505 hardcode_minus_L_GCJ
=yes
24506 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24507 hardcode_libdir_separator_GCJ
=
24511 shared_flag
='-shared'
24512 if test "$aix_use_runtimelinking" = yes; then
24513 shared_flag
="$shared_flag "'${wl}-G'
24517 if test "$host_cpu" = ia64
; then
24518 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24519 # chokes on -Wl,-G. The following line is correct:
24522 if test "$aix_use_runtimelinking" = yes; then
24523 shared_flag
='${wl}-G'
24525 shared_flag
='${wl}-bM:SRE'
24530 # It seems that -bexpall does not export symbols beginning with
24531 # underscore (_), so it is better to generate a list of symbols to export.
24532 always_export_symbols_GCJ
=yes
24533 if test "$aix_use_runtimelinking" = yes; then
24534 # Warning - without using the other runtime loading flags (-brtl),
24535 # -berok will link without error, but may produce a broken library.
24536 allow_undefined_flag_GCJ
='-berok'
24537 # Determine the default libpath from the value encoded in an empty executable.
24538 cat >conftest.
$ac_ext <<_ACEOF
24541 cat confdefs.h
>>conftest.
$ac_ext
24542 cat >>conftest.
$ac_ext <<_ACEOF
24543 /* end confdefs.h. */
24553 rm -f conftest.
$ac_objext conftest
$ac_exeext
24554 if { (ac_try
="$ac_link"
24555 case "(($ac_try" in
24556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24557 *) ac_try_echo=$ac_try;;
24559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24560 (eval "$ac_link") 2>conftest.er1
24562 grep -v '^ *+' conftest.er1 >conftest.err
24564 cat conftest.err >&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); } &&
24567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24568 { (case "(($ac_try" in
24569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24570 *) ac_try_echo
=$ac_try;;
24572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24573 (eval "$ac_try") 2>&5
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); }; } &&
24577 { ac_try
='test -s conftest$ac_exeext'
24578 { (case "(($ac_try" in
24579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24580 *) ac_try_echo=$ac_try;;
24582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24583 (eval "$ac_try") 2>&5
24585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 (exit $ac_status); }; }; then
24588 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24590 # Check for a 64-bit object if we didn't find anything.
24591 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; }
24594 echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.$ac_ext >&5
24600 rm -f core conftest.err conftest.$ac_objext \
24601 conftest$ac_exeext conftest.$ac_ext
24602 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24604 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24605 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"
24607 if test "$host_cpu" = ia64; then
24608 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24609 allow_undefined_flag_GCJ="-z nodefs"
24610 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"
24612 # Determine the default libpath from the value encoded in an empty executable.
24613 cat >conftest.$ac_ext <<_ACEOF
24616 cat confdefs.h >>conftest.$ac_ext
24617 cat >>conftest.$ac_ext <<_ACEOF
24618 /* end confdefs.h. */
24628 rm -f conftest.$ac_objext conftest$ac_exeext
24629 if { (ac_try="$ac_link"
24630 case "(($ac_try" in
24631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24632 *) ac_try_echo
=$ac_try;;
24634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24635 (eval "$ac_link") 2>conftest.er1
24637 grep -v '^ *+' conftest.er1
>conftest.err
24639 cat conftest.err
>&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); } &&
24642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24643 { (case "(($ac_try" in
24644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_try") 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; } &&
24652 { ac_try='test -s conftest$ac_exeext'
24653 { (case "(($ac_try" in
24654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24655 *) ac_try_echo
=$ac_try;;
24657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24658 (eval "$ac_try") 2>&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; }; then
24663 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24665 # Check for a 64-bit object if we didn't find anything.
24666 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; }
24669 echo "$as_me: failed program was:" >&5
24670 sed 's/^/| /' conftest.
$ac_ext >&5
24675 rm -f core conftest.err conftest.
$ac_objext \
24676 conftest
$ac_exeext conftest.
$ac_ext
24677 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24679 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24680 # Warning - without using the other run time loading flags,
24681 # -berok will link without error, but may produce a broken library.
24682 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24683 allow_undefined_flag_GCJ
=' ${wl}-berok'
24684 # Exported symbols can be pulled into shared objects from archives
24685 whole_archive_flag_spec_GCJ
='$convenience'
24686 archive_cmds_need_lc_GCJ
=yes
24687 # This is similar to how AIX traditionally builds its shared libraries.
24688 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'
24694 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)'
24695 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24696 hardcode_minus_L_GCJ
=yes
24697 # see comment about different semantics on the GNU ld section
24702 export_dynamic_flag_spec_GCJ
=-rdynamic
24705 cygwin
* | mingw
* | pw32
*)
24706 # When not using gcc, we currently assume that we are using
24707 # Microsoft Visual C++.
24708 # hardcode_libdir_flag_spec is actually meaningless, as there is
24709 # no search path for DLLs.
24710 hardcode_libdir_flag_spec_GCJ
=' '
24711 allow_undefined_flag_GCJ
=unsupported
24712 # Tell ltmain to make .lib files, not .a files.
24714 # Tell ltmain to make .dll files, not .so files.
24716 # FIXME: Setting linknames here is a bad hack.
24717 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24718 # The linker will automatically build a .lib file if we build a DLL.
24719 old_archive_From_new_cmds_GCJ
='true'
24720 # FIXME: Should let the user specify the lib program.
24721 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24722 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24723 enable_shared_with_static_runtimes_GCJ
=yes
24726 darwin
* | rhapsody
*)
24728 rhapsody
* | darwin1.
[012])
24729 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24732 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24733 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24735 case ${MACOSX_DEPLOYMENT_TARGET} in
24737 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24740 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24746 archive_cmds_need_lc_GCJ
=no
24747 hardcode_direct_GCJ
=no
24748 hardcode_automatic_GCJ
=yes
24749 hardcode_shlibpath_var_GCJ
=unsupported
24750 whole_archive_flag_spec_GCJ
=''
24751 link_all_deplibs_GCJ
=yes
24752 if test "$GCC" = yes ; then
24753 output_verbose_link_cmd
='echo'
24754 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24755 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24756 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24757 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}'
24758 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}'
24760 case $cc_basename in
24762 output_verbose_link_cmd
='echo'
24763 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24764 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24765 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24766 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}'
24767 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}'
24777 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24778 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24779 hardcode_shlibpath_var_GCJ
=no
24786 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24787 # support. Future versions do this automatically, but an explicit c++rt0.o
24788 # does not break anything, and helps significantly (at the cost of a little
24791 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24792 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24793 hardcode_direct_GCJ
=yes
24794 hardcode_shlibpath_var_GCJ
=no
24797 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24799 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24800 hardcode_direct_GCJ
=yes
24801 hardcode_minus_L_GCJ
=yes
24802 hardcode_shlibpath_var_GCJ
=no
24805 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24806 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24807 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24808 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24809 hardcode_direct_GCJ
=yes
24810 hardcode_shlibpath_var_GCJ
=no
24814 if test "$GCC" = yes; then
24815 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'
24817 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'
24819 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24820 hardcode_libdir_separator_GCJ
=:
24821 hardcode_direct_GCJ
=yes
24823 # hardcode_minus_L: Not really in the search PATH,
24824 # but as the default location of the library.
24825 hardcode_minus_L_GCJ
=yes
24826 export_dynamic_flag_spec_GCJ
='${wl}-E'
24830 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24831 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24833 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24835 if test "$with_gnu_ld" = no
; then
24836 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24837 hardcode_libdir_separator_GCJ
=:
24839 hardcode_direct_GCJ
=yes
24840 export_dynamic_flag_spec_GCJ
='${wl}-E'
24842 # hardcode_minus_L: Not really in the search PATH,
24843 # but as the default location of the library.
24844 hardcode_minus_L_GCJ
=yes
24849 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24852 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24855 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24858 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24864 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24867 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24870 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24874 if test "$with_gnu_ld" = no
; then
24875 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24876 hardcode_libdir_separator_GCJ
=:
24880 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24881 hardcode_direct_GCJ
=no
24882 hardcode_shlibpath_var_GCJ
=no
24885 hardcode_direct_GCJ
=yes
24886 export_dynamic_flag_spec_GCJ
='${wl}-E'
24888 # hardcode_minus_L: Not really in the search PATH,
24889 # but as the default location of the library.
24890 hardcode_minus_L_GCJ
=yes
24896 irix5
* | irix6
* | nonstopux
*)
24897 if test "$GCC" = yes; then
24898 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'
24900 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'
24901 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24903 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24904 hardcode_libdir_separator_GCJ
=:
24905 link_all_deplibs_GCJ
=yes
24909 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24910 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24912 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24914 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24915 hardcode_direct_GCJ
=yes
24916 hardcode_shlibpath_var_GCJ
=no
24920 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24921 hardcode_direct_GCJ
=yes
24922 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24923 hardcode_libdir_separator_GCJ
=:
24924 hardcode_shlibpath_var_GCJ
=no
24928 hardcode_direct_GCJ
=yes
24929 hardcode_shlibpath_var_GCJ
=no
24930 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24931 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24932 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24933 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24934 export_dynamic_flag_spec_GCJ
='${wl}-E'
24937 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24938 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24939 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24942 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24943 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24950 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24951 hardcode_minus_L_GCJ
=yes
24952 allow_undefined_flag_GCJ
=unsupported
24953 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'
24954 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24958 if test "$GCC" = yes; then
24959 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24960 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'
24962 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24963 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'
24965 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24966 hardcode_libdir_separator_GCJ
=:
24969 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
24970 if test "$GCC" = yes; then
24971 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24972 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'
24973 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24975 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24976 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'
24977 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~
24978 $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'
24980 # Both c and cxx compiler support -rpath directly
24981 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
24983 hardcode_libdir_separator_GCJ
=:
24987 no_undefined_flag_GCJ
=' -z text'
24988 if test "$GCC" = yes; then
24990 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24991 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24992 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24995 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24996 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24997 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24999 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25000 hardcode_shlibpath_var_GCJ
=no
25002 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
25004 # The compiler driver will combine linker options so we
25005 # cannot just pass the convience library names through
25006 # without $wl, iff we do not link with $LD.
25007 # Luckily, gcc supports the same syntax we need for Sun Studio.
25008 # Supported since Solaris 2.6 (maybe 2.5.1?)
25011 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
25013 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' ;;
25016 link_all_deplibs_GCJ
=yes
25020 if test "x$host_vendor" = xsequent
; then
25021 # Use $CC to link under sequent, because it throws in some extra .o
25022 # files that make .init and .fini sections work.
25023 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25025 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25027 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25028 hardcode_direct_GCJ
=yes
25029 hardcode_minus_L_GCJ
=yes
25030 hardcode_shlibpath_var_GCJ
=no
25034 case $host_vendor in
25036 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25037 hardcode_direct_GCJ
=yes # is this really true???
25040 ## LD is ld it makes a PLAMLIB
25041 ## CC just makes a GrossModule.
25042 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25043 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
25044 hardcode_direct_GCJ
=no
25047 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25048 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
25051 runpath_var
='LD_RUN_PATH'
25052 hardcode_shlibpath_var_GCJ
=no
25056 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25057 hardcode_shlibpath_var_GCJ
=no
25058 export_dynamic_flag_spec_GCJ
='-Bexport'
25062 if test -d /usr
/nec
; then
25063 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25064 hardcode_shlibpath_var_GCJ
=no
25065 runpath_var
=LD_RUN_PATH
25066 hardcode_runpath_var
=yes
25071 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
25072 no_undefined_flag_GCJ
='${wl}-z,text'
25073 archive_cmds_need_lc_GCJ
=no
25074 hardcode_shlibpath_var_GCJ
=no
25075 runpath_var
='LD_RUN_PATH'
25077 if test "$GCC" = yes; then
25078 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25079 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25081 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25082 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25086 sysv5
* | sco3.2v5
* | sco5v6
*)
25087 # Note: We can NOT use -z defs as we might desire, because we do not
25088 # link with -lc, and that would cause any symbols used from libc to
25089 # always be unresolved, which means just about no library would
25090 # ever link correctly. If we're not using GNU ld we use -z text
25091 # though, which does catch some bad symbols but isn't as heavy-handed
25093 no_undefined_flag_GCJ
='${wl}-z,text'
25094 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
25095 archive_cmds_need_lc_GCJ
=no
25096 hardcode_shlibpath_var_GCJ
=no
25097 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25098 hardcode_libdir_separator_GCJ
=':'
25099 link_all_deplibs_GCJ
=yes
25100 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
25101 runpath_var
='LD_RUN_PATH'
25103 if test "$GCC" = yes; then
25104 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25105 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25107 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25108 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25113 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25114 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25115 hardcode_shlibpath_var_GCJ
=no
25124 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25125 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25126 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
25129 # Do we need to explicitly link libc?
25131 case "x$archive_cmds_need_lc_GCJ" in
25133 # Assume -lc should be added
25134 archive_cmds_need_lc_GCJ
=yes
25136 if test "$enable_shared" = yes && test "$GCC" = yes; then
25137 case $archive_cmds_GCJ in
25139 # FIXME: we may have to deal with multi-command sequences.
25142 # Test whether the compiler implicitly links with -lc since on some
25143 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25144 # to ld, don't add -lc before -lgcc.
25145 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25146 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25148 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
25150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25151 (eval $ac_compile) 2>&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } 2>conftest.err
; then
25157 libobjs
=conftest.
$ac_objext
25159 wl
=$lt_prog_compiler_wl_GCJ
25160 pic_flag
=$lt_prog_compiler_pic_GCJ
25166 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
25167 allow_undefined_flag_GCJ
=
25168 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25169 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }
25174 archive_cmds_need_lc_GCJ
=no
25176 archive_cmds_need_lc_GCJ
=yes
25178 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25180 cat conftest.err
1>&5
25183 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25184 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25191 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25192 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25193 library_names_spec
=
25194 libname_spec
='lib$name'
25198 postuninstall_cmds
=
25202 shlibpath_overrides_runpath
=unknown
25204 dynamic_linker
="$host_os ld.so"
25205 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25206 if test "$GCC" = yes; then
25207 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25208 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25209 # if the path contains ";" then we assume it to be the separator
25210 # otherwise default to the standard path separator (i.e. ":") - it is
25211 # assumed that no part of a normal pathname contains ";" but that should
25212 # okay in the real world where ";" in dirpaths is itself problematic.
25213 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25215 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25218 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25220 need_lib_prefix
=unknown
25221 hardcode_into_libs
=no
25223 # when you set need_version to no, make sure it does not cause -set_version
25224 # flags to be left without arguments
25225 need_version
=unknown
25230 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25231 shlibpath_var
=LIBPATH
25233 # AIX 3 has no versioning support, so we append a major version to the name.
25234 soname_spec
='${libname}${release}${shared_ext}$major'
25241 hardcode_into_libs
=yes
25242 if test "$host_cpu" = ia64
; then
25243 # AIX 5 supports IA64
25244 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25245 shlibpath_var
=LD_LIBRARY_PATH
25247 # With GCC up to 2.95.x, collect2 would create an import file
25248 # for dependence libraries. The import file would start with
25249 # the line `#! .'. This would cause the generated library to
25250 # depend on `.', always an invalid library. This was fixed in
25251 # development snapshots of GCC prior to 3.0.
25253 aix4 | aix4.
[01] | aix4.
[01].
*)
25254 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25256 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25259 can_build_shared
=no
25263 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25264 # soname into executable. Probably we can add versioning support to
25265 # collect2, so additional links can be useful in future.
25266 if test "$aix_use_runtimelinking" = yes; then
25267 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25268 # instead of lib<name>.a to let people know that these are not
25269 # typical AIX shared libraries.
25270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25272 # We preserve .a as extension for shared libraries through AIX4.2
25273 # and later when we are not doing run time linking.
25274 library_names_spec
='${libname}${release}.a $libname.a'
25275 soname_spec
='${libname}${release}${shared_ext}$major'
25277 shlibpath_var
=LIBPATH
25282 library_names_spec
='$libname.ixlibrary $libname.a'
25283 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25284 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'
25288 library_names_spec
='${libname}${shared_ext}'
25289 dynamic_linker
="$host_os ld.so"
25290 shlibpath_var
=LIBRARY_PATH
25296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25297 soname_spec
='${libname}${release}${shared_ext}$major'
25298 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25299 shlibpath_var
=LD_LIBRARY_PATH
25300 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25301 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25302 # the default ld.so.conf also contains /usr/contrib/lib and
25303 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25304 # libtool to hard-code these into programs
25307 cygwin
* | mingw
* | pw32
*)
25308 version_type
=windows
25313 case $GCC,$host_os in
25314 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25315 library_names_spec
='$libname.dll.a'
25316 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25317 postinstall_cmds
='base_file=`basename \${file}`~
25318 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25319 dldir=$destdir/`dirname \$dlpath`~
25320 test -d \$dldir || mkdir -p \$dldir~
25321 $install_prog $dir/$dlname \$dldir/$dlname~
25322 chmod a+x \$dldir/$dlname'
25323 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25324 dlpath=$dir/\$dldll~
25326 shlibpath_overrides_runpath
=yes
25330 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25331 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25332 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25335 # MinGW DLLs use traditional 'lib' prefix
25336 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25337 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25338 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25339 # It is most probably a Windows format PATH printed by
25340 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25341 # path with ; separators, and with drive letters. We can handle the
25342 # drive letters (cygwin fileutils understands them), so leave them,
25343 # especially as we might pass files found there to a mingw objdump,
25344 # which wouldn't understand a cygwinified path. Ahh.
25345 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25347 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25351 # pw32 DLLs use 'pw' prefix rather than 'lib'
25352 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25358 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25361 dynamic_linker
='Win32 ld.exe'
25362 # FIXME: first we should search . and the directory the executable is in
25366 darwin
* | rhapsody
*)
25367 dynamic_linker
="$host_os dyld"
25368 version_type
=darwin
25371 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25372 soname_spec
='${libname}${release}${major}$shared_ext'
25373 shlibpath_overrides_runpath
=yes
25374 shlibpath_var
=DYLD_LIBRARY_PATH
25375 shrext_cmds
='.dylib'
25376 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25377 if test "$GCC" = yes; then
25378 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"`
25380 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25382 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25390 soname_spec
='${libname}${release}${shared_ext}$major'
25391 shlibpath_var
=LD_LIBRARY_PATH
25402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25403 soname_spec
='${libname}${release}${shared_ext}$major'
25404 shlibpath_var
=LD_LIBRARY_PATH
25405 shlibpath_overrides_runpath
=no
25406 hardcode_into_libs
=yes
25407 dynamic_linker
='GNU ld.so'
25410 freebsd
* | dragonfly
*)
25411 # DragonFly does not have aout. When/if they implement a new
25412 # versioning mechanism, adjust this.
25413 if test -x /usr
/bin
/objformat
; then
25414 objformat
=`/usr/bin/objformat`
25417 freebsd
[123]*) objformat
=aout
;;
25418 *) objformat
=elf
;;
25421 version_type
=freebsd-
$objformat
25422 case $version_type in
25424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25429 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25433 shlibpath_var
=LD_LIBRARY_PATH
25436 shlibpath_overrides_runpath
=yes
25438 freebsd3.
[01]* | freebsdelf3.
[01]*)
25439 shlibpath_overrides_runpath
=yes
25440 hardcode_into_libs
=yes
25442 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25443 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25444 shlibpath_overrides_runpath
=no
25445 hardcode_into_libs
=yes
25447 freebsd
*) # from 4.6 on
25448 shlibpath_overrides_runpath
=yes
25449 hardcode_into_libs
=yes
25458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25459 soname_spec
='${libname}${release}${shared_ext}$major'
25460 shlibpath_var
=LD_LIBRARY_PATH
25461 hardcode_into_libs
=yes
25464 hpux9
* | hpux10
* | hpux11
*)
25465 # Give a soname corresponding to the major version so that dld.sl refuses to
25466 # link against other versions.
25473 hardcode_into_libs
=yes
25474 dynamic_linker
="$host_os dld.so"
25475 shlibpath_var
=LD_LIBRARY_PATH
25476 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25478 soname_spec
='${libname}${release}${shared_ext}$major'
25479 if test "X$HPUX_IA64_MODE" = X32
; then
25480 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25482 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25484 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25488 hardcode_into_libs
=yes
25489 dynamic_linker
="$host_os dld.sl"
25490 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25491 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25493 soname_spec
='${libname}${release}${shared_ext}$major'
25494 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25495 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25499 dynamic_linker
="$host_os dld.sl"
25500 shlibpath_var
=SHLIB_PATH
25501 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25503 soname_spec
='${libname}${release}${shared_ext}$major'
25506 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25507 postinstall_cmds
='chmod 555 $lib'
25514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25515 soname_spec
='${libname}${release}${shared_ext}$major'
25516 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25517 shlibpath_var
=LD_LIBRARY_PATH
25518 shlibpath_overrides_runpath
=no
25519 hardcode_into_libs
=yes
25522 irix5
* | irix6
* | nonstopux
*)
25524 nonstopux
*) version_type
=nonstopux
;;
25526 if test "$lt_cv_prog_gnu_ld" = yes; then
25534 soname_spec
='${libname}${release}${shared_ext}$major'
25535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25537 irix5
* | nonstopux
*)
25538 libsuff
= shlibsuff
=
25541 case $LD in # libtool.m4 will add one of these switches to LD
25542 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25543 libsuff
= shlibsuff
= libmagic
=32-bit;;
25544 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25545 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25546 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25547 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25548 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25552 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25553 shlibpath_overrides_runpath
=no
25554 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25555 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25556 hardcode_into_libs
=yes
25559 # No shared lib support for Linux oldld, aout, or coff.
25560 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25564 # This must be Linux ELF.
25569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25570 soname_spec
='${libname}${release}${shared_ext}$major'
25571 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25572 shlibpath_var
=LD_LIBRARY_PATH
25573 shlibpath_overrides_runpath
=no
25574 # This implies no fast_install, which is unacceptable.
25575 # Some rework will be needed to allow for fast_install
25576 # before this can be enabled.
25577 hardcode_into_libs
=yes
25579 # Append ld.so.conf contents to the search path
25580 if test -f /etc
/ld.so.conf
; then
25581 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' ' '`
25582 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25585 # We used to test for /lib/ld.so.1 and disable shared libraries on
25586 # powerpc, because MkLinux only supported shared libraries with the
25587 # GNU dynamic linker. Since this was broken with cross compilers,
25588 # most powerpc-linux boxes support dynamic linking these days and
25589 # people can always --disable-shared, the test was removed, and we
25590 # assume the GNU/Linux dynamic linker is in use.
25591 dynamic_linker
='GNU/Linux ld.so'
25598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25599 soname_spec
='${libname}${release}${shared_ext}$major'
25600 shlibpath_var
=LD_LIBRARY_PATH
25601 shlibpath_overrides_runpath
=no
25602 hardcode_into_libs
=yes
25603 dynamic_linker
='GNU ld.so'
25610 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25612 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25613 dynamic_linker
='NetBSD (a.out) ld.so'
25615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25616 soname_spec
='${libname}${release}${shared_ext}$major'
25617 dynamic_linker
='NetBSD ld.elf_so'
25619 shlibpath_var
=LD_LIBRARY_PATH
25620 shlibpath_overrides_runpath
=yes
25621 hardcode_into_libs
=yes
25626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25627 shlibpath_var
=LD_LIBRARY_PATH
25628 shlibpath_overrides_runpath
=yes
25635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25636 soname_spec
='${libname}${release}${shared_ext}$major'
25637 shlibpath_var
=LD_LIBRARY_PATH
25638 shlibpath_overrides_runpath
=yes
25643 sys_lib_dlsearch_path_spec
="/usr/lib"
25645 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25647 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25648 *) need_version
=no
;;
25650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25651 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25652 shlibpath_var
=LD_LIBRARY_PATH
25653 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25655 openbsd2.
[89] | openbsd2.
[89].
*)
25656 shlibpath_overrides_runpath
=no
25659 shlibpath_overrides_runpath
=yes
25663 shlibpath_overrides_runpath
=yes
25668 libname_spec
='$name'
25671 library_names_spec
='$libname${shared_ext} $libname.a'
25672 dynamic_linker
='OS/2 ld.exe'
25673 shlibpath_var
=LIBPATH
25676 osf3
* | osf4
* | osf5
*)
25680 soname_spec
='${libname}${release}${shared_ext}$major'
25681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25682 shlibpath_var
=LD_LIBRARY_PATH
25683 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25684 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25692 soname_spec
='${libname}${release}${shared_ext}$major'
25693 shlibpath_var
=LD_LIBRARY_PATH
25694 shlibpath_overrides_runpath
=yes
25695 hardcode_into_libs
=yes
25696 # ldd complains unless libraries are executable
25697 postinstall_cmds
='chmod +x $lib'
25702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25703 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25704 shlibpath_var
=LD_LIBRARY_PATH
25705 shlibpath_overrides_runpath
=yes
25706 if test "$with_gnu_ld" = yes; then
25714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25715 soname_spec
='${libname}${release}${shared_ext}$major'
25716 shlibpath_var
=LD_LIBRARY_PATH
25717 case $host_vendor in
25719 shlibpath_overrides_runpath
=no
25721 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25722 runpath_var
=LD_RUN_PATH
25730 shlibpath_overrides_runpath
=no
25731 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25737 if test -d /usr
/nec
;then
25739 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25740 soname_spec
='$libname${shared_ext}.$major'
25741 shlibpath_var
=LD_LIBRARY_PATH
25745 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25746 version_type
=freebsd-elf
25749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25750 soname_spec
='${libname}${release}${shared_ext}$major'
25751 shlibpath_var
=LD_LIBRARY_PATH
25752 hardcode_into_libs
=yes
25753 if test "$with_gnu_ld" = yes; then
25754 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25755 shlibpath_overrides_runpath
=no
25757 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25758 shlibpath_overrides_runpath
=yes
25761 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25765 sys_lib_dlsearch_path_spec
='/usr/lib'
25770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25771 soname_spec
='${libname}${release}${shared_ext}$major'
25772 shlibpath_var
=LD_LIBRARY_PATH
25779 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25780 echo "${ECHO_T}$dynamic_linker" >&6; }
25781 test "$dynamic_linker" = no
&& can_build_shared
=no
25783 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25784 if test "$GCC" = yes; then
25785 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25788 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25789 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25790 hardcode_action_GCJ
=
25791 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25792 test -n "$runpath_var_GCJ" || \
25793 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25795 # We can hardcode non-existant directories.
25796 if test "$hardcode_direct_GCJ" != no
&&
25797 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25798 # have to relink, otherwise we might link with an installed library
25799 # when we should be linking with a yet-to-be-installed one
25800 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25801 test "$hardcode_minus_L_GCJ" != no
; then
25802 # Linking always hardcodes the temporary library directory.
25803 hardcode_action_GCJ
=relink
25805 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25806 hardcode_action_GCJ
=immediate
25809 # We cannot hardcode anything, or else we can only hardcode existing
25811 hardcode_action_GCJ
=unsupported
25813 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25814 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25816 if test "$hardcode_action_GCJ" = relink
; then
25817 # Fast installation is not supported
25818 enable_fast_install
=no
25819 elif test "$shlibpath_overrides_runpath" = yes ||
25820 test "$enable_shared" = no
; then
25821 # Fast installation is not necessary
25822 enable_fast_install
=needless
25826 # The else clause should only fire when bootstrapping the
25827 # libtool distribution, otherwise you forgot to ship ltmain.sh
25828 # with your package, and you will get complaints that there are
25829 # no rules to generate ltmain.sh.
25830 if test -f "$ltmain"; then
25831 # See if we are running on zsh, and set the options which allow our commands through
25832 # without removal of \ escapes.
25833 if test -n "${ZSH_VERSION+set}" ; then
25834 setopt NO_GLOB_SUBST
25836 # Now quote all the things that may contain metacharacters while being
25837 # careful not to overquote the AC_SUBSTed values. We take copies of the
25838 # variables and quote the copies for generation of the libtool script.
25839 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25841 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25842 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25843 deplibs_check_method reload_flag reload_cmds need_locks \
25844 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25845 lt_cv_sys_global_symbol_to_c_name_address \
25846 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25847 old_postinstall_cmds old_postuninstall_cmds \
25851 lt_prog_compiler_wl_GCJ \
25852 lt_prog_compiler_pic_GCJ \
25853 lt_prog_compiler_static_GCJ \
25854 lt_prog_compiler_no_builtin_flag_GCJ \
25855 export_dynamic_flag_spec_GCJ \
25856 thread_safe_flag_spec_GCJ \
25857 whole_archive_flag_spec_GCJ \
25858 enable_shared_with_static_runtimes_GCJ \
25859 old_archive_cmds_GCJ \
25860 old_archive_from_new_cmds_GCJ \
25861 predep_objects_GCJ \
25862 postdep_objects_GCJ \
25865 compiler_lib_search_path_GCJ \
25867 archive_expsym_cmds_GCJ \
25868 postinstall_cmds_GCJ \
25869 postuninstall_cmds_GCJ \
25870 old_archive_from_expsyms_cmds_GCJ \
25871 allow_undefined_flag_GCJ \
25872 no_undefined_flag_GCJ \
25873 export_symbols_cmds_GCJ \
25874 hardcode_libdir_flag_spec_GCJ \
25875 hardcode_libdir_flag_spec_ld_GCJ \
25876 hardcode_libdir_separator_GCJ \
25877 hardcode_automatic_GCJ \
25879 module_expsym_cmds_GCJ \
25880 lt_cv_prog_compiler_c_o_GCJ \
25881 exclude_expsyms_GCJ \
25882 include_expsyms_GCJ
; do
25885 old_archive_cmds_GCJ | \
25886 old_archive_from_new_cmds_GCJ | \
25887 archive_cmds_GCJ | \
25888 archive_expsym_cmds_GCJ | \
25889 module_cmds_GCJ | \
25890 module_expsym_cmds_GCJ | \
25891 old_archive_from_expsyms_cmds_GCJ | \
25892 export_symbols_cmds_GCJ | \
25893 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25894 postinstall_cmds | postuninstall_cmds | \
25895 old_postinstall_cmds | old_postuninstall_cmds | \
25896 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25897 # Double-quote double-evaled strings.
25898 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25901 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25907 *'\$0 --fallback-echo"')
25908 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25914 cat <<__EOF__ >> "$cfgfile"
25915 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25917 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25919 # Shell to use when invoking shell scripts.
25922 # Whether or not to build shared libraries.
25923 build_libtool_libs=$enable_shared
25925 # Whether or not to build static libraries.
25926 build_old_libs=$enable_static
25928 # Whether or not to add -lc for building shared libraries.
25929 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25931 # Whether or not to disallow shared libs when runtime libs are static
25932 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25934 # Whether or not to optimize for fast installation.
25935 fast_install=$enable_fast_install
25938 host_alias=$host_alias
25942 # The build system.
25943 build_alias=$build_alias
25947 # An echo program that does not interpret backslashes.
25952 AR_FLAGS=$lt_AR_FLAGS
25957 # LTCC compiler flags.
25958 LTCFLAGS=$lt_LTCFLAGS
25960 # A language-specific compiler.
25961 CC=$lt_compiler_GCJ
25963 # Is the compiler the GNU C compiler?
25969 # The linker used to build libraries.
25972 # Whether we need hard or soft links.
25975 # A BSD-compatible nm program.
25978 # A symbol stripping program
25981 # Used to examine libraries when file_magic_cmd begins "file"
25982 MAGIC_CMD=$MAGIC_CMD
25984 # Used on cygwin: DLL creation program.
25987 # Used on cygwin: object dumper.
25990 # Used on cygwin: assembler.
25993 # The name of the directory that contains temporary libtool files.
25996 # How to create reloadable object files.
25997 reload_flag=$lt_reload_flag
25998 reload_cmds=$lt_reload_cmds
26000 # How to pass a linker flag through the compiler.
26001 wl=$lt_lt_prog_compiler_wl_GCJ
26003 # Object file suffix (normally "o").
26004 objext="$ac_objext"
26006 # Old archive suffix (normally "a").
26009 # Shared library suffix (normally ".so").
26010 shrext_cmds='$shrext_cmds'
26012 # Executable file suffix (normally "").
26015 # Additional compiler flags for building library objects.
26016 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26019 # What is the maximum length of a command?
26020 max_cmd_len=$lt_cv_sys_max_cmd_len
26022 # Does compiler simultaneously support -c and -o options?
26023 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26025 # Must we lock files when doing compilation?
26026 need_locks=$lt_need_locks
26028 # Do we need the lib prefix for modules?
26029 need_lib_prefix=$need_lib_prefix
26031 # Do we need a version for libraries?
26032 need_version=$need_version
26034 # Whether dlopen is supported.
26035 dlopen_support=$enable_dlopen
26037 # Whether dlopen of programs is supported.
26038 dlopen_self=$enable_dlopen_self
26040 # Whether dlopen of statically linked programs is supported.
26041 dlopen_self_static=$enable_dlopen_self_static
26043 # Compiler flag to prevent dynamic linking.
26044 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26046 # Compiler flag to turn off builtin functions.
26047 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26049 # Compiler flag to allow reflexive dlopens.
26050 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26052 # Compiler flag to generate shared objects directly from archives.
26053 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26055 # Compiler flag to generate thread-safe objects.
26056 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26058 # Library versioning type.
26059 version_type=$version_type
26061 # Format of library name prefix.
26062 libname_spec=$lt_libname_spec
26064 # List of archive names. First name is the real one, the rest are links.
26065 # The last name is the one that the linker finds with -lNAME.
26066 library_names_spec=$lt_library_names_spec
26068 # The coded name of the library, if different from the real name.
26069 soname_spec=$lt_soname_spec
26071 # Commands used to build and install an old-style archive.
26073 old_archive_cmds=$lt_old_archive_cmds_GCJ
26074 old_postinstall_cmds=$lt_old_postinstall_cmds
26075 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26077 # Create an old-style archive from a shared archive.
26078 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26080 # Create a temporary old-style archive to link instead of a shared archive.
26081 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26083 # Commands used to build and install a shared archive.
26084 archive_cmds=$lt_archive_cmds_GCJ
26085 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26086 postinstall_cmds=$lt_postinstall_cmds
26087 postuninstall_cmds=$lt_postuninstall_cmds
26089 # Commands used to build a loadable module (assumed same as above if empty)
26090 module_cmds=$lt_module_cmds_GCJ
26091 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26093 # Commands to strip libraries.
26094 old_striplib=$lt_old_striplib
26095 striplib=$lt_striplib
26097 # Dependencies to place before the objects being linked to create a
26099 predep_objects=$lt_predep_objects_GCJ
26101 # Dependencies to place after the objects being linked to create a
26103 postdep_objects=$lt_postdep_objects_GCJ
26105 # Dependencies to place before the objects being linked to create a
26107 predeps=$lt_predeps_GCJ
26109 # Dependencies to place after the objects being linked to create a
26111 postdeps=$lt_postdeps_GCJ
26113 # The library search path used internally by the compiler when linking
26114 # a shared library.
26115 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26117 # Method to check whether dependent libraries are shared objects.
26118 deplibs_check_method=$lt_deplibs_check_method
26120 # Command to use when deplibs_check_method == file_magic.
26121 file_magic_cmd=$lt_file_magic_cmd
26123 # Flag that allows shared libraries with undefined symbols to be built.
26124 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26126 # Flag that forces no undefined symbols.
26127 no_undefined_flag=$lt_no_undefined_flag_GCJ
26129 # Commands used to finish a libtool library installation in a directory.
26130 finish_cmds=$lt_finish_cmds
26132 # Same as above, but a single script fragment to be evaled but not shown.
26133 finish_eval=$lt_finish_eval
26135 # Take the output of nm and produce a listing of raw symbols and C names.
26136 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26138 # Transform the output of nm in a proper C declaration
26139 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26141 # Transform the output of nm in a C name address pair
26142 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26144 # This is the shared library runtime path variable.
26145 runpath_var=$runpath_var
26147 # This is the shared library path variable.
26148 shlibpath_var=$shlibpath_var
26150 # Is shlibpath searched before the hard-coded library search path?
26151 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26153 # How to hardcode a shared library path into an executable.
26154 hardcode_action=$hardcode_action_GCJ
26156 # Whether we should hardcode library paths into libraries.
26157 hardcode_into_libs=$hardcode_into_libs
26159 # Flag to hardcode \$libdir into a binary during linking.
26160 # This must work even if \$libdir does not exist.
26161 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26163 # If ld is used when linking, flag to hardcode \$libdir into
26164 # a binary during linking. This must work even if \$libdir does
26166 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26168 # Whether we need a single -rpath flag with a separated argument.
26169 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26171 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26172 # resulting binary.
26173 hardcode_direct=$hardcode_direct_GCJ
26175 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26176 # resulting binary.
26177 hardcode_minus_L=$hardcode_minus_L_GCJ
26179 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26180 # the resulting binary.
26181 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26183 # Set to yes if building a shared library automatically hardcodes DIR into the library
26184 # and all subsequent libraries and executables linked against it.
26185 hardcode_automatic=$hardcode_automatic_GCJ
26187 # Variables whose values should be saved in libtool wrapper scripts and
26188 # restored at relink time.
26189 variables_saved_for_relink="$variables_saved_for_relink"
26191 # Whether libtool must link a program against all its dependency libraries.
26192 link_all_deplibs=$link_all_deplibs_GCJ
26194 # Compile-time system search path for libraries
26195 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26197 # Run-time system search path for libraries
26198 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26200 # Fix the shell variable \$srcfile for the compiler.
26201 fix_srcfile_path="$fix_srcfile_path_GCJ"
26203 # Set to yes if exported symbols are required.
26204 always_export_symbols=$always_export_symbols_GCJ
26206 # The commands to list exported symbols.
26207 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26209 # The commands to extract the exported symbol list from a shared archive.
26210 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26212 # Symbols that should not be listed in the preloaded symbols.
26213 exclude_expsyms=$lt_exclude_expsyms_GCJ
26215 # Symbols that must always be exported.
26216 include_expsyms=$lt_include_expsyms_GCJ
26218 # ### END LIBTOOL TAG CONFIG: $tagname
26224 # If there is no Makefile yet, we rely on a make rule to execute
26225 # `config.status --recheck' to rerun these tests and create the
26226 # libtool script then.
26227 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26228 if test -f "$ltmain_in"; then
26229 test -f Makefile
&& make "$ltmain"
26235 ac_cpp
='$CPP $CPPFLAGS'
26236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26249 ac_cpp
='$CPP $CPPFLAGS'
26250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26255 # Source file extension for RC test sources.
26258 # Object file extension for compiled RC test sources.
26262 # Code to be used in simple compile tests
26263 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26265 # Code to be used in simple link tests
26266 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26268 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26270 # If no C compiler was specified, use CC.
26273 # If no C compiler flags were specified, use CFLAGS.
26274 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26276 # Allow CC to be a program name with arguments.
26280 # save warnings/boilerplate of simple test code
26281 ac_outfile
=conftest.
$ac_objext
26282 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26283 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26284 _lt_compiler_boilerplate
=`cat conftest.err`
26287 ac_outfile
=conftest.
$ac_objext
26288 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26289 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26290 _lt_linker_boilerplate
=`cat conftest.err`
26294 # Allow CC to be a program name with arguments.
26299 for cc_temp
in $compiler""; do
26301 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26302 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26307 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26309 lt_cv_prog_compiler_c_o_RC
=yes
26311 # The else clause should only fire when bootstrapping the
26312 # libtool distribution, otherwise you forgot to ship ltmain.sh
26313 # with your package, and you will get complaints that there are
26314 # no rules to generate ltmain.sh.
26315 if test -f "$ltmain"; then
26316 # See if we are running on zsh, and set the options which allow our commands through
26317 # without removal of \ escapes.
26318 if test -n "${ZSH_VERSION+set}" ; then
26319 setopt NO_GLOB_SUBST
26321 # Now quote all the things that may contain metacharacters while being
26322 # careful not to overquote the AC_SUBSTed values. We take copies of the
26323 # variables and quote the copies for generation of the libtool script.
26324 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26326 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26327 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26328 deplibs_check_method reload_flag reload_cmds need_locks \
26329 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26330 lt_cv_sys_global_symbol_to_c_name_address \
26331 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26332 old_postinstall_cmds old_postuninstall_cmds \
26336 lt_prog_compiler_wl_RC \
26337 lt_prog_compiler_pic_RC \
26338 lt_prog_compiler_static_RC \
26339 lt_prog_compiler_no_builtin_flag_RC \
26340 export_dynamic_flag_spec_RC \
26341 thread_safe_flag_spec_RC \
26342 whole_archive_flag_spec_RC \
26343 enable_shared_with_static_runtimes_RC \
26344 old_archive_cmds_RC \
26345 old_archive_from_new_cmds_RC \
26346 predep_objects_RC \
26347 postdep_objects_RC \
26350 compiler_lib_search_path_RC \
26352 archive_expsym_cmds_RC \
26353 postinstall_cmds_RC \
26354 postuninstall_cmds_RC \
26355 old_archive_from_expsyms_cmds_RC \
26356 allow_undefined_flag_RC \
26357 no_undefined_flag_RC \
26358 export_symbols_cmds_RC \
26359 hardcode_libdir_flag_spec_RC \
26360 hardcode_libdir_flag_spec_ld_RC \
26361 hardcode_libdir_separator_RC \
26362 hardcode_automatic_RC \
26364 module_expsym_cmds_RC \
26365 lt_cv_prog_compiler_c_o_RC \
26366 exclude_expsyms_RC \
26367 include_expsyms_RC
; do
26370 old_archive_cmds_RC | \
26371 old_archive_from_new_cmds_RC | \
26372 archive_cmds_RC | \
26373 archive_expsym_cmds_RC | \
26375 module_expsym_cmds_RC | \
26376 old_archive_from_expsyms_cmds_RC | \
26377 export_symbols_cmds_RC | \
26378 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26379 postinstall_cmds | postuninstall_cmds | \
26380 old_postinstall_cmds | old_postuninstall_cmds | \
26381 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26382 # Double-quote double-evaled strings.
26383 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26386 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26392 *'\$0 --fallback-echo"')
26393 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26399 cat <<__EOF__ >> "$cfgfile"
26400 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26402 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26404 # Shell to use when invoking shell scripts.
26407 # Whether or not to build shared libraries.
26408 build_libtool_libs=$enable_shared
26410 # Whether or not to build static libraries.
26411 build_old_libs=$enable_static
26413 # Whether or not to add -lc for building shared libraries.
26414 build_libtool_need_lc=$archive_cmds_need_lc_RC
26416 # Whether or not to disallow shared libs when runtime libs are static
26417 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26419 # Whether or not to optimize for fast installation.
26420 fast_install=$enable_fast_install
26423 host_alias=$host_alias
26427 # The build system.
26428 build_alias=$build_alias
26432 # An echo program that does not interpret backslashes.
26437 AR_FLAGS=$lt_AR_FLAGS
26442 # LTCC compiler flags.
26443 LTCFLAGS=$lt_LTCFLAGS
26445 # A language-specific compiler.
26448 # Is the compiler the GNU C compiler?
26454 # The linker used to build libraries.
26457 # Whether we need hard or soft links.
26460 # A BSD-compatible nm program.
26463 # A symbol stripping program
26466 # Used to examine libraries when file_magic_cmd begins "file"
26467 MAGIC_CMD=$MAGIC_CMD
26469 # Used on cygwin: DLL creation program.
26472 # Used on cygwin: object dumper.
26475 # Used on cygwin: assembler.
26478 # The name of the directory that contains temporary libtool files.
26481 # How to create reloadable object files.
26482 reload_flag=$lt_reload_flag
26483 reload_cmds=$lt_reload_cmds
26485 # How to pass a linker flag through the compiler.
26486 wl=$lt_lt_prog_compiler_wl_RC
26488 # Object file suffix (normally "o").
26489 objext="$ac_objext"
26491 # Old archive suffix (normally "a").
26494 # Shared library suffix (normally ".so").
26495 shrext_cmds='$shrext_cmds'
26497 # Executable file suffix (normally "").
26500 # Additional compiler flags for building library objects.
26501 pic_flag=$lt_lt_prog_compiler_pic_RC
26504 # What is the maximum length of a command?
26505 max_cmd_len=$lt_cv_sys_max_cmd_len
26507 # Does compiler simultaneously support -c and -o options?
26508 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26510 # Must we lock files when doing compilation?
26511 need_locks=$lt_need_locks
26513 # Do we need the lib prefix for modules?
26514 need_lib_prefix=$need_lib_prefix
26516 # Do we need a version for libraries?
26517 need_version=$need_version
26519 # Whether dlopen is supported.
26520 dlopen_support=$enable_dlopen
26522 # Whether dlopen of programs is supported.
26523 dlopen_self=$enable_dlopen_self
26525 # Whether dlopen of statically linked programs is supported.
26526 dlopen_self_static=$enable_dlopen_self_static
26528 # Compiler flag to prevent dynamic linking.
26529 link_static_flag=$lt_lt_prog_compiler_static_RC
26531 # Compiler flag to turn off builtin functions.
26532 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26534 # Compiler flag to allow reflexive dlopens.
26535 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26537 # Compiler flag to generate shared objects directly from archives.
26538 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26540 # Compiler flag to generate thread-safe objects.
26541 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26543 # Library versioning type.
26544 version_type=$version_type
26546 # Format of library name prefix.
26547 libname_spec=$lt_libname_spec
26549 # List of archive names. First name is the real one, the rest are links.
26550 # The last name is the one that the linker finds with -lNAME.
26551 library_names_spec=$lt_library_names_spec
26553 # The coded name of the library, if different from the real name.
26554 soname_spec=$lt_soname_spec
26556 # Commands used to build and install an old-style archive.
26558 old_archive_cmds=$lt_old_archive_cmds_RC
26559 old_postinstall_cmds=$lt_old_postinstall_cmds
26560 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26562 # Create an old-style archive from a shared archive.
26563 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26565 # Create a temporary old-style archive to link instead of a shared archive.
26566 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26568 # Commands used to build and install a shared archive.
26569 archive_cmds=$lt_archive_cmds_RC
26570 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26571 postinstall_cmds=$lt_postinstall_cmds
26572 postuninstall_cmds=$lt_postuninstall_cmds
26574 # Commands used to build a loadable module (assumed same as above if empty)
26575 module_cmds=$lt_module_cmds_RC
26576 module_expsym_cmds=$lt_module_expsym_cmds_RC
26578 # Commands to strip libraries.
26579 old_striplib=$lt_old_striplib
26580 striplib=$lt_striplib
26582 # Dependencies to place before the objects being linked to create a
26584 predep_objects=$lt_predep_objects_RC
26586 # Dependencies to place after the objects being linked to create a
26588 postdep_objects=$lt_postdep_objects_RC
26590 # Dependencies to place before the objects being linked to create a
26592 predeps=$lt_predeps_RC
26594 # Dependencies to place after the objects being linked to create a
26596 postdeps=$lt_postdeps_RC
26598 # The library search path used internally by the compiler when linking
26599 # a shared library.
26600 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26602 # Method to check whether dependent libraries are shared objects.
26603 deplibs_check_method=$lt_deplibs_check_method
26605 # Command to use when deplibs_check_method == file_magic.
26606 file_magic_cmd=$lt_file_magic_cmd
26608 # Flag that allows shared libraries with undefined symbols to be built.
26609 allow_undefined_flag=$lt_allow_undefined_flag_RC
26611 # Flag that forces no undefined symbols.
26612 no_undefined_flag=$lt_no_undefined_flag_RC
26614 # Commands used to finish a libtool library installation in a directory.
26615 finish_cmds=$lt_finish_cmds
26617 # Same as above, but a single script fragment to be evaled but not shown.
26618 finish_eval=$lt_finish_eval
26620 # Take the output of nm and produce a listing of raw symbols and C names.
26621 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26623 # Transform the output of nm in a proper C declaration
26624 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26626 # Transform the output of nm in a C name address pair
26627 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26629 # This is the shared library runtime path variable.
26630 runpath_var=$runpath_var
26632 # This is the shared library path variable.
26633 shlibpath_var=$shlibpath_var
26635 # Is shlibpath searched before the hard-coded library search path?
26636 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26638 # How to hardcode a shared library path into an executable.
26639 hardcode_action=$hardcode_action_RC
26641 # Whether we should hardcode library paths into libraries.
26642 hardcode_into_libs=$hardcode_into_libs
26644 # Flag to hardcode \$libdir into a binary during linking.
26645 # This must work even if \$libdir does not exist.
26646 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26648 # If ld is used when linking, flag to hardcode \$libdir into
26649 # a binary during linking. This must work even if \$libdir does
26651 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26653 # Whether we need a single -rpath flag with a separated argument.
26654 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26656 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26657 # resulting binary.
26658 hardcode_direct=$hardcode_direct_RC
26660 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26661 # resulting binary.
26662 hardcode_minus_L=$hardcode_minus_L_RC
26664 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26665 # the resulting binary.
26666 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26668 # Set to yes if building a shared library automatically hardcodes DIR into the library
26669 # and all subsequent libraries and executables linked against it.
26670 hardcode_automatic=$hardcode_automatic_RC
26672 # Variables whose values should be saved in libtool wrapper scripts and
26673 # restored at relink time.
26674 variables_saved_for_relink="$variables_saved_for_relink"
26676 # Whether libtool must link a program against all its dependency libraries.
26677 link_all_deplibs=$link_all_deplibs_RC
26679 # Compile-time system search path for libraries
26680 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26682 # Run-time system search path for libraries
26683 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26685 # Fix the shell variable \$srcfile for the compiler.
26686 fix_srcfile_path="$fix_srcfile_path_RC"
26688 # Set to yes if exported symbols are required.
26689 always_export_symbols=$always_export_symbols_RC
26691 # The commands to list exported symbols.
26692 export_symbols_cmds=$lt_export_symbols_cmds_RC
26694 # The commands to extract the exported symbol list from a shared archive.
26695 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26697 # Symbols that should not be listed in the preloaded symbols.
26698 exclude_expsyms=$lt_exclude_expsyms_RC
26700 # Symbols that must always be exported.
26701 include_expsyms=$lt_include_expsyms_RC
26703 # ### END LIBTOOL TAG CONFIG: $tagname
26709 # If there is no Makefile yet, we rely on a make rule to execute
26710 # `config.status --recheck' to rerun these tests and create the
26711 # libtool script then.
26712 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26713 if test -f "$ltmain_in"; then
26714 test -f Makefile
&& make "$ltmain"
26720 ac_cpp
='$CPP $CPPFLAGS'
26721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26730 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26731 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26732 { (exit 1); exit 1; }; }
26736 # Append the new tag name to the list of available tags.
26737 if test -n "$tagname" ; then
26738 available_tags
="$available_tags $tagname"
26744 # Now substitute the updated list of available tags.
26745 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26746 mv "${ofile}T" "$ofile"
26750 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26751 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26752 { (exit 1); exit 1; }; }
26758 # This can be used to rebuild libtool when needed
26759 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26761 # Always use our own libtool.
26762 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26764 # Prevent multiple expansion
26786 if test "$lt_cv_dlopen_self" = "yes" ; then
26788 cat >>confdefs.h
<<\_ACEOF
26789 #define CAN_DLOPEN_SELF 1
26794 if test "$WITH_LLVMGCCDIR" = "default" ; then
26795 LLVMGCC
="llvm-gcc${EXEEXT}"
26796 LLVMGXX
="llvm-g++${EXEEXT}"
26797 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26798 set dummy
$LLVMGCC; ac_word
=$2
26799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26801 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26802 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26810 for as_dir
in $PATH
26813 test -z "$as_dir" && as_dir
=.
26814 for ac_exec_ext
in '' $ac_executable_extensions; do
26815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26816 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26827 LLVMGCC
=$ac_cv_path_LLVMGCC
26828 if test -n "$LLVMGCC"; then
26829 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26830 echo "${ECHO_T}$LLVMGCC" >&6; }
26832 { echo "$as_me:$LINENO: result: no" >&5
26833 echo "${ECHO_T}no" >&6; }
26837 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26838 set dummy
$LLVMGXX; ac_word
=$2
26839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26841 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26842 echo $ECHO_N "(cached) $ECHO_C" >&6
26846 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26850 for as_dir
in $PATH
26853 test -z "$as_dir" && as_dir
=.
26854 for ac_exec_ext
in '' $ac_executable_extensions; do
26855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26856 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26867 LLVMGXX
=$ac_cv_path_LLVMGXX
26868 if test -n "$LLVMGXX"; then
26869 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26870 echo "${ECHO_T}$LLVMGXX" >&6; }
26872 { echo "$as_me:$LINENO: result: no" >&5
26873 echo "${ECHO_T}no" >&6; }
26878 if test -z "$LLVMGCC"; then
26879 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26881 if test -z "$LLVMGXX"; then
26882 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26890 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26891 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26904 if test "$GCC" != "yes" && test "$ICC" != "yes"
26906 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26907 echo "$as_me: error: gcc|icc required but not found" >&2;}
26908 { (exit 1); exit 1; }; }
26911 if test "$GXX" != "yes" && test "$IXX" != "yes"
26913 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26914 echo "$as_me: error: g++|icc required but not found" >&2;}
26915 { (exit 1); exit 1; }; }
26918 if test "$GCC" = "yes"
26920 cat >conftest.
$ac_ext <<_ACEOF
26921 #if !defined(__GNUC__) || __GNUC__ < 3
26922 #error Unsupported GCC version
26926 rm -f conftest.
$ac_objext
26927 if { (ac_try
="$ac_compile"
26928 case "(($ac_try" in
26929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_compile") 2>conftest.er1
26935 grep -v '^ *+' conftest.er1 >conftest.err
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } &&
26940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26941 { (case "(($ac_try" in
26942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26943 *) ac_try_echo
=$ac_try;;
26945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26946 (eval "$ac_try") 2>&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); }; } &&
26950 { ac_try
='test -s conftest.$ac_objext'
26951 { (case "(($ac_try" in
26952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26953 *) ac_try_echo=$ac_try;;
26955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26956 (eval "$ac_try") 2>&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); }; }; then
26962 echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.$ac_ext >&5
26965 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
26966 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
26967 { (exit 1); exit 1; }; }
26970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26973 if test -z "$llvm_cv_gnu_make_command"
26975 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
26976 echo "$as_me: error: GNU Make required but not found" >&2;}
26977 { (exit 1); exit 1; }; }
26980 { echo "$as_me:$LINENO: result: ok" >&5
26981 echo "${ECHO_T}ok" >&6; }
26985 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
26986 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
26987 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
26988 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 ac_check_lib_save_LIBS=$LIBS
26992 cat >conftest.$ac_ext <<_ACEOF
26995 cat confdefs.h >>conftest.$ac_ext
26996 cat >>conftest.$ac_ext <<_ACEOF
26997 /* end confdefs.h. */
26999 /* Override any GCC internal prototype to avoid an error.
27000 Use char because int might match the return type of a GCC
27001 builtin and then its argument prototype would still apply. */
27009 return elf_begin ();
27014 rm -f conftest.$ac_objext conftest$ac_exeext
27015 if { (ac_try="$ac_link"
27016 case "(($ac_try" in
27017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27018 *) ac_try_echo
=$ac_try;;
27020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27021 (eval "$ac_link") 2>conftest.er1
27023 grep -v '^ *+' conftest.er1
>conftest.err
27025 cat conftest.err
>&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); } &&
27028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27029 { (case "(($ac_try" in
27030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27031 *) ac_try_echo=$ac_try;;
27033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27034 (eval "$ac_try") 2>&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); }; } &&
27038 { ac_try='test -s conftest$ac_exeext'
27039 { (case "(($ac_try" in
27040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27041 *) ac_try_echo
=$ac_try;;
27043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27044 (eval "$ac_try") 2>&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 ac_cv_lib_elf_elf_begin
=yes
27050 echo "$as_me: failed program was:" >&5
27051 sed 's/^/| /' conftest.
$ac_ext >&5
27053 ac_cv_lib_elf_elf_begin
=no
27056 rm -f core conftest.err conftest.
$ac_objext \
27057 conftest
$ac_exeext conftest.
$ac_ext
27058 LIBS
=$ac_check_lib_save_LIBS
27060 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
27061 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
27062 if test $ac_cv_lib_elf_elf_begin = yes; then
27063 cat >>confdefs.h
<<_ACEOF
27064 #define HAVE_LIBELF 1
27072 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27073 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27074 if test "${ac_cv_lib_m_sin+set}" = set; then
27075 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 ac_check_lib_save_LIBS
=$LIBS
27079 cat >conftest.
$ac_ext <<_ACEOF
27082 cat confdefs.h
>>conftest.
$ac_ext
27083 cat >>conftest.
$ac_ext <<_ACEOF
27084 /* end confdefs.h. */
27086 /* Override any GCC internal prototype to avoid an error.
27087 Use char because int might match the return type of a GCC
27088 builtin and then its argument prototype would still apply. */
27101 rm -f conftest.
$ac_objext conftest
$ac_exeext
27102 if { (ac_try
="$ac_link"
27103 case "(($ac_try" in
27104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27105 *) ac_try_echo=$ac_try;;
27107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27108 (eval "$ac_link") 2>conftest.er1
27110 grep -v '^ *+' conftest.er1 >conftest.err
27112 cat conftest.err >&5
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); } &&
27115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27116 { (case "(($ac_try" in
27117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27118 *) ac_try_echo
=$ac_try;;
27120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27121 (eval "$ac_try") 2>&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); }; } &&
27125 { ac_try
='test -s conftest$ac_exeext'
27126 { (case "(($ac_try" in
27127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27128 *) ac_try_echo=$ac_try;;
27130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27131 (eval "$ac_try") 2>&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); }; }; then
27135 ac_cv_lib_m_sin=yes
27137 echo "$as_me: failed program was:" >&5
27138 sed 's/^/| /' conftest.$ac_ext >&5
27143 rm -f core conftest.err conftest.$ac_objext \
27144 conftest$ac_exeext conftest.$ac_ext
27145 LIBS=$ac_check_lib_save_LIBS
27147 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27148 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27149 if test $ac_cv_lib_m_sin = yes; then
27150 cat >>confdefs.h <<_ACEOF
27151 #define HAVE_LIBM 1
27158 if test "$llvm_cv_os_type" = "MingW" ; then
27160 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
27161 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
27162 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
27163 echo $ECHO_N "(cached) $ECHO_C" >&6
27165 ac_check_lib_save_LIBS=$LIBS
27166 LIBS="-limagehlp $LIBS"
27167 cat >conftest.$ac_ext <<_ACEOF
27170 cat confdefs.h >>conftest.$ac_ext
27171 cat >>conftest.$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27183 rm -f conftest.$ac_objext conftest$ac_exeext
27184 if { (ac_try="$ac_link"
27185 case "(($ac_try" in
27186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27187 *) ac_try_echo
=$ac_try;;
27189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27190 (eval "$ac_link") 2>conftest.er1
27192 grep -v '^ *+' conftest.er1
>conftest.err
27194 cat conftest.err
>&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } &&
27197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27198 { (case "(($ac_try" in
27199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27200 *) ac_try_echo=$ac_try;;
27202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27203 (eval "$ac_try") 2>&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); }; } &&
27207 { ac_try='test -s conftest$ac_exeext'
27208 { (case "(($ac_try" in
27209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27210 *) ac_try_echo
=$ac_try;;
27212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27213 (eval "$ac_try") 2>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 ac_cv_lib_imagehlp_main
=yes
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.
$ac_ext >&5
27222 ac_cv_lib_imagehlp_main
=no
27225 rm -f core conftest.err conftest.
$ac_objext \
27226 conftest
$ac_exeext conftest.
$ac_ext
27227 LIBS
=$ac_check_lib_save_LIBS
27229 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27230 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27231 if test $ac_cv_lib_imagehlp_main = yes; then
27232 cat >>confdefs.h
<<_ACEOF
27233 #define HAVE_LIBIMAGEHLP 1
27236 LIBS
="-limagehlp $LIBS"
27241 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27242 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27243 if test "${ac_cv_lib_psapi_main+set}" = set; then
27244 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 ac_check_lib_save_LIBS
=$LIBS
27247 LIBS
="-lpsapi $LIBS"
27248 cat >conftest.
$ac_ext <<_ACEOF
27251 cat confdefs.h
>>conftest.
$ac_ext
27252 cat >>conftest.
$ac_ext <<_ACEOF
27253 /* end confdefs.h. */
27264 rm -f conftest.
$ac_objext conftest
$ac_exeext
27265 if { (ac_try
="$ac_link"
27266 case "(($ac_try" in
27267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27268 *) ac_try_echo=$ac_try;;
27270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27271 (eval "$ac_link") 2>conftest.er1
27273 grep -v '^ *+' conftest.er1 >conftest.err
27275 cat conftest.err >&5
27276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 (exit $ac_status); } &&
27278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27279 { (case "(($ac_try" in
27280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27281 *) ac_try_echo
=$ac_try;;
27283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27284 (eval "$ac_try") 2>&5
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; } &&
27288 { ac_try
='test -s conftest$ac_exeext'
27289 { (case "(($ac_try" in
27290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27291 *) ac_try_echo=$ac_try;;
27293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27294 (eval "$ac_try") 2>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; }; then
27298 ac_cv_lib_psapi_main=yes
27300 echo "$as_me: failed program was:" >&5
27301 sed 's/^/| /' conftest.$ac_ext >&5
27303 ac_cv_lib_psapi_main=no
27306 rm -f core conftest.err conftest.$ac_objext \
27307 conftest$ac_exeext conftest.$ac_ext
27308 LIBS=$ac_check_lib_save_LIBS
27310 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27311 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27312 if test $ac_cv_lib_psapi_main = yes; then
27313 cat >>confdefs.h <<_ACEOF
27314 #define HAVE_LIBPSAPI 1
27317 LIBS="-lpsapi $LIBS"
27323 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27324 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27325 if test "${ac_cv_search_dlopen+set}" = set; then
27326 echo $ECHO_N "(cached) $ECHO_C" >&6
27328 ac_func_search_save_LIBS=$LIBS
27329 cat >conftest.$ac_ext <<_ACEOF
27332 cat confdefs.h >>conftest.$ac_ext
27333 cat >>conftest.$ac_ext <<_ACEOF
27334 /* end confdefs.h. */
27336 /* Override any GCC internal prototype to avoid an error.
27337 Use char because int might match the return type of a GCC
27338 builtin and then its argument prototype would still apply. */
27351 for ac_lib in '' dl; do
27352 if test -z "$ac_lib"; then
27353 ac_res="none required"
27356 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27358 rm -f conftest.$ac_objext conftest$ac_exeext
27359 if { (ac_try="$ac_link"
27360 case "(($ac_try" in
27361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27362 *) ac_try_echo
=$ac_try;;
27364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27365 (eval "$ac_link") 2>conftest.er1
27367 grep -v '^ *+' conftest.er1
>conftest.err
27369 cat conftest.err
>&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } &&
27372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27373 { (case "(($ac_try" in
27374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27375 *) ac_try_echo=$ac_try;;
27377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27378 (eval "$ac_try") 2>&5
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); }; } &&
27382 { ac_try='test -s conftest$ac_exeext'
27383 { (case "(($ac_try" in
27384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27385 *) ac_try_echo
=$ac_try;;
27387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27388 (eval "$ac_try") 2>&5
27390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27391 (exit $ac_status); }; }; then
27392 ac_cv_search_dlopen
=$ac_res
27394 echo "$as_me: failed program was:" >&5
27395 sed 's/^/| /' conftest.
$ac_ext >&5
27400 rm -f core conftest.err conftest.
$ac_objext \
27402 if test "${ac_cv_search_dlopen+set}" = set; then
27406 if test "${ac_cv_search_dlopen+set}" = set; then
27409 ac_cv_search_dlopen
=no
27411 rm conftest.
$ac_ext
27412 LIBS
=$ac_func_search_save_LIBS
27414 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27415 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27416 ac_res
=$ac_cv_search_dlopen
27417 if test "$ac_res" != no
; then
27418 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27420 cat >>confdefs.h
<<\_ACEOF
27421 #define HAVE_DLOPEN 1
27425 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27426 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27430 { echo "$as_me:$LINENO: checking for ffi_call in -lffi" >&5
27431 echo $ECHO_N "checking for ffi_call in -lffi... $ECHO_C" >&6; }
27432 if test "${ac_cv_lib_ffi_ffi_call+set}" = set; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 ac_check_lib_save_LIBS
=$LIBS
27437 cat >conftest.
$ac_ext <<_ACEOF
27440 cat confdefs.h
>>conftest.
$ac_ext
27441 cat >>conftest.
$ac_ext <<_ACEOF
27442 /* end confdefs.h. */
27444 /* Override any GCC internal prototype to avoid an error.
27445 Use char because int might match the return type of a GCC
27446 builtin and then its argument prototype would still apply. */
27454 return ffi_call ();
27459 rm -f conftest.
$ac_objext conftest
$ac_exeext
27460 if { (ac_try
="$ac_link"
27461 case "(($ac_try" in
27462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27463 *) ac_try_echo=$ac_try;;
27465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27466 (eval "$ac_link") 2>conftest.er1
27468 grep -v '^ *+' conftest.er1 >conftest.err
27470 cat conftest.err >&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } &&
27473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27474 { (case "(($ac_try" in
27475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27476 *) ac_try_echo
=$ac_try;;
27478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27479 (eval "$ac_try") 2>&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); }; } &&
27483 { ac_try
='test -s conftest$ac_exeext'
27484 { (case "(($ac_try" in
27485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27486 *) ac_try_echo=$ac_try;;
27488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27489 (eval "$ac_try") 2>&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); }; }; then
27493 ac_cv_lib_ffi_ffi_call=yes
27495 echo "$as_me: failed program was:" >&5
27496 sed 's/^/| /' conftest.$ac_ext >&5
27498 ac_cv_lib_ffi_ffi_call=no
27501 rm -f core conftest.err conftest.$ac_objext \
27502 conftest$ac_exeext conftest.$ac_ext
27503 LIBS=$ac_check_lib_save_LIBS
27505 { echo "$as_me:$LINENO: result: $ac_cv_lib_ffi_ffi_call" >&5
27506 echo "${ECHO_T}$ac_cv_lib_ffi_ffi_call" >&6; }
27507 if test $ac_cv_lib_ffi_ffi_call = yes; then
27510 { echo "$as_me:$LINENO: WARNING: libffi not found - disabling external calls from interpreter" >&5
27511 echo "$as_me: WARNING: libffi not found - disabling external calls from interpreter" >&2;}
27515 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27516 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27517 if test "${ac_cv_search_mallinfo+set}" = set; then
27518 echo $ECHO_N "(cached) $ECHO_C" >&6
27520 ac_func_search_save_LIBS=$LIBS
27521 cat >conftest.$ac_ext <<_ACEOF
27524 cat confdefs.h >>conftest.$ac_ext
27525 cat >>conftest.$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27528 /* Override any GCC internal prototype to avoid an error.
27529 Use char because int might match the return type of a GCC
27530 builtin and then its argument prototype would still apply. */
27538 return mallinfo ();
27543 for ac_lib in '' malloc; do
27544 if test -z "$ac_lib"; then
27545 ac_res="none required"
27548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27550 rm -f conftest.$ac_objext conftest$ac_exeext
27551 if { (ac_try="$ac_link"
27552 case "(($ac_try" in
27553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27554 *) ac_try_echo
=$ac_try;;
27556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27557 (eval "$ac_link") 2>conftest.er1
27559 grep -v '^ *+' conftest.er1
>conftest.err
27561 cat conftest.err
>&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); } &&
27564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27565 { (case "(($ac_try" in
27566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27567 *) ac_try_echo=$ac_try;;
27569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27570 (eval "$ac_try") 2>&5
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); }; } &&
27574 { ac_try='test -s conftest$ac_exeext'
27575 { (case "(($ac_try" in
27576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27577 *) ac_try_echo
=$ac_try;;
27579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27580 (eval "$ac_try") 2>&5
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); }; }; then
27584 ac_cv_search_mallinfo
=$ac_res
27586 echo "$as_me: failed program was:" >&5
27587 sed 's/^/| /' conftest.
$ac_ext >&5
27592 rm -f core conftest.err conftest.
$ac_objext \
27594 if test "${ac_cv_search_mallinfo+set}" = set; then
27598 if test "${ac_cv_search_mallinfo+set}" = set; then
27601 ac_cv_search_mallinfo
=no
27603 rm conftest.
$ac_ext
27604 LIBS
=$ac_func_search_save_LIBS
27606 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27607 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27608 ac_res
=$ac_cv_search_mallinfo
27609 if test "$ac_res" != no
; then
27610 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27612 cat >>confdefs.h
<<\_ACEOF
27613 #define HAVE_MALLINFO 1
27619 if test "$ENABLE_THREADS" -eq 1 ; then
27621 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27622 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27623 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27624 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 ac_check_lib_save_LIBS
=$LIBS
27627 LIBS
="-lpthread $LIBS"
27628 cat >conftest.
$ac_ext <<_ACEOF
27631 cat confdefs.h
>>conftest.
$ac_ext
27632 cat >>conftest.
$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27635 /* Override any GCC internal prototype to avoid an error.
27636 Use char because int might match the return type of a GCC
27637 builtin and then its argument prototype would still apply. */
27641 char pthread_mutex_init ();
27645 return pthread_mutex_init ();
27650 rm -f conftest.
$ac_objext conftest
$ac_exeext
27651 if { (ac_try
="$ac_link"
27652 case "(($ac_try" in
27653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27654 *) ac_try_echo=$ac_try;;
27656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27657 (eval "$ac_link") 2>conftest.er1
27659 grep -v '^ *+' conftest.er1 >conftest.err
27661 cat conftest.err >&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } &&
27664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27665 { (case "(($ac_try" in
27666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27667 *) ac_try_echo
=$ac_try;;
27669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27670 (eval "$ac_try") 2>&5
27672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27673 (exit $ac_status); }; } &&
27674 { ac_try
='test -s conftest$ac_exeext'
27675 { (case "(($ac_try" in
27676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27677 *) ac_try_echo=$ac_try;;
27679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27680 (eval "$ac_try") 2>&5
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); }; }; then
27684 ac_cv_lib_pthread_pthread_mutex_init=yes
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27689 ac_cv_lib_pthread_pthread_mutex_init=no
27692 rm -f core conftest.err conftest.$ac_objext \
27693 conftest$ac_exeext conftest.$ac_ext
27694 LIBS=$ac_check_lib_save_LIBS
27696 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27697 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27698 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27699 cat >>confdefs.h <<_ACEOF
27700 #define HAVE_LIBPTHREAD 1
27703 LIBS="-lpthread $LIBS"
27707 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27708 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27709 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27710 echo $ECHO_N "(cached) $ECHO_C" >&6
27712 ac_func_search_save_LIBS=$LIBS
27713 cat >conftest.$ac_ext <<_ACEOF
27716 cat confdefs.h >>conftest.$ac_ext
27717 cat >>conftest.$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27720 /* Override any GCC internal prototype to avoid an error.
27721 Use char because int might match the return type of a GCC
27722 builtin and then its argument prototype would still apply. */
27726 char pthread_mutex_lock ();
27730 return pthread_mutex_lock ();
27735 for ac_lib in '' pthread; do
27736 if test -z "$ac_lib"; then
27737 ac_res="none required"
27740 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27742 rm -f conftest.$ac_objext conftest$ac_exeext
27743 if { (ac_try="$ac_link"
27744 case "(($ac_try" in
27745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27746 *) ac_try_echo
=$ac_try;;
27748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27749 (eval "$ac_link") 2>conftest.er1
27751 grep -v '^ *+' conftest.er1
>conftest.err
27753 cat conftest.err
>&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); } &&
27756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27757 { (case "(($ac_try" in
27758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27759 *) ac_try_echo=$ac_try;;
27761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27762 (eval "$ac_try") 2>&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; } &&
27766 { ac_try='test -s conftest$ac_exeext'
27767 { (case "(($ac_try" in
27768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27769 *) ac_try_echo
=$ac_try;;
27771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_try") 2>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); }; }; then
27776 ac_cv_search_pthread_mutex_lock
=$ac_res
27778 echo "$as_me: failed program was:" >&5
27779 sed 's/^/| /' conftest.
$ac_ext >&5
27784 rm -f core conftest.err conftest.
$ac_objext \
27786 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27790 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27793 ac_cv_search_pthread_mutex_lock
=no
27795 rm conftest.
$ac_ext
27796 LIBS
=$ac_func_search_save_LIBS
27798 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27799 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27800 ac_res
=$ac_cv_search_pthread_mutex_lock
27801 if test "$ac_res" != no
; then
27802 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27804 cat >>confdefs.h
<<\_ACEOF
27805 #define HAVE_PTHREAD_MUTEX_LOCK 1
27813 # Check whether --with-udis86 was given.
27814 if test "${with_udis86+set}" = set; then
27815 withval
=$with_udis86;
27820 *) LDFLAGS
="$LDFLAGS -L${withval}" ;;
27823 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27824 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27825 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27826 echo $ECHO_N "(cached) $ECHO_C" >&6
27828 ac_check_lib_save_LIBS
=$LIBS
27829 LIBS
="-ludis86 $LIBS"
27830 cat >conftest.
$ac_ext <<_ACEOF
27833 cat confdefs.h
>>conftest.
$ac_ext
27834 cat >>conftest.
$ac_ext <<_ACEOF
27835 /* end confdefs.h. */
27837 /* Override any GCC internal prototype to avoid an error.
27838 Use char because int might match the return type of a GCC
27839 builtin and then its argument prototype would still apply. */
27852 rm -f conftest.
$ac_objext conftest
$ac_exeext
27853 if { (ac_try
="$ac_link"
27854 case "(($ac_try" in
27855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27856 *) ac_try_echo=$ac_try;;
27858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27859 (eval "$ac_link") 2>conftest.er1
27861 grep -v '^ *+' conftest.er1 >conftest.err
27863 cat conftest.err >&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27867 { (case "(($ac_try" in
27868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27869 *) ac_try_echo
=$ac_try;;
27871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27872 (eval "$ac_try") 2>&5
27874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875 (exit $ac_status); }; } &&
27876 { ac_try
='test -s conftest$ac_exeext'
27877 { (case "(($ac_try" in
27878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27879 *) ac_try_echo=$ac_try;;
27881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27882 (eval "$ac_try") 2>&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); }; }; then
27886 ac_cv_lib_udis86_ud_init=yes
27888 echo "$as_me: failed program was:" >&5
27889 sed 's/^/| /' conftest.$ac_ext >&5
27891 ac_cv_lib_udis86_ud_init=no
27894 rm -f core conftest.err conftest.$ac_objext \
27895 conftest$ac_exeext conftest.$ac_ext
27896 LIBS=$ac_check_lib_save_LIBS
27898 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27899 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27900 if test $ac_cv_lib_udis86_ud_init = yes; then
27901 cat >>confdefs.h <<_ACEOF
27902 #define HAVE_LIBUDIS86 1
27905 LIBS="-ludis86 $LIBS"
27909 echo "Error! You need to have libudis86 around."
27921 cat >>confdefs.h <<_ACEOF
27922 #define USE_UDIS86 $USE_UDIS86
27932 ac_header_dirent=no
27933 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
27934 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
27935 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
27936 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
27937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27938 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 cat >conftest.$ac_ext <<_ACEOF
27943 cat confdefs.h >>conftest.$ac_ext
27944 cat >>conftest.$ac_ext <<_ACEOF
27945 /* end confdefs.h. */
27946 #include <sys/types.h>
27958 rm -f conftest.$ac_objext
27959 if { (ac_try="$ac_compile"
27960 case "(($ac_try" in
27961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27962 *) ac_try_echo
=$ac_try;;
27964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_compile") 2>conftest.er1
27967 grep -v '^ *+' conftest.er1
>conftest.err
27969 cat conftest.err
>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } &&
27972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27973 { (case "(($ac_try" in
27974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27975 *) ac_try_echo=$ac_try;;
27977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_try") 2>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; } &&
27982 { ac_try='test -s conftest.$ac_objext'
27983 { (case "(($ac_try" in
27984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27985 *) ac_try_echo
=$ac_try;;
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_try") 2>&5
27990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991 (exit $ac_status); }; }; then
27992 eval "$as_ac_Header=yes"
27994 echo "$as_me: failed program was:" >&5
27995 sed 's/^/| /' conftest.
$ac_ext >&5
27997 eval "$as_ac_Header=no"
28000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28002 ac_res
=`eval echo '${'$as_ac_Header'}'`
28003 { echo "$as_me:$LINENO: result: $ac_res" >&5
28004 echo "${ECHO_T}$ac_res" >&6; }
28005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28006 cat >>confdefs.h
<<_ACEOF
28007 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
28010 ac_header_dirent
=$ac_hdr; break
28014 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
28015 if test $ac_header_dirent = dirent.h
; then
28016 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28017 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28018 if test "${ac_cv_search_opendir+set}" = set; then
28019 echo $ECHO_N "(cached) $ECHO_C" >&6
28021 ac_func_search_save_LIBS
=$LIBS
28022 cat >conftest.
$ac_ext <<_ACEOF
28025 cat confdefs.h
>>conftest.
$ac_ext
28026 cat >>conftest.
$ac_ext <<_ACEOF
28027 /* end confdefs.h. */
28029 /* Override any GCC internal prototype to avoid an error.
28030 Use char because int might match the return type of a GCC
28031 builtin and then its argument prototype would still apply. */
28044 for ac_lib
in '' dir
; do
28045 if test -z "$ac_lib"; then
28046 ac_res
="none required"
28049 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28051 rm -f conftest.
$ac_objext conftest
$ac_exeext
28052 if { (ac_try
="$ac_link"
28053 case "(($ac_try" in
28054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28055 *) ac_try_echo=$ac_try;;
28057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28058 (eval "$ac_link") 2>conftest.er1
28060 grep -v '^ *+' conftest.er1 >conftest.err
28062 cat conftest.err >&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); } &&
28065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28066 { (case "(($ac_try" in
28067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28068 *) ac_try_echo
=$ac_try;;
28070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28071 (eval "$ac_try") 2>&5
28073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074 (exit $ac_status); }; } &&
28075 { ac_try
='test -s conftest$ac_exeext'
28076 { (case "(($ac_try" in
28077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28078 *) ac_try_echo=$ac_try;;
28080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28081 (eval "$ac_try") 2>&5
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); }; }; then
28085 ac_cv_search_opendir=$ac_res
28087 echo "$as_me: failed program was:" >&5
28088 sed 's/^/| /' conftest.$ac_ext >&5
28093 rm -f core conftest.err conftest.$ac_objext \
28095 if test "${ac_cv_search_opendir+set}" = set; then
28099 if test "${ac_cv_search_opendir+set}" = set; then
28102 ac_cv_search_opendir=no
28104 rm conftest.$ac_ext
28105 LIBS=$ac_func_search_save_LIBS
28107 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28108 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28109 ac_res=$ac_cv_search_opendir
28110 if test "$ac_res" != no; then
28111 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28116 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28117 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28118 if test "${ac_cv_search_opendir+set}" = set; then
28119 echo $ECHO_N "(cached) $ECHO_C" >&6
28121 ac_func_search_save_LIBS=$LIBS
28122 cat >conftest.$ac_ext <<_ACEOF
28125 cat confdefs.h >>conftest.$ac_ext
28126 cat >>conftest.$ac_ext <<_ACEOF
28127 /* end confdefs.h. */
28129 /* Override any GCC internal prototype to avoid an error.
28130 Use char because int might match the return type of a GCC
28131 builtin and then its argument prototype would still apply. */
28144 for ac_lib in '' x; do
28145 if test -z "$ac_lib"; then
28146 ac_res="none required"
28149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28151 rm -f conftest.$ac_objext conftest$ac_exeext
28152 if { (ac_try="$ac_link"
28153 case "(($ac_try" in
28154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28155 *) ac_try_echo
=$ac_try;;
28157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28158 (eval "$ac_link") 2>conftest.er1
28160 grep -v '^ *+' conftest.er1
>conftest.err
28162 cat conftest.err
>&5
28163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164 (exit $ac_status); } &&
28165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28166 { (case "(($ac_try" in
28167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28168 *) ac_try_echo=$ac_try;;
28170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28171 (eval "$ac_try") 2>&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; } &&
28175 { ac_try='test -s conftest$ac_exeext'
28176 { (case "(($ac_try" in
28177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28178 *) ac_try_echo
=$ac_try;;
28180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28181 (eval "$ac_try") 2>&5
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); }; }; then
28185 ac_cv_search_opendir
=$ac_res
28187 echo "$as_me: failed program was:" >&5
28188 sed 's/^/| /' conftest.
$ac_ext >&5
28193 rm -f core conftest.err conftest.
$ac_objext \
28195 if test "${ac_cv_search_opendir+set}" = set; then
28199 if test "${ac_cv_search_opendir+set}" = set; then
28202 ac_cv_search_opendir
=no
28204 rm conftest.
$ac_ext
28205 LIBS
=$ac_func_search_save_LIBS
28207 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28208 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28209 ac_res
=$ac_cv_search_opendir
28210 if test "$ac_res" != no
; then
28211 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28217 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28218 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28219 if test "${ac_cv_header_mmap_anon+set}" = set; then
28220 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 ac_cpp
='$CPP $CPPFLAGS'
28224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28228 cat >conftest.
$ac_ext <<_ACEOF
28231 cat confdefs.h
>>conftest.
$ac_ext
28232 cat >>conftest.
$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234 #include <sys/mman.h>
28235 #include <unistd.h>
28240 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28245 rm -f conftest.
$ac_objext
28246 if { (ac_try
="$ac_compile"
28247 case "(($ac_try" in
28248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28249 *) ac_try_echo=$ac_try;;
28251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28252 (eval "$ac_compile") 2>conftest.er1
28254 grep -v '^ *+' conftest.er1 >conftest.err
28256 cat conftest.err >&5
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); } &&
28259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28260 { (case "(($ac_try" in
28261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28262 *) ac_try_echo
=$ac_try;;
28264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28265 (eval "$ac_try") 2>&5
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); }; } &&
28269 { ac_try
='test -s conftest.$ac_objext'
28270 { (case "(($ac_try" in
28271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28272 *) ac_try_echo=$ac_try;;
28274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28275 (eval "$ac_try") 2>&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; }; then
28279 ac_cv_header_mmap_anon=yes
28281 echo "$as_me: failed program was:" >&5
28282 sed 's/^/| /' conftest.$ac_ext >&5
28284 ac_cv_header_mmap_anon=no
28287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28289 ac_cpp='$CPP $CPPFLAGS'
28290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28296 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28297 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28298 if test "$ac_cv_header_mmap_anon" = yes; then
28300 cat >>confdefs.h <<\_ACEOF
28301 #define HAVE_MMAP_ANONYMOUS 1
28306 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28307 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28308 if test "${ac_cv_header_stat_broken+set}" = set; then
28309 echo $ECHO_N "(cached) $ECHO_C" >&6
28311 cat >conftest.$ac_ext <<_ACEOF
28314 cat confdefs.h >>conftest.$ac_ext
28315 cat >>conftest.$ac_ext <<_ACEOF
28316 /* end confdefs.h. */
28317 #include <sys/types.h>
28318 #include <sys/stat.h>
28320 #if defined S_ISBLK && defined S_IFDIR
28321 # if S_ISBLK (S_IFDIR)
28326 #if defined S_ISBLK && defined S_IFCHR
28327 # if S_ISBLK (S_IFCHR)
28332 #if defined S_ISLNK && defined S_IFREG
28333 # if S_ISLNK (S_IFREG)
28338 #if defined S_ISSOCK && defined S_IFREG
28339 # if S_ISSOCK (S_IFREG)
28345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28346 $EGREP "You lose" >/dev/null 2>&1; then
28347 ac_cv_header_stat_broken=yes
28349 ac_cv_header_stat_broken=no
28354 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28355 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28356 if test $ac_cv_header_stat_broken = yes; then
28358 cat >>confdefs.h <<\_ACEOF
28359 #define STAT_MACROS_BROKEN 1
28364 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28365 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28366 if test "${ac_cv_header_stdc+set}" = set; then
28367 echo $ECHO_N "(cached) $ECHO_C" >&6
28369 cat >conftest.$ac_ext <<_ACEOF
28372 cat confdefs.h >>conftest.$ac_ext
28373 cat >>conftest.$ac_ext <<_ACEOF
28374 /* end confdefs.h. */
28375 #include <stdlib.h>
28376 #include <stdarg.h>
28377 #include <string.h>
28388 rm -f conftest.$ac_objext
28389 if { (ac_try="$ac_compile"
28390 case "(($ac_try" in
28391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28392 *) ac_try_echo
=$ac_try;;
28394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28395 (eval "$ac_compile") 2>conftest.er1
28397 grep -v '^ *+' conftest.er1
>conftest.err
28399 cat conftest.err
>&5
28400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401 (exit $ac_status); } &&
28402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28403 { (case "(($ac_try" in
28404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28405 *) ac_try_echo=$ac_try;;
28407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28408 (eval "$ac_try") 2>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; } &&
28412 { ac_try='test -s conftest.$ac_objext'
28413 { (case "(($ac_try" in
28414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28415 *) ac_try_echo
=$ac_try;;
28417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28418 (eval "$ac_try") 2>&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); }; }; then
28422 ac_cv_header_stdc
=yes
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.
$ac_ext >&5
28427 ac_cv_header_stdc
=no
28430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28432 if test $ac_cv_header_stdc = yes; then
28433 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28434 cat >conftest.
$ac_ext <<_ACEOF
28437 cat confdefs.h
>>conftest.
$ac_ext
28438 cat >>conftest.
$ac_ext <<_ACEOF
28439 /* end confdefs.h. */
28440 #include <string.h>
28443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28444 $EGREP "memchr" >/dev
/null
2>&1; then
28447 ac_cv_header_stdc
=no
28453 if test $ac_cv_header_stdc = yes; then
28454 # ISC 2.0.2 stdlib.h does not declare free, 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 <stdlib.h>
28464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28465 $EGREP "free" >/dev
/null
2>&1; then
28468 ac_cv_header_stdc
=no
28474 if test $ac_cv_header_stdc = yes; then
28475 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28476 if test "$cross_compiling" = yes; then
28479 cat >conftest.
$ac_ext <<_ACEOF
28482 cat confdefs.h
>>conftest.
$ac_ext
28483 cat >>conftest.
$ac_ext <<_ACEOF
28484 /* end confdefs.h. */
28486 #include <stdlib.h>
28487 #if ((' ' & 0x0FF) == 0x020)
28488 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28489 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28491 # define ISLOWER(c) \
28492 (('a' <= (c) && (c) <= 'i') \
28493 || ('j' <= (c) && (c) <= 'r') \
28494 || ('s' <= (c) && (c) <= 'z'))
28495 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28498 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28503 for (i = 0; i < 256; i++)
28504 if (XOR (islower (i), ISLOWER (i))
28505 || toupper (i) != TOUPPER (i))
28510 rm -f conftest
$ac_exeext
28511 if { (ac_try
="$ac_link"
28512 case "(($ac_try" in
28513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28514 *) ac_try_echo=$ac_try;;
28516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28517 (eval "$ac_link") 2>&5
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28521 { (case "(($ac_try" in
28522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28523 *) ac_try_echo
=$ac_try;;
28525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28526 (eval "$ac_try") 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; }; then
28532 echo "$as_me: program exited with status $ac_status" >&5
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.
$ac_ext >&5
28536 ( exit $ac_status )
28537 ac_cv_header_stdc
=no
28539 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28545 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28546 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28547 if test $ac_cv_header_stdc = yes; then
28549 cat >>confdefs.h
<<\_ACEOF
28550 #define STDC_HEADERS 1
28555 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28556 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28557 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28558 echo $ECHO_N "(cached) $ECHO_C" >&6
28560 cat >conftest.
$ac_ext <<_ACEOF
28563 cat confdefs.h
>>conftest.
$ac_ext
28564 cat >>conftest.
$ac_ext <<_ACEOF
28565 /* end confdefs.h. */
28566 #include <sys/types.h>
28567 #include <sys/wait.h>
28568 #ifndef WEXITSTATUS
28569 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28572 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28580 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28585 rm -f conftest.
$ac_objext
28586 if { (ac_try
="$ac_compile"
28587 case "(($ac_try" in
28588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28589 *) ac_try_echo=$ac_try;;
28591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28592 (eval "$ac_compile") 2>conftest.er1
28594 grep -v '^ *+' conftest.er1 >conftest.err
28596 cat conftest.err >&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); } &&
28599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28600 { (case "(($ac_try" in
28601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28602 *) ac_try_echo
=$ac_try;;
28604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28605 (eval "$ac_try") 2>&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); }; } &&
28609 { ac_try
='test -s conftest.$ac_objext'
28610 { (case "(($ac_try" in
28611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28612 *) ac_try_echo=$ac_try;;
28614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28615 (eval "$ac_try") 2>&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); }; }; then
28619 ac_cv_header_sys_wait_h=yes
28621 echo "$as_me: failed program was:" >&5
28622 sed 's/^/| /' conftest.$ac_ext >&5
28624 ac_cv_header_sys_wait_h=no
28627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28629 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28630 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28631 if test $ac_cv_header_sys_wait_h = yes; then
28633 cat >>confdefs.h <<\_ACEOF
28634 #define HAVE_SYS_WAIT_H 1
28639 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28640 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28641 if test "${ac_cv_header_time+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 cat >conftest.$ac_ext <<_ACEOF
28647 cat confdefs.h >>conftest.$ac_ext
28648 cat >>conftest.$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28650 #include <sys/types.h>
28651 #include <sys/time.h>
28657 if ((struct tm *) 0)
28663 rm -f conftest.$ac_objext
28664 if { (ac_try="$ac_compile"
28665 case "(($ac_try" in
28666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28667 *) ac_try_echo
=$ac_try;;
28669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28670 (eval "$ac_compile") 2>conftest.er1
28672 grep -v '^ *+' conftest.er1
>conftest.err
28674 cat conftest.err
>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28678 { (case "(($ac_try" in
28679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28680 *) ac_try_echo=$ac_try;;
28682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28683 (eval "$ac_try") 2>&5
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; } &&
28687 { ac_try='test -s conftest.$ac_objext'
28688 { (case "(($ac_try" in
28689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28690 *) ac_try_echo
=$ac_try;;
28692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28693 (eval "$ac_try") 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; }; then
28697 ac_cv_header_time
=yes
28699 echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.
$ac_ext >&5
28702 ac_cv_header_time
=no
28705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28707 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28708 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28709 if test $ac_cv_header_time = yes; then
28711 cat >>confdefs.h
<<\_ACEOF
28712 #define TIME_WITH_SYS_TIME 1
28724 for ac_header
in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28727 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28730 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28731 echo $ECHO_N "(cached) $ECHO_C" >&6
28733 ac_res
=`eval echo '${'$as_ac_Header'}'`
28734 { echo "$as_me:$LINENO: result: $ac_res" >&5
28735 echo "${ECHO_T}$ac_res" >&6; }
28737 # Is the header compilable?
28738 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28740 cat >conftest.
$ac_ext <<_ACEOF
28743 cat confdefs.h
>>conftest.
$ac_ext
28744 cat >>conftest.
$ac_ext <<_ACEOF
28745 /* end confdefs.h. */
28746 $ac_includes_default
28747 #include <$ac_header>
28749 rm -f conftest.
$ac_objext
28750 if { (ac_try
="$ac_compile"
28751 case "(($ac_try" in
28752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28753 *) ac_try_echo=$ac_try;;
28755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28756 (eval "$ac_compile") 2>conftest.er1
28758 grep -v '^ *+' conftest.er1 >conftest.err
28760 cat conftest.err >&5
28761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762 (exit $ac_status); } &&
28763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28764 { (case "(($ac_try" in
28765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28766 *) ac_try_echo
=$ac_try;;
28768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28769 (eval "$ac_try") 2>&5
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); }; } &&
28773 { ac_try
='test -s conftest.$ac_objext'
28774 { (case "(($ac_try" in
28775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28776 *) ac_try_echo=$ac_try;;
28778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28779 (eval "$ac_try") 2>&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); }; }; then
28783 ac_header_compiler=yes
28785 echo "$as_me: failed program was:" >&5
28786 sed 's/^/| /' conftest.$ac_ext >&5
28788 ac_header_compiler=no
28791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28792 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28793 echo "${ECHO_T}$ac_header_compiler" >&6; }
28795 # Is the header present?
28796 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28797 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28798 cat >conftest.$ac_ext <<_ACEOF
28801 cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28804 #include <$ac_header>
28806 if { (ac_try="$ac_cpp conftest.$ac_ext"
28807 case "(($ac_try" in
28808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28809 *) ac_try_echo
=$ac_try;;
28811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28814 grep -v '^ *+' conftest.er1
>conftest.err
28816 cat conftest.err
>&5
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); } >/dev
/null
; then
28819 if test -s conftest.err
; then
28820 ac_cpp_err
=$ac_c_preproc_warn_flag
28821 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28828 if test -z "$ac_cpp_err"; then
28829 ac_header_preproc
=yes
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.
$ac_ext >&5
28834 ac_header_preproc
=no
28837 rm -f conftest.err conftest.
$ac_ext
28838 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28839 echo "${ECHO_T}$ac_header_preproc" >&6; }
28841 # So? What about this header?
28842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28848 ac_header_preproc
=yes
28851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28864 ## ----------------------------------- ##
28865 ## Report this to llvmbugs@cs.uiuc.edu ##
28866 ## ----------------------------------- ##
28868 ) |
sed "s/^/$as_me: WARNING: /" >&2
28871 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28873 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28874 echo $ECHO_N "(cached) $ECHO_C" >&6
28876 eval "$as_ac_Header=\$ac_header_preproc"
28878 ac_res
=`eval echo '${'$as_ac_Header'}'`
28879 { echo "$as_me:$LINENO: result: $ac_res" >&5
28880 echo "${ECHO_T}$ac_res" >&6; }
28883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28884 cat >>confdefs.h
<<_ACEOF
28885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28898 for ac_header
in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28900 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28901 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28904 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28905 echo $ECHO_N "(cached) $ECHO_C" >&6
28907 ac_res
=`eval echo '${'$as_ac_Header'}'`
28908 { echo "$as_me:$LINENO: result: $ac_res" >&5
28909 echo "${ECHO_T}$ac_res" >&6; }
28911 # Is the header compilable?
28912 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28914 cat >conftest.
$ac_ext <<_ACEOF
28917 cat confdefs.h
>>conftest.
$ac_ext
28918 cat >>conftest.
$ac_ext <<_ACEOF
28919 /* end confdefs.h. */
28920 $ac_includes_default
28921 #include <$ac_header>
28923 rm -f conftest.
$ac_objext
28924 if { (ac_try
="$ac_compile"
28925 case "(($ac_try" in
28926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28927 *) ac_try_echo=$ac_try;;
28929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28930 (eval "$ac_compile") 2>conftest.er1
28932 grep -v '^ *+' conftest.er1 >conftest.err
28934 cat conftest.err >&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } &&
28937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28938 { (case "(($ac_try" in
28939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28940 *) ac_try_echo
=$ac_try;;
28942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28943 (eval "$ac_try") 2>&5
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); }; } &&
28947 { ac_try
='test -s conftest.$ac_objext'
28948 { (case "(($ac_try" in
28949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28950 *) ac_try_echo=$ac_try;;
28952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28953 (eval "$ac_try") 2>&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); }; }; then
28957 ac_header_compiler=yes
28959 echo "$as_me: failed program was:" >&5
28960 sed 's/^/| /' conftest.$ac_ext >&5
28962 ac_header_compiler=no
28965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28966 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28967 echo "${ECHO_T}$ac_header_compiler" >&6; }
28969 # Is the header present?
28970 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28972 cat >conftest.$ac_ext <<_ACEOF
28975 cat confdefs.h >>conftest.$ac_ext
28976 cat >>conftest.$ac_ext <<_ACEOF
28977 /* end confdefs.h. */
28978 #include <$ac_header>
28980 if { (ac_try="$ac_cpp conftest.$ac_ext"
28981 case "(($ac_try" in
28982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28983 *) ac_try_echo
=$ac_try;;
28985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28988 grep -v '^ *+' conftest.er1
>conftest.err
28990 cat conftest.err
>&5
28991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 (exit $ac_status); } >/dev
/null
; then
28993 if test -s conftest.err
; then
28994 ac_cpp_err
=$ac_c_preproc_warn_flag
28995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29002 if test -z "$ac_cpp_err"; then
29003 ac_header_preproc
=yes
29005 echo "$as_me: failed program was:" >&5
29006 sed 's/^/| /' conftest.
$ac_ext >&5
29008 ac_header_preproc
=no
29011 rm -f conftest.err conftest.
$ac_ext
29012 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29013 echo "${ECHO_T}$ac_header_preproc" >&6; }
29015 # So? What about this header?
29016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29022 ac_header_preproc
=yes
29025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29038 ## ----------------------------------- ##
29039 ## Report this to llvmbugs@cs.uiuc.edu ##
29040 ## ----------------------------------- ##
29042 ) |
sed "s/^/$as_me: WARNING: /" >&2
29045 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29047 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29048 echo $ECHO_N "(cached) $ECHO_C" >&6
29050 eval "$as_ac_Header=\$ac_header_preproc"
29052 ac_res
=`eval echo '${'$as_ac_Header'}'`
29053 { echo "$as_me:$LINENO: result: $ac_res" >&5
29054 echo "${ECHO_T}$ac_res" >&6; }
29057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29058 cat >>confdefs.h
<<_ACEOF
29059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29067 for ac_header
in windows.h
29069 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29070 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29073 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29074 echo $ECHO_N "(cached) $ECHO_C" >&6
29076 ac_res
=`eval echo '${'$as_ac_Header'}'`
29077 { echo "$as_me:$LINENO: result: $ac_res" >&5
29078 echo "${ECHO_T}$ac_res" >&6; }
29080 # Is the header compilable?
29081 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29083 cat >conftest.
$ac_ext <<_ACEOF
29086 cat confdefs.h
>>conftest.
$ac_ext
29087 cat >>conftest.
$ac_ext <<_ACEOF
29088 /* end confdefs.h. */
29089 $ac_includes_default
29090 #include <$ac_header>
29092 rm -f conftest.
$ac_objext
29093 if { (ac_try
="$ac_compile"
29094 case "(($ac_try" in
29095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29096 *) ac_try_echo=$ac_try;;
29098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29099 (eval "$ac_compile") 2>conftest.er1
29101 grep -v '^ *+' conftest.er1 >conftest.err
29103 cat conftest.err >&5
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); } &&
29106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29107 { (case "(($ac_try" in
29108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29109 *) ac_try_echo
=$ac_try;;
29111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29112 (eval "$ac_try") 2>&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); }; } &&
29116 { ac_try
='test -s conftest.$ac_objext'
29117 { (case "(($ac_try" in
29118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29119 *) ac_try_echo=$ac_try;;
29121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29122 (eval "$ac_try") 2>&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); }; }; then
29126 ac_header_compiler=yes
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.$ac_ext >&5
29131 ac_header_compiler=no
29134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29135 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29136 echo "${ECHO_T}$ac_header_compiler" >&6; }
29138 # Is the header present?
29139 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29141 cat >conftest.$ac_ext <<_ACEOF
29144 cat confdefs.h >>conftest.$ac_ext
29145 cat >>conftest.$ac_ext <<_ACEOF
29146 /* end confdefs.h. */
29147 #include <$ac_header>
29149 if { (ac_try="$ac_cpp conftest.$ac_ext"
29150 case "(($ac_try" in
29151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29152 *) ac_try_echo
=$ac_try;;
29154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29157 grep -v '^ *+' conftest.er1
>conftest.err
29159 cat conftest.err
>&5
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); } >/dev
/null
; then
29162 if test -s conftest.err
; then
29163 ac_cpp_err
=$ac_c_preproc_warn_flag
29164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29171 if test -z "$ac_cpp_err"; then
29172 ac_header_preproc
=yes
29174 echo "$as_me: failed program was:" >&5
29175 sed 's/^/| /' conftest.
$ac_ext >&5
29177 ac_header_preproc
=no
29180 rm -f conftest.err conftest.
$ac_ext
29181 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29182 echo "${ECHO_T}$ac_header_preproc" >&6; }
29184 # So? What about this header?
29185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29191 ac_header_preproc
=yes
29194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29207 ## ----------------------------------- ##
29208 ## Report this to llvmbugs@cs.uiuc.edu ##
29209 ## ----------------------------------- ##
29211 ) |
sed "s/^/$as_me: WARNING: /" >&2
29214 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29216 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29217 echo $ECHO_N "(cached) $ECHO_C" >&6
29219 eval "$as_ac_Header=\$ac_header_preproc"
29221 ac_res
=`eval echo '${'$as_ac_Header'}'`
29222 { echo "$as_me:$LINENO: result: $ac_res" >&5
29223 echo "${ECHO_T}$ac_res" >&6; }
29226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29227 cat >>confdefs.h
<<_ACEOF
29228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29239 for ac_header
in sys
/mman.h sys
/param.h sys
/resource.h sys
/time.h
29241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29242 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29245 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 ac_res
=`eval echo '${'$as_ac_Header'}'`
29249 { echo "$as_me:$LINENO: result: $ac_res" >&5
29250 echo "${ECHO_T}$ac_res" >&6; }
29252 # Is the header compilable?
29253 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29255 cat >conftest.
$ac_ext <<_ACEOF
29258 cat confdefs.h
>>conftest.
$ac_ext
29259 cat >>conftest.
$ac_ext <<_ACEOF
29260 /* end confdefs.h. */
29261 $ac_includes_default
29262 #include <$ac_header>
29264 rm -f conftest.
$ac_objext
29265 if { (ac_try
="$ac_compile"
29266 case "(($ac_try" in
29267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29268 *) ac_try_echo=$ac_try;;
29270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29271 (eval "$ac_compile") 2>conftest.er1
29273 grep -v '^ *+' conftest.er1 >conftest.err
29275 cat conftest.err >&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); } &&
29278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29279 { (case "(($ac_try" in
29280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29281 *) ac_try_echo
=$ac_try;;
29283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29284 (eval "$ac_try") 2>&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); }; } &&
29288 { ac_try
='test -s conftest.$ac_objext'
29289 { (case "(($ac_try" in
29290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29291 *) ac_try_echo=$ac_try;;
29293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29294 (eval "$ac_try") 2>&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; }; then
29298 ac_header_compiler=yes
29300 echo "$as_me: failed program was:" >&5
29301 sed 's/^/| /' conftest.$ac_ext >&5
29303 ac_header_compiler=no
29306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29307 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29308 echo "${ECHO_T}$ac_header_compiler" >&6; }
29310 # Is the header present?
29311 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29313 cat >conftest.$ac_ext <<_ACEOF
29316 cat confdefs.h >>conftest.$ac_ext
29317 cat >>conftest.$ac_ext <<_ACEOF
29318 /* end confdefs.h. */
29319 #include <$ac_header>
29321 if { (ac_try="$ac_cpp conftest.$ac_ext"
29322 case "(($ac_try" in
29323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29324 *) ac_try_echo
=$ac_try;;
29326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29327 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29329 grep -v '^ *+' conftest.er1
>conftest.err
29331 cat conftest.err
>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } >/dev
/null
; then
29334 if test -s conftest.err
; then
29335 ac_cpp_err
=$ac_c_preproc_warn_flag
29336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29343 if test -z "$ac_cpp_err"; then
29344 ac_header_preproc
=yes
29346 echo "$as_me: failed program was:" >&5
29347 sed 's/^/| /' conftest.
$ac_ext >&5
29349 ac_header_preproc
=no
29352 rm -f conftest.err conftest.
$ac_ext
29353 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29354 echo "${ECHO_T}$ac_header_preproc" >&6; }
29356 # So? What about this header?
29357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29359 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29360 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29362 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29363 ac_header_preproc
=yes
29366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29370 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29371 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29372 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29373 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29376 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29377 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29379 ## ----------------------------------- ##
29380 ## Report this to llvmbugs@cs.uiuc.edu ##
29381 ## ----------------------------------- ##
29383 ) |
sed "s/^/$as_me: WARNING: /" >&2
29386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29388 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 eval "$as_ac_Header=\$ac_header_preproc"
29393 ac_res
=`eval echo '${'$as_ac_Header'}'`
29394 { echo "$as_me:$LINENO: result: $ac_res" >&5
29395 echo "${ECHO_T}$ac_res" >&6; }
29398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29399 cat >>confdefs.h
<<_ACEOF
29400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29410 for ac_header
in sys
/types.h malloc
/malloc.h mach
/mach.h
29412 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29413 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29416 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29417 echo $ECHO_N "(cached) $ECHO_C" >&6
29419 ac_res
=`eval echo '${'$as_ac_Header'}'`
29420 { echo "$as_me:$LINENO: result: $ac_res" >&5
29421 echo "${ECHO_T}$ac_res" >&6; }
29423 # Is the header compilable?
29424 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29426 cat >conftest.
$ac_ext <<_ACEOF
29429 cat confdefs.h
>>conftest.
$ac_ext
29430 cat >>conftest.
$ac_ext <<_ACEOF
29431 /* end confdefs.h. */
29432 $ac_includes_default
29433 #include <$ac_header>
29435 rm -f conftest.
$ac_objext
29436 if { (ac_try
="$ac_compile"
29437 case "(($ac_try" in
29438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29439 *) ac_try_echo=$ac_try;;
29441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29442 (eval "$ac_compile") 2>conftest.er1
29444 grep -v '^ *+' conftest.er1 >conftest.err
29446 cat conftest.err >&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); } &&
29449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29450 { (case "(($ac_try" in
29451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29452 *) ac_try_echo
=$ac_try;;
29454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29455 (eval "$ac_try") 2>&5
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); }; } &&
29459 { ac_try
='test -s conftest.$ac_objext'
29460 { (case "(($ac_try" in
29461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29462 *) ac_try_echo=$ac_try;;
29464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29465 (eval "$ac_try") 2>&5
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); }; }; then
29469 ac_header_compiler=yes
29471 echo "$as_me: failed program was:" >&5
29472 sed 's/^/| /' conftest.$ac_ext >&5
29474 ac_header_compiler=no
29477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29478 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29479 echo "${ECHO_T}$ac_header_compiler" >&6; }
29481 # Is the header present?
29482 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29484 cat >conftest.$ac_ext <<_ACEOF
29487 cat confdefs.h >>conftest.$ac_ext
29488 cat >>conftest.$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29490 #include <$ac_header>
29492 if { (ac_try="$ac_cpp conftest.$ac_ext"
29493 case "(($ac_try" in
29494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29495 *) ac_try_echo
=$ac_try;;
29497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29500 grep -v '^ *+' conftest.er1
>conftest.err
29502 cat conftest.err
>&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } >/dev
/null
; then
29505 if test -s conftest.err
; then
29506 ac_cpp_err
=$ac_c_preproc_warn_flag
29507 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29514 if test -z "$ac_cpp_err"; then
29515 ac_header_preproc
=yes
29517 echo "$as_me: failed program was:" >&5
29518 sed 's/^/| /' conftest.
$ac_ext >&5
29520 ac_header_preproc
=no
29523 rm -f conftest.err conftest.
$ac_ext
29524 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29525 echo "${ECHO_T}$ac_header_preproc" >&6; }
29527 # So? What about this header?
29528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29534 ac_header_preproc
=yes
29537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29550 ## ----------------------------------- ##
29551 ## Report this to llvmbugs@cs.uiuc.edu ##
29552 ## ----------------------------------- ##
29554 ) |
sed "s/^/$as_me: WARNING: /" >&2
29557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29559 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29560 echo $ECHO_N "(cached) $ECHO_C" >&6
29562 eval "$as_ac_Header=\$ac_header_preproc"
29564 ac_res
=`eval echo '${'$as_ac_Header'}'`
29565 { echo "$as_me:$LINENO: result: $ac_res" >&5
29566 echo "${ECHO_T}$ac_res" >&6; }
29569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29570 cat >>confdefs.h
<<_ACEOF
29571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29578 if test "$ENABLE_THREADS" -eq 1 ; then
29580 for ac_header
in pthread.h
29582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29583 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29586 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29589 ac_res
=`eval echo '${'$as_ac_Header'}'`
29590 { echo "$as_me:$LINENO: result: $ac_res" >&5
29591 echo "${ECHO_T}$ac_res" >&6; }
29593 # Is the header compilable?
29594 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29596 cat >conftest.
$ac_ext <<_ACEOF
29599 cat confdefs.h
>>conftest.
$ac_ext
29600 cat >>conftest.
$ac_ext <<_ACEOF
29601 /* end confdefs.h. */
29602 $ac_includes_default
29603 #include <$ac_header>
29605 rm -f conftest.
$ac_objext
29606 if { (ac_try
="$ac_compile"
29607 case "(($ac_try" in
29608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29609 *) ac_try_echo=$ac_try;;
29611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29612 (eval "$ac_compile") 2>conftest.er1
29614 grep -v '^ *+' conftest.er1 >conftest.err
29616 cat conftest.err >&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); } &&
29619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29620 { (case "(($ac_try" in
29621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29622 *) ac_try_echo
=$ac_try;;
29624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29625 (eval "$ac_try") 2>&5
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); }; } &&
29629 { ac_try
='test -s conftest.$ac_objext'
29630 { (case "(($ac_try" in
29631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29632 *) ac_try_echo=$ac_try;;
29634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29635 (eval "$ac_try") 2>&5
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); }; }; then
29639 ac_header_compiler=yes
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29644 ac_header_compiler=no
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29649 echo "${ECHO_T}$ac_header_compiler" >&6; }
29651 # Is the header present?
29652 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29654 cat >conftest.$ac_ext <<_ACEOF
29657 cat confdefs.h >>conftest.$ac_ext
29658 cat >>conftest.$ac_ext <<_ACEOF
29659 /* end confdefs.h. */
29660 #include <$ac_header>
29662 if { (ac_try="$ac_cpp conftest.$ac_ext"
29663 case "(($ac_try" in
29664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29665 *) ac_try_echo
=$ac_try;;
29667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29670 grep -v '^ *+' conftest.er1
>conftest.err
29672 cat conftest.err
>&5
29673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29674 (exit $ac_status); } >/dev
/null
; then
29675 if test -s conftest.err
; then
29676 ac_cpp_err
=$ac_c_preproc_warn_flag
29677 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29684 if test -z "$ac_cpp_err"; then
29685 ac_header_preproc
=yes
29687 echo "$as_me: failed program was:" >&5
29688 sed 's/^/| /' conftest.
$ac_ext >&5
29690 ac_header_preproc
=no
29693 rm -f conftest.err conftest.
$ac_ext
29694 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29695 echo "${ECHO_T}$ac_header_preproc" >&6; }
29697 # So? What about this header?
29698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29704 ac_header_preproc
=yes
29707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29711 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29713 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29714 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29717 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29720 ## ----------------------------------- ##
29721 ## Report this to llvmbugs@cs.uiuc.edu ##
29722 ## ----------------------------------- ##
29724 ) |
sed "s/^/$as_me: WARNING: /" >&2
29727 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29729 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29730 echo $ECHO_N "(cached) $ECHO_C" >&6
29732 eval "$as_ac_Header=\$ac_header_preproc"
29734 ac_res
=`eval echo '${'$as_ac_Header'}'`
29735 { echo "$as_me:$LINENO: result: $ac_res" >&5
29736 echo "${ECHO_T}$ac_res" >&6; }
29739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29740 cat >>confdefs.h
<<_ACEOF
29741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29757 if test -n "$have_libffi" ; then
29760 for ac_header
in ffi.h ffi
/ffi.h
29762 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29763 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29766 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 ac_res
=`eval echo '${'$as_ac_Header'}'`
29770 { echo "$as_me:$LINENO: result: $ac_res" >&5
29771 echo "${ECHO_T}$ac_res" >&6; }
29773 # Is the header compilable?
29774 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29776 cat >conftest.
$ac_ext <<_ACEOF
29779 cat confdefs.h
>>conftest.
$ac_ext
29780 cat >>conftest.
$ac_ext <<_ACEOF
29781 /* end confdefs.h. */
29782 $ac_includes_default
29783 #include <$ac_header>
29785 rm -f conftest.
$ac_objext
29786 if { (ac_try
="$ac_compile"
29787 case "(($ac_try" in
29788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29789 *) ac_try_echo=$ac_try;;
29791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29792 (eval "$ac_compile") 2>conftest.er1
29794 grep -v '^ *+' conftest.er1 >conftest.err
29796 cat conftest.err >&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); } &&
29799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29800 { (case "(($ac_try" in
29801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29802 *) ac_try_echo
=$ac_try;;
29804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29805 (eval "$ac_try") 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; } &&
29809 { ac_try
='test -s conftest.$ac_objext'
29810 { (case "(($ac_try" in
29811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29812 *) ac_try_echo=$ac_try;;
29814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29815 (eval "$ac_try") 2>&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); }; }; then
29819 ac_header_compiler=yes
29821 echo "$as_me: failed program was:" >&5
29822 sed 's/^/| /' conftest.$ac_ext >&5
29824 ac_header_compiler=no
29827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29828 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29829 echo "${ECHO_T}$ac_header_compiler" >&6; }
29831 # Is the header present?
29832 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29834 cat >conftest.$ac_ext <<_ACEOF
29837 cat confdefs.h >>conftest.$ac_ext
29838 cat >>conftest.$ac_ext <<_ACEOF
29839 /* end confdefs.h. */
29840 #include <$ac_header>
29842 if { (ac_try="$ac_cpp conftest.$ac_ext"
29843 case "(($ac_try" in
29844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29845 *) ac_try_echo
=$ac_try;;
29847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29850 grep -v '^ *+' conftest.er1
>conftest.err
29852 cat conftest.err
>&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } >/dev
/null
; then
29855 if test -s conftest.err
; then
29856 ac_cpp_err
=$ac_c_preproc_warn_flag
29857 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29864 if test -z "$ac_cpp_err"; then
29865 ac_header_preproc
=yes
29867 echo "$as_me: failed program was:" >&5
29868 sed 's/^/| /' conftest.
$ac_ext >&5
29870 ac_header_preproc
=no
29873 rm -f conftest.err conftest.
$ac_ext
29874 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29875 echo "${ECHO_T}$ac_header_preproc" >&6; }
29877 # So? What about this header?
29878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29884 ac_header_preproc
=yes
29887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29900 ## ----------------------------------- ##
29901 ## Report this to llvmbugs@cs.uiuc.edu ##
29902 ## ----------------------------------- ##
29904 ) |
sed "s/^/$as_me: WARNING: /" >&2
29907 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29909 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29910 echo $ECHO_N "(cached) $ECHO_C" >&6
29912 eval "$as_ac_Header=\$ac_header_preproc"
29914 ac_res
=`eval echo '${'$as_ac_Header'}'`
29915 { echo "$as_me:$LINENO: result: $ac_res" >&5
29916 echo "${ECHO_T}$ac_res" >&6; }
29919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29920 cat >>confdefs.h
<<_ACEOF
29921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29933 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
29934 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
29935 if test "${ac_cv_huge_val_sanity+set}" = set; then
29936 echo $ECHO_N "(cached) $ECHO_C" >&6
29940 ac_cpp
='$CXXCPP $CPPFLAGS'
29941 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29942 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29943 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29946 if test "$cross_compiling" = yes; then
29947 ac_cv_huge_val_sanity
=yes
29949 cat >conftest.
$ac_ext <<_ACEOF
29952 cat confdefs.h
>>conftest.
$ac_ext
29953 cat >>conftest.
$ac_ext <<_ACEOF
29954 /* end confdefs.h. */
29959 double x = HUGE_VAL; return x != x;
29964 rm -f conftest
$ac_exeext
29965 if { (ac_try
="$ac_link"
29966 case "(($ac_try" in
29967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29968 *) ac_try_echo=$ac_try;;
29970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29971 (eval "$ac_link") 2>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29975 { (case "(($ac_try" in
29976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29977 *) ac_try_echo
=$ac_try;;
29979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29980 (eval "$ac_try") 2>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); }; }; then
29984 ac_cv_huge_val_sanity
=yes
29986 echo "$as_me: program exited with status $ac_status" >&5
29987 echo "$as_me: failed program was:" >&5
29988 sed 's/^/| /' conftest.
$ac_ext >&5
29990 ( exit $ac_status )
29991 ac_cv_huge_val_sanity
=no
29993 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29998 ac_cpp
='$CPP $CPPFLAGS'
29999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30005 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
30006 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
30007 HUGE_VAL_SANITY
=$ac_cv_huge_val_sanity
30010 { echo "$as_me:$LINENO: checking for pid_t" >&5
30011 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
30012 if test "${ac_cv_type_pid_t+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 cat >conftest.
$ac_ext <<_ACEOF
30018 cat confdefs.h
>>conftest.
$ac_ext
30019 cat >>conftest.
$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021 $ac_includes_default
30022 typedef pid_t ac__type_new_;
30026 if ((ac__type_new_ *) 0)
30028 if (sizeof (ac__type_new_))
30034 rm -f conftest.
$ac_objext
30035 if { (ac_try
="$ac_compile"
30036 case "(($ac_try" in
30037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30038 *) ac_try_echo=$ac_try;;
30040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30041 (eval "$ac_compile") 2>conftest.er1
30043 grep -v '^ *+' conftest.er1 >conftest.err
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } &&
30048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30049 { (case "(($ac_try" in
30050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30051 *) ac_try_echo
=$ac_try;;
30053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30054 (eval "$ac_try") 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; } &&
30058 { ac_try
='test -s conftest.$ac_objext'
30059 { (case "(($ac_try" in
30060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30061 *) ac_try_echo=$ac_try;;
30063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30064 (eval "$ac_try") 2>&5
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); }; }; then
30068 ac_cv_type_pid_t=yes
30070 echo "$as_me: failed program was:" >&5
30071 sed 's/^/| /' conftest.$ac_ext >&5
30073 ac_cv_type_pid_t=no
30076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30078 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30079 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
30080 if test $ac_cv_type_pid_t = yes; then
30084 cat >>confdefs.h <<_ACEOF
30090 { echo "$as_me:$LINENO: checking for size_t" >&5
30091 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
30092 if test "${ac_cv_type_size_t+set}" = set; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30095 cat >conftest.$ac_ext <<_ACEOF
30098 cat confdefs.h >>conftest.$ac_ext
30099 cat >>conftest.$ac_ext <<_ACEOF
30100 /* end confdefs.h. */
30101 $ac_includes_default
30102 typedef size_t ac__type_new_;
30106 if ((ac__type_new_ *) 0)
30108 if (sizeof (ac__type_new_))
30114 rm -f conftest.$ac_objext
30115 if { (ac_try="$ac_compile"
30116 case "(($ac_try" in
30117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30118 *) ac_try_echo
=$ac_try;;
30120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30121 (eval "$ac_compile") 2>conftest.er1
30123 grep -v '^ *+' conftest.er1
>conftest.err
30125 cat conftest.err
>&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } &&
30128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30129 { (case "(($ac_try" in
30130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30131 *) ac_try_echo=$ac_try;;
30133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30134 (eval "$ac_try") 2>&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; } &&
30138 { ac_try='test -s conftest.$ac_objext'
30139 { (case "(($ac_try" in
30140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30141 *) ac_try_echo
=$ac_try;;
30143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30144 (eval "$ac_try") 2>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; }; then
30148 ac_cv_type_size_t
=yes
30150 echo "$as_me: failed program was:" >&5
30151 sed 's/^/| /' conftest.
$ac_ext >&5
30153 ac_cv_type_size_t
=no
30156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30158 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30159 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
30160 if test $ac_cv_type_size_t = yes; then
30164 cat >>confdefs.h
<<_ACEOF
30165 #define size_t unsigned int
30170 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
30171 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
30172 if test "${ac_cv_type_signal+set}" = set; then
30173 echo $ECHO_N "(cached) $ECHO_C" >&6
30175 cat >conftest.
$ac_ext <<_ACEOF
30178 cat confdefs.h
>>conftest.
$ac_ext
30179 cat >>conftest.
$ac_ext <<_ACEOF
30180 /* end confdefs.h. */
30181 #include <sys/types.h>
30182 #include <signal.h>
30187 return *(signal (0, 0)) (0) == 1;
30192 rm -f conftest.
$ac_objext
30193 if { (ac_try
="$ac_compile"
30194 case "(($ac_try" in
30195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30196 *) ac_try_echo=$ac_try;;
30198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30199 (eval "$ac_compile") 2>conftest.er1
30201 grep -v '^ *+' conftest.er1 >conftest.err
30203 cat conftest.err >&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); } &&
30206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30207 { (case "(($ac_try" in
30208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30209 *) ac_try_echo
=$ac_try;;
30211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30212 (eval "$ac_try") 2>&5
30214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 (exit $ac_status); }; } &&
30216 { ac_try
='test -s conftest.$ac_objext'
30217 { (case "(($ac_try" in
30218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30219 *) ac_try_echo=$ac_try;;
30221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30222 (eval "$ac_try") 2>&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; }; then
30226 ac_cv_type_signal=int
30228 echo "$as_me: failed program was:" >&5
30229 sed 's/^/| /' conftest.$ac_ext >&5
30231 ac_cv_type_signal=void
30234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30236 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
30237 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
30239 cat >>confdefs.h <<_ACEOF
30240 #define RETSIGTYPE $ac_cv_type_signal
30244 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
30245 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
30246 if test "${ac_cv_struct_tm+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30249 cat >conftest.$ac_ext <<_ACEOF
30252 cat confdefs.h >>conftest.$ac_ext
30253 cat >>conftest.$ac_ext <<_ACEOF
30254 /* end confdefs.h. */
30255 #include <sys/types.h>
30261 struct tm *tp; tp->tm_sec;
30266 rm -f conftest.$ac_objext
30267 if { (ac_try="$ac_compile"
30268 case "(($ac_try" in
30269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30270 *) ac_try_echo
=$ac_try;;
30272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30273 (eval "$ac_compile") 2>conftest.er1
30275 grep -v '^ *+' conftest.er1
>conftest.err
30277 cat conftest.err
>&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); } &&
30280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30281 { (case "(($ac_try" in
30282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30283 *) ac_try_echo=$ac_try;;
30285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30286 (eval "$ac_try") 2>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; } &&
30290 { ac_try='test -s conftest.$ac_objext'
30291 { (case "(($ac_try" in
30292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30293 *) ac_try_echo
=$ac_try;;
30295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30296 (eval "$ac_try") 2>&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; }; then
30300 ac_cv_struct_tm
=time.h
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.
$ac_ext >&5
30305 ac_cv_struct_tm
=sys
/time.h
30308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30310 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
30311 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
30312 if test $ac_cv_struct_tm = sys
/time.h
; then
30314 cat >>confdefs.h
<<\_ACEOF
30315 #define TM_IN_SYS_TIME 1
30320 { echo "$as_me:$LINENO: checking for int64_t" >&5
30321 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
30322 if test "${ac_cv_type_int64_t+set}" = set; then
30323 echo $ECHO_N "(cached) $ECHO_C" >&6
30325 cat >conftest.
$ac_ext <<_ACEOF
30328 cat confdefs.h
>>conftest.
$ac_ext
30329 cat >>conftest.
$ac_ext <<_ACEOF
30330 /* end confdefs.h. */
30331 $ac_includes_default
30332 typedef int64_t ac__type_new_;
30336 if ((ac__type_new_ *) 0)
30338 if (sizeof (ac__type_new_))
30344 rm -f conftest.
$ac_objext
30345 if { (ac_try
="$ac_compile"
30346 case "(($ac_try" in
30347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30348 *) ac_try_echo=$ac_try;;
30350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30351 (eval "$ac_compile") 2>conftest.er1
30353 grep -v '^ *+' conftest.er1 >conftest.err
30355 cat conftest.err >&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30359 { (case "(($ac_try" in
30360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30361 *) ac_try_echo
=$ac_try;;
30363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30364 (eval "$ac_try") 2>&5
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); }; } &&
30368 { ac_try
='test -s conftest.$ac_objext'
30369 { (case "(($ac_try" in
30370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30371 *) ac_try_echo=$ac_try;;
30373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30374 (eval "$ac_try") 2>&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); }; }; then
30378 ac_cv_type_int64_t=yes
30380 echo "$as_me: failed program was:" >&5
30381 sed 's/^/| /' conftest.$ac_ext >&5
30383 ac_cv_type_int64_t=no
30386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30388 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
30389 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
30390 if test $ac_cv_type_int64_t = yes; then
30392 cat >>confdefs.h <<_ACEOF
30393 #define HAVE_INT64_T 1
30398 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
30399 echo "$as_me: error: Type int64_t required but not found" >&2;}
30400 { (exit 1); exit 1; }; }
30403 { echo "$as_me:$LINENO: checking for uint64_t" >&5
30404 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
30405 if test "${ac_cv_type_uint64_t+set}" = set; then
30406 echo $ECHO_N "(cached) $ECHO_C" >&6
30408 cat >conftest.$ac_ext <<_ACEOF
30411 cat confdefs.h >>conftest.$ac_ext
30412 cat >>conftest.$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414 $ac_includes_default
30415 typedef uint64_t ac__type_new_;
30419 if ((ac__type_new_ *) 0)
30421 if (sizeof (ac__type_new_))
30427 rm -f conftest.$ac_objext
30428 if { (ac_try="$ac_compile"
30429 case "(($ac_try" in
30430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30431 *) ac_try_echo
=$ac_try;;
30433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30434 (eval "$ac_compile") 2>conftest.er1
30436 grep -v '^ *+' conftest.er1
>conftest.err
30438 cat conftest.err
>&5
30439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440 (exit $ac_status); } &&
30441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30442 { (case "(($ac_try" in
30443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30444 *) ac_try_echo=$ac_try;;
30446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30447 (eval "$ac_try") 2>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }; } &&
30451 { ac_try='test -s conftest.$ac_objext'
30452 { (case "(($ac_try" in
30453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30454 *) ac_try_echo
=$ac_try;;
30456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30457 (eval "$ac_try") 2>&5
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; }; then
30461 ac_cv_type_uint64_t
=yes
30463 echo "$as_me: failed program was:" >&5
30464 sed 's/^/| /' conftest.
$ac_ext >&5
30466 ac_cv_type_uint64_t
=no
30469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30471 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
30472 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
30473 if test $ac_cv_type_uint64_t = yes; then
30475 cat >>confdefs.h
<<_ACEOF
30476 #define HAVE_UINT64_T 1
30481 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
30482 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
30483 if test "${ac_cv_type_u_int64_t+set}" = set; then
30484 echo $ECHO_N "(cached) $ECHO_C" >&6
30486 cat >conftest.
$ac_ext <<_ACEOF
30489 cat confdefs.h
>>conftest.
$ac_ext
30490 cat >>conftest.
$ac_ext <<_ACEOF
30491 /* end confdefs.h. */
30492 $ac_includes_default
30493 typedef u_int64_t ac__type_new_;
30497 if ((ac__type_new_ *) 0)
30499 if (sizeof (ac__type_new_))
30505 rm -f conftest.
$ac_objext
30506 if { (ac_try
="$ac_compile"
30507 case "(($ac_try" in
30508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30509 *) ac_try_echo=$ac_try;;
30511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30512 (eval "$ac_compile") 2>conftest.er1
30514 grep -v '^ *+' conftest.er1 >conftest.err
30516 cat conftest.err >&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } &&
30519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30520 { (case "(($ac_try" in
30521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30522 *) ac_try_echo
=$ac_try;;
30524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30525 (eval "$ac_try") 2>&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); }; } &&
30529 { ac_try
='test -s conftest.$ac_objext'
30530 { (case "(($ac_try" in
30531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30532 *) ac_try_echo=$ac_try;;
30534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30535 (eval "$ac_try") 2>&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; }; then
30539 ac_cv_type_u_int64_t=yes
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30544 ac_cv_type_u_int64_t=no
30547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30549 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
30550 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
30551 if test $ac_cv_type_u_int64_t = yes; then
30553 cat >>confdefs.h <<_ACEOF
30554 #define HAVE_U_INT64_T 1
30559 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
30560 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
30561 { (exit 1); exit 1; }; }
30575 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30577 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30578 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30580 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30581 echo $ECHO_N "(cached) $ECHO_C" >&6
30583 cat >conftest.$ac_ext <<_ACEOF
30586 cat confdefs.h >>conftest.$ac_ext
30587 cat >>conftest.$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30591 #define $ac_func innocuous_$ac_func
30593 /* System header to define __stub macros and hopefully few prototypes,
30594 which can conflict with char $ac_func (); below.
30595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30596 <limits.h> exists even on freestanding compilers. */
30599 # include <limits.h>
30601 # include <assert.h>
30606 /* Override any GCC internal prototype to avoid an error.
30607 Use char because int might match the return type of a GCC
30608 builtin and then its argument prototype would still apply. */
30613 /* The GNU C library defines this for functions which it implements
30614 to always fail with ENOSYS. Some functions are actually named
30615 something starting with __ and the normal name is an alias. */
30616 #if defined __stub_$ac_func || defined __stub___$ac_func
30623 return $ac_func ();
30628 rm -f conftest.$ac_objext conftest$ac_exeext
30629 if { (ac_try="$ac_link"
30630 case "(($ac_try" in
30631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30632 *) ac_try_echo
=$ac_try;;
30634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30635 (eval "$ac_link") 2>conftest.er1
30637 grep -v '^ *+' conftest.er1
>conftest.err
30639 cat conftest.err
>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); } &&
30642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30643 { (case "(($ac_try" in
30644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30645 *) ac_try_echo=$ac_try;;
30647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30648 (eval "$ac_try") 2>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); }; } &&
30652 { ac_try='test -s conftest$ac_exeext'
30653 { (case "(($ac_try" in
30654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30655 *) ac_try_echo
=$ac_try;;
30657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30658 (eval "$ac_try") 2>&5
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; }; then
30662 eval "$as_ac_var=yes"
30664 echo "$as_me: failed program was:" >&5
30665 sed 's/^/| /' conftest.
$ac_ext >&5
30667 eval "$as_ac_var=no"
30670 rm -f core conftest.err conftest.
$ac_objext \
30671 conftest
$ac_exeext conftest.
$ac_ext
30673 ac_res
=`eval echo '${'$as_ac_var'}'`
30674 { echo "$as_me:$LINENO: result: $ac_res" >&5
30675 echo "${ECHO_T}$ac_res" >&6; }
30676 if test `eval echo '${'$as_ac_var'}'` = yes; then
30677 cat >>confdefs.h
<<_ACEOF
30678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30688 for ac_func
in powf fmodf strtof round
30690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30693 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30694 echo $ECHO_N "(cached) $ECHO_C" >&6
30696 cat >conftest.
$ac_ext <<_ACEOF
30699 cat confdefs.h
>>conftest.
$ac_ext
30700 cat >>conftest.
$ac_ext <<_ACEOF
30701 /* end confdefs.h. */
30702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30704 #define $ac_func innocuous_$ac_func
30706 /* System header to define __stub macros and hopefully few prototypes,
30707 which can conflict with char $ac_func (); below.
30708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30709 <limits.h> exists even on freestanding compilers. */
30712 # include <limits.h>
30714 # include <assert.h>
30719 /* Override any GCC internal prototype to avoid an error.
30720 Use char because int might match the return type of a GCC
30721 builtin and then its argument prototype would still apply. */
30726 /* The GNU C library defines this for functions which it implements
30727 to always fail with ENOSYS. Some functions are actually named
30728 something starting with __ and the normal name is an alias. */
30729 #if defined __stub_$ac_func || defined __stub___$ac_func
30736 return $ac_func ();
30741 rm -f conftest.
$ac_objext conftest
$ac_exeext
30742 if { (ac_try
="$ac_link"
30743 case "(($ac_try" in
30744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30745 *) ac_try_echo=$ac_try;;
30747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30748 (eval "$ac_link") 2>conftest.er1
30750 grep -v '^ *+' conftest.er1 >conftest.err
30752 cat conftest.err >&5
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); } &&
30755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30756 { (case "(($ac_try" in
30757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30758 *) ac_try_echo
=$ac_try;;
30760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30761 (eval "$ac_try") 2>&5
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); }; } &&
30765 { ac_try
='test -s conftest$ac_exeext'
30766 { (case "(($ac_try" in
30767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30768 *) ac_try_echo=$ac_try;;
30770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30771 (eval "$ac_try") 2>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; }; then
30775 eval "$as_ac_var=yes"
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.$ac_ext >&5
30780 eval "$as_ac_var=no"
30783 rm -f core conftest.err conftest.$ac_objext \
30784 conftest$ac_exeext conftest.$ac_ext
30786 ac_res=`eval echo '${'$as_ac_var'}'`
30787 { echo "$as_me:$LINENO: result: $ac_res" >&5
30788 echo "${ECHO_T}$ac_res" >&6; }
30789 if test `eval echo '${'$as_ac_var'}'` = yes; then
30790 cat >>confdefs.h <<_ACEOF
30791 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30802 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
30804 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30810 cat >conftest.$ac_ext <<_ACEOF
30813 cat confdefs.h >>conftest.$ac_ext
30814 cat >>conftest.$ac_ext <<_ACEOF
30815 /* end confdefs.h. */
30816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30818 #define $ac_func innocuous_$ac_func
30820 /* System header to define __stub macros and hopefully few prototypes,
30821 which can conflict with char $ac_func (); below.
30822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30823 <limits.h> exists even on freestanding compilers. */
30826 # include <limits.h>
30828 # include <assert.h>
30833 /* Override any GCC internal prototype to avoid an error.
30834 Use char because int might match the return type of a GCC
30835 builtin and then its argument prototype would still apply. */
30840 /* The GNU C library defines this for functions which it implements
30841 to always fail with ENOSYS. Some functions are actually named
30842 something starting with __ and the normal name is an alias. */
30843 #if defined __stub_$ac_func || defined __stub___$ac_func
30850 return $ac_func ();
30855 rm -f conftest.$ac_objext conftest$ac_exeext
30856 if { (ac_try="$ac_link"
30857 case "(($ac_try" in
30858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30859 *) ac_try_echo
=$ac_try;;
30861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30862 (eval "$ac_link") 2>conftest.er1
30864 grep -v '^ *+' conftest.er1
>conftest.err
30866 cat conftest.err
>&5
30867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30868 (exit $ac_status); } &&
30869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30870 { (case "(($ac_try" in
30871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30872 *) ac_try_echo=$ac_try;;
30874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30875 (eval "$ac_try") 2>&5
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); }; } &&
30879 { ac_try='test -s conftest$ac_exeext'
30880 { (case "(($ac_try" in
30881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30882 *) ac_try_echo
=$ac_try;;
30884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30885 (eval "$ac_try") 2>&5
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); }; }; then
30889 eval "$as_ac_var=yes"
30891 echo "$as_me: failed program was:" >&5
30892 sed 's/^/| /' conftest.
$ac_ext >&5
30894 eval "$as_ac_var=no"
30897 rm -f core conftest.err conftest.
$ac_objext \
30898 conftest
$ac_exeext conftest.
$ac_ext
30900 ac_res
=`eval echo '${'$as_ac_var'}'`
30901 { echo "$as_me:$LINENO: result: $ac_res" >&5
30902 echo "${ECHO_T}$ac_res" >&6; }
30903 if test `eval echo '${'$as_ac_var'}'` = yes; then
30904 cat >>confdefs.h
<<_ACEOF
30905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30914 for ac_func
in isatty mkdtemp mkstemp
30916 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30917 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30919 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30920 echo $ECHO_N "(cached) $ECHO_C" >&6
30922 cat >conftest.
$ac_ext <<_ACEOF
30925 cat confdefs.h
>>conftest.
$ac_ext
30926 cat >>conftest.
$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30930 #define $ac_func innocuous_$ac_func
30932 /* System header to define __stub macros and hopefully few prototypes,
30933 which can conflict with char $ac_func (); below.
30934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30935 <limits.h> exists even on freestanding compilers. */
30938 # include <limits.h>
30940 # include <assert.h>
30945 /* Override any GCC internal prototype to avoid an error.
30946 Use char because int might match the return type of a GCC
30947 builtin and then its argument prototype would still apply. */
30952 /* The GNU C library defines this for functions which it implements
30953 to always fail with ENOSYS. Some functions are actually named
30954 something starting with __ and the normal name is an alias. */
30955 #if defined __stub_$ac_func || defined __stub___$ac_func
30962 return $ac_func ();
30967 rm -f conftest.
$ac_objext conftest
$ac_exeext
30968 if { (ac_try
="$ac_link"
30969 case "(($ac_try" in
30970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30971 *) ac_try_echo=$ac_try;;
30973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30974 (eval "$ac_link") 2>conftest.er1
30976 grep -v '^ *+' conftest.er1 >conftest.err
30978 cat conftest.err >&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); } &&
30981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30982 { (case "(($ac_try" in
30983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30984 *) ac_try_echo
=$ac_try;;
30986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30987 (eval "$ac_try") 2>&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); }; } &&
30991 { ac_try
='test -s conftest$ac_exeext'
30992 { (case "(($ac_try" in
30993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30994 *) ac_try_echo=$ac_try;;
30996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30997 (eval "$ac_try") 2>&5
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); }; }; then
31001 eval "$as_ac_var=yes"
31003 echo "$as_me: failed program was:" >&5
31004 sed 's/^/| /' conftest.$ac_ext >&5
31006 eval "$as_ac_var=no"
31009 rm -f core conftest.err conftest.$ac_objext \
31010 conftest$ac_exeext conftest.$ac_ext
31012 ac_res=`eval echo '${'$as_ac_var'}'`
31013 { echo "$as_me:$LINENO: result: $ac_res" >&5
31014 echo "${ECHO_T}$ac_res" >&6; }
31015 if test `eval echo '${'$as_ac_var'}'` = yes; then
31016 cat >>confdefs.h <<_ACEOF
31017 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31030 for ac_func in mktemp realpath sbrk setrlimit strdup strerror strerror_r
31032 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31035 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31038 cat >conftest.$ac_ext <<_ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31046 #define $ac_func innocuous_$ac_func
31048 /* System header to define __stub macros and hopefully few prototypes,
31049 which can conflict with char $ac_func (); below.
31050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31051 <limits.h> exists even on freestanding compilers. */
31054 # include <limits.h>
31056 # include <assert.h>
31061 /* Override any GCC internal prototype to avoid an error.
31062 Use char because int might match the return type of a GCC
31063 builtin and then its argument prototype would still apply. */
31068 /* The GNU C library defines this for functions which it implements
31069 to always fail with ENOSYS. Some functions are actually named
31070 something starting with __ and the normal name is an alias. */
31071 #if defined __stub_$ac_func || defined __stub___$ac_func
31078 return $ac_func ();
31083 rm -f conftest.$ac_objext conftest$ac_exeext
31084 if { (ac_try="$ac_link"
31085 case "(($ac_try" in
31086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31087 *) ac_try_echo
=$ac_try;;
31089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31090 (eval "$ac_link") 2>conftest.er1
31092 grep -v '^ *+' conftest.er1
>conftest.err
31094 cat conftest.err
>&5
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); } &&
31097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31098 { (case "(($ac_try" in
31099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31100 *) ac_try_echo=$ac_try;;
31102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31103 (eval "$ac_try") 2>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; } &&
31107 { ac_try='test -s conftest$ac_exeext'
31108 { (case "(($ac_try" in
31109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31110 *) ac_try_echo
=$ac_try;;
31112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31113 (eval "$ac_try") 2>&5
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; }; then
31117 eval "$as_ac_var=yes"
31119 echo "$as_me: failed program was:" >&5
31120 sed 's/^/| /' conftest.
$ac_ext >&5
31122 eval "$as_ac_var=no"
31125 rm -f core conftest.err conftest.
$ac_objext \
31126 conftest
$ac_exeext conftest.
$ac_ext
31128 ac_res
=`eval echo '${'$as_ac_var'}'`
31129 { echo "$as_me:$LINENO: result: $ac_res" >&5
31130 echo "${ECHO_T}$ac_res" >&6; }
31131 if test `eval echo '${'$as_ac_var'}'` = yes; then
31132 cat >>confdefs.h
<<_ACEOF
31133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31143 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
31145 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31146 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31148 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31149 echo $ECHO_N "(cached) $ECHO_C" >&6
31151 cat >conftest.
$ac_ext <<_ACEOF
31154 cat confdefs.h
>>conftest.
$ac_ext
31155 cat >>conftest.
$ac_ext <<_ACEOF
31156 /* end confdefs.h. */
31157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31159 #define $ac_func innocuous_$ac_func
31161 /* System header to define __stub macros and hopefully few prototypes,
31162 which can conflict with char $ac_func (); below.
31163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31164 <limits.h> exists even on freestanding compilers. */
31167 # include <limits.h>
31169 # include <assert.h>
31174 /* Override any GCC internal prototype to avoid an error.
31175 Use char because int might match the return type of a GCC
31176 builtin and then its argument prototype would still apply. */
31181 /* The GNU C library defines this for functions which it implements
31182 to always fail with ENOSYS. Some functions are actually named
31183 something starting with __ and the normal name is an alias. */
31184 #if defined __stub_$ac_func || defined __stub___$ac_func
31191 return $ac_func ();
31196 rm -f conftest.
$ac_objext conftest
$ac_exeext
31197 if { (ac_try
="$ac_link"
31198 case "(($ac_try" in
31199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31200 *) ac_try_echo=$ac_try;;
31202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31203 (eval "$ac_link") 2>conftest.er1
31205 grep -v '^ *+' conftest.er1 >conftest.err
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } &&
31210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31211 { (case "(($ac_try" in
31212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31213 *) ac_try_echo
=$ac_try;;
31215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31216 (eval "$ac_try") 2>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; } &&
31220 { ac_try
='test -s conftest$ac_exeext'
31221 { (case "(($ac_try" in
31222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31223 *) ac_try_echo=$ac_try;;
31225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31226 (eval "$ac_try") 2>&5
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); }; }; then
31230 eval "$as_ac_var=yes"
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.$ac_ext >&5
31235 eval "$as_ac_var=no"
31238 rm -f core conftest.err conftest.$ac_objext \
31239 conftest$ac_exeext conftest.$ac_ext
31241 ac_res=`eval echo '${'$as_ac_var'}'`
31242 { echo "$as_me:$LINENO: result: $ac_res" >&5
31243 echo "${ECHO_T}$ac_res" >&6; }
31244 if test `eval echo '${'$as_ac_var'}'` = yes; then
31245 cat >>confdefs.h <<_ACEOF
31246 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31256 for ac_func in setjmp longjmp sigsetjmp siglongjmp
31258 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31259 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31261 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31262 echo $ECHO_N "(cached) $ECHO_C" >&6
31264 cat >conftest.$ac_ext <<_ACEOF
31267 cat confdefs.h >>conftest.$ac_ext
31268 cat >>conftest.$ac_ext <<_ACEOF
31269 /* end confdefs.h. */
31270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31272 #define $ac_func innocuous_$ac_func
31274 /* System header to define __stub macros and hopefully few prototypes,
31275 which can conflict with char $ac_func (); below.
31276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31277 <limits.h> exists even on freestanding compilers. */
31280 # include <limits.h>
31282 # include <assert.h>
31287 /* Override any GCC internal prototype to avoid an error.
31288 Use char because int might match the return type of a GCC
31289 builtin and then its argument prototype would still apply. */
31294 /* The GNU C library defines this for functions which it implements
31295 to always fail with ENOSYS. Some functions are actually named
31296 something starting with __ and the normal name is an alias. */
31297 #if defined __stub_$ac_func || defined __stub___$ac_func
31304 return $ac_func ();
31309 rm -f conftest.$ac_objext conftest$ac_exeext
31310 if { (ac_try="$ac_link"
31311 case "(($ac_try" in
31312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31313 *) ac_try_echo
=$ac_try;;
31315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31316 (eval "$ac_link") 2>conftest.er1
31318 grep -v '^ *+' conftest.er1
>conftest.err
31320 cat conftest.err
>&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); } &&
31323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31324 { (case "(($ac_try" in
31325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31326 *) ac_try_echo=$ac_try;;
31328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31329 (eval "$ac_try") 2>&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); }; } &&
31333 { ac_try='test -s conftest$ac_exeext'
31334 { (case "(($ac_try" in
31335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31336 *) ac_try_echo
=$ac_try;;
31338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31339 (eval "$ac_try") 2>&5
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); }; }; then
31343 eval "$as_ac_var=yes"
31345 echo "$as_me: failed program was:" >&5
31346 sed 's/^/| /' conftest.
$ac_ext >&5
31348 eval "$as_ac_var=no"
31351 rm -f core conftest.err conftest.
$ac_objext \
31352 conftest
$ac_exeext conftest.
$ac_ext
31354 ac_res
=`eval echo '${'$as_ac_var'}'`
31355 { echo "$as_me:$LINENO: result: $ac_res" >&5
31356 echo "${ECHO_T}$ac_res" >&6; }
31357 if test `eval echo '${'$as_ac_var'}'` = yes; then
31358 cat >>confdefs.h
<<_ACEOF
31359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31365 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
31366 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
31367 if test "${llvm_cv_c_printf_a+set}" = set; then
31368 echo $ECHO_N "(cached) $ECHO_C" >&6
31371 ac_cpp
='$CPP $CPPFLAGS'
31372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31376 if test "$cross_compiling" = yes; then
31377 llvmac_cv_c_printf_a
=no
31379 cat >conftest.
$ac_ext <<_ACEOF
31383 cat confdefs.h
>>conftest.
$ac_ext
31384 cat >>conftest.
$ac_ext <<_ACEOF
31385 /* end confdefs.h. */
31388 #include <stdlib.h>
31394 volatile double A, B;
31398 sprintf(Buffer, "%a", A);
31402 if (A != 0x1.999999999999ap-4)
31409 rm -f conftest
$ac_exeext
31410 if { (ac_try
="$ac_link"
31411 case "(($ac_try" in
31412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31413 *) ac_try_echo=$ac_try;;
31415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31416 (eval "$ac_link") 2>&5
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31420 { (case "(($ac_try" in
31421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31422 *) ac_try_echo
=$ac_try;;
31424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31425 (eval "$ac_try") 2>&5
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); }; }; then
31429 llvm_cv_c_printf_a
=yes
31431 echo "$as_me: program exited with status $ac_status" >&5
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.
$ac_ext >&5
31435 ( exit $ac_status )
31436 llvmac_cv_c_printf_a
=no
31438 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31443 ac_cpp
='$CPP $CPPFLAGS'
31444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31449 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
31450 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
31451 if test "$llvm_cv_c_printf_a" = "yes"; then
31453 cat >>confdefs.h
<<\_ACEOF
31454 #define HAVE_PRINTF_A 1
31459 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
31460 # for constant arguments. Useless!
31461 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
31462 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
31463 if test "${ac_cv_working_alloca_h+set}" = set; then
31464 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 cat >conftest.
$ac_ext <<_ACEOF
31469 cat confdefs.h
>>conftest.
$ac_ext
31470 cat >>conftest.
$ac_ext <<_ACEOF
31471 /* end confdefs.h. */
31472 #include <alloca.h>
31476 char *p = (char *) alloca (2 * sizeof (int));
31482 rm -f conftest.
$ac_objext conftest
$ac_exeext
31483 if { (ac_try
="$ac_link"
31484 case "(($ac_try" in
31485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31486 *) ac_try_echo=$ac_try;;
31488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31489 (eval "$ac_link") 2>conftest.er1
31491 grep -v '^ *+' conftest.er1 >conftest.err
31493 cat conftest.err >&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); } &&
31496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31497 { (case "(($ac_try" in
31498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31499 *) ac_try_echo
=$ac_try;;
31501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31502 (eval "$ac_try") 2>&5
31504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505 (exit $ac_status); }; } &&
31506 { ac_try
='test -s conftest$ac_exeext'
31507 { (case "(($ac_try" in
31508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31509 *) ac_try_echo=$ac_try;;
31511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31512 (eval "$ac_try") 2>&5
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; }; then
31516 ac_cv_working_alloca_h=yes
31518 echo "$as_me: failed program was:" >&5
31519 sed 's/^/| /' conftest.$ac_ext >&5
31521 ac_cv_working_alloca_h=no
31524 rm -f core conftest.err conftest.$ac_objext \
31525 conftest$ac_exeext conftest.$ac_ext
31527 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31528 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
31529 if test $ac_cv_working_alloca_h = yes; then
31531 cat >>confdefs.h <<\_ACEOF
31532 #define HAVE_ALLOCA_H 1
31537 { echo "$as_me:$LINENO: checking for alloca" >&5
31538 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
31539 if test "${ac_cv_func_alloca_works+set}" = set; then
31540 echo $ECHO_N "(cached) $ECHO_C" >&6
31542 cat >conftest.$ac_ext <<_ACEOF
31545 cat confdefs.h >>conftest.$ac_ext
31546 cat >>conftest.$ac_ext <<_ACEOF
31547 /* end confdefs.h. */
31549 # define alloca __builtin_alloca
31552 # include <malloc.h>
31553 # define alloca _alloca
31556 # include <alloca.h>
31561 # ifndef alloca /* predefined by HP cc +Olibcalls */
31572 char *p = (char *) alloca (1);
31578 rm -f conftest.$ac_objext conftest$ac_exeext
31579 if { (ac_try="$ac_link"
31580 case "(($ac_try" in
31581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31582 *) ac_try_echo
=$ac_try;;
31584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31585 (eval "$ac_link") 2>conftest.er1
31587 grep -v '^ *+' conftest.er1
>conftest.err
31589 cat conftest.err
>&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); } &&
31592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31593 { (case "(($ac_try" in
31594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31595 *) ac_try_echo=$ac_try;;
31597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31598 (eval "$ac_try") 2>&5
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 (exit $ac_status); }; } &&
31602 { ac_try='test -s conftest$ac_exeext'
31603 { (case "(($ac_try" in
31604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31605 *) ac_try_echo
=$ac_try;;
31607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31608 (eval "$ac_try") 2>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; }; then
31612 ac_cv_func_alloca_works
=yes
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.
$ac_ext >&5
31617 ac_cv_func_alloca_works
=no
31620 rm -f core conftest.err conftest.
$ac_objext \
31621 conftest
$ac_exeext conftest.
$ac_ext
31623 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31624 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31626 if test $ac_cv_func_alloca_works = yes; then
31628 cat >>confdefs.h
<<\_ACEOF
31629 #define HAVE_ALLOCA 1
31633 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
31634 # that cause trouble. Some versions do not even contain alloca or
31635 # contain a buggy version. If you still want to use their alloca,
31636 # use ar to extract alloca.o from them instead of compiling alloca.c.
31638 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
31640 cat >>confdefs.h
<<\_ACEOF
31645 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31646 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
31647 if test "${ac_cv_os_cray+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 cat >conftest.
$ac_ext <<_ACEOF
31653 cat confdefs.h
>>conftest.
$ac_ext
31654 cat >>conftest.
$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656 #if defined CRAY && ! defined CRAY2
31663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31664 $EGREP "webecray" >/dev
/null
2>&1; then
31672 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31673 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31674 if test $ac_cv_os_cray = yes; then
31675 for ac_func
in _getb67 GETB67 getb67
; do
31676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31679 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31680 echo $ECHO_N "(cached) $ECHO_C" >&6
31682 cat >conftest.
$ac_ext <<_ACEOF
31685 cat confdefs.h
>>conftest.
$ac_ext
31686 cat >>conftest.
$ac_ext <<_ACEOF
31687 /* end confdefs.h. */
31688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31690 #define $ac_func innocuous_$ac_func
31692 /* System header to define __stub macros and hopefully few prototypes,
31693 which can conflict with char $ac_func (); below.
31694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31695 <limits.h> exists even on freestanding compilers. */
31698 # include <limits.h>
31700 # include <assert.h>
31705 /* Override any GCC internal prototype to avoid an error.
31706 Use char because int might match the return type of a GCC
31707 builtin and then its argument prototype would still apply. */
31712 /* The GNU C library defines this for functions which it implements
31713 to always fail with ENOSYS. Some functions are actually named
31714 something starting with __ and the normal name is an alias. */
31715 #if defined __stub_$ac_func || defined __stub___$ac_func
31722 return $ac_func ();
31727 rm -f conftest.
$ac_objext conftest
$ac_exeext
31728 if { (ac_try
="$ac_link"
31729 case "(($ac_try" in
31730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31731 *) ac_try_echo=$ac_try;;
31733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31734 (eval "$ac_link") 2>conftest.er1
31736 grep -v '^ *+' conftest.er1 >conftest.err
31738 cat conftest.err >&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); } &&
31741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31742 { (case "(($ac_try" in
31743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31744 *) ac_try_echo
=$ac_try;;
31746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31747 (eval "$ac_try") 2>&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); }; } &&
31751 { ac_try
='test -s conftest$ac_exeext'
31752 { (case "(($ac_try" in
31753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31754 *) ac_try_echo=$ac_try;;
31756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31757 (eval "$ac_try") 2>&5
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); }; }; then
31761 eval "$as_ac_var=yes"
31763 echo "$as_me: failed program was:" >&5
31764 sed 's/^/| /' conftest.$ac_ext >&5
31766 eval "$as_ac_var=no"
31769 rm -f core conftest.err conftest.$ac_objext \
31770 conftest$ac_exeext conftest.$ac_ext
31772 ac_res=`eval echo '${'$as_ac_var'}'`
31773 { echo "$as_me:$LINENO: result: $ac_res" >&5
31774 echo "${ECHO_T}$ac_res" >&6; }
31775 if test `eval echo '${'$as_ac_var'}'` = yes; then
31777 cat >>confdefs.h <<_ACEOF
31778 #define CRAY_STACKSEG_END $ac_func
31787 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31788 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31789 if test "${ac_cv_c_stack_direction+set}" = set; then
31790 echo $ECHO_N "(cached) $ECHO_C" >&6
31792 if test "$cross_compiling" = yes; then
31793 ac_cv_c_stack_direction=0
31795 cat >conftest.$ac_ext <<_ACEOF
31798 cat confdefs.h >>conftest.$ac_ext
31799 cat >>conftest.$ac_ext <<_ACEOF
31800 /* end confdefs.h. */
31801 $ac_includes_default
31803 find_stack_direction ()
31805 static char *addr = 0;
31810 return find_stack_direction ();
31813 return (&dummy > addr) ? 1 : -1;
31819 return find_stack_direction () < 0;
31822 rm -f conftest$ac_exeext
31823 if { (ac_try="$ac_link"
31824 case "(($ac_try" in
31825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31826 *) ac_try_echo
=$ac_try;;
31828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31829 (eval "$ac_link") 2>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31833 { (case "(($ac_try" in
31834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31835 *) ac_try_echo=$ac_try;;
31837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31838 (eval "$ac_try") 2>&5
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); }; }; then
31842 ac_cv_c_stack_direction=1
31844 echo "$as_me: program exited with status $ac_status" >&5
31845 echo "$as_me: failed program was:" >&5
31846 sed 's/^/| /' conftest.$ac_ext >&5
31848 ( exit $ac_status )
31849 ac_cv_c_stack_direction=-1
31851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31856 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31857 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31859 cat >>confdefs.h <<_ACEOF
31860 #define STACK_DIRECTION $ac_cv_c_stack_direction
31867 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
31868 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
31869 if test "${ac_cv_func_rand48+set}" = set; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31873 ac_cpp='$CXXCPP $CPPFLAGS'
31874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31878 cat >conftest.$ac_ext <<_ACEOF
31881 cat confdefs.h >>conftest.$ac_ext
31882 cat >>conftest.$ac_ext <<_ACEOF
31883 /* end confdefs.h. */
31884 #include <stdlib.h>
31888 srand48(0);lrand48();drand48();
31893 rm -f conftest.$ac_objext
31894 if { (ac_try="$ac_compile"
31895 case "(($ac_try" in
31896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31897 *) ac_try_echo
=$ac_try;;
31899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31900 (eval "$ac_compile") 2>conftest.er1
31902 grep -v '^ *+' conftest.er1
>conftest.err
31904 cat conftest.err
>&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } &&
31907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31908 { (case "(($ac_try" in
31909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31910 *) ac_try_echo=$ac_try;;
31912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31913 (eval "$ac_try") 2>&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try='test -s conftest.$ac_objext'
31918 { (case "(($ac_try" in
31919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31920 *) ac_try_echo
=$ac_try;;
31922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31923 (eval "$ac_try") 2>&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); }; }; then
31927 ac_cv_func_rand48
=yes
31929 echo "$as_me: failed program was:" >&5
31930 sed 's/^/| /' conftest.
$ac_ext >&5
31932 ac_cv_func_rand48
=no
31935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31937 ac_cpp
='$CPP $CPPFLAGS'
31938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31943 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
31944 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
31946 if test "$ac_cv_func_rand48" = "yes" ; then
31948 cat >>confdefs.h
<<\_ACEOF
31949 #define HAVE_RAND48 1
31955 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
31956 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
31957 if test "${ac_cv_cxx_namespaces+set}" = set; then
31958 echo $ECHO_N "(cached) $ECHO_C" >&6
31961 ac_cpp
='$CXXCPP $CPPFLAGS'
31962 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31966 cat >conftest.
$ac_ext <<_ACEOF
31969 cat confdefs.h
>>conftest.
$ac_ext
31970 cat >>conftest.
$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31972 namespace Outer { namespace Inner { int i = 0; }}
31976 using namespace Outer::Inner; return i;
31981 rm -f conftest.
$ac_objext
31982 if { (ac_try
="$ac_compile"
31983 case "(($ac_try" in
31984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31985 *) ac_try_echo=$ac_try;;
31987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31988 (eval "$ac_compile") 2>conftest.er1
31990 grep -v '^ *+' conftest.er1 >conftest.err
31992 cat conftest.err >&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); } &&
31995 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31996 { (case "(($ac_try" in
31997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31998 *) ac_try_echo
=$ac_try;;
32000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32001 (eval "$ac_try") 2>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; } &&
32005 { ac_try
='test -s conftest.$ac_objext'
32006 { (case "(($ac_try" in
32007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32008 *) ac_try_echo=$ac_try;;
32010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32011 (eval "$ac_try") 2>&5
32013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014 (exit $ac_status); }; }; then
32015 ac_cv_cxx_namespaces=yes
32017 echo "$as_me: failed program was:" >&5
32018 sed 's/^/| /' conftest.$ac_ext >&5
32020 ac_cv_cxx_namespaces=no
32023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32025 ac_cpp='$CPP $CPPFLAGS'
32026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32032 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
32033 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
32034 if test "$ac_cv_cxx_namespaces" = yes; then
32036 cat >>confdefs.h <<\_ACEOF
32037 #define HAVE_NAMESPACES
32042 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
32043 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
32044 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
32045 echo $ECHO_N "(cached) $ECHO_C" >&6
32049 ac_cpp='$CXXCPP $CPPFLAGS'
32050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32054 cat >conftest.$ac_ext <<_ACEOF
32057 cat confdefs.h >>conftest.$ac_ext
32058 cat >>conftest.$ac_ext <<_ACEOF
32059 /* end confdefs.h. */
32060 #include <iterator>
32061 #ifdef HAVE_NAMESPACES
32062 using namespace std;
32067 iterator<int,int,int> t; return 0;
32072 rm -f conftest.$ac_objext
32073 if { (ac_try="$ac_compile"
32074 case "(($ac_try" in
32075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32076 *) ac_try_echo
=$ac_try;;
32078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32079 (eval "$ac_compile") 2>conftest.er1
32081 grep -v '^ *+' conftest.er1
>conftest.err
32083 cat conftest.err
>&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } &&
32086 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32087 { (case "(($ac_try" in
32088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32089 *) ac_try_echo=$ac_try;;
32091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32092 (eval "$ac_try") 2>&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); }; } &&
32096 { ac_try='test -s conftest.$ac_objext'
32097 { (case "(($ac_try" in
32098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32099 *) ac_try_echo
=$ac_try;;
32101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32102 (eval "$ac_try") 2>&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); }; }; then
32106 ac_cv_cxx_have_std_iterator
=yes
32108 echo "$as_me: failed program was:" >&5
32109 sed 's/^/| /' conftest.
$ac_ext >&5
32111 ac_cv_cxx_have_std_iterator
=no
32114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32116 ac_cpp
='$CPP $CPPFLAGS'
32117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32123 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
32124 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32125 if test "$ac_cv_cxx_have_std_iterator" = yes
32128 cat >>confdefs.h
<<\_ACEOF
32129 #define HAVE_STD_ITERATOR 1
32134 cat >>confdefs.h
<<\_ACEOF
32135 #define HAVE_STD_ITERATOR 0
32140 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
32141 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
32142 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32143 echo $ECHO_N "(cached) $ECHO_C" >&6
32147 ac_cpp
='$CXXCPP $CPPFLAGS'
32148 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32149 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32150 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32152 cat >conftest.
$ac_ext <<_ACEOF
32155 cat confdefs.h
>>conftest.
$ac_ext
32156 cat >>conftest.
$ac_ext <<_ACEOF
32157 /* end confdefs.h. */
32158 #include <iterator>
32159 #ifdef HAVE_NAMESPACES
32160 using namespace std;
32165 bidirectional_iterator<int,int> t; return 0;
32170 rm -f conftest.
$ac_objext
32171 if { (ac_try
="$ac_compile"
32172 case "(($ac_try" in
32173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32174 *) ac_try_echo=$ac_try;;
32176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32177 (eval "$ac_compile") 2>conftest.er1
32179 grep -v '^ *+' conftest.er1 >conftest.err
32181 cat conftest.err >&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } &&
32184 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32185 { (case "(($ac_try" in
32186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32187 *) ac_try_echo
=$ac_try;;
32189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32190 (eval "$ac_try") 2>&5
32192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32193 (exit $ac_status); }; } &&
32194 { ac_try
='test -s conftest.$ac_objext'
32195 { (case "(($ac_try" in
32196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32197 *) ac_try_echo=$ac_try;;
32199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32200 (eval "$ac_try") 2>&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); }; }; then
32204 ac_cv_cxx_have_bi_iterator=yes
32206 echo "$as_me: failed program was:" >&5
32207 sed 's/^/| /' conftest.$ac_ext >&5
32209 ac_cv_cxx_have_bi_iterator=no
32212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32214 ac_cpp='$CPP $CPPFLAGS'
32215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32221 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
32222 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32223 if test "$ac_cv_cxx_have_bi_iterator" = yes
32226 cat >>confdefs.h <<\_ACEOF
32227 #define HAVE_BI_ITERATOR 1
32232 cat >>confdefs.h <<\_ACEOF
32233 #define HAVE_BI_ITERATOR 0
32238 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
32239 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
32240 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32241 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 ac_cpp='$CXXCPP $CPPFLAGS'
32246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32250 cat >conftest.$ac_ext <<_ACEOF
32253 cat confdefs.h >>conftest.$ac_ext
32254 cat >>conftest.$ac_ext <<_ACEOF
32255 /* end confdefs.h. */
32256 #include <iterator>
32257 #ifdef HAVE_NAMESPACES
32258 using namespace std;
32263 forward_iterator<int,int> t; return 0;
32268 rm -f conftest.$ac_objext
32269 if { (ac_try="$ac_compile"
32270 case "(($ac_try" in
32271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32272 *) ac_try_echo
=$ac_try;;
32274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32275 (eval "$ac_compile") 2>conftest.er1
32277 grep -v '^ *+' conftest.er1
>conftest.err
32279 cat conftest.err
>&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32283 { (case "(($ac_try" in
32284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_try") 2>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; } &&
32292 { ac_try='test -s conftest.$ac_objext'
32293 { (case "(($ac_try" in
32294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32295 *) ac_try_echo
=$ac_try;;
32297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32298 (eval "$ac_try") 2>&5
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); }; }; then
32302 ac_cv_cxx_have_fwd_iterator
=yes
32304 echo "$as_me: failed program was:" >&5
32305 sed 's/^/| /' conftest.
$ac_ext >&5
32307 ac_cv_cxx_have_fwd_iterator
=no
32310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32312 ac_cpp
='$CPP $CPPFLAGS'
32313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32319 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
32320 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32321 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32324 cat >>confdefs.h
<<\_ACEOF
32325 #define HAVE_FWD_ITERATOR 1
32330 cat >>confdefs.h
<<\_ACEOF
32331 #define HAVE_FWD_ITERATOR 0
32337 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
32338 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
32339 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32340 echo $ECHO_N "(cached) $ECHO_C" >&6
32343 ac_cpp
='$CXXCPP $CPPFLAGS'
32344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32348 cat >conftest.
$ac_ext <<_ACEOF
32351 cat confdefs.h
>>conftest.
$ac_ext
32352 cat >>conftest.
$ac_ext <<_ACEOF
32353 /* end confdefs.h. */
32363 rm -f conftest.
$ac_objext
32364 if { (ac_try
="$ac_compile"
32365 case "(($ac_try" in
32366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32367 *) ac_try_echo=$ac_try;;
32369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32370 (eval "$ac_compile") 2>conftest.er1
32372 grep -v '^ *+' conftest.er1 >conftest.err
32374 cat conftest.err >&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } &&
32377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32378 { (case "(($ac_try" in
32379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32380 *) ac_try_echo
=$ac_try;;
32382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32383 (eval "$ac_try") 2>&5
32385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32386 (exit $ac_status); }; } &&
32387 { ac_try
='test -s conftest.$ac_objext'
32388 { (case "(($ac_try" in
32389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32390 *) ac_try_echo=$ac_try;;
32392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32393 (eval "$ac_try") 2>&5
32395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32396 (exit $ac_status); }; }; then
32397 ac_cv_func_isnan_in_math_h=yes
32399 echo "$as_me: failed program was:" >&5
32400 sed 's/^/| /' conftest.$ac_ext >&5
32402 ac_cv_func_isnan_in_math_h=no
32405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32407 ac_cpp='$CPP $CPPFLAGS'
32408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32413 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
32414 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32417 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32419 cat >>confdefs.h <<\_ACEOF
32420 #define HAVE_ISNAN_IN_MATH_H 1
32425 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
32426 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
32427 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32428 echo $ECHO_N "(cached) $ECHO_C" >&6
32431 ac_cpp='$CXXCPP $CPPFLAGS'
32432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32436 cat >conftest.$ac_ext <<_ACEOF
32439 cat confdefs.h >>conftest.$ac_ext
32440 cat >>conftest.$ac_ext <<_ACEOF
32441 /* end confdefs.h. */
32451 rm -f conftest.$ac_objext
32452 if { (ac_try="$ac_compile"
32453 case "(($ac_try" in
32454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32455 *) ac_try_echo
=$ac_try;;
32457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32458 (eval "$ac_compile") 2>conftest.er1
32460 grep -v '^ *+' conftest.er1
>conftest.err
32462 cat conftest.err
>&5
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); } &&
32465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32466 { (case "(($ac_try" in
32467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32468 *) ac_try_echo=$ac_try;;
32470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32471 (eval "$ac_try") 2>&5
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); }; } &&
32475 { ac_try='test -s conftest.$ac_objext'
32476 { (case "(($ac_try" in
32477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32478 *) ac_try_echo
=$ac_try;;
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_try") 2>&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; }; then
32485 ac_cv_func_isnan_in_cmath
=yes
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.
$ac_ext >&5
32490 ac_cv_func_isnan_in_cmath
=no
32493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32495 ac_cpp
='$CPP $CPPFLAGS'
32496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32501 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
32502 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32504 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32506 cat >>confdefs.h
<<\_ACEOF
32507 #define HAVE_ISNAN_IN_CMATH 1
32512 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
32513 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
32514 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32515 echo $ECHO_N "(cached) $ECHO_C" >&6
32518 ac_cpp
='$CXXCPP $CPPFLAGS'
32519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32523 cat >conftest.
$ac_ext <<_ACEOF
32526 cat confdefs.h
>>conftest.
$ac_ext
32527 cat >>conftest.
$ac_ext <<_ACEOF
32528 /* end confdefs.h. */
32533 float f; std::isnan(f);
32538 rm -f conftest.
$ac_objext
32539 if { (ac_try
="$ac_compile"
32540 case "(($ac_try" in
32541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32542 *) ac_try_echo=$ac_try;;
32544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32545 (eval "$ac_compile") 2>conftest.er1
32547 grep -v '^ *+' conftest.er1 >conftest.err
32549 cat conftest.err >&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } &&
32552 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32553 { (case "(($ac_try" in
32554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32555 *) ac_try_echo
=$ac_try;;
32557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32558 (eval "$ac_try") 2>&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; } &&
32562 { ac_try
='test -s conftest.$ac_objext'
32563 { (case "(($ac_try" in
32564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32565 *) ac_try_echo=$ac_try;;
32567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32568 (eval "$ac_try") 2>&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); }; }; then
32572 ac_cv_func_std_isnan_in_cmath=yes
32574 echo "$as_me: failed program was:" >&5
32575 sed 's/^/| /' conftest.$ac_ext >&5
32577 ac_cv_func_std_isnan_in_cmath=no
32580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32588 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
32589 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32591 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32593 cat >>confdefs.h <<\_ACEOF
32594 #define HAVE_STD_ISNAN_IN_CMATH 1
32600 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
32601 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
32602 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32603 echo $ECHO_N "(cached) $ECHO_C" >&6
32606 ac_cpp='$CXXCPP $CPPFLAGS'
32607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32611 cat >conftest.$ac_ext <<_ACEOF
32614 cat confdefs.h >>conftest.$ac_ext
32615 cat >>conftest.$ac_ext <<_ACEOF
32616 /* end confdefs.h. */
32626 rm -f conftest.$ac_objext
32627 if { (ac_try="$ac_compile"
32628 case "(($ac_try" in
32629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32630 *) ac_try_echo
=$ac_try;;
32632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32633 (eval "$ac_compile") 2>conftest.er1
32635 grep -v '^ *+' conftest.er1
>conftest.err
32637 cat conftest.err
>&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32641 { (case "(($ac_try" in
32642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32643 *) ac_try_echo=$ac_try;;
32645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32646 (eval "$ac_try") 2>&5
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); }; } &&
32650 { ac_try='test -s conftest.$ac_objext'
32651 { (case "(($ac_try" in
32652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32653 *) ac_try_echo
=$ac_try;;
32655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32656 (eval "$ac_try") 2>&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); }; }; then
32660 ac_cv_func_isinf_in_math_h
=yes
32662 echo "$as_me: failed program was:" >&5
32663 sed 's/^/| /' conftest.
$ac_ext >&5
32665 ac_cv_func_isinf_in_math_h
=no
32668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32670 ac_cpp
='$CPP $CPPFLAGS'
32671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32676 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
32677 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
32679 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
32681 cat >>confdefs.h
<<\_ACEOF
32682 #define HAVE_ISINF_IN_MATH_H 1
32687 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
32688 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
32689 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
32690 echo $ECHO_N "(cached) $ECHO_C" >&6
32693 ac_cpp
='$CXXCPP $CPPFLAGS'
32694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32698 cat >conftest.
$ac_ext <<_ACEOF
32701 cat confdefs.h
>>conftest.
$ac_ext
32702 cat >>conftest.
$ac_ext <<_ACEOF
32703 /* end confdefs.h. */
32713 rm -f conftest.
$ac_objext
32714 if { (ac_try
="$ac_compile"
32715 case "(($ac_try" in
32716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32717 *) ac_try_echo=$ac_try;;
32719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32720 (eval "$ac_compile") 2>conftest.er1
32722 grep -v '^ *+' conftest.er1 >conftest.err
32724 cat conftest.err >&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); } &&
32727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32728 { (case "(($ac_try" in
32729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32730 *) ac_try_echo
=$ac_try;;
32732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32733 (eval "$ac_try") 2>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; } &&
32737 { ac_try
='test -s conftest.$ac_objext'
32738 { (case "(($ac_try" in
32739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32740 *) ac_try_echo=$ac_try;;
32742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32743 (eval "$ac_try") 2>&5
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); }; }; then
32747 ac_cv_func_isinf_in_cmath=yes
32749 echo "$as_me: failed program was:" >&5
32750 sed 's/^/| /' conftest.$ac_ext >&5
32752 ac_cv_func_isinf_in_cmath=no
32755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32757 ac_cpp='$CPP $CPPFLAGS'
32758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32763 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
32764 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
32766 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
32768 cat >>confdefs.h <<\_ACEOF
32769 #define HAVE_ISINF_IN_CMATH 1
32774 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
32775 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
32776 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
32777 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 ac_cpp='$CXXCPP $CPPFLAGS'
32781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785 cat >conftest.$ac_ext <<_ACEOF
32788 cat confdefs.h >>conftest.$ac_ext
32789 cat >>conftest.$ac_ext <<_ACEOF
32790 /* end confdefs.h. */
32795 float f; std::isinf(f)}
32800 rm -f conftest.$ac_objext
32801 if { (ac_try="$ac_compile"
32802 case "(($ac_try" in
32803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32804 *) ac_try_echo
=$ac_try;;
32806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32807 (eval "$ac_compile") 2>conftest.er1
32809 grep -v '^ *+' conftest.er1
>conftest.err
32811 cat conftest.err
>&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); } &&
32814 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32815 { (case "(($ac_try" in
32816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32817 *) ac_try_echo=$ac_try;;
32819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32820 (eval "$ac_try") 2>&5
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); }; } &&
32824 { ac_try='test -s conftest.$ac_objext'
32825 { (case "(($ac_try" in
32826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32827 *) ac_try_echo
=$ac_try;;
32829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32830 (eval "$ac_try") 2>&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); }; }; then
32834 ac_cv_func_std_isinf_in_cmath
=yes
32836 echo "$as_me: failed program was:" >&5
32837 sed 's/^/| /' conftest.
$ac_ext >&5
32839 ac_cv_func_std_isinf_in_cmath
=no
32842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32844 ac_cpp
='$CPP $CPPFLAGS'
32845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32850 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
32851 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
32853 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
32855 cat >>confdefs.h
<<\_ACEOF
32856 #define HAVE_STD_ISINF_IN_CMATH 1
32861 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
32862 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
32863 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
32864 echo $ECHO_N "(cached) $ECHO_C" >&6
32867 ac_cpp
='$CXXCPP $CPPFLAGS'
32868 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32869 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32870 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32872 cat >conftest.
$ac_ext <<_ACEOF
32875 cat confdefs.h
>>conftest.
$ac_ext
32876 cat >>conftest.
$ac_ext <<_ACEOF
32877 /* end confdefs.h. */
32878 #include <ieeefp.h>
32882 float f; finite(f);
32887 rm -f conftest.
$ac_objext
32888 if { (ac_try
="$ac_compile"
32889 case "(($ac_try" in
32890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32891 *) ac_try_echo=$ac_try;;
32893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32894 (eval "$ac_compile") 2>conftest.er1
32896 grep -v '^ *+' conftest.er1 >conftest.err
32898 cat conftest.err >&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } &&
32901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32902 { (case "(($ac_try" in
32903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32904 *) ac_try_echo
=$ac_try;;
32906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32907 (eval "$ac_try") 2>&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; } &&
32911 { ac_try
='test -s conftest.$ac_objext'
32912 { (case "(($ac_try" in
32913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32914 *) ac_try_echo=$ac_try;;
32916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32917 (eval "$ac_try") 2>&5
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); }; }; then
32921 ac_cv_func_finite_in_ieeefp_h=yes
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.$ac_ext >&5
32926 ac_cv_func_finite_in_ieeefp_h=no
32929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32931 ac_cpp='$CPP $CPPFLAGS'
32932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32937 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
32938 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
32940 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
32942 cat >>confdefs.h <<\_ACEOF
32943 #define HAVE_FINITE_IN_IEEEFP_H 1
32950 if test "$llvm_cv_platform_type" = "Unix" ; then
32953 for ac_header in stdlib.h unistd.h
32955 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
32956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32960 echo $ECHO_N "(cached) $ECHO_C" >&6
32962 ac_res=`eval echo '${'$as_ac_Header'}'`
32963 { echo "$as_me:$LINENO: result: $ac_res" >&5
32964 echo "${ECHO_T}$ac_res" >&6; }
32966 # Is the header compilable?
32967 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
32968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
32969 cat >conftest.$ac_ext <<_ACEOF
32972 cat confdefs.h >>conftest.$ac_ext
32973 cat >>conftest.$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32975 $ac_includes_default
32976 #include <$ac_header>
32978 rm -f conftest.$ac_objext
32979 if { (ac_try="$ac_compile"
32980 case "(($ac_try" in
32981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32982 *) ac_try_echo
=$ac_try;;
32984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32985 (eval "$ac_compile") 2>conftest.er1
32987 grep -v '^ *+' conftest.er1
>conftest.err
32989 cat conftest.err
>&5
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); } &&
32992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32993 { (case "(($ac_try" in
32994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32995 *) ac_try_echo=$ac_try;;
32997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32998 (eval "$ac_try") 2>&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); }; } &&
33002 { ac_try='test -s conftest.$ac_objext'
33003 { (case "(($ac_try" in
33004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33005 *) ac_try_echo
=$ac_try;;
33007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33008 (eval "$ac_try") 2>&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; }; then
33012 ac_header_compiler
=yes
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.
$ac_ext >&5
33017 ac_header_compiler
=no
33020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33021 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33022 echo "${ECHO_T}$ac_header_compiler" >&6; }
33024 # Is the header present?
33025 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33027 cat >conftest.
$ac_ext <<_ACEOF
33030 cat confdefs.h
>>conftest.
$ac_ext
33031 cat >>conftest.
$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033 #include <$ac_header>
33035 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33036 case "(($ac_try" in
33037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33038 *) ac_try_echo=$ac_try;;
33040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33043 grep -v '^ *+' conftest.er1 >conftest.err
33045 cat conftest.err >&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); } >/dev/null; then
33048 if test -s conftest.err; then
33049 ac_cpp_err=$ac_c_preproc_warn_flag
33050 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33057 if test -z "$ac_cpp_err"; then
33058 ac_header_preproc=yes
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.$ac_ext >&5
33063 ac_header_preproc=no
33066 rm -f conftest.err conftest.$ac_ext
33067 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33068 echo "${ECHO_T}$ac_header_preproc" >&6; }
33070 # So? What about this header?
33071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33077 ac_header_preproc=yes
33080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33093 ## ----------------------------------- ##
33094 ## Report this to llvmbugs@cs.uiuc.edu ##
33095 ## ----------------------------------- ##
33097 ) | sed "s/^/$as_me: WARNING: /" >&2
33100 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33102 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 eval "$as_ac_Header=\$ac_header_preproc"
33107 ac_res=`eval echo '${'$as_ac_Header'}'`
33108 { echo "$as_me:$LINENO: result: $ac_res" >&5
33109 echo "${ECHO_T}$ac_res" >&6; }
33112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33113 cat >>confdefs.h <<_ACEOF
33114 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
33122 for ac_func in getpagesize
33124 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
33125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33130 cat >conftest.$ac_ext <<_ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33138 #define $ac_func innocuous_$ac_func
33140 /* System header to define __stub macros and hopefully few prototypes,
33141 which can conflict with char $ac_func (); below.
33142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33143 <limits.h> exists even on freestanding compilers. */
33146 # include <limits.h>
33148 # include <assert.h>
33153 /* Override any GCC internal prototype to avoid an error.
33154 Use char because int might match the return type of a GCC
33155 builtin and then its argument prototype would still apply. */
33160 /* The GNU C library defines this for functions which it implements
33161 to always fail with ENOSYS. Some functions are actually named
33162 something starting with __ and the normal name is an alias. */
33163 #if defined __stub_$ac_func || defined __stub___$ac_func
33170 return $ac_func ();
33175 rm -f conftest.$ac_objext conftest$ac_exeext
33176 if { (ac_try="$ac_link"
33177 case "(($ac_try" in
33178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33179 *) ac_try_echo
=$ac_try;;
33181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33182 (eval "$ac_link") 2>conftest.er1
33184 grep -v '^ *+' conftest.er1
>conftest.err
33186 cat conftest.err
>&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); } &&
33189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33190 { (case "(($ac_try" in
33191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_try") 2>&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); }; } &&
33199 { ac_try='test -s conftest$ac_exeext'
33200 { (case "(($ac_try" in
33201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33202 *) ac_try_echo
=$ac_try;;
33204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33205 (eval "$ac_try") 2>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); }; }; then
33209 eval "$as_ac_var=yes"
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.
$ac_ext >&5
33214 eval "$as_ac_var=no"
33217 rm -f core conftest.err conftest.
$ac_objext \
33218 conftest
$ac_exeext conftest.
$ac_ext
33220 ac_res
=`eval echo '${'$as_ac_var'}'`
33221 { echo "$as_me:$LINENO: result: $ac_res" >&5
33222 echo "${ECHO_T}$ac_res" >&6; }
33223 if test `eval echo '${'$as_ac_var'}'` = yes; then
33224 cat >>confdefs.h
<<_ACEOF
33225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33231 { echo "$as_me:$LINENO: checking for working mmap" >&5
33232 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33233 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33234 echo $ECHO_N "(cached) $ECHO_C" >&6
33236 if test "$cross_compiling" = yes; then
33237 ac_cv_func_mmap_fixed_mapped
=no
33239 cat >conftest.
$ac_ext <<_ACEOF
33242 cat confdefs.h
>>conftest.
$ac_ext
33243 cat >>conftest.
$ac_ext <<_ACEOF
33244 /* end confdefs.h. */
33245 $ac_includes_default
33246 /* malloc might have been renamed as rpl_malloc. */
33249 /* Thanks to Mike Haertel and Jim Avera for this test.
33250 Here is a matrix of mmap possibilities:
33251 mmap private not fixed
33252 mmap private fixed at somewhere currently unmapped
33253 mmap private fixed at somewhere already mapped
33254 mmap shared not fixed
33255 mmap shared fixed at somewhere currently unmapped
33256 mmap shared fixed at somewhere already mapped
33257 For private mappings, we should verify that changes cannot be read()
33258 back from the file, nor mmap's back from the file at a different
33259 address. (There have been systems where private was not correctly
33260 implemented like the infamous i386 svr4.0, and systems where the
33261 VM page cache was not coherent with the file system buffer cache
33262 like early versions of FreeBSD and possibly contemporary NetBSD.)
33263 For shared mappings, we should conversely verify that changes get
33264 propagated back to all the places they're supposed to be.
33266 Grep wants private fixed already mapped.
33267 The main things grep needs to know about mmap are:
33268 * does it exist and is it safe to write into the mmap'd area
33269 * how to use it (BSD variants) */
33272 #include <sys/mman.h>
33274 #if !STDC_HEADERS && !HAVE_STDLIB_H
33278 /* This mess was copied from the GNU getpagesize.h. */
33279 #if !HAVE_GETPAGESIZE
33280 /* Assume that all systems that can run configure have sys/param.h. */
33281 # if !HAVE_SYS_PARAM_H
33282 # define HAVE_SYS_PARAM_H 1
33285 # ifdef _SC_PAGESIZE
33286 # define getpagesize() sysconf(_SC_PAGESIZE)
33287 # else /* no _SC_PAGESIZE */
33288 # if HAVE_SYS_PARAM_H
33289 # include <sys/param.h>
33290 # ifdef EXEC_PAGESIZE
33291 # define getpagesize() EXEC_PAGESIZE
33292 # else /* no EXEC_PAGESIZE */
33294 # define getpagesize() NBPG * CLSIZE
33297 # endif /* no CLSIZE */
33298 # else /* no NBPG */
33300 # define getpagesize() NBPC
33301 # else /* no NBPC */
33303 # define getpagesize() PAGESIZE
33304 # endif /* PAGESIZE */
33305 # endif /* no NBPC */
33306 # endif /* no NBPG */
33307 # endif /* no EXEC_PAGESIZE */
33308 # else /* no HAVE_SYS_PARAM_H */
33309 # define getpagesize() 8192 /* punt totally */
33310 # endif /* no HAVE_SYS_PARAM_H */
33311 # endif /* no _SC_PAGESIZE */
33313 #endif /* no HAVE_GETPAGESIZE */
33318 char *data, *data2, *data3;
33322 pagesize = getpagesize ();
33324 /* First, make a file with some known garbage in it. */
33325 data = (char *) malloc (pagesize);
33328 for (i = 0; i < pagesize; ++i)
33329 *(data + i) = rand ();
33331 fd = creat ("conftest.mmap", 0600);
33334 if (write (fd, data, pagesize) != pagesize)
33338 /* Next, try to mmap the file at a fixed address which already has
33339 something else allocated at it. If we can, also make sure that
33340 we see the same garbage. */
33341 fd = open ("conftest.mmap", O_RDWR);
33344 data2 = (char *) malloc (2 * pagesize);
33347 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33348 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33349 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33351 for (i = 0; i < pagesize; ++i)
33352 if (*(data + i) != *(data2 + i))
33355 /* Finally, make sure that changes to the mapped area do not
33356 percolate back to the file as seen by read(). (This is a bug on
33357 some variants of i386 svr4.0.) */
33358 for (i = 0; i < pagesize; ++i)
33359 *(data2 + i) = *(data2 + i) + 1;
33360 data3 = (char *) malloc (pagesize);
33363 if (read (fd, data3, pagesize) != pagesize)
33365 for (i = 0; i < pagesize; ++i)
33366 if (*(data + i) != *(data3 + i))
33372 rm -f conftest
$ac_exeext
33373 if { (ac_try
="$ac_link"
33374 case "(($ac_try" in
33375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33376 *) ac_try_echo=$ac_try;;
33378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33379 (eval "$ac_link") 2>&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33383 { (case "(($ac_try" in
33384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33385 *) ac_try_echo
=$ac_try;;
33387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33388 (eval "$ac_try") 2>&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); }; }; then
33392 ac_cv_func_mmap_fixed_mapped
=yes
33394 echo "$as_me: program exited with status $ac_status" >&5
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.
$ac_ext >&5
33398 ( exit $ac_status )
33399 ac_cv_func_mmap_fixed_mapped
=no
33401 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33406 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33407 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33408 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33410 cat >>confdefs.h
<<\_ACEOF
33411 #define HAVE_MMAP 1
33415 rm -f conftest.mmap
33417 { echo "$as_me:$LINENO: checking for mmap of files" >&5
33418 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
33419 if test "${ac_cv_func_mmap_file+set}" = set; then
33420 echo $ECHO_N "(cached) $ECHO_C" >&6
33423 ac_cpp
='$CPP $CPPFLAGS'
33424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33428 if test "$cross_compiling" = yes; then
33429 ac_cv_func_mmap_file
=no
33431 cat >conftest.
$ac_ext <<_ACEOF
33435 cat confdefs.h
>>conftest.
$ac_ext
33436 cat >>conftest.
$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33439 #include <sys/types.h>
33440 #include <sys/mman.h>
33448 fd = creat ("foo",0777);
33449 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33451 return (fd != (int) MAP_FAILED);
33456 rm -f conftest
$ac_exeext
33457 if { (ac_try
="$ac_link"
33458 case "(($ac_try" in
33459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33460 *) ac_try_echo=$ac_try;;
33462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33463 (eval "$ac_link") 2>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33467 { (case "(($ac_try" in
33468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33469 *) ac_try_echo
=$ac_try;;
33471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33472 (eval "$ac_try") 2>&5
33474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33475 (exit $ac_status); }; }; then
33476 ac_cv_func_mmap_file
=yes
33478 echo "$as_me: program exited with status $ac_status" >&5
33479 echo "$as_me: failed program was:" >&5
33480 sed 's/^/| /' conftest.
$ac_ext >&5
33482 ( exit $ac_status )
33483 ac_cv_func_mmap_file
=no
33485 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33490 ac_cpp
='$CPP $CPPFLAGS'
33491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33497 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
33498 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33499 if test "$ac_cv_func_mmap_file" = yes; then
33501 cat >>confdefs.h
<<\_ACEOF
33502 #define HAVE_MMAP_FILE
33509 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
33510 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
33511 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33512 echo $ECHO_N "(cached) $ECHO_C" >&6
33514 if test "$llvm_cv_os_type" = "Interix" ; then
33515 ac_cv_need_dev_zero_for_mmap
=yes
33517 ac_cv_need_dev_zero_for_mmap
=no
33521 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
33522 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33523 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33525 cat >>confdefs.h
<<\_ACEOF
33526 #define NEED_DEV_ZERO_FOR_MMAP 1
33531 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
33533 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
33534 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
33536 if test "$ac_cv_func_mmap_file" = "no"
33538 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
33539 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
33545 for ac_func
in __dso_handle
33547 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33550 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33551 echo $ECHO_N "(cached) $ECHO_C" >&6
33553 cat >conftest.
$ac_ext <<_ACEOF
33556 cat confdefs.h
>>conftest.
$ac_ext
33557 cat >>conftest.
$ac_ext <<_ACEOF
33558 /* end confdefs.h. */
33559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33561 #define $ac_func innocuous_$ac_func
33563 /* System header to define __stub macros and hopefully few prototypes,
33564 which can conflict with char $ac_func (); below.
33565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33566 <limits.h> exists even on freestanding compilers. */
33569 # include <limits.h>
33571 # include <assert.h>
33576 /* Override any GCC internal prototype to avoid an error.
33577 Use char because int might match the return type of a GCC
33578 builtin and then its argument prototype would still apply. */
33583 /* The GNU C library defines this for functions which it implements
33584 to always fail with ENOSYS. Some functions are actually named
33585 something starting with __ and the normal name is an alias. */
33586 #if defined __stub_$ac_func || defined __stub___$ac_func
33593 return $ac_func ();
33598 rm -f conftest.
$ac_objext conftest
$ac_exeext
33599 if { (ac_try
="$ac_link"
33600 case "(($ac_try" in
33601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33602 *) ac_try_echo=$ac_try;;
33604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33605 (eval "$ac_link") 2>conftest.er1
33607 grep -v '^ *+' conftest.er1 >conftest.err
33609 cat conftest.err >&5
33610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33611 (exit $ac_status); } &&
33612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33613 { (case "(($ac_try" in
33614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33615 *) ac_try_echo
=$ac_try;;
33617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33618 (eval "$ac_try") 2>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); }; } &&
33622 { ac_try
='test -s conftest$ac_exeext'
33623 { (case "(($ac_try" in
33624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33625 *) ac_try_echo=$ac_try;;
33627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33628 (eval "$ac_try") 2>&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); }; }; then
33632 eval "$as_ac_var=yes"
33634 echo "$as_me: failed program was:" >&5
33635 sed 's/^/| /' conftest.$ac_ext >&5
33637 eval "$as_ac_var=no"
33640 rm -f core conftest.err conftest.$ac_objext \
33641 conftest$ac_exeext conftest.$ac_ext
33643 ac_res=`eval echo '${'$as_ac_var'}'`
33644 { echo "$as_me:$LINENO: result: $ac_res" >&5
33645 echo "${ECHO_T}$ac_res" >&6; }
33646 if test `eval echo '${'$as_ac_var'}'` = yes; then
33647 cat >>confdefs.h <<_ACEOF
33648 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
33655 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
33656 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
33657 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
33658 echo $ECHO_N "(cached) $ECHO_C" >&6
33660 llvm_cv_llvmgcc_sanity="no"
33661 if test -x "$LLVMGCC" ; then
33662 cp /dev/null conftest.c
33663 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
33664 grep 'target datalayout =' > /dev/null 2>&1
33665 if test $? -eq 0 ; then
33666 llvm_cv_llvmgcc_sanity="yes"
33671 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
33672 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
33674 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
33675 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
33676 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
33677 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1
`
33678 LLVMCC1=$llvmcc1path
33680 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus
`
33681 LLVMCC1PLUS=$llvmcc1pluspath
33683 llvmgccdir=`echo "$llvmcc1path" |
sed 's,/libexec/.*,,'`
33684 LLVMGCCDIR=$llvmgccdir
33686 llvmgcclibexec=`echo "$llvmcc1path" |
sed 's,/cc1,,'`
33687 LLVMGCCLIBEXEC=$llvmgcclibexec
33689 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 |
sed 's/^\([0-9.]*\).*/\1/'`
33690 llvmgccmajvers=`echo $llvmgccversion |
sed 's/^\([0-9]\).*/\1/'`
33691 LLVMGCC_VERSION=$llvmgccversion
33693 LLVMGCC_MAJVERS=$llvmgccmajvers
33695 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 |
grep '^Configured with:' |
sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
33696 LLVMGCC_LANGS=$llvmgcclangs
33698 { echo "$as_me:$LINENO: result: ok" >&5
33699 echo "${ECHO_T}ok" >&6; }
33702 SHLIBEXT=$libltdl_cv_shlibext
33705 # Translate the various configuration directories and other basic
33706 # information into substitutions that will end up in Makefile.config.in
33707 # that these configured values can be used by the makefiles
33708 if test "${prefix}" = "NONE" ; then
33709 prefix="/usr/local"
33711 eval LLVM_PREFIX="${prefix}";
33712 eval LLVM_BINDIR="${prefix}/bin";
33713 eval LLVM_LIBDIR="${prefix}/lib";
33714 eval LLVM_DATADIR="${prefix}/share/llvm";
33715 eval LLVM_DOCSDIR="${prefix}/docs/llvm";
33716 eval LLVM_ETCDIR="${prefix}/etc/llvm";
33717 eval LLVM_INCLUDEDIR="${prefix}/include";
33718 eval LLVM_INFODIR="${prefix}/info";
33719 eval LLVM_MANDIR="${prefix}/man";
33720 LLVM_CONFIGTIME=`date`
33732 # Place the various directores into the config.h file as #defines so that we
33733 # can know about the installation paths within LLVM.
33735 cat >>confdefs.h <<_ACEOF
33736 #define LLVM_PREFIX "$LLVM_PREFIX"
33740 cat >>confdefs.h <<_ACEOF
33741 #define LLVM_BINDIR "$LLVM_BINDIR"
33745 cat >>confdefs.h <<_ACEOF
33746 #define LLVM_LIBDIR "$LLVM_LIBDIR"
33750 cat >>confdefs.h <<_ACEOF
33751 #define LLVM_DATADIR "$LLVM_DATADIR"
33755 cat >>confdefs.h <<_ACEOF
33756 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
33760 cat >>confdefs.h <<_ACEOF
33761 #define LLVM_ETCDIR "$LLVM_ETCDIR"
33765 cat >>confdefs.h <<_ACEOF
33766 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
33770 cat >>confdefs.h <<_ACEOF
33771 #define LLVM_INFODIR "$LLVM_INFODIR"
33775 cat >>confdefs.h <<_ACEOF
33776 #define LLVM_MANDIR "$LLVM_MANDIR"
33780 cat >>confdefs.h <<_ACEOF
33781 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
33785 cat >>confdefs.h <<_ACEOF
33786 #define LLVM_HOSTTRIPLE "$host"
33790 # Determine which bindings to build.
33791 if test "$BINDINGS_TO_BUILD" = auto ; then
33792 BINDINGS_TO_BUILD=""
33793 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
33794 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
33797 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
33800 # This isn't really configurey, but it avoids having to repeat the list in
33805 # Do any work necessary to ensure that bindings have what they need.
33806 binding_prereqs_failed=0
33807 for a_binding in $BINDINGS_TO_BUILD ; do
33808 case "$a_binding" in
33810 if test "x$OCAMLC" = x ; then
33811 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
33812 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
33813 binding_prereqs_failed=1
33815 if test "x$OCAMLDEP" = x ; then
33816 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
33817 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
33818 binding_prereqs_failed=1
33820 if test "x$OCAMLOPT" = x ; then
33821 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
33822 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
33824 if test "x$with_ocaml_libdir" != xauto ; then
33825 OCAML_LIBDIR=$with_ocaml_libdir
33828 ocaml_stdlib="`"$OCAMLC" -where`"
33829 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
33831 # ocaml stdlib is beneath our prefix; use stdlib
33832 OCAML_LIBDIR=$ocaml_stdlib
33835 # ocaml stdlib is outside our prefix; use libdir/ocaml
33836 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
33843 if test "$binding_prereqs_failed" = 1 ; then
33844 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
33845 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
33846 { (exit 1); exit 1; }; }
33849 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
33850 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
33851 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
33852 echo $ECHO_N "(cached) $ECHO_C" >&6
33855 ac_cpp='$CXXCPP $CPPFLAGS'
33856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33860 oldcxxflags="$CXXFLAGS"
33861 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
33862 cat >conftest.$ac_ext <<_ACEOF
33865 cat confdefs.h >>conftest.$ac_ext
33866 cat >>conftest.$ac_ext <<_ACEOF
33867 /* end confdefs.h. */
33877 rm -f conftest.$ac_objext
33878 if { (ac_try="$ac_compile"
33879 case "(($ac_try" in
33880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33881 *) ac_try_echo
=$ac_try;;
33883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33884 (eval "$ac_compile") 2>conftest.er1
33886 grep -v '^ *+' conftest.er1
>conftest.err
33888 cat conftest.err
>&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); } &&
33891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33892 { (case "(($ac_try" in
33893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33894 *) ac_try_echo=$ac_try;;
33896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33897 (eval "$ac_try") 2>&5
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); }; } &&
33901 { ac_try='test -s conftest.$ac_objext'
33902 { (case "(($ac_try" in
33903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33904 *) ac_try_echo
=$ac_try;;
33906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33907 (eval "$ac_try") 2>&5
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 llvm_cv_cxx_visibility_inlines_hidden
=yes
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.
$ac_ext >&5
33916 llvm_cv_cxx_visibility_inlines_hidden
=no
33919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33920 CXXFLAGS
="$oldcxxflags"
33922 ac_cpp
='$CPP $CPPFLAGS'
33923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33929 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
33930 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
33931 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
33932 ENABLE_VISIBILITY_INLINES_HIDDEN
=1
33935 ENABLE_VISIBILITY_INLINES_HIDDEN
=0
33940 if test "$llvm_cv_link_use_r" = "yes" ; then
33947 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
33948 RDYNAMIC
="-Wl,-export-dynamic"
33955 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
33957 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
33959 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator.h"
33962 ac_config_files
="$ac_config_files Makefile.config"
33965 ac_config_files
="$ac_config_files llvm.spec"
33968 ac_config_files
="$ac_config_files docs/doxygen.cfg"
33971 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
33974 ac_config_commands
="$ac_config_commands setup"
33976 ac_config_commands
="$ac_config_commands Makefile"
33979 ac_config_commands
="$ac_config_commands Makefile.common"
33982 ac_config_commands
="$ac_config_commands examples/Makefile"
33985 ac_config_commands
="$ac_config_commands lib/Makefile"
33988 ac_config_commands
="$ac_config_commands runtime/Makefile"
33991 ac_config_commands
="$ac_config_commands test/Makefile"
33994 ac_config_commands
="$ac_config_commands test/Makefile.tests"
33997 ac_config_commands
="$ac_config_commands unittests/Makefile"
34000 ac_config_commands
="$ac_config_commands tools/Makefile"
34003 ac_config_commands
="$ac_config_commands utils/Makefile"
34006 ac_config_commands
="$ac_config_commands projects/Makefile"
34009 ac_config_commands
="$ac_config_commands bindings/Makefile"
34012 ac_config_commands
="$ac_config_commands bindings/ocaml/Makefile.ocaml"
34016 cat >confcache
<<\_ACEOF
34017 # This file is a shell script that caches the results of configure
34018 # tests run on this system so they can be shared between configure
34019 # scripts and configure runs, see configure's option --config-cache.
34020 # It is not useful on other systems. If it contains results you don't
34021 # want to keep, you may remove or edit it.
34023 # config.status only pays attention to the cache file if you give it
34024 # the --recheck option to rerun configure.
34026 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34027 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34028 # following values.
34032 # The following way of writing the cache mishandles newlines in values,
34033 # but we know of no workaround that is simple, portable, and efficient.
34034 # So, we kill variables containing newlines.
34035 # Ultrix sh set writes to stderr and can't be redirected directly,
34036 # and sets the high bit in the cache file unless we assign to the vars.
34038 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34039 eval ac_val
=\$
$ac_var
34043 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
34044 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
34047 _ | IFS | as_nl
) ;; #(
34048 *) $as_unset $ac_var ;;
34054 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34055 *${as_nl}ac_space
=\
*)
34056 # `set' does not quote correctly, so add quotes (double-quote
34057 # substitution turns \\\\ into \\, and sed turns \\ into \).
34060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34063 # `set' quotes correctly as required by POSIX, so do not add quotes.
34064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34075 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34077 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
34078 if test -w "$cache_file"; then
34079 test "x$cache_file" != "x/dev/null" &&
34080 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
34081 echo "$as_me: updating cache $cache_file" >&6;}
34082 cat confcache
>$cache_file
34084 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
34085 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34090 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34091 # Let make expand exec_prefix.
34092 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34094 DEFS
=-DHAVE_CONFIG_H
34098 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34099 # 1. Remove the extension, and $U if already installed.
34100 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
34101 ac_i
=`echo "$ac_i" | sed "$ac_script"`
34102 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34103 # will be set to the directory where LIBOBJS objects are built.
34104 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34105 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
34107 LIBOBJS
=$ac_libobjs
34109 LTLIBOBJS
=$ac_ltlibobjs
34112 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
34113 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
34114 Usually this means the macro was only invoked conditionally." >&5
34115 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
34116 Usually this means the macro was only invoked conditionally." >&2;}
34117 { (exit 1); exit 1; }; }
34119 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
34120 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34121 Usually this means the macro was only invoked conditionally." >&5
34122 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34123 Usually this means the macro was only invoked conditionally." >&2;}
34124 { (exit 1); exit 1; }; }
34127 : ${CONFIG_STATUS=./config.status}
34128 ac_clean_files_save
=$ac_clean_files
34129 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34130 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34131 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34132 cat >$CONFIG_STATUS <<_ACEOF
34134 # Generated by $as_me.
34135 # Run this file to recreate the current configuration.
34136 # Compiler output produced by configure, useful for debugging
34137 # configure, is in config.log if it exists.
34140 ac_cs_recheck=false
34142 SHELL=\${CONFIG_SHELL-$SHELL}
34145 cat >>$CONFIG_STATUS <<\_ACEOF
34146 ## --------------------- ##
34147 ## M4sh Initialization. ##
34148 ## --------------------- ##
34150 # Be Bourne compatible
34151 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34154 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34155 # is contrary to our usage. Disable this feature.
34156 alias -g '${1+"$@"}'='"$@"'
34157 setopt NO_GLOB_SUBST
34159 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
34161 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
34162 DUALCASE
=1; export DUALCASE
# for MKS sh
34166 # Avoid depending upon Character Ranges.
34167 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34168 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34169 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34170 as_cr_digits
='0123456789'
34171 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34173 # The user is always right.
34174 if test "${PATH_SEPARATOR+set}" != set; then
34175 echo "#! /bin/sh" >conf$$.sh
34176 echo "exit 0" >>conf$$.sh
34178 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34186 # Support unset when possible.
34187 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34195 # We need space, tab and new line, in precisely that order. Quoting is
34196 # there to prevent editors from complaining about space-tab.
34197 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34198 # splitting by setting IFS to empty value.)
34203 # Find who we are. Look in the path if we contain no directory separator.
34205 *[\\/]* ) as_myself
=$0 ;;
34206 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34207 for as_dir
in $PATH
34210 test -z "$as_dir" && as_dir
=.
34211 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34217 # We did not find ourselves, most probably we were run as `sh COMMAND'
34218 # in which case we are not to be found in the path.
34219 if test "x$as_myself" = x
; then
34222 if test ! -f "$as_myself"; then
34223 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34224 { (exit 1); exit 1; }
34227 # Work around bugs in pre-3.0 UWIN ksh.
34228 for as_var
in ENV MAIL MAILPATH
34229 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34237 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34238 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34239 LC_TELEPHONE LC_TIME
34241 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34242 eval $as_var=C
; export $as_var
34244 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34248 # Required to use basename.
34249 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34250 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34256 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34257 as_basename
=basename
34263 # Name of the executable.
34264 as_me
=`$as_basename -- "$0" ||
34265 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34266 X"$0" : 'X\(//\)$' \| \
34267 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34269 sed '/^.*\/\([^/][^/]*\)\/*$/{
34288 as_lineno_1
=$LINENO
34289 as_lineno_2
=$LINENO
34290 test "x$as_lineno_1" != "x$as_lineno_2" &&
34291 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
34293 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34294 # uniformly replaced by the line number. The first 'sed' inserts a
34295 # line-number line after each line using $LINENO; the second 'sed'
34296 # does the real work. The second script uses 'N' to pair each
34297 # line-number line with the line containing $LINENO, and appends
34298 # trailing '-' during substitution so that $LINENO is not a special
34299 # case at line end.
34300 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34301 # scripts with optimization help from Paolo Bonzini. Blame Lee
34302 # E. McMahon (1931-1989) for sed's syntax. :-)
34314 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34317 ' >$as_me.lineno
&&
34318 chmod +x
"$as_me.lineno" ||
34319 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34320 { (exit 1); exit 1; }; }
34322 # Don't try to exec as it changes $[0], causing all sort of problems
34323 # (the dirname of $[0] is not the place where we might find the
34324 # original and so on. Autoconf is especially sensitive to this).
34325 .
"./$as_me.lineno"
34326 # Exit status is that of the last command.
34331 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
34337 ECHO_C
= ECHO_N
= ECHO_T
=
34338 case `echo -n x` in
34340 case `echo 'x\c'` in
34341 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
34348 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34349 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34355 rm -f conf$$ conf$$.exe conf$$.
file
34356 if test -d conf$$.dir
; then
34357 rm -f conf$$.dir
/conf$$.
file
34363 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34365 # ... but there are two gotchas:
34366 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34367 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34368 # In both cases, we have to default to `cp -p'.
34369 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
34371 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34376 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
34377 rmdir conf$$.dir
2>/dev
/null
34379 if mkdir
-p .
2>/dev
/null
; then
34382 test -d .
/-p && rmdir .
/-p
34386 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
34387 # systems may use methods other than mode bits to determine executability.
34388 cat >conf$$.
file <<_ASEOF
34392 chmod +x conf$$.
file
34393 if test -x conf$$.
file >/dev
/null
2>&1; then
34394 as_executable_p
="test -x"
34400 # Sed expression to map a string onto a valid CPP name.
34401 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34403 # Sed expression to map a string onto a valid variable name.
34404 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34409 # Save the log message, to keep $[0] and so on meaningful, and to
34410 # report actual input values of CONFIG_FILES etc. instead of their
34411 # values after options handling.
34413 This file was extended by llvm $as_me 2.6svn, which was
34414 generated by GNU Autoconf 2.60. Invocation command line was
34416 CONFIG_FILES = $CONFIG_FILES
34417 CONFIG_HEADERS = $CONFIG_HEADERS
34418 CONFIG_LINKS = $CONFIG_LINKS
34419 CONFIG_COMMANDS = $CONFIG_COMMANDS
34422 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34427 cat >>$CONFIG_STATUS <<_ACEOF
34428 # Files that config.status was made for.
34429 config_files="$ac_config_files"
34430 config_headers="$ac_config_headers"
34431 config_commands="$ac_config_commands"
34435 cat >>$CONFIG_STATUS <<\_ACEOF
34437 \`$as_me' instantiates files from templates according to the
34438 current configuration.
34440 Usage: $0 [OPTIONS] [FILE]...
34442 -h, --help print this help, then exit
34443 -V, --version print version number, then exit
34444 -q, --quiet do not print progress messages
34445 -d, --debug don't remove temporary files
34446 --recheck update $as_me by reconfiguring in the same conditions
34447 --file=FILE[:TEMPLATE]
34448 instantiate the configuration file FILE
34449 --header=FILE[:TEMPLATE]
34450 instantiate the configuration header FILE
34452 Configuration files:
34455 Configuration headers:
34458 Configuration commands:
34461 Report bugs to <bug-autoconf@gnu.org>."
34464 cat >>$CONFIG_STATUS <<_ACEOF
34466 llvm config.status 2.6svn
34467 configured by $0, generated by GNU Autoconf 2.60,
34468 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34470 Copyright (C) 2006 Free Software Foundation, Inc.
34471 This config.status script is free software; the Free Software Foundation
34472 gives unlimited permission to copy, distribute and modify it."
34479 cat >>$CONFIG_STATUS <<\_ACEOF
34480 # If no file are specified by the user, then we need to provide default
34481 # value. By we need to know if files were specified by the user.
34487 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34488 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34499 # Handling of the options.
34500 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34502 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34503 echo "$ac_cs_version"; exit ;;
34504 --debug |
--debu |
--deb |
--de |
--d |
-d )
34506 --file |
--fil |
--fi |
--f )
34508 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34509 ac_need_defaults
=false
;;
34510 --header |
--heade |
--head |
--hea )
34512 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34513 ac_need_defaults
=false
;;
34515 # Conflict between --help and --header
34516 { echo "$as_me: error: ambiguous option: $1
34517 Try \`$0 --help' for more information." >&2
34518 { (exit 1); exit 1; }; };;
34519 --help |
--hel |
-h )
34520 echo "$ac_cs_usage"; exit ;;
34521 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34522 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34525 # This is an error.
34526 -*) { echo "$as_me: error: unrecognized option: $1
34527 Try \`$0 --help' for more information." >&2
34528 { (exit 1); exit 1; }; } ;;
34530 *) ac_config_targets
="$ac_config_targets $1"
34531 ac_need_defaults
=false
;;
34537 ac_configure_extra_args
=
34539 if $ac_cs_silent; then
34541 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34545 cat >>$CONFIG_STATUS <<_ACEOF
34546 if \$ac_cs_recheck; then
34547 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34548 CONFIG_SHELL=$SHELL
34549 export CONFIG_SHELL
34550 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34554 cat >>$CONFIG_STATUS <<\_ACEOF
34558 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34559 ## Running $as_me. ##
34565 cat >>$CONFIG_STATUS <<_ACEOF
34569 llvm_src="${srcdir}"
34573 cat >>$CONFIG_STATUS <<\_ACEOF
34575 # Handling of arguments.
34576 for ac_config_target
in $ac_config_targets
34578 case $ac_config_target in
34579 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34580 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34581 "include/llvm/ADT/iterator.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator.h" ;;
34582 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34583 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34584 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34585 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34586 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34587 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34588 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34589 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34590 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34591 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34592 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34593 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34594 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
34595 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34596 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34597 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34598 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
34599 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
34601 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34602 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34603 { (exit 1); exit 1; }; };;
34608 # If the user did not use the arguments to specify the items to instantiate,
34609 # then the envvar interface is used. Set only those that are not.
34610 # We use the long form for the default assignment because of an extremely
34611 # bizarre bug on SunOS 4.1.3.
34612 if $ac_need_defaults; then
34613 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34614 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34615 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34618 # Have a temporary directory for convenience. Make it in the build tree
34619 # simply because there is no reason against having it here, and in addition,
34620 # creating and moving files from /tmp can sometimes cause problems.
34621 # Hook for its removal unless debugging.
34622 # Note that there is a small window in which the directory will not be cleaned:
34623 # after its creation but before its name has been assigned to `$tmp'.
34627 trap 'exit_status=$?
34628 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34630 trap '{ (exit 1); exit 1; }' 1 2 13 15
34632 # Create a (secure) tmp directory for tmp files.
34635 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34636 test -n "$tmp" && test -d "$tmp"
34639 tmp
=.
/conf$$
-$RANDOM
34640 (umask 077 && mkdir
"$tmp")
34643 echo "$me: cannot create a temporary directory in ." >&2
34644 { (exit 1); exit 1; }
34648 # Set up the sed scripts for CONFIG_FILES section.
34651 # No need to generate the scripts if there are no CONFIG_FILES.
34652 # This happens for instance when ./config.status config.h
34653 if test -n "$CONFIG_FILES"; then
34660 for ac_last_try
in false false false false false
:; do
34661 cat >conf$
$subs.
sed <<_ACEOF
34662 SHELL!$SHELL$ac_delim
34663 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34664 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34665 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34666 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34667 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34668 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34669 exec_prefix!$exec_prefix$ac_delim
34670 prefix!$prefix$ac_delim
34671 program_transform_name!$program_transform_name$ac_delim
34672 bindir!$bindir$ac_delim
34673 sbindir!$sbindir$ac_delim
34674 libexecdir!$libexecdir$ac_delim
34675 datarootdir!$datarootdir$ac_delim
34676 datadir!$datadir$ac_delim
34677 sysconfdir!$sysconfdir$ac_delim
34678 sharedstatedir!$sharedstatedir$ac_delim
34679 localstatedir!$localstatedir$ac_delim
34680 includedir!$includedir$ac_delim
34681 oldincludedir!$oldincludedir$ac_delim
34682 docdir!$docdir$ac_delim
34683 infodir!$infodir$ac_delim
34684 htmldir!$htmldir$ac_delim
34685 dvidir!$dvidir$ac_delim
34686 pdfdir!$pdfdir$ac_delim
34687 psdir!$psdir$ac_delim
34688 libdir!$libdir$ac_delim
34689 localedir!$localedir$ac_delim
34690 mandir!$mandir$ac_delim
34691 DEFS!$DEFS$ac_delim
34692 ECHO_C!$ECHO_C$ac_delim
34693 ECHO_N!$ECHO_N$ac_delim
34694 ECHO_T!$ECHO_T$ac_delim
34695 LIBS!$LIBS$ac_delim
34696 build_alias!$build_alias$ac_delim
34697 host_alias!$host_alias$ac_delim
34698 target_alias!$target_alias$ac_delim
34699 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34700 subdirs!$subdirs$ac_delim
34701 build!$build$ac_delim
34702 build_cpu!$build_cpu$ac_delim
34703 build_vendor!$build_vendor$ac_delim
34704 build_os!$build_os$ac_delim
34705 host!$host$ac_delim
34706 host_cpu!$host_cpu$ac_delim
34707 host_vendor!$host_vendor$ac_delim
34708 host_os!$host_os$ac_delim
34709 target!$target$ac_delim
34710 target_cpu!$target_cpu$ac_delim
34711 target_vendor!$target_vendor$ac_delim
34712 target_os!$target_os$ac_delim
34714 LINKALL!$LINKALL$ac_delim
34715 NOLINKALL!$NOLINKALL$ac_delim
34716 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34717 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34718 ARCH!$ARCH$ac_delim
34719 ENDIAN!$ENDIAN$ac_delim
34721 CFLAGS!$CFLAGS$ac_delim
34722 LDFLAGS!$LDFLAGS$ac_delim
34723 CPPFLAGS!$CPPFLAGS$ac_delim
34724 ac_ct_CC!$ac_ct_CC$ac_delim
34725 EXEEXT!$EXEEXT$ac_delim
34726 OBJEXT!$OBJEXT$ac_delim
34728 GREP!$GREP$ac_delim
34729 EGREP!$EGREP$ac_delim
34730 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
34731 BUILD_CC!$BUILD_CC$ac_delim
34732 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
34733 BUILD_CXX!$BUILD_CXX$ac_delim
34734 CVSBUILD!$CVSBUILD$ac_delim
34735 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
34736 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
34737 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
34738 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
34739 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
34741 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
34742 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
34743 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
34744 ENABLE_PIC!$ENABLE_PIC$ac_delim
34745 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
34746 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
34747 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
34748 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
34750 CXXFLAGS!$CXXFLAGS$ac_delim
34751 ac_ct_CXX!$ac_ct_CXX$ac_delim
34753 ifGNUmake!$ifGNUmake$ac_delim
34754 LN_S!$LN_S$ac_delim
34757 DATE!$DATE$ac_delim
34758 FIND!$FIND$ac_delim
34761 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34763 elif $ac_last_try; then
34764 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34765 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34766 { (exit 1); exit 1; }; }
34768 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34772 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34773 if test -n "$ac_eof"; then
34774 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34775 ac_eof
=`expr $ac_eof + 1`
34778 cat >>$CONFIG_STATUS <<_ACEOF
34779 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34780 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34783 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34784 s/^/s,@/; s/!/@,|#_!!_#|/
34787 s/'"$ac_delim"'$/,g/; t
34789 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34790 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34791 rm -f conf$
$subs.
sed
34792 cat >>$CONFIG_STATUS <<_ACEOF
34798 for ac_last_try
in false false false false false
:; do
34799 cat >conf$
$subs.
sed <<_ACEOF
34800 MKDIR!$MKDIR$ac_delim
34802 RANLIB!$RANLIB$ac_delim
34806 BINPWD!$BINPWD$ac_delim
34807 GRAPHVIZ!$GRAPHVIZ$ac_delim
34810 DOTTY!$DOTTY$ac_delim
34811 PERL!$PERL$ac_delim
34812 HAVE_PERL!$HAVE_PERL$ac_delim
34813 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34814 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34815 INSTALL_DATA!$INSTALL_DATA$ac_delim
34816 BZIP2!$BZIP2$ac_delim
34817 DOXYGEN!$DOXYGEN$ac_delim
34818 GROFF!$GROFF$ac_delim
34819 GZIP!$GZIP$ac_delim
34820 POD2HTML!$POD2HTML$ac_delim
34821 POD2MAN!$POD2MAN$ac_delim
34822 RUNTEST!$RUNTEST$ac_delim
34823 TCLSH!$TCLSH$ac_delim
34825 OCAMLC!$OCAMLC$ac_delim
34826 OCAMLOPT!$OCAMLOPT$ac_delim
34827 OCAMLDEP!$OCAMLDEP$ac_delim
34828 OCAMLDOC!$OCAMLDOC$ac_delim
34830 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
34831 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
34832 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
34833 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
34834 LIBADD_DL!$LIBADD_DL$ac_delim
34835 ECHO!$ECHO$ac_delim
34837 STRIP!$STRIP$ac_delim
34838 CXXCPP!$CXXCPP$ac_delim
34840 FFLAGS!$FFLAGS$ac_delim
34841 ac_ct_F77!$ac_ct_F77$ac_delim
34842 LIBTOOL!$LIBTOOL$ac_delim
34843 LLVMGCC!$LLVMGCC$ac_delim
34844 LLVMGXX!$LLVMGXX$ac_delim
34845 USE_UDIS86!$USE_UDIS86$ac_delim
34846 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
34847 HAVE_FFI!$HAVE_FFI$ac_delim
34848 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
34849 ALLOCA!$ALLOCA$ac_delim
34850 MMAP_FILE!$MMAP_FILE$ac_delim
34851 LLVMCC1!$LLVMCC1$ac_delim
34852 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
34853 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
34854 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
34855 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
34856 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
34857 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
34858 SHLIBEXT!$SHLIBEXT$ac_delim
34859 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
34860 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
34861 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
34862 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
34863 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
34864 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
34865 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
34866 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
34867 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
34868 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
34869 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
34870 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
34871 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
34872 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
34873 RPATH!$RPATH$ac_delim
34874 RDYNAMIC!$RDYNAMIC$ac_delim
34875 LIBOBJS!$LIBOBJS$ac_delim
34876 LTLIBOBJS!$LTLIBOBJS$ac_delim
34879 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
34881 elif $ac_last_try; then
34882 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34883 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34884 { (exit 1); exit 1; }; }
34886 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34890 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34891 if test -n "$ac_eof"; then
34892 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34893 ac_eof
=`expr $ac_eof + 1`
34896 cat >>$CONFIG_STATUS <<_ACEOF
34897 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34901 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34902 s/^/s,@/; s/!/@,|#_!!_#|/
34905 s/'"$ac_delim"'$/,g/; t
34907 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34908 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34909 rm -f conf$
$subs.
sed
34910 cat >>$CONFIG_STATUS <<_ACEOF
34917 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34918 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34919 # trailing colons and then remove the whole line if VPATH becomes empty
34920 # (actually we leave an empty line to preserve line numbers).
34921 if test "x$srcdir" = x.
; then
34922 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34923 s/:*\$(srcdir):*/:/
34924 s/:*\${srcdir}:*/:/
34926 s/^\([^=]*=[ ]*\):*/\1/
34932 cat >>$CONFIG_STATUS <<\_ACEOF
34933 fi # test -n "$CONFIG_FILES"
34936 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
34939 :[FHLC
]) ac_mode
=$ac_tag; continue;;
34941 case $ac_mode$ac_tag in
34943 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34944 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34945 { (exit 1); exit 1; }; };;
34946 :[FH
]-) ac_tag
=-:-;;
34947 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
34964 -) ac_f
="$tmp/stdin";;
34965 *) # Look for the file first in the build tree, then in the source tree
34966 # (if the path is not absolute). The absolute path cannot be DOS-style,
34967 # because $ac_f cannot contain `:'.
34971 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
34973 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34974 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34975 { (exit 1); exit 1; }; };;
34977 ac_file_inputs
="$ac_file_inputs $ac_f"
34980 # Let's still pretend it is `configure' which instantiates (i.e., don't
34981 # use $as_me), people would be surprised to read:
34982 # /* config.h. Generated by config.status. */
34983 configure_input
="Generated from "`IFS=:
34984 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34985 if test x
"$ac_file" != x-
; then
34986 configure_input
="$ac_file. $configure_input"
34987 { echo "$as_me:$LINENO: creating $ac_file" >&5
34988 echo "$as_me: creating $ac_file" >&6;}
34992 *:-:* |
*:-) cat >"$tmp/stdin";;
34997 ac_dir
=`$as_dirname -- "$ac_file" ||
34998 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34999 X"$ac_file" : 'X\(//\)[^/]' \| \
35000 X"$ac_file" : 'X\(//\)$' \| \
35001 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35007 /^X\(\/\/\)[^/].*/{
35022 -*) as_dir
=.
/$as_dir;;
35024 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35028 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35029 *) as_qdir
=$as_dir;;
35031 as_dirs
="'$as_qdir' $as_dirs"
35032 as_dir
=`$as_dirname -- "$as_dir" ||
35033 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35034 X"$as_dir" : 'X\(//\)[^/]' \| \
35035 X"$as_dir" : 'X\(//\)$' \| \
35036 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35042 /^X\(\/\/\)[^/].*/{
35055 test -d "$as_dir" && break
35057 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35058 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35059 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35060 { (exit 1); exit 1; }; }; }
35064 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35066 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35067 # A ".." for each directory in $ac_dir_suffix.
35068 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35069 case $ac_top_builddir_sub in
35070 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35071 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35074 ac_abs_top_builddir
=$ac_pwd
35075 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35076 # for backward compatibility:
35077 ac_top_builddir
=$ac_top_build_prefix
35080 .
) # We are building in place.
35082 ac_top_srcdir
=$ac_top_builddir_sub
35083 ac_abs_top_srcdir
=$ac_pwd ;;
35084 [\\/]* | ?
:[\\/]* ) # Absolute name.
35085 ac_srcdir
=$srcdir$ac_dir_suffix;
35086 ac_top_srcdir
=$srcdir
35087 ac_abs_top_srcdir
=$srcdir ;;
35088 *) # Relative name.
35089 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35090 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35091 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35093 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35103 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35104 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
35108 cat >>$CONFIG_STATUS <<\_ACEOF
35109 # If the template does not know about datarootdir, expand it.
35110 # FIXME: This hack should be removed a few years after 2.60.
35111 ac_datarootdir_hack
=; ac_datarootdir_seen
=
35113 case `sed -n '/datarootdir/ {
35122 ' $ac_file_inputs` in
35123 *datarootdir
*) ac_datarootdir_seen
=yes;;
35124 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
35125 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35126 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35128 cat >>$CONFIG_STATUS <<_ACEOF
35129 ac_datarootdir_hack='
35130 s&@datadir@&$datadir&g
35131 s&@docdir@&$docdir&g
35132 s&@infodir@&$infodir&g
35133 s&@localedir@&$localedir&g
35134 s&@mandir@&$mandir&g
35135 s&\\\${datarootdir}&$datarootdir&g' ;;
35139 # Neutralize VPATH when `$srcdir' = `.'.
35140 # Shell code in configure.ac might set extrasub.
35141 # FIXME: do we really want to maintain this feature?
35142 cat >>$CONFIG_STATUS <<_ACEOF
35146 cat >>$CONFIG_STATUS <<\_ACEOF
35148 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
35149 s
&@configure_input@
&$configure_input&;t t
35150 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
35151 s
&@srcdir@
&$ac_srcdir&;t t
35152 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
35153 s
&@top_srcdir@
&$ac_top_srcdir&;t t
35154 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
35155 s
&@builddir@
&$ac_builddir&;t t
35156 s
&@abs_builddir@
&$ac_abs_builddir&;t t
35157 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
35158 s
&@INSTALL@
&$ac_INSTALL&;t t
35159 $ac_datarootdir_hack
35160 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
35162 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35163 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
35164 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
35165 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
35166 which seems to be undefined. Please make sure it is defined." >&5
35167 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
35168 which seems to be undefined. Please make sure it is defined." >&2;}
35172 -) cat "$tmp/out"; rm -f "$tmp/out";;
35173 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35182 # Transform confdefs.h into a sed script `conftest.defines', that
35183 # substitutes the proper values into config.h.in to produce config.h.
35184 rm -f conftest.defines conftest.
tail
35185 # First, append a space to every undef/define line, to ease matching.
35186 echo 's/$/ /' >conftest.defines
35187 # Then, protect against being on the right side of a sed subst, or in
35188 # an unquoted here document, in config.status. If some macros were
35189 # called several times there might be several #defines for the same
35190 # symbol, which is useless. But do not sort them, since the last
35191 # AC_DEFINE must be honored.
35192 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
35193 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35194 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35195 # PARAMS is the parameter list in the macro definition--in most cases, it's
35196 # just an empty string.
35197 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35198 ac_dB
='\\)[ (].*,\\1define\\2'
35206 s/^[ ]*#[ ]*define[ ][ ]*//
35211 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35212 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35213 ' >>conftest.defines
35215 # Remove the space that was appended to ease matching.
35216 # Then replace #undef with comments. This is necessary, for
35217 # example, in the case of _POSIX_SOURCE, which is predefined and required
35218 # on some systems where configure will not decide to define it.
35219 # (The regexp can be short, since the line contains either #define or #undef.)
35221 s,^[ #]*u.*,/* & */,' >>conftest.defines
35223 # Break up conftest.defines:
35224 ac_max_sed_lines
=50
35226 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35227 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35228 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35230 ac_in
='$ac_file_inputs'
35231 ac_out
='"$tmp/out1"'
35232 ac_nxt
='"$tmp/out2"'
35236 # Write a here document:
35237 cat >>$CONFIG_STATUS <<_ACEOF
35238 # First, check the format of the line:
35239 cat >"\$tmp/defines.sed" <<\\CEOF
35240 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35241 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35245 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
35247 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35248 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
35249 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
35250 grep . conftest.
tail >/dev
/null ||
break
35251 rm -f conftest.defines
35252 mv conftest.
tail conftest.defines
35254 rm -f conftest.defines conftest.
tail
35256 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35257 cat >>$CONFIG_STATUS <<\_ACEOF
35258 if test x
"$ac_file" != x-
; then
35259 echo "/* $configure_input */" >"$tmp/config.h"
35260 cat "$ac_result" >>"$tmp/config.h"
35261 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
35262 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35263 echo "$as_me: $ac_file is unchanged" >&6;}
35266 mv "$tmp/config.h" $ac_file
35269 echo "/* $configure_input */"
35275 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35276 echo "$as_me: executing $ac_file commands" >&6;}
35281 case $ac_file$ac_mode in
35282 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
35283 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
35284 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
35285 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
35286 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
35287 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
35288 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
35289 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
35290 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
35291 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
35292 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
35293 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
35294 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
35295 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
35296 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
35297 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
35298 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
35299 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
35300 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
35301 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
35302 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
35303 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
35304 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
35305 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
35306 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
35307 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
35313 { (exit 0); exit 0; }
35315 chmod +x
$CONFIG_STATUS
35316 ac_clean_files
=$ac_clean_files_save
35319 # configure is writing to config.log, and then calls config.status.
35320 # config.status does its own redirection, appending to config.log.
35321 # Unfortunately, on DOS this fails, as config.log is still kept open
35322 # by configure, so config.status won't be able to write to it; its
35323 # output is simply discarded. So we exec the FD to /dev/null,
35324 # effectively closing config.log, so it can be properly (re)opened and
35325 # appended to by config.status. When coming back to configure, we
35326 # need to make the FD available again.
35327 if test "$no_create" != yes; then
35329 ac_config_status_args
=
35330 test "$silent" = yes &&
35331 ac_config_status_args
="$ac_config_status_args --quiet"
35333 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
35335 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35336 # would make configure fail if this is the last instruction.
35337 $ac_cs_success ||
{ (exit 1); exit 1; }
35341 # CONFIG_SUBDIRS section.
35343 if test "$no_recursion" != yes; then
35345 # Remove --cache-file and --srcdir arguments so they do not pile up.
35346 ac_sub_configure_args
=
35348 eval "set x $ac_configure_args"
35352 if test -n "$ac_prev"; then
35357 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
35358 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
35359 ac_prev
=cache_file
;;
35360 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
35361 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
35364 --config-cache |
-C)
35366 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
35368 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
35370 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
35372 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
35376 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35378 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
35382 # Always prepend --prefix to ensure using the same prefix
35383 # in subdir configurations.
35384 ac_arg
="--prefix=$prefix"
35386 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35388 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
35391 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
35393 # Do not complain, so a configure script can configure whichever
35394 # parts of a large source tree are present.
35395 test -d "$srcdir/$ac_dir" ||
continue
35397 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
35398 echo "$as_me:$LINENO: $ac_msg" >&5
35402 -*) as_dir
=.
/$as_dir;;
35404 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35408 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35409 *) as_qdir
=$as_dir;;
35411 as_dirs
="'$as_qdir' $as_dirs"
35412 as_dir
=`$as_dirname -- "$as_dir" ||
35413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35414 X"$as_dir" : 'X\(//\)[^/]' \| \
35415 X"$as_dir" : 'X\(//\)$' \| \
35416 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35422 /^X\(\/\/\)[^/].*/{
35435 test -d "$as_dir" && break
35437 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35438 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35439 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35440 { (exit 1); exit 1; }; }; }
35444 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35446 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35447 # A ".." for each directory in $ac_dir_suffix.
35448 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35449 case $ac_top_builddir_sub in
35450 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35451 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35454 ac_abs_top_builddir
=$ac_pwd
35455 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35456 # for backward compatibility:
35457 ac_top_builddir
=$ac_top_build_prefix
35460 .
) # We are building in place.
35462 ac_top_srcdir
=$ac_top_builddir_sub
35463 ac_abs_top_srcdir
=$ac_pwd ;;
35464 [\\/]* | ?
:[\\/]* ) # Absolute name.
35465 ac_srcdir
=$srcdir$ac_dir_suffix;
35466 ac_top_srcdir
=$srcdir
35467 ac_abs_top_srcdir
=$srcdir ;;
35468 *) # Relative name.
35469 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35470 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35471 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35473 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35478 # Check for guested configure; otherwise get Cygnus style configure.
35479 if test -f "$ac_srcdir/configure.gnu"; then
35480 ac_sub_configure
=$ac_srcdir/configure.gnu
35481 elif test -f "$ac_srcdir/configure"; then
35482 ac_sub_configure
=$ac_srcdir/configure
35483 elif test -f "$ac_srcdir/configure.in"; then
35484 # This should be Cygnus configure.
35485 ac_sub_configure
=$ac_aux_dir/configure
35487 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35488 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35492 # The recursion is here.
35493 if test -n "$ac_sub_configure"; then
35494 # Make the cache file name correct relative to the subdirectory.
35495 case $cache_file in
35496 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35497 *) # Relative name.
35498 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35501 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35502 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35503 # The eval makes quoting arguments work.
35504 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35505 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35506 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35507 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35508 { (exit 1); exit 1; }; }