2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 2.6svn.
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.
13 ## --------------------- ##
14 ## M4sh Initialization. ##
15 ## --------------------- ##
17 # Be Bourne compatible
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
28 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
29 DUALCASE
=1; export DUALCASE
# for MKS sh
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 # Be Bourne compatible
241 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
251 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
252 DUALCASE
=1; export DUALCASE
# for MKS sh
257 CONFIG_SHELL
=$as_shell
259 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
260 # Be Bourne compatible
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
271 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
272 DUALCASE
=1; export DUALCASE
# for MKS sh
284 as_func_ret_success
() {
287 as_func_ret_failure
() {
292 if as_func_success
; then
296 echo as_func_success failed.
299 if as_func_failure
; then
301 echo as_func_failure succeeded.
304 if as_func_ret_success
; then
308 echo as_func_ret_success failed.
311 if as_func_ret_failure
; then
313 echo as_func_ret_failure succeeded.
316 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
320 echo positional parameters were not saved.
323 test $exitcode = 0) ||
{ (exit 1); exit 1; }
328 test "x$as_lineno_1" != "x$as_lineno_2" &&
329 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
340 if test "x$CONFIG_SHELL" != x
; then
341 for as_var
in BASH_ENV ENV
342 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
345 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
349 if test $as_have_required = no
; then
350 echo This
script requires a shell
more modern than all the
351 echo shells that I found on your system. Please
install a
352 echo modern shell
, or manually run the
script under such a
353 echo shell
if you
do have one.
354 { (exit 1); exit 1; }
364 (eval "as_func_return () {
373 as_func_ret_success () {
376 as_func_ret_failure () {
381 if as_func_success; then
385 echo as_func_success failed.
388 if as_func_failure; then
390 echo as_func_failure succeeded.
393 if as_func_ret_success; then
397 echo as_func_ret_success failed.
400 if as_func_ret_failure; then
402 echo as_func_ret_failure succeeded.
405 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 echo positional parameters were not saved.
412 test \$exitcode = 0") ||
{
413 echo No shell found that supports shell functions.
414 echo Please tell autoconf@gnu.org about your system
,
415 echo including any error possibly output before this
423 test "x$as_lineno_1" != "x$as_lineno_2" &&
424 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
427 # uniformly replaced by the line number. The first 'sed' inserts a
428 # line-number line after each line using $LINENO; the second 'sed'
429 # does the real work. The second script uses 'N' to pair each
430 # line-number line with the line containing $LINENO, and appends
431 # trailing '-' during substitution so that $LINENO is not a special
433 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
434 # scripts with optimization help from Paolo Bonzini. Blame Lee
435 # E. McMahon (1931-1989) for sed's syntax. :-)
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 chmod +x
"$as_me.lineno" ||
452 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
453 { (exit 1); exit 1; }; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
464 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
470 ECHO_C
= ECHO_N
= ECHO_T
=
474 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
481 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
482 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
488 rm -f conf$$ conf$$.exe conf$$.
file
489 if test -d conf$$.dir
; then
490 rm -f conf$$.dir
/conf$$.
file
496 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
498 # ... but there are two gotchas:
499 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
500 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
501 # In both cases, we have to default to `cp -p'.
502 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
504 elif ln conf$$.
file conf$$
2>/dev
/null
; then
509 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
510 rmdir conf$$.dir
2>/dev
/null
512 if mkdir
-p .
2>/dev
/null
; then
515 test -d .
/-p && rmdir .
/-p
519 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
520 # systems may use methods other than mode bits to determine executability.
521 cat >conf$$.
file <<_ASEOF
526 if test -x conf$$.
file >/dev
/null
2>&1; then
527 as_executable_p
="test -x"
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
542 # Check that we are running under the correct shell.
543 SHELL
=${CONFIG_SHELL-/bin/sh}
547 # Remove one level of quotation (which was required for Make).
548 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
553 if test "X$1" = X--no-reexec
; then
554 # Discard the --no-reexec flag, and continue.
556 elif test "X$1" = X--fallback-echo
; then
557 # Avoid inline document here, it may be left over
559 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
560 # Yippee, $echo works!
563 # Restart under the correct shell.
564 exec $SHELL "$0" --no-reexec ${1+"$@"}
567 if test "X$1" = X--fallback-echo
; then
568 # used as fallback echo
576 # The HP-UX ksh and POSIX shell print the target directory to stdout
578 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
580 if test -z "$ECHO"; then
581 if test "X${echo_test_string+set}" != Xset
; then
582 # find a string as large as possible, as long as the shell can cope with it
583 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
584 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
585 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
586 echo_test_string
=`eval $cmd` &&
587 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
594 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
599 # The Solaris, AIX, and Digital Unix default echo programs unquote
600 # backslashes. This makes it impossible to quote backslashes using
601 # echo "$something" | sed 's/\\/\\\\/g'
603 # So, first we look for a working echo in the user's PATH.
605 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
606 for dir
in $PATH /usr
/ucb
; do
608 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
609 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
610 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
611 test "X$echo_testing_string" = "X$echo_test_string"; then
618 if test "X$echo" = Xecho
; then
619 # We didn't find a better echo, so look for alternatives.
620 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
623 # This shell has a builtin print -r that does the trick.
625 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
626 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
627 # If we have ksh, try running configure again with it.
628 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
629 export ORIGINAL_CONFIG_SHELL
630 CONFIG_SHELL
=/bin
/ksh
632 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
636 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
637 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
641 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
647 SHELL
="$CONFIG_SHELL"
649 echo="$CONFIG_SHELL $0 --fallback-echo"
650 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
651 test "X$echo_testing_string" = 'X\t' &&
652 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
653 test "X$echo_testing_string" = "X$echo_test_string"; then
654 echo="$CONFIG_SHELL $0 --fallback-echo"
656 # maybe with a smaller string...
659 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
660 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
667 if test "$prev" != 'sed 50q "$0"'; then
668 echo_test_string
=`eval $prev`
669 export echo_test_string
670 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
672 # Oops. We lost completely, so just stick with echo.
681 # Copy echo and quote the copy suitably for passing to libtool from
682 # the Makefile, instead of quoting the original, which is used later.
684 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
685 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
691 tagnames
=${tagnames+${tagnames},}CXX
693 tagnames
=${tagnames+${tagnames},}F77
695 exec 7<&0 </dev
/null
6>&1
698 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
699 # so uname gets run too.
700 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
705 ac_default_prefix
=/usr
/local
707 ac_config_libobj_dir
=.
713 SHELL
=${CONFIG_SHELL-/bin/sh}
715 # Identity of this package.
717 PACKAGE_TARNAME
='-llvm-'
718 PACKAGE_VERSION
='2.6svn'
719 PACKAGE_STRING
='llvm 2.6svn'
720 PACKAGE_BUGREPORT
='llvmbugs@cs.uiuc.edu'
722 ac_unique_file
="lib/VMCore/Module.cpp"
723 # Factoring default headers for most tests.
724 ac_includes_default
="\
727 # include <sys/types.h>
730 # include <sys/stat.h>
741 # if !STDC_HEADERS && HAVE_MEMORY_H
747 # include <strings.h>
750 # include <inttypes.h>
768 program_transform_name
835 ENABLE_EXPENSIVE_CHECKS
889 CONVENIENCE_LTDL_TRUE
890 CONVENIENCE_LTDL_FALSE
930 ENABLE_VISIBILITY_INLINES_HIDDEN
936 ac_precious_vars
='build_alias
950 ac_subdirs_all
='projects/sample
952 projects/llvm-stacker
959 projects/llvm-poolalloc
961 projects/llvm-kernel'
963 # Initialize some variables set by options.
965 ac_init_version
=false
966 # The variables have the same names as the options, with
967 # dashes changed to underlines.
975 program_transform_name
=s
,x
,x
,
983 # Installation directory options.
984 # These are left unexpanded so users can "make install exec_prefix=/foo"
985 # and all the variables that are supposed to be based on exec_prefix
986 # by default will actually change.
987 # Use braces instead of parens because sh, perl, etc. also accept them.
988 # (The list follows the same order as the GNU Coding Standards.)
989 bindir
='${exec_prefix}/bin'
990 sbindir
='${exec_prefix}/sbin'
991 libexecdir
='${exec_prefix}/libexec'
992 datarootdir
='${prefix}/share'
993 datadir
='${datarootdir}'
994 sysconfdir
='${prefix}/etc'
995 sharedstatedir
='${prefix}/com'
996 localstatedir
='${prefix}/var'
997 includedir
='${prefix}/include'
998 oldincludedir
='/usr/include'
999 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1000 infodir
='${datarootdir}/info'
1005 libdir
='${exec_prefix}/lib'
1006 localedir
='${datarootdir}/locale'
1007 mandir
='${datarootdir}/man'
1013 # If the previous option needs an argument, assign it.
1014 if test -n "$ac_prev"; then
1015 eval $ac_prev=\
$ac_option
1021 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1025 # Accept the important Cygnus configure options, so we can diagnose typos.
1027 case $ac_dashdash$ac_option in
1031 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1033 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1034 bindir
=$ac_optarg ;;
1036 -build |
--build |
--buil |
--bui |
--bu)
1037 ac_prev
=build_alias
;;
1038 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1039 build_alias
=$ac_optarg ;;
1041 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1042 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1043 ac_prev
=cache_file
;;
1044 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1045 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1046 cache_file
=$ac_optarg ;;
1048 --config-cache |
-C)
1049 cache_file
=config.cache
;;
1051 -datadir |
--datadir |
--datadi |
--datad)
1053 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1054 datadir
=$ac_optarg ;;
1056 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1057 |
--dataroo |
--dataro |
--datar)
1058 ac_prev
=datarootdir
;;
1059 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1060 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1061 datarootdir
=$ac_optarg ;;
1063 -disable-* |
--disable-*)
1064 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1067 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1068 { (exit 1); exit 1; }; }
1069 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1070 eval enable_
$ac_feature=no
;;
1072 -docdir |
--docdir |
--docdi |
--doc |
--do)
1074 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1075 docdir
=$ac_optarg ;;
1077 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1079 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1080 dvidir
=$ac_optarg ;;
1082 -enable-* |
--enable-*)
1083 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1086 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1087 { (exit 1); exit 1; }; }
1088 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1089 eval enable_
$ac_feature=\
$ac_optarg ;;
1091 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1092 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1093 |
--exec |
--exe |
--ex)
1094 ac_prev
=exec_prefix
;;
1095 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1096 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1097 |
--exec=* |
--exe=* |
--ex=*)
1098 exec_prefix
=$ac_optarg ;;
1100 -gas |
--gas |
--ga |
--g)
1101 # Obsolete; use --with-gas.
1104 -help |
--help |
--hel |
--he |
-h)
1105 ac_init_help
=long
;;
1106 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1107 ac_init_help
=recursive
;;
1108 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1109 ac_init_help
=short
;;
1111 -host |
--host |
--hos |
--ho)
1112 ac_prev
=host_alias
;;
1113 -host=* |
--host=* |
--hos=* |
--ho=*)
1114 host_alias
=$ac_optarg ;;
1116 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1118 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1120 htmldir
=$ac_optarg ;;
1122 -includedir |
--includedir |
--includedi |
--included |
--include \
1123 |
--includ |
--inclu |
--incl |
--inc)
1124 ac_prev
=includedir
;;
1125 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1126 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1127 includedir
=$ac_optarg ;;
1129 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1131 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1132 infodir
=$ac_optarg ;;
1134 -libdir |
--libdir |
--libdi |
--libd)
1136 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1137 libdir
=$ac_optarg ;;
1139 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1140 |
--libexe |
--libex |
--libe)
1141 ac_prev
=libexecdir
;;
1142 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1143 |
--libexe=* |
--libex=* |
--libe=*)
1144 libexecdir
=$ac_optarg ;;
1146 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1147 ac_prev
=localedir
;;
1148 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1149 localedir
=$ac_optarg ;;
1151 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1152 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1153 ac_prev
=localstatedir
;;
1154 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1155 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1156 localstatedir
=$ac_optarg ;;
1158 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1160 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1161 mandir
=$ac_optarg ;;
1163 -nfp |
--nfp |
--nf)
1164 # Obsolete; use --without-fp.
1167 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1168 |
--no-cr |
--no-c |
-n)
1171 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1172 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1175 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1176 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1177 |
--oldin |
--oldi |
--old |
--ol |
--o)
1178 ac_prev
=oldincludedir
;;
1179 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1180 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1181 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1182 oldincludedir
=$ac_optarg ;;
1184 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1186 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1187 prefix
=$ac_optarg ;;
1189 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1190 |
--program-pre |
--program-pr |
--program-p)
1191 ac_prev
=program_prefix
;;
1192 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1193 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1194 program_prefix
=$ac_optarg ;;
1196 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1197 |
--program-suf |
--program-su |
--program-s)
1198 ac_prev
=program_suffix
;;
1199 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1200 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1201 program_suffix
=$ac_optarg ;;
1203 -program-transform-name |
--program-transform-name \
1204 |
--program-transform-nam |
--program-transform-na \
1205 |
--program-transform-n |
--program-transform- \
1206 |
--program-transform |
--program-transfor \
1207 |
--program-transfo |
--program-transf \
1208 |
--program-trans |
--program-tran \
1209 |
--progr-tra |
--program-tr |
--program-t)
1210 ac_prev
=program_transform_name
;;
1211 -program-transform-name=* |
--program-transform-name=* \
1212 |
--program-transform-nam=* |
--program-transform-na=* \
1213 |
--program-transform-n=* |
--program-transform-=* \
1214 |
--program-transform=* |
--program-transfor=* \
1215 |
--program-transfo=* |
--program-transf=* \
1216 |
--program-trans=* |
--program-tran=* \
1217 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1218 program_transform_name
=$ac_optarg ;;
1220 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1222 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1223 pdfdir
=$ac_optarg ;;
1225 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1227 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1230 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1231 |
-silent |
--silent |
--silen |
--sile |
--sil)
1234 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1236 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1238 sbindir
=$ac_optarg ;;
1240 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1241 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1242 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1244 ac_prev
=sharedstatedir
;;
1245 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1246 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1247 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1249 sharedstatedir
=$ac_optarg ;;
1251 -site |
--site |
--sit)
1253 -site=* |
--site=* |
--sit=*)
1256 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1258 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1259 srcdir
=$ac_optarg ;;
1261 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1262 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1263 ac_prev
=sysconfdir
;;
1264 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1265 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1266 sysconfdir
=$ac_optarg ;;
1268 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1269 ac_prev
=target_alias
;;
1270 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1271 target_alias
=$ac_optarg ;;
1273 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1276 -version |
--version |
--versio |
--versi |
--vers |
-V)
1277 ac_init_version
=: ;;
1280 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1283 { echo "$as_me: error: invalid package name: $ac_package" >&2
1284 { (exit 1); exit 1; }; }
1285 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1286 eval with_
$ac_package=\
$ac_optarg ;;
1288 -without-* |
--without-*)
1289 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1292 { echo "$as_me: error: invalid package name: $ac_package" >&2
1293 { (exit 1); exit 1; }; }
1294 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1295 eval with_
$ac_package=no
;;
1298 # Obsolete; use --with-x.
1301 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1302 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1303 ac_prev
=x_includes
;;
1304 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1305 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1306 x_includes
=$ac_optarg ;;
1308 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1309 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1310 ac_prev
=x_libraries
;;
1311 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1312 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1313 x_libraries
=$ac_optarg ;;
1315 -*) { echo "$as_me: error: unrecognized option: $ac_option
1316 Try \`$0 --help' for more information." >&2
1317 { (exit 1); exit 1; }; }
1321 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1324 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1325 { (exit 1); exit 1; }; }
1326 eval $ac_envvar=\
$ac_optarg
1327 export $ac_envvar ;;
1330 # FIXME: should be removed in autoconf 3.0.
1331 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1332 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1333 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1334 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1340 if test -n "$ac_prev"; then
1341 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1342 { echo "$as_me: error: missing argument to $ac_option" >&2
1343 { (exit 1); exit 1; }; }
1346 # Be sure to have absolute directory names.
1347 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1348 datadir sysconfdir sharedstatedir localstatedir includedir \
1349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1350 libdir localedir mandir
1352 eval ac_val
=\$
$ac_var
1354 [\\/$
]* | ?
:[\\/]* ) continue;;
1355 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1357 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1358 { (exit 1); exit 1; }; }
1361 # There might be people who depend on the old broken behavior: `$host'
1362 # used to hold the argument of --host etc.
1363 # FIXME: To remove some day.
1366 target
=$target_alias
1368 # FIXME: To remove some day.
1369 if test "x$host_alias" != x
; then
1370 if test "x$build_alias" = x
; then
1371 cross_compiling
=maybe
1372 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1373 If a cross compiler is detected then cross compile mode will be used." >&2
1374 elif test "x$build_alias" != "x$host_alias"; then
1380 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1382 test "$silent" = yes && exec 6>/dev
/null
1385 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1386 ac_ls_di
=`ls -di .` &&
1387 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1388 { echo "$as_me: error: Working directory cannot be determined" >&2
1389 { (exit 1); exit 1; }; }
1390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1391 { echo "$as_me: error: pwd does not report name of working directory" >&2
1392 { (exit 1); exit 1; }; }
1395 # Find the source files, if location was not specified.
1396 if test -z "$srcdir"; then
1397 ac_srcdir_defaulted
=yes
1398 # Try the directory containing this script, then the parent directory.
1399 ac_confdir
=`$as_dirname -- "$0" ||
1400 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1401 X"$0" : 'X\(//\)[^/]' \| \
1402 X"$0" : 'X\(//\)$' \| \
1403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1427 ac_srcdir_defaulted
=no
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1430 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1431 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1432 { (exit 1); exit 1; }; }
1434 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1436 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1437 { (exit 1); exit 1; }; }
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1447 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 for ac_var
in $ac_precious_vars; do
1450 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1452 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1457 # Report the --help message.
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1463 \`configure' configures llvm 2.6svn to adapt to many kinds of systems.
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1470 Defaults for the options are specified in brackets.
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1494 For better control, use the options below.
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1521 --build=BUILD configure
for building on BUILD
[guessed
]
1522 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1523 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1527 if test -n "$ac_init_help"; then
1528 case $ac_init_help in
1529 short | recursive
) echo "Configuration of llvm 2.6svn:";;
1534 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1535 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1539 --enable-expensive-checks
1541 --enable-debug-runtime
1542 --enable-jit Enable Just In Time Compiling
(default is YES
)
1543 --enable-doxygen Build doxygen documentation
(default is NO
)
1544 --enable-threads Use threads
if available
(default is YES
)
1545 --enable-pic Build LLVM with Position Independent Code
(default
1547 --enable-targets Build specific
host targets
:
1548 all
,host-only
,{target-name
} (default
=all
)
1549 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1551 --enable-bindings Build specific language bindings
:
1552 all
,auto
,none
,{binding-name
} (default
=auto
)
1553 --enable-ltdl-install install libltdl
1554 --enable-shared[=PKGS
] build shared libraries
1556 --enable-static[=PKGS
] build static libraries
1558 --enable-fast-install[=PKGS
]
1559 optimize
for fast installation
1561 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1564 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1565 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1566 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1568 --with-llvmgcc Specify location of llvm-gcc driver
(default
1570 --with-llvmgxx Specify location of llvm-g
++ driver
(default
1572 --with-extra-options Specify addtional options to compile LLVM with
1573 --with-ocaml-libdir Specify
install location
for ocaml bindings
(default
1575 --with-binutils-include Specify path to binutils
/include
/ containing
1576 plugin-api.h
file for gold plugin.
1577 --with-tclinclude directory where tcl headers are
1578 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1579 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1581 --with-tags[=TAGS
] include additional configurations
[automatic
]
1582 --with-udis86=<path
> Use udis86 external x86 disassembler library
1584 Some influential environment variables
:
1585 CC C compiler
command
1586 CFLAGS C compiler flags
1587 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1588 nonstandard directory
<lib dir
>
1589 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1590 you have headers
in a nonstandard directory
<include dir
>
1592 CXX C
++ compiler
command
1593 CXXFLAGS C
++ compiler flags
1594 CXXCPP C
++ preprocessor
1595 F77 Fortran
77 compiler
command
1596 FFLAGS Fortran
77 compiler flags
1598 Use these variables to override the choices made by
`configure' or to help
1599 it to find libraries and programs with nonstandard names/locations.
1601 Report bugs to <llvmbugs@cs.uiuc.edu>.
1606 if test "$ac_init_help" = "recursive"; then
1607 # If there are subdirs, report their specific --help.
1608 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1609 test -d "$ac_dir" || continue
1613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1616 # A ".." for each directory in $ac_dir_suffix.
1617 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1618 case $ac_top_builddir_sub in
1619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1623 ac_abs_top_builddir=$ac_pwd
1624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1625 # for backward compatibility:
1626 ac_top_builddir=$ac_top_build_prefix
1629 .) # We are building in place.
1631 ac_top_srcdir=$ac_top_builddir_sub
1632 ac_abs_top_srcdir=$ac_pwd ;;
1633 [\\/]* | ?:[\\/]* ) # Absolute name.
1634 ac_srcdir=$srcdir$ac_dir_suffix;
1635 ac_top_srcdir=$srcdir
1636 ac_abs_top_srcdir=$srcdir ;;
1638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1639 ac_top_srcdir=$ac_top_build_prefix$srcdir
1640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1644 cd "$ac_dir" || { ac_status=$?; continue; }
1645 # Check for guested configure.
1646 if test -f "$ac_srcdir/configure.gnu"; then
1648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1649 elif test -f "$ac_srcdir/configure"; then
1651 $SHELL "$ac_srcdir/configure" --help=recursive
1653 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1655 cd "$ac_pwd" || { ac_status=$?; break; }
1659 test -n "$ac_init_help" && exit $ac_status
1660 if $ac_init_version; then
1662 llvm configure 2.6svn
1663 generated by GNU Autoconf 2.60
1665 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1666 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1670 Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.
1674 cat >config.log <<_ACEOF
1675 This file contains any messages produced by compilers while
1676 running configure, to aid debugging if configure makes a mistake.
1678 It was created by llvm $as_me 2.6svn, which was
1679 generated by GNU Autoconf 2.60. Invocation command line was
1691 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1692 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1693 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1694 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1695 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1697 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1698 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1700 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1701 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1702 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1703 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1704 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1705 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1706 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 echo "PATH: $as_dir"
1731 # Keep a trace of the command line.
1732 # Strip out --no-create and --no-recursion so they do not pile up.
1733 # Strip out --silent because we don't want to record it for future runs.
1734 # Also quote any args containing shell meta-characters.
1735 # Make two passes to allow for proper duplicate-argument suppression.
1739 ac_must_keep_next=false
1745 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1747 | -silent | --silent | --silen | --sile | --sil)
1750 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1753 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1755 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1756 if test $ac_must_keep_next = true; then
1757 ac_must_keep_next=false # Got value, back to normal.
1760 *=* | --config-cache | -C | -disable-* | --disable-* \
1761 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1762 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1763 | -with-* | --with-* | -without-* | --without-* | --x)
1764 case "$ac_configure_args0 " in
1765 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1768 -* ) ac_must_keep_next=true ;;
1771 ac_configure_args="$ac_configure_args '$ac_arg'"
1776 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1777 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1779 # When interrupted or exit'd, cleanup temporary files, and complete
1780 # config.log. We remove comments because anyway the quotes in there
1781 # would cause problems or look ugly.
1782 # WARNING: Use '\'' to represent an apostrophe within the trap.
1783 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1784 trap 'exit_status=$?
1785 # Save into config.log some information that might help in debugging.
1790 ## ---------------- ##
1791 ## Cache variables. ##
1792 ## ---------------- ##
1795 # The following way of writing the cache mishandles newlines in values,
1797 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1798 eval ac_val=\$$ac_var
1802 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1803 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1806 _ | IFS | as_nl) ;; #(
1807 *) $as_unset $ac_var ;;
1812 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1813 *${as_nl}ac_space=\ *)
1815 "s/'\''/'\''\\\\'\'''\''/g;
1816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1827 ## ----------------- ##
1828 ## Output variables. ##
1829 ## ----------------- ##
1832 for ac_var in $ac_subst_vars
1834 eval ac_val=\$$ac_var
1836 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 echo "$ac_var='\''$ac_val'\''"
1842 if test -n "$ac_subst_files"; then
1844 ## ------------------- ##
1845 ## File substitutions. ##
1846 ## ------------------- ##
1849 for ac_var in $ac_subst_files
1851 eval ac_val=\$$ac_var
1853 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 echo "$ac_var='\''$ac_val'\''"
1860 if test -s confdefs.h; then
1870 test "$ac_signal" != 0 &&
1871 echo "$as_me: caught signal $ac_signal"
1872 echo "$as_me: exit $exit_status"
1874 rm -f core *.core core.conftest.* &&
1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878 for ac_signal in 1 2 13 15; do
1879 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1883 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1884 rm -f -r conftest* confdefs.h
1886 # Predefined preprocessor variables.
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_NAME "$PACKAGE_NAME"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_STRING "$PACKAGE_STRING"
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1913 # Let the site file select an alternate cache file if it wants to.
1914 # Prefer explicitly selected file to automatically selected ones.
1915 if test -n "$CONFIG_SITE"; then
1916 set x "$CONFIG_SITE"
1917 elif test "x$prefix" != xNONE; then
1918 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1920 set x "$ac_default_prefix/share/config.site" \
1921 "$ac_default_prefix/etc/config.site"
1926 if test -r "$ac_site_file"; then
1927 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1928 echo "$as_me: loading site script $ac_site_file" >&6;}
1929 sed 's/^/| /' "$ac_site_file" >&5
1934 if test -r "$cache_file"; then
1935 # Some versions of bash will fail to source /dev/null (special
1936 # files actually), so we avoid doing that.
1937 if test -f "$cache_file"; then
1938 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1939 echo "$as_me: loading cache $cache_file" >&6;}
1941 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1942 *) . "./$cache_file";;
1946 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1947 echo "$as_me: creating cache $cache_file" >&6;}
1951 # Check that the precious variables saved in the cache have kept the same
1953 ac_cache_corrupted=false
1954 for ac_var in $ac_precious_vars; do
1955 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1956 eval ac_new_set=\$ac_env_${ac_var}_set
1957 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1958 eval ac_new_val=\$ac_env_${ac_var}_value
1959 case $ac_old_set,$ac_new_set in
1961 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1962 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1963 ac_cache_corrupted=: ;;
1965 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1966 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1967 ac_cache_corrupted=: ;;
1970 if test "x$ac_old_val" != "x$ac_new_val"; then
1971 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1972 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1973 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1974 echo "$as_me: former value
: $ac_old_val" >&2;}
1975 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1976 echo "$as_me: current value
: $ac_new_val" >&2;}
1977 ac_cache_corrupted=:
1980 # Pass precious variables to config.status.
1981 if test "$ac_new_set" = set; then
1983 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1984 *) ac_arg=$ac_var=$ac_new_val ;;
1986 case " $ac_configure_args " in
1987 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1988 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1992 if $ac_cache_corrupted; then
1993 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1994 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1995 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1996 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1997 { (exit 1); exit 1; }; }
2025 ac_cpp='$CPP $CPPFLAGS'
2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2032 LLVM_COPYRIGHT="Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign."
2041 for ac_dir in autoconf "$srcdir"/autoconf; do
2042 if test -f "$ac_dir/install-sh"; then
2044 ac_install_sh="$ac_aux_dir/install-sh -c"
2046 elif test -f "$ac_dir/install.sh"; then
2048 ac_install_sh="$ac_aux_dir/install.sh -c"
2050 elif test -f "$ac_dir/shtool"; then
2052 ac_install_sh="$ac_aux_dir/shtool install -c"
2056 if test -z "$ac_aux_dir"; then
2057 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2058 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2059 { (exit 1); exit 1; }; }
2062 # These three variables are undocumented and unsupported,
2063 # and are intended to be withdrawn in a future Autoconf release.
2064 # They can cause serious problems if a builder's source tree is in a directory
2065 # whose full name contains unusual characters.
2066 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2067 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2068 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2072 if test ${srcdir} != "." ; then
2073 if test -f ${srcdir}/include/llvm/Config/config.h ; then
2074 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2075 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2076 { (exit 1); exit 1; }; }
2080 for i in `ls ${srcdir}/projects
`
2082 if test -d ${srcdir}/projects/${i} ; then
2085 sample) subdirs="$subdirs projects/sample"
2087 privbracket) subdirs="$subdirs projects/privbracket"
2089 llvm-stacker) subdirs="$subdirs projects/llvm-stacker"
2091 # llvm-test is the old name of the test-suite, kept here for backwards
2093 llvm-test) subdirs="$subdirs projects/llvm-test"
2095 test-suite) subdirs="$subdirs projects/test-suite"
2097 llvm-reopt) subdirs="$subdirs projects/llvm-reopt"
2099 llvm-gcc) subdirs="$subdirs projects/llvm-gcc"
2101 llvm-java) subdirs="$subdirs projects/llvm-java"
2103 llvm-tv) subdirs="$subdirs projects/llvm-tv"
2105 llvm-poolalloc) subdirs="$subdirs projects/llvm-poolalloc"
2107 poolalloc) subdirs="$subdirs projects/poolalloc"
2109 llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
2112 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2113 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2120 # Make sure we can run config.sub.
2121 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2122 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2123 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2124 { (exit 1); exit 1; }; }
2126 { echo "$as_me:$LINENO: checking build system type" >&5
2127 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2128 if test "${ac_cv_build+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 ac_build_alias=$build_alias
2132 test "x$ac_build_alias" = x &&
2133 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2134 test "x$ac_build_alias" = x &&
2135 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2136 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2137 { (exit 1); exit 1; }; }
2138 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2139 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2140 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2141 { (exit 1); exit 1; }; }
2144 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2145 echo "${ECHO_T}$ac_cv_build" >&6; }
2146 case $ac_cv_build in
2148 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2149 echo "$as_me: error: invalid value of canonical build" >&2;}
2150 { (exit 1); exit 1; }; };;
2153 ac_save_IFS=$IFS; IFS='-'
2159 # Remember, the first character of IFS is used to create $*,
2160 # except with old shells:
2163 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2166 { echo "$as_me:$LINENO: checking host system type" >&5
2167 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2168 if test "${ac_cv_host+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 if test "x$host_alias" = x; then
2172 ac_cv_host=$ac_cv_build
2174 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2175 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2176 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2177 { (exit 1); exit 1; }; }
2181 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2182 echo "${ECHO_T}$ac_cv_host" >&6; }
2185 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2186 echo "$as_me: error: invalid value of canonical host" >&2;}
2187 { (exit 1); exit 1; }; };;
2190 ac_save_IFS=$IFS; IFS='-'
2196 # Remember, the first character of IFS is used to create $*,
2197 # except with old shells:
2200 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2203 { echo "$as_me:$LINENO: checking target system type" >&5
2204 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2205 if test "${ac_cv_target+set}" = set; then
2206 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 if test "x$target_alias" = x; then
2209 ac_cv_target=$ac_cv_host
2211 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2212 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2213 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2214 { (exit 1); exit 1; }; }
2218 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2219 echo "${ECHO_T}$ac_cv_target" >&6; }
2220 case $ac_cv_target in
2222 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2223 echo "$as_me: error: invalid value of canonical target" >&2;}
2224 { (exit 1); exit 1; }; };;
2226 target=$ac_cv_target
2227 ac_save_IFS=$IFS; IFS='-'
2233 # Remember, the first character of IFS is used to create $*,
2234 # except with old shells:
2237 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2240 # The aliases save the names the user supplied, while $host etc.
2241 # will get canonicalized.
2242 test -n "$target_alias" &&
2243 test "$program_prefix$program_suffix$program_transform_name" = \
2245 program_prefix=${target_alias}-
2247 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2248 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2249 if test "${llvm_cv_os_type+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 llvm_cv_link_all_option="-Wl,--whole-archive"
2255 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2256 llvm_cv_os_type="AIX"
2257 llvm_cv_platform_type="Unix" ;;
2259 llvm_cv_link_all_option="-Wl,--whole-archive"
2260 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2261 llvm_cv_os_type="IRIX"
2262 llvm_cv_platform_type="Unix" ;;
2264 llvm_cv_link_all_option="-Wl,--whole-archive"
2265 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2266 llvm_cv_os_type="Cygwin"
2267 llvm_cv_platform_type="Unix" ;;
2269 llvm_cv_link_all_option="-Wl,-all_load"
2270 llvm_cv_no_link_all_option="-Wl,-noall_load"
2271 llvm_cv_os_type="Darwin"
2272 llvm_cv_platform_type="Unix" ;;
2274 llvm_cv_link_all_option="-Wl,--whole-archive"
2275 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2276 llvm_cv_os_type="FreeBSD"
2277 llvm_cv_platform_type="Unix" ;;
2279 llvm_cv_link_all_option="-Wl,--whole-archive"
2280 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2281 llvm_cv_os_type="OpenBSD"
2282 llvm_cv_platform_type="Unix" ;;
2284 llvm_cv_link_all_option="-Wl,--whole-archive"
2285 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2286 llvm_cv_os_type="NetBSD"
2287 llvm_cv_platform_type="Unix" ;;
2289 llvm_cv_link_all_option="-Wl,--whole-archive"
2290 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2291 llvm_cv_os_type="DragonFly"
2292 llvm_cv_platform_type="Unix" ;;
2294 llvm_cv_link_all_option="-Wl,--whole-archive"
2295 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2296 llvm_cv_os_type="HP-UX"
2297 llvm_cv_platform_type="Unix" ;;
2299 llvm_cv_link_all_option="-Wl,--whole-archive"
2300 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2301 llvm_cv_os_type="Interix"
2302 llvm_cv_platform_type="Unix" ;;
2304 llvm_cv_link_all_option="-Wl,--whole-archive"
2305 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2306 llvm_cv_os_type="Linux"
2307 llvm_cv_platform_type="Unix" ;;
2309 llvm_cv_link_all_option="-Wl,-z,allextract"
2310 llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
2311 llvm_cv_os_type="SunOS"
2312 llvm_cv_platform_type="Unix" ;;
2314 llvm_cv_link_all_option="-Wl,--whole-archive"
2315 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2316 llvm_cv_os_type="Win32"
2317 llvm_cv_platform_type="Win32" ;;
2319 llvm_cv_link_all_option="-Wl,--whole-archive"
2320 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
2321 llvm_cv_os_type="MingW"
2322 llvm_cv_platform_type="Win32" ;;
2324 llvm_cv_link_all_option=""
2325 llvm_cv_no_link_all_option=""
2326 llvm_cv_os_type="Unknown"
2327 llvm_cv_platform_type="Unknown" ;;
2330 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2331 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2333 if test "$llvm_cv_os_type" = "Unknown" ; then
2334 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2335 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2336 { (exit 1); exit 1; }; }
2342 LINKALL=$llvm_cv_link_all_option
2344 NOLINKALL=$llvm_cv_no_link_all_option
2347 case $llvm_cv_platform_type in
2350 cat >>confdefs.h <<\_ACEOF
2351 #define LLVM_ON_UNIX 1
2361 cat >>confdefs.h <<\_ACEOF
2362 #define LLVM_ON_WIN32 1
2372 { echo "$as_me:$LINENO: checking target architecture" >&5
2373 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2374 if test "${llvm_cv_target_arch+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 i?86-*) llvm_cv_target_arch="x86" ;;
2379 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
2380 sparc*-*) llvm_cv_target_arch="Sparc" ;;
2381 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
2382 alpha*-*) llvm_cv_target_arch="Alpha" ;;
2383 ia64-*) llvm_cv_target_arch="IA64" ;;
2384 arm*-*) llvm_cv_target_arch="ARM" ;;
2385 mips-*) llvm_cv_target_arch="Mips" ;;
2386 pic16-*) llvm_cv_target_arch="PIC16" ;;
2387 xcore-*) llvm_cv_target_arch="XCore" ;;
2388 *) llvm_cv_target_arch="Unknown" ;;
2391 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2392 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2394 if test "$llvm_cv_target_arch" = "Unknown" ; then
2395 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2396 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2399 ARCH=$llvm_cv_target_arch
2403 ac_cpp='$CPP $CPPFLAGS'
2404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2407 if test -n "$ac_tool_prefix"; then
2408 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2409 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC="$CC" # Let the user override the test.
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir=.
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 if test -n "$CC"; then
2437 { echo "$as_me:$LINENO: result: $CC" >&5
2438 echo "${ECHO_T}$CC" >&6; }
2440 { echo "$as_me:$LINENO: result: no" >&5
2441 echo "${ECHO_T}no" >&6; }
2446 if test -z "$ac_cv_prog_CC"; then
2448 # Extract the first word of "gcc", so it can be a program name with args.
2449 set dummy gcc; ac_word=$2
2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test -n "$ac_ct_CC"; then
2456 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_ac_ct_CC="gcc"
2466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2476 if test -n "$ac_ct_CC"; then
2477 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2478 echo "${ECHO_T}$ac_ct_CC" >&6; }
2480 { echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6; }
2484 if test "x$ac_ct_CC" = x; then
2487 case $cross_compiling:$ac_tool_warned in
2489 { echo "$as_me:$LINENO: 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." >&5
2492 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2493 whose name does not start with the host triplet. If you think this
2494 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2495 ac_tool_warned=yes ;;
2503 if test -z "$CC"; then
2504 if test -n "$ac_tool_prefix"; then
2505 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2506 set dummy ${ac_tool_prefix}cc; ac_word=$2
2507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2509 if test "${ac_cv_prog_CC+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 if test -n "$CC"; then
2513 ac_cv_prog_CC="$CC" # Let the user override the test.
2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519 test -z "$as_dir" && as_dir=.
2520 for ac_exec_ext in '' $ac_executable_extensions; do
2521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2522 ac_cv_prog_CC="${ac_tool_prefix}cc"
2523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 if test -n "$CC"; then
2534 { echo "$as_me:$LINENO: result: $CC" >&5
2535 echo "${ECHO_T}$CC" >&6; }
2537 { echo "$as_me:$LINENO: result: no" >&5
2538 echo "${ECHO_T}no" >&6; }
2544 if test -z "$CC"; then
2545 # Extract the first word of "cc", so it can be a program name with args.
2546 set dummy cc; ac_word=$2
2547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2549 if test "${ac_cv_prog_CC+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 if test -n "$CC"; then
2553 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2563 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2564 ac_prog_rejected=yes
2568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 if test $ac_prog_rejected = yes; then
2576 # We found a bogon in the path, so make sure we never use it.
2577 set dummy $ac_cv_prog_CC
2579 if test $# != 0; then
2580 # We chose a different compiler from the bogus one.
2581 # However, it has the same basename, so the bogon will be chosen
2582 # first if we set CC to just the basename; use the full file name.
2584 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2590 if test -n "$CC"; then
2591 { echo "$as_me:$LINENO: result: $CC" >&5
2592 echo "${ECHO_T}$CC" >&6; }
2594 { echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6; }
2600 if test -z "$CC"; then
2601 if test -n "$ac_tool_prefix"; then
2602 for ac_prog in cl.exe
2604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2608 if test "${ac_cv_prog_CC+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 if test -n "$CC"; then
2612 ac_cv_prog_CC="$CC" # Let the user override the test.
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618 test -z "$as_dir" && as_dir=.
2619 for ac_exec_ext in '' $ac_executable_extensions; do
2620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2621 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 if test -n "$CC"; then
2633 { echo "$as_me:$LINENO: result: $CC" >&5
2634 echo "${ECHO_T}$CC" >&6; }
2636 { echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6; }
2641 test -n "$CC" && break
2644 if test -z "$CC"; then
2646 for ac_prog in cl.exe
2648 # Extract the first word of "$ac_prog", so it can be a program name with args.
2649 set dummy $ac_prog; ac_word=$2
2650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2655 if test -n "$ac_ct_CC"; then
2656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2665 ac_cv_prog_ac_ct_CC="$ac_prog"
2666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2676 if test -n "$ac_ct_CC"; then
2677 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2678 echo "${ECHO_T}$ac_ct_CC" >&6; }
2680 { echo "$as_me:$LINENO: result: no" >&5
2681 echo "${ECHO_T}no" >&6; }
2685 test -n "$ac_ct_CC" && break
2688 if test "x$ac_ct_CC" = x; then
2691 case $cross_compiling:$ac_tool_warned in
2693 { echo "$as_me:$LINENO: 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." >&5
2696 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2697 whose name does not start with the host triplet. If you think this
2698 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2699 ac_tool_warned=yes ;;
2708 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2709 See \`config.log
' for more details." >&5
2710 echo "$as_me: error: no acceptable C compiler found in \$PATH
2711 See \`config.log' for more details.
" >&2;}
2712 { (exit 1); exit 1; }; }
2714 # Provide some information about the compiler.
2715 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2716 ac_compiler=`set X $ac_compile; echo $2`
2717 { (ac_try="$ac_compiler --version >&5"
2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2722 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2723 (eval "$ac_compiler --version >&5") 2>&5
2725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2726 (exit $ac_status); }
2727 { (ac_try="$ac_compiler -v >&5"
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2732 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2733 (eval "$ac_compiler -v >&5") 2>&5
2735 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2736 (exit $ac_status); }
2737 { (ac_try="$ac_compiler -V >&5"
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2743 (eval "$ac_compiler -V >&5") 2>&5
2745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2746 (exit $ac_status); }
2748 cat >conftest.$ac_ext <<_ACEOF
2751 cat confdefs.h >>conftest.$ac_ext
2752 cat >>conftest.$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2763 ac_clean_files_save=$ac_clean_files
2764 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2765 # Try to create an executable without -o first, disregard a.out.
2766 # It will help us diagnose broken compilers, and finding out an intuition
2768 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2769 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2770 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2772 # List of possible output files, starting from the most likely.
2773 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2774 # only as a last resort. b.out is created by i960 compilers.
2775 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2777 # The IRIX 6 linker writes into existing files which may not be
2778 # executable, retaining their permissions. Remove them first so a
2779 # subsequent execution test works.
2781 for ac_file in $ac_files
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2785 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2790 if { (ac_try="$ac_link_default"
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_link_default") 2>&5
2798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2799 (exit $ac_status); }; then
2800 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2801 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2802 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2803 # so that the user can short-circuit this test for compilers unknown to
2805 for ac_file in $ac_files
2807 test -f "$ac_file" || continue
2809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2812 # We found the default executable, but exeext='' is most
2816 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2818 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2820 # We set ac_cv_exeext here because the later test for it is not
2821 # safe: cross compilers may not add the suffix if given an `-o'
2822 # argument, so we may need to know it at that point already.
2823 # Even if this section looks crufty: it has the advantage of
2830 test "$ac_cv_exeext" = no && ac_cv_exeext=
2833 echo "$as_me: failed program was
:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2836 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2837 See \
`config.log' for more details." >&5
2838 echo "$as_me: error: C compiler cannot create executables
2839 See \`config.log
' for more details." >&2;}
2840 { (exit 77); exit 77; }; }
2843 ac_exeext=$ac_cv_exeext
2844 { echo "$as_me:$LINENO: result: $ac_file" >&5
2845 echo "${ECHO_T}$ac_file" >&6; }
2847 # Check that the compiler produces executables we can run. If not, either
2848 # the compiler is broken, or we cross compile.
2849 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2850 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2851 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2852 # If not cross compiling, check that we can run a simple program.
2853 if test "$cross_compiling" != yes; then
2854 if { ac_try='.
/$ac_file'
2855 { (case "(($ac_try" in
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2860 (eval "$ac_try") 2>&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); }; }; then
2866 if test "$cross_compiling" = maybe; then
2869 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2870 If you meant to cross compile, use \`--host'.
2871 See \
`config.log' for more details." >&5
2872 echo "$as_me: error: cannot run C compiled programs.
2873 If you meant to cross compile, use \`--host'.
2874 See \`config.log' for more details.
" >&2;}
2875 { (exit 1); exit 1; }; }
2879 { echo "$as_me:$LINENO: result
: yes" >&5
2880 echo "${ECHO_T}yes" >&6; }
2882 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2883 ac_clean_files=$ac_clean_files_save
2884 # Check that the compiler produces executables we can run. If not, either
2885 # the compiler is broken, or we cross compile.
2886 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2887 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2888 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2889 echo "${ECHO_T}$cross_compiling" >&6; }
2891 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2892 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2893 if { (ac_try="$ac_link"
2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896 *) ac_try_echo=$ac_try;;
2898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2899 (eval "$ac_link") 2>&5
2901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2902 (exit $ac_status); }; then
2903 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2904 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2905 # work properly (i.e., refer to `conftest.exe'), while it won't with
2907 for ac_file in conftest.exe conftest conftest.*; do
2908 test -f "$ac_file" || continue
2910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2911 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2917 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2918 See \
`config.log' for more details." >&5
2919 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2920 See \`config.log
' for more details." >&2;}
2921 { (exit 1); exit 1; }; }
2924 rm -f conftest$ac_cv_exeext
2925 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2926 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2928 rm -f conftest.$ac_ext
2929 EXEEXT=$ac_cv_exeext
2931 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2932 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2933 if test "${ac_cv_objext+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 cat >conftest.$ac_ext <<_ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2951 rm -f conftest.o conftest.obj
2952 if { (ac_try="$ac_compile"
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2958 (eval "$ac_compile") 2>&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; then
2962 for ac_file in conftest.o conftest.obj conftest.*; do
2963 test -f "$ac_file" || continue;
2965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2966 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2971 echo "$as_me: failed program was:" >&5
2972 sed 's
/^
/|
/' conftest.$ac_ext >&5
2974 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2975 See \`config.log' for more details.
" >&5
2976 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2977 See \
`config.log' for more details." >&2;}
2978 { (exit 1); exit 1; }; }
2981 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2983 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2984 echo "${ECHO_T}$ac_cv_objext" >&6; }
2985 OBJEXT=$ac_cv_objext
2987 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2988 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2989 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 cat >conftest.$ac_ext <<_ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
2997 /* end confdefs.h. */
3010 rm -f conftest.$ac_objext
3011 if { (ac_try="$ac_compile"
3013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3014 *) ac_try_echo
=$ac_try;;
3016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017 (eval "$ac_compile") 2>conftest.er1
3019 grep -v '^ *+' conftest.er1
>conftest.err
3021 cat conftest.err
>&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } &&
3024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3025 { (case "(($ac_try" in
3026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3030 (eval "$ac_try") 2>&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); }; } &&
3034 { ac_try='test -s conftest.$ac_objext'
3035 { (case "(($ac_try" in
3036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3037 *) ac_try_echo
=$ac_try;;
3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_try") 2>&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); }; }; then
3046 echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.
$ac_ext >&5
3052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3053 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3056 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3057 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3058 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3059 ac_test_CFLAGS
=${CFLAGS+set}
3060 ac_save_CFLAGS
=$CFLAGS
3061 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3062 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3063 if test "${ac_cv_prog_cc_g+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 ac_save_c_werror_flag
=$ac_c_werror_flag
3067 ac_c_werror_flag
=yes
3070 cat >conftest.
$ac_ext <<_ACEOF
3073 cat confdefs.h
>>conftest.
$ac_ext
3074 cat >>conftest.
$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3085 rm -f conftest.
$ac_objext
3086 if { (ac_try
="$ac_compile"
3088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compile") 2>conftest.er1
3094 grep -v '^ *+' conftest.er1 >conftest.err
3096 cat conftest.err >&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); } &&
3099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3100 { (case "(($ac_try" in
3101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3102 *) ac_try_echo
=$ac_try;;
3104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_try") 2>&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; } &&
3109 { ac_try
='test -s conftest.$ac_objext'
3110 { (case "(($ac_try" in
3111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3115 (eval "$ac_try") 2>&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; }; then
3121 echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3125 cat >conftest.$ac_ext <<_ACEOF
3128 cat confdefs.h >>conftest.$ac_ext
3129 cat >>conftest.$ac_ext <<_ACEOF
3130 /* end confdefs.h. */
3140 rm -f conftest.$ac_objext
3141 if { (ac_try="$ac_compile"
3143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3144 *) ac_try_echo
=$ac_try;;
3146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3147 (eval "$ac_compile") 2>conftest.er1
3149 grep -v '^ *+' conftest.er1
>conftest.err
3151 cat conftest.err
>&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } &&
3154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3155 { (case "(($ac_try" in
3156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3160 (eval "$ac_try") 2>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; } &&
3164 { ac_try='test -s conftest.$ac_objext'
3165 { (case "(($ac_try" in
3166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3167 *) ac_try_echo
=$ac_try;;
3169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_try") 2>&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; }; then
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.
$ac_ext >&5
3179 ac_c_werror_flag
=$ac_save_c_werror_flag
3181 cat >conftest.
$ac_ext <<_ACEOF
3184 cat confdefs.h
>>conftest.
$ac_ext
3185 cat >>conftest.
$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3196 rm -f conftest.
$ac_objext
3197 if { (ac_try
="$ac_compile"
3199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3203 (eval "$ac_compile") 2>conftest.er1
3205 grep -v '^ *+' conftest.er1 >conftest.err
3207 cat conftest.err >&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } &&
3210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3211 { (case "(($ac_try" in
3212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3213 *) ac_try_echo
=$ac_try;;
3215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_try") 2>&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; } &&
3220 { ac_try
='test -s conftest.$ac_objext'
3221 { (case "(($ac_try" in
3222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226 (eval "$ac_try") 2>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; }; then
3232 echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.$ac_ext >&5
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3245 ac_c_werror_flag=$ac_save_c_werror_flag
3247 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3248 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3249 if test "$ac_test_CFLAGS" = set; then
3250 CFLAGS=$ac_save_CFLAGS
3251 elif test $ac_cv_prog_cc_g = yes; then
3252 if test "$GCC" = yes; then
3258 if test "$GCC" = yes; then
3264 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3265 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3266 if test "${ac_cv_prog_cc_c89+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 ac_cv_prog_cc_c89=no
3271 cat >conftest.$ac_ext <<_ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3279 #include <sys/types.h>
3280 #include <sys/stat.h>
3281 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3282 struct buf { int x; };
3283 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3284 static char *e (p, i)
3290 static char *f (char * (*g) (char **, int), char **p, ...)
3295 s = g (p, va_arg (v,int));
3300 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3301 function prototypes and stuff, but not '\xHH' hex character constants.
3302 These don't provoke an error unfortunately, instead are silently treated
3303 as 'x'. The following induces an error, until -std is added to get
3304 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3305 array size at least. It's necessary to write '\x00'==0 to get something
3306 that's true only with -std. */
3307 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3309 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3310 inside strings and character constants. */
3312 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3314 int test (int i, double x);
3315 struct s1 {int (*f) (int a);};
3316 struct s2 {int (*f) (double a);};
3317 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3323 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3328 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3329 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3331 CC="$ac_save_CC $ac_arg"
3332 rm -f conftest.$ac_objext
3333 if { (ac_try="$ac_compile"
3335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3336 *) ac_try_echo
=$ac_try;;
3338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3339 (eval "$ac_compile") 2>conftest.er1
3341 grep -v '^ *+' conftest.er1
>conftest.err
3343 cat conftest.err
>&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } &&
3346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3347 { (case "(($ac_try" in
3348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3352 (eval "$ac_try") 2>&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; } &&
3356 { ac_try='test -s conftest.$ac_objext'
3357 { (case "(($ac_try" in
3358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3359 *) ac_try_echo
=$ac_try;;
3361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3362 (eval "$ac_try") 2>&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; }; then
3366 ac_cv_prog_cc_c89
=$ac_arg
3368 echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.
$ac_ext >&5
3374 rm -f core conftest.err conftest.
$ac_objext
3375 test "x$ac_cv_prog_cc_c89" != "xno" && break
3377 rm -f conftest.
$ac_ext
3382 case "x$ac_cv_prog_cc_c89" in
3384 { echo "$as_me:$LINENO: result: none needed" >&5
3385 echo "${ECHO_T}none needed" >&6; } ;;
3387 { echo "$as_me:$LINENO: result: unsupported" >&5
3388 echo "${ECHO_T}unsupported" >&6; } ;;
3390 CC
="$CC $ac_cv_prog_cc_c89"
3391 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3392 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3397 ac_cpp
='$CPP $CPPFLAGS'
3398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3404 ac_cpp
='$CPP $CPPFLAGS'
3405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3408 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3409 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3410 # On Suns, sometimes $CPP names a directory.
3411 if test -n "$CPP" && test -d "$CPP"; then
3414 if test -z "$CPP"; then
3415 if test "${ac_cv_prog_CPP+set}" = set; then
3416 echo $ECHO_N "(cached) $ECHO_C" >&6
3418 # Double quotes because CPP needs to be expanded
3419 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3422 for ac_c_preproc_warn_flag
in '' yes
3424 # Use a header file that comes with gcc, so configuring glibc
3425 # with a fresh cross-compiler works.
3426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3427 # <limits.h> exists even on freestanding compilers.
3428 # On the NeXT, cc -E runs the code through the compiler's parser,
3429 # not just through cpp. "Syntax error" is here to catch this case.
3430 cat >conftest.
$ac_ext <<_ACEOF
3433 cat confdefs.h
>>conftest.
$ac_ext
3434 cat >>conftest.
$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3437 # include <limits.h>
3439 # include <assert.h>
3443 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3451 grep -v '^ *+' conftest.er1 >conftest.err
3453 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } >/dev/null; then
3456 if test -s conftest.err; then
3457 ac_cpp_err=$ac_c_preproc_warn_flag
3458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3465 if test -z "$ac_cpp_err"; then
3468 echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3471 # Broken: fails on valid input.
3475 rm -f conftest.err conftest.$ac_ext
3477 # OK, works on sane cases. Now check whether nonexistent headers
3478 # can be detected and how.
3479 cat >conftest.$ac_ext <<_ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3485 #include <ac_nonexistent.h>
3487 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3490 *) ac_try_echo
=$ac_try;;
3492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 grep -v '^ *+' conftest.er1
>conftest.err
3497 cat conftest.err
>&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); } >/dev
/null
; then
3500 if test -s conftest.err
; then
3501 ac_cpp_err
=$ac_c_preproc_warn_flag
3502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3509 if test -z "$ac_cpp_err"; then
3510 # Broken: success on invalid input.
3513 echo "$as_me: failed program was:" >&5
3514 sed 's/^/| /' conftest.
$ac_ext >&5
3516 # Passes both tests.
3521 rm -f conftest.err conftest.
$ac_ext
3524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3525 rm -f conftest.err conftest.
$ac_ext
3526 if $ac_preproc_ok; then
3538 { echo "$as_me:$LINENO: result: $CPP" >&5
3539 echo "${ECHO_T}$CPP" >&6; }
3541 for ac_c_preproc_warn_flag
in '' yes
3543 # Use a header file that comes with gcc, so configuring glibc
3544 # with a fresh cross-compiler works.
3545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3546 # <limits.h> exists even on freestanding compilers.
3547 # On the NeXT, cc -E runs the code through the compiler's parser,
3548 # not just through cpp. "Syntax error" is here to catch this case.
3549 cat >conftest.
$ac_ext <<_ACEOF
3552 cat confdefs.h
>>conftest.
$ac_ext
3553 cat >>conftest.
$ac_ext <<_ACEOF
3554 /* end confdefs.h. */
3556 # include <limits.h>
3558 # include <assert.h>
3562 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3570 grep -v '^ *+' conftest.er1 >conftest.err
3572 cat conftest.err >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } >/dev/null; then
3575 if test -s conftest.err; then
3576 ac_cpp_err=$ac_c_preproc_warn_flag
3577 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3584 if test -z "$ac_cpp_err"; then
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.$ac_ext >&5
3590 # Broken: fails on valid input.
3594 rm -f conftest.err conftest.$ac_ext
3596 # OK, works on sane cases. Now check whether nonexistent headers
3597 # can be detected and how.
3598 cat >conftest.$ac_ext <<_ACEOF
3601 cat confdefs.h >>conftest.$ac_ext
3602 cat >>conftest.$ac_ext <<_ACEOF
3603 /* end confdefs.h. */
3604 #include <ac_nonexistent.h>
3606 if { (ac_try="$ac_cpp conftest.$ac_ext"
3608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3609 *) ac_try_echo
=$ac_try;;
3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3614 grep -v '^ *+' conftest.er1
>conftest.err
3616 cat conftest.err
>&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } >/dev
/null
; then
3619 if test -s conftest.err
; then
3620 ac_cpp_err
=$ac_c_preproc_warn_flag
3621 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3628 if test -z "$ac_cpp_err"; then
3629 # Broken: success on invalid input.
3632 echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.
$ac_ext >&5
3635 # Passes both tests.
3640 rm -f conftest.err conftest.
$ac_ext
3643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3644 rm -f conftest.err conftest.
$ac_ext
3645 if $ac_preproc_ok; then
3648 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3649 See \`config.log' for more details." >&5
3650 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3651 See \`config.log' for more details." >&2;}
3652 { (exit 1); exit 1; }; }
3656 ac_cpp
='$CPP $CPPFLAGS'
3657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3662 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3663 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3664 if test "${ac_cv_path_GREP+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 # Extract the first word of "grep ggrep" to use in msg output
3668 if test -z "$GREP"; then
3669 set dummy
grep ggrep
; ac_prog_name
=$2
3670 if test "${ac_cv_path_GREP+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 ac_path_GREP_found
=false
3674 # Loop through the user's path and test for each of PROGNAME-LIST
3675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3676 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3679 test -z "$as_dir" && as_dir
=.
3680 for ac_prog
in grep ggrep
; do
3681 for ac_exec_ext
in '' $ac_executable_extensions; do
3682 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3683 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3684 # Check for GNU ac_path_GREP and select it if it is found.
3685 # Check for GNU $ac_path_GREP
3686 case `"$ac_path_GREP" --version 2>&1` in
3688 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3691 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3694 cat "conftest.in" "conftest.in" >"conftest.tmp"
3695 mv "conftest.tmp" "conftest.in"
3696 cp "conftest.in" "conftest.nl"
3697 echo 'GREP' >> "conftest.nl"
3698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3699 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3700 ac_count
=`expr $ac_count + 1`
3701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3702 # Best one so far, save it but keep looking for a better one
3703 ac_cv_path_GREP
="$ac_path_GREP"
3704 ac_path_GREP_max
=$ac_count
3706 # 10*(2^10) chars as input seems more than enough
3707 test $ac_count -gt 10 && break
3709 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3713 $ac_path_GREP_found && break 3
3723 GREP
="$ac_cv_path_GREP"
3724 if test -z "$GREP"; then
3725 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3726 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3727 { (exit 1); exit 1; }; }
3731 ac_cv_path_GREP
=$GREP
3736 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3737 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3738 GREP
="$ac_cv_path_GREP"
3741 { echo "$as_me:$LINENO: checking for egrep" >&5
3742 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3743 if test "${ac_cv_path_EGREP+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3747 then ac_cv_path_EGREP
="$GREP -E"
3749 # Extract the first word of "egrep" to use in msg output
3750 if test -z "$EGREP"; then
3751 set dummy
egrep; ac_prog_name
=$2
3752 if test "${ac_cv_path_EGREP+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3755 ac_path_EGREP_found
=false
3756 # Loop through the user's path and test for each of PROGNAME-LIST
3757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3761 test -z "$as_dir" && as_dir
=.
3762 for ac_prog
in egrep; do
3763 for ac_exec_ext
in '' $ac_executable_extensions; do
3764 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3765 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3766 # Check for GNU ac_path_EGREP and select it if it is found.
3767 # Check for GNU $ac_path_EGREP
3768 case `"$ac_path_EGREP" --version 2>&1` in
3770 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3773 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3776 cat "conftest.in" "conftest.in" >"conftest.tmp"
3777 mv "conftest.tmp" "conftest.in"
3778 cp "conftest.in" "conftest.nl"
3779 echo 'EGREP' >> "conftest.nl"
3780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3781 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3782 ac_count
=`expr $ac_count + 1`
3783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3784 # Best one so far, save it but keep looking for a better one
3785 ac_cv_path_EGREP
="$ac_path_EGREP"
3786 ac_path_EGREP_max
=$ac_count
3788 # 10*(2^10) chars as input seems more than enough
3789 test $ac_count -gt 10 && break
3791 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3795 $ac_path_EGREP_found && break 3
3805 EGREP
="$ac_cv_path_EGREP"
3806 if test -z "$EGREP"; then
3807 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3808 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3809 { (exit 1); exit 1; }; }
3813 ac_cv_path_EGREP
=$EGREP
3819 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3820 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3821 EGREP
="$ac_cv_path_EGREP"
3824 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3825 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3826 if test "${ac_cv_header_stdc+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 cat >conftest.
$ac_ext <<_ACEOF
3832 cat confdefs.h
>>conftest.
$ac_ext
3833 cat >>conftest.
$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3848 rm -f conftest.
$ac_objext
3849 if { (ac_try
="$ac_compile"
3851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3855 (eval "$ac_compile") 2>conftest.er1
3857 grep -v '^ *+' conftest.er1 >conftest.err
3859 cat conftest.err >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } &&
3862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3863 { (case "(($ac_try" in
3864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3865 *) ac_try_echo
=$ac_try;;
3867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3868 (eval "$ac_try") 2>&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); }; } &&
3872 { ac_try
='test -s conftest.$ac_objext'
3873 { (case "(($ac_try" in
3874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3875 *) ac_try_echo=$ac_try;;
3877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3878 (eval "$ac_try") 2>&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3882 ac_cv_header_stdc=yes
3884 echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.$ac_ext >&5
3887 ac_cv_header_stdc=no
3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 if test $ac_cv_header_stdc = yes; then
3893 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3894 cat >conftest.$ac_ext <<_ACEOF
3897 cat confdefs.h >>conftest.$ac_ext
3898 cat >>conftest.$ac_ext <<_ACEOF
3899 /* end confdefs.h. */
3903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3904 $EGREP "memchr" >/dev/null 2>&1; then
3907 ac_cv_header_stdc=no
3913 if test $ac_cv_header_stdc = yes; then
3914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3915 cat >conftest.$ac_ext <<_ACEOF
3918 cat confdefs.h >>conftest.$ac_ext
3919 cat >>conftest.$ac_ext <<_ACEOF
3920 /* end confdefs.h. */
3924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3925 $EGREP "free" >/dev/null 2>&1; then
3928 ac_cv_header_stdc=no
3934 if test $ac_cv_header_stdc = yes; then
3935 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3936 if test "$cross_compiling" = yes; then
3939 cat >conftest.$ac_ext <<_ACEOF
3942 cat confdefs.h >>conftest.$ac_ext
3943 cat >>conftest.$ac_ext <<_ACEOF
3944 /* end confdefs.h. */
3947 #if ((' ' & 0x0FF) == 0x020)
3948 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3949 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3951 # define ISLOWER(c) \
3952 (('a' <= (c) && (c) <= 'i') \
3953 || ('j' <= (c) && (c) <= 'r') \
3954 || ('s' <= (c) && (c) <= 'z'))
3955 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3958 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3963 for (i = 0; i < 256; i++)
3964 if (XOR (islower (i), ISLOWER (i))
3965 || toupper (i) != TOUPPER (i))
3970 rm -f conftest$ac_exeext
3971 if { (ac_try="$ac_link"
3973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3974 *) ac_try_echo
=$ac_try;;
3976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3977 (eval "$ac_link") 2>&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3981 { (case "(($ac_try" in
3982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3986 (eval "$ac_try") 2>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; }; then
3992 echo "$as_me: program exited with status $ac_status" >&5
3993 echo "$as_me: failed program was:" >&5
3994 sed 's/^/| /' conftest.$ac_ext >&5
3997 ac_cv_header_stdc=no
3999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4005 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4006 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4007 if test $ac_cv_header_stdc = yes; then
4009 cat >>confdefs.h <<\_ACEOF
4010 #define STDC_HEADERS 1
4015 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4025 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4026 inttypes.h stdint.h unistd.h
4028 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 cat >conftest.$ac_ext <<_ACEOF
4037 cat confdefs.h >>conftest.$ac_ext
4038 cat >>conftest.$ac_ext <<_ACEOF
4039 /* end confdefs.h. */
4040 $ac_includes_default
4042 #include <$ac_header>
4044 rm -f conftest.$ac_objext
4045 if { (ac_try="$ac_compile"
4047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4048 *) ac_try_echo
=$ac_try;;
4050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4051 (eval "$ac_compile") 2>conftest.er1
4053 grep -v '^ *+' conftest.er1
>conftest.err
4055 cat conftest.err
>&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); } &&
4058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4059 { (case "(($ac_try" in
4060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4064 (eval "$ac_try") 2>&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; } &&
4068 { ac_try='test -s conftest.$ac_objext'
4069 { (case "(($ac_try" in
4070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4071 *) ac_try_echo
=$ac_try;;
4073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4074 (eval "$ac_try") 2>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; }; then
4078 eval "$as_ac_Header=yes"
4080 echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.
$ac_ext >&5
4083 eval "$as_ac_Header=no"
4086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4088 ac_res
=`eval echo '${'$as_ac_Header'}'`
4089 { echo "$as_me:$LINENO: result: $ac_res" >&5
4090 echo "${ECHO_T}$ac_res" >&6; }
4091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4092 cat >>confdefs.h
<<_ACEOF
4093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4101 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4102 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4103 if test "${ac_cv_c_bigendian+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 # See if sys/param.h defines the BYTE_ORDER macro.
4107 cat >conftest.
$ac_ext <<_ACEOF
4110 cat confdefs.h
>>conftest.
$ac_ext
4111 cat >>conftest.
$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4113 #include <sys/types.h>
4114 #include <sys/param.h>
4119 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4127 rm -f conftest.
$ac_objext
4128 if { (ac_try
="$ac_compile"
4130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4134 (eval "$ac_compile") 2>conftest.er1
4136 grep -v '^ *+' conftest.er1 >conftest.err
4138 cat conftest.err >&5
4139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); } &&
4141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4142 { (case "(($ac_try" in
4143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4144 *) ac_try_echo
=$ac_try;;
4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147 (eval "$ac_try") 2>&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); }; } &&
4151 { ac_try
='test -s conftest.$ac_objext'
4152 { (case "(($ac_try" in
4153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4157 (eval "$ac_try") 2>&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; }; then
4161 # It does; now see whether it defined to BIG_ENDIAN or not.
4162 cat >conftest.$ac_ext <<_ACEOF
4165 cat confdefs.h >>conftest.$ac_ext
4166 cat >>conftest.$ac_ext <<_ACEOF
4167 /* end confdefs.h. */
4168 #include <sys/types.h>
4169 #include <sys/param.h>
4174 #if BYTE_ORDER != BIG_ENDIAN
4182 rm -f conftest.$ac_objext
4183 if { (ac_try="$ac_compile"
4185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4186 *) ac_try_echo
=$ac_try;;
4188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4189 (eval "$ac_compile") 2>conftest.er1
4191 grep -v '^ *+' conftest.er1
>conftest.err
4193 cat conftest.err
>&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); } &&
4196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4197 { (case "(($ac_try" in
4198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4199 *) ac_try_echo=$ac_try;;
4201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4202 (eval "$ac_try") 2>&5
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205 (exit $ac_status); }; } &&
4206 { ac_try='test -s conftest.$ac_objext'
4207 { (case "(($ac_try" in
4208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4209 *) ac_try_echo
=$ac_try;;
4211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4212 (eval "$ac_try") 2>&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); }; }; then
4216 ac_cv_c_bigendian
=yes
4218 echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.
$ac_ext >&5
4221 ac_cv_c_bigendian
=no
4224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.
$ac_ext >&5
4229 # It does not; compile a test program.
4230 if test "$cross_compiling" = yes; then
4231 # try to guess the endianness by grepping values into an object file
4232 ac_cv_c_bigendian
=unknown
4233 cat >conftest.
$ac_ext <<_ACEOF
4236 cat confdefs.h
>>conftest.
$ac_ext
4237 cat >>conftest.
$ac_ext <<_ACEOF
4238 /* end confdefs.h. */
4239 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4240 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4241 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4242 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4243 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4244 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4248 _ascii (); _ebcdic ();
4253 rm -f conftest.
$ac_objext
4254 if { (ac_try
="$ac_compile"
4256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4260 (eval "$ac_compile") 2>conftest.er1
4262 grep -v '^ *+' conftest.er1 >conftest.err
4264 cat conftest.err >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } &&
4267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4268 { (case "(($ac_try" in
4269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4270 *) ac_try_echo
=$ac_try;;
4272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4273 (eval "$ac_try") 2>&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); }; } &&
4277 { ac_try
='test -s conftest.$ac_objext'
4278 { (case "(($ac_try" in
4279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4280 *) ac_try_echo=$ac_try;;
4282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4283 (eval "$ac_try") 2>&5
4285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286 (exit $ac_status); }; }; then
4287 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4288 ac_cv_c_bigendian=yes
4290 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4291 if test "$ac_cv_c_bigendian" = unknown; then
4292 ac_cv_c_bigendian=no
4294 # finding both strings is unlikely to happen, but who knows?
4295 ac_cv_c_bigendian=unknown
4299 echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.$ac_ext >&5
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 cat >conftest.$ac_ext <<_ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4313 $ac_includes_default
4318 /* Are we little or big endian? From Harbison&Steele. */
4322 char c[sizeof (long int)];
4325 return u.c[sizeof (long int) - 1] == 1;
4331 rm -f conftest$ac_exeext
4332 if { (ac_try="$ac_link"
4334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4335 *) ac_try_echo
=$ac_try;;
4337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4338 (eval "$ac_link") 2>&5
4340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4342 { (case "(($ac_try" in
4343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4344 *) ac_try_echo=$ac_try;;
4346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4347 (eval "$ac_try") 2>&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; }; then
4351 ac_cv_c_bigendian=no
4353 echo "$as_me: program exited with status $ac_status" >&5
4354 echo "$as_me: failed program was:" >&5
4355 sed 's/^/| /' conftest.$ac_ext >&5
4358 ac_cv_c_bigendian=yes
4360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4368 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4369 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4370 case $ac_cv_c_bigendian in
4378 { { echo "$as_me:$LINENO: error: unknown endianness
4379 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4380 echo "$as_me: error: unknown endianness
4381 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4382 { (exit 1); exit 1; }; } ;;
4386 if test "$cross_compiling" = yes; then
4387 LLVM_CROSS_COMPILING=1
4390 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4391 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4392 if test "${ac_cv_build_exeext+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4396 ac_cv_build_exeext=.exe
4398 ac_build_prefix=${build_alias}-
4400 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4401 set dummy ${ac_build_prefix}gcc; ac_word=$2
4402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4404 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 if test -n "$BUILD_CC"; then
4408 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4417 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 BUILD_CC=$ac_cv_prog_BUILD_CC
4428 if test -n "$BUILD_CC"; then
4429 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4430 echo "${ECHO_T}$BUILD_CC" >&6; }
4432 { echo "$as_me:$LINENO: result: no" >&5
4433 echo "${ECHO_T}no" >&6; }
4437 if test -z "$BUILD_CC"; then
4438 # Extract the first word of "gcc", so it can be a program name with args.
4439 set dummy gcc; ac_word=$2
4440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4442 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 if test -n "$BUILD_CC"; then
4446 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4455 ac_cv_prog_BUILD_CC="gcc"
4456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 BUILD_CC=$ac_cv_prog_BUILD_CC
4466 if test -n "$BUILD_CC"; then
4467 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4468 echo "${ECHO_T}$BUILD_CC" >&6; }
4470 { echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6; }
4475 if test -z "$BUILD_CC"; then
4476 # Extract the first word of "cc", so it can be a program name with args.
4477 set dummy cc; ac_word=$2
4478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4480 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$BUILD_CC"; then
4484 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4494 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4495 ac_prog_rejected=yes
4498 ac_cv_prog_BUILD_CC="cc"
4499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 if test $ac_prog_rejected = yes; then
4507 # We found a bogon in the path, so make sure we never use it.
4508 set dummy $ac_cv_prog_BUILD_CC
4510 if test $# != 0; then
4511 # We chose a different compiler from the bogus one.
4512 # However, it has the same basename, so the bogon will be chosen
4513 # first if we set BUILD_CC to just the basename; use the full file name.
4515 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4520 BUILD_CC=$ac_cv_prog_BUILD_CC
4521 if test -n "$BUILD_CC"; then
4522 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4523 echo "${ECHO_T}$BUILD_CC" >&6; }
4525 { echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6; }
4532 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4533 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4534 { (exit 1); exit 1; }; }
4535 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4537 echo 'int main () { return 0; }' > conftest.$ac_ext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4540 (eval $ac_build_link) 2>&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; then
4544 for file in conftest.*; do
4546 *.c | *.o | *.obj | *.dSYM) ;;
4547 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4551 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4552 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4553 { (exit 1); exit 1; }; }
4556 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4561 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4562 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4563 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4564 ac_build_exeext=$BUILD_EXEEXT
4566 ac_build_prefix=${build_alias}-
4567 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4568 set dummy ${ac_build_prefix}g++; ac_word=$2
4569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4571 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 if test -n "$BUILD_CXX"; then
4575 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir=.
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4584 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4595 if test -n "$BUILD_CXX"; then
4596 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4597 echo "${ECHO_T}$BUILD_CXX" >&6; }
4599 { echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6; }
4604 if test -z "$BUILD_CXX"; then
4605 # Extract the first word of "g++", so it can be a program name with args.
4606 set dummy g++; ac_word=$2
4607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4609 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 if test -n "$BUILD_CXX"; then
4613 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_BUILD_CXX="g++"
4623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4633 if test -n "$BUILD_CXX"; then
4634 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4635 echo "${ECHO_T}$BUILD_CXX" >&6; }
4637 { echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6; }
4642 if test -z "$BUILD_CXX"; then
4643 # Extract the first word of "c++", so it can be a program name with args.
4644 set dummy c++; ac_word=$2
4645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4647 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4648 echo $ECHO_N "(cached) $ECHO_C" >&6
4650 if test -n "$BUILD_CXX"; then
4651 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4661 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4662 ac_prog_rejected=yes
4665 ac_cv_prog_BUILD_CXX="c++"
4666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 if test $ac_prog_rejected = yes; then
4674 # We found a bogon in the path, so make sure we never use it.
4675 set dummy $ac_cv_prog_BUILD_CXX
4677 if test $# != 0; then
4678 # We chose a different compiler from the bogus one.
4679 # However, it has the same basename, so the bogon will be chosen
4680 # first if we set BUILD_CXX to just the basename; use the full file name.
4682 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4687 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4688 if test -n "$BUILD_CXX"; then
4689 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4690 echo "${ECHO_T}$BUILD_CXX" >&6; }
4692 { echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6; }
4700 LLVM_CROSS_COMPILING=0
4704 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4715 # Check whether --enable-optimized was given.
4716 if test "${enable_optimized+set}" = set; then
4717 enableval=$enable_optimized;
4722 if test ${enableval} = "no" ; then
4726 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4730 # Check whether --enable-profiling was given.
4731 if test "${enable_profiling+set}" = set; then
4732 enableval=$enable_profiling;
4737 if test ${enableval} = "no" ; then
4741 ENABLE_PROFILING=ENABLE_PROFILING=1
4745 # Check whether --enable-assertions was given.
4746 if test "${enable_assertions+set}" = set; then
4747 enableval=$enable_assertions;
4752 if test ${enableval} = "yes" ; then
4756 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4760 # Check whether --enable-expensive-checks was given.
4761 if test "${enable_expensive_checks+set}" = set; then
4762 enableval=$enable_expensive_checks;
4767 if test ${enableval} = "yes" ; then
4768 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4770 EXPENSIVE_CHECKS=yes
4773 ENABLE_EXPENSIVE_CHECKS=
4779 # Check whether --enable-debug-runtime was given.
4780 if test "${enable_debug_runtime+set}" = set; then
4781 enableval=$enable_debug_runtime;
4786 if test ${enableval} = "no" ; then
4790 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4794 # Check whether --enable-jit was given.
4795 if test "${enable_jit+set}" = set; then
4796 enableval=$enable_jit;
4801 if test ${enableval} = "no"
4806 case "$llvm_cv_target_arch" in
4807 x86) TARGET_HAS_JIT=1
4809 Sparc) TARGET_HAS_JIT=0
4811 PowerPC) TARGET_HAS_JIT=1
4813 x86_64) TARGET_HAS_JIT=1
4815 Alpha) TARGET_HAS_JIT=1
4817 IA64) TARGET_HAS_JIT=0
4819 ARM) TARGET_HAS_JIT=0
4821 Mips) TARGET_HAS_JIT=0
4823 PIC16) TARGET_HAS_JIT=0
4825 XCore) TARGET_HAS_JIT=0
4832 # Check whether --enable-doxygen was given.
4833 if test "${enable_doxygen+set}" = set; then
4834 enableval=$enable_doxygen;
4839 case "$enableval" in
4840 yes) ENABLE_DOXYGEN=1
4842 no) ENABLE_DOXYGEN=0
4844 default) ENABLE_DOXYGEN=0
4846 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4847 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4848 { (exit 1); exit 1; }; } ;;
4851 # Check whether --enable-threads was given.
4852 if test "${enable_threads+set}" = set; then
4853 enableval=$enable_threads;
4858 case "$enableval" in
4859 yes) ENABLE_THREADS=1
4861 no) ENABLE_THREADS=0
4863 default) ENABLE_THREADS=1
4865 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4866 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4867 { (exit 1); exit 1; }; } ;;
4870 cat >>confdefs.h <<_ACEOF
4871 #define ENABLE_THREADS $ENABLE_THREADS
4875 # Check whether --enable-pic was given.
4876 if test "${enable_pic+set}" = set; then
4877 enableval=$enable_pic;
4882 case "$enableval" in
4887 default) ENABLE_PIC=1
4889 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4890 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4891 { (exit 1); exit 1; }; } ;;
4894 cat >>confdefs.h <<_ACEOF
4895 #define ENABLE_PIC $ENABLE_PIC
4900 # Check whether --enable-targets was given.
4901 if test "${enable_targets+set}" = set; then
4902 enableval=$enable_targets;
4907 case "$enableval" in
4908 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM Mips CellSPU PIC16 XCore CBackend MSIL CppBackend" ;;
4910 case "$llvm_cv_target_arch" in
4911 x86) TARGETS_TO_BUILD="X86" ;;
4912 x86_64) TARGETS_TO_BUILD="X86" ;;
4913 Sparc) TARGETS_TO_BUILD="Sparc" ;;
4914 PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
4915 Alpha) TARGETS_TO_BUILD="Alpha" ;;
4916 IA64) TARGETS_TO_BUILD="IA64" ;;
4917 ARM) TARGETS_TO_BUILD="ARM" ;;
4918 Mips) TARGETS_TO_BUILD="Mips" ;;
4919 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU" ;;
4920 PIC16) TARGETS_TO_BUILD="PIC16" ;;
4921 XCore) TARGETS_TO_BUILD="XCore" ;;
4922 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
4923 echo "$as_me: error: Can not set target to build" >&2;}
4924 { (exit 1); exit 1; }; } ;;
4927 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4929 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4930 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4931 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
4932 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
4933 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
4934 ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
4935 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
4936 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
4937 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
4938 pic16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
4939 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
4940 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
4941 msil) TARGETS_TO_BUILD="MSIL $TARGETS_TO_BUILD" ;;
4942 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
4943 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
4944 echo "$as_me: error: Unrecognized target $a_target" >&2;}
4945 { (exit 1); exit 1; }; } ;;
4950 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
4953 # Check whether --enable-cbe-printf-a was given.
4954 if test "${enable_cbe_printf_a+set}" = set; then
4955 enableval=$enable_cbe_printf_a;
4960 case "$enableval" in
4961 yes) ENABLE_CBE_PRINTF_A=1
4963 no) ENABLE_CBE_PRINTF_A=0
4965 default) ENABLE_CBE_PRINTF_A=1
4967 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
4968 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
4969 { (exit 1); exit 1; }; } ;;
4972 cat >>confdefs.h <<_ACEOF
4973 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
4978 # Check whether --with-llvmgccdir was given.
4979 if test "${with_llvmgccdir+set}" = set; then
4980 withval=$with_llvmgccdir;
4986 default) WITH_LLVMGCCDIR=default ;;
4987 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
4988 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
4989 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
4990 { (exit 1); exit 1; }; } ;;
4994 # Check whether --with-llvmgcc was given.
4995 if test "${with_llvmgcc+set}" = set; then
4996 withval=$with_llvmgcc; LLVMGCC=$with_llvmgcc
5002 # Check whether --with-llvmgxx was given.
5003 if test "${with_llvmgxx+set}" = set; then
5004 withval=$with_llvmgxx; LLVMGXX=$with_llvmgxx
5008 if test -n "$LLVMGCC"; then
5009 LLVMGCCCOMMAND="$LLVMGCC"
5012 if test -n "$LLVMGXX"; then
5013 LLVMGXXCOMMAND="$LLVMGXX"
5016 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
5017 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
5018 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
5019 { (exit 1); exit 1; }; };
5022 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
5023 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
5024 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
5025 { (exit 1); exit 1; }; };
5029 # Check whether --with-extra-options was given.
5030 if test "${with_extra_options+set}" = set; then
5031 withval=$with_extra_options;
5037 default) EXTRA_OPTIONS= ;;
5038 *) EXTRA_OPTIONS=$withval ;;
5040 EXTRA_OPTIONS=$EXTRA_OPTIONS
5043 # Check whether --enable-bindings was given.
5044 if test "${enable_bindings+set}" = set; then
5045 enableval=$enable_bindings;
5050 BINDINGS_TO_BUILD=""
5051 case "$enableval" in
5052 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5053 all ) BINDINGS_TO_BUILD="ocaml" ;;
5054 none | no) BINDINGS_TO_BUILD="" ;;
5055 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5056 case "$a_binding" in
5057 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5058 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5059 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5060 { (exit 1); exit 1; }; } ;;
5067 # Check whether --with-ocaml-libdir was given.
5068 if test "${with_ocaml_libdir+set}" = set; then
5069 withval=$with_ocaml_libdir;
5075 auto) with_ocaml_libdir="$withval" ;;
5076 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5077 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5078 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5079 { (exit 1); exit 1; }; } ;;
5083 # Check whether --with-binutils-include was given.
5084 if test "${with_binutils_include+set}" = set; then
5085 withval=$with_binutils_include;
5091 default) WITH_BINUTILS_INCDIR=default ;;
5092 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5093 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5094 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5095 { (exit 1); exit 1; }; } ;;
5097 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5098 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5100 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5101 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5102 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5103 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5104 { (exit 1); exit 1; }; };
5110 ac_cpp='$CPP $CPPFLAGS'
5111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5114 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5115 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5116 # On Suns, sometimes $CPP names a directory.
5117 if test -n "$CPP" && test -d "$CPP"; then
5120 if test -z "$CPP"; then
5121 if test "${ac_cv_prog_CPP+set}" = set; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 # Double quotes because CPP needs to be expanded
5125 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5128 for ac_c_preproc_warn_flag in '' yes
5130 # Use a header file that comes with gcc, so configuring glibc
5131 # with a fresh cross-compiler works.
5132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5133 # <limits.h> exists even on freestanding compilers.
5134 # On the NeXT, cc -E runs the code through the compiler's parser,
5135 # not just through cpp. "Syntax error" is here to catch this case.
5136 cat >conftest.$ac_ext <<_ACEOF
5139 cat confdefs.h >>conftest.$ac_ext
5140 cat >>conftest.$ac_ext <<_ACEOF
5141 /* end confdefs.h. */
5143 # include <limits.h>
5145 # include <assert.h>
5149 if { (ac_try="$ac_cpp conftest.$ac_ext"
5151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5152 *) ac_try_echo
=$ac_try;;
5154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5157 grep -v '^ *+' conftest.er1
>conftest.err
5159 cat conftest.err
>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } >/dev
/null
; then
5162 if test -s conftest.err
; then
5163 ac_cpp_err
=$ac_c_preproc_warn_flag
5164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5171 if test -z "$ac_cpp_err"; then
5174 echo "$as_me: failed program was:" >&5
5175 sed 's/^/| /' conftest.
$ac_ext >&5
5177 # Broken: fails on valid input.
5181 rm -f conftest.err conftest.
$ac_ext
5183 # OK, works on sane cases. Now check whether nonexistent headers
5184 # can be detected and how.
5185 cat >conftest.
$ac_ext <<_ACEOF
5188 cat confdefs.h
>>conftest.
$ac_ext
5189 cat >>conftest.
$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5191 #include <ac_nonexistent.h>
5193 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5196 *) ac_try_echo=$ac_try;;
5198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5201 grep -v '^ *+' conftest.er1 >conftest.err
5203 cat conftest.err >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); } >/dev/null; then
5206 if test -s conftest.err; then
5207 ac_cpp_err=$ac_c_preproc_warn_flag
5208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5215 if test -z "$ac_cpp_err"; then
5216 # Broken: success on invalid input.
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.$ac_ext >&5
5222 # Passes both tests.
5227 rm -f conftest.err conftest.$ac_ext
5230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5231 rm -f conftest.err conftest.
$ac_ext
5232 if $ac_preproc_ok; then
5244 { echo "$as_me:$LINENO: result: $CPP" >&5
5245 echo "${ECHO_T}$CPP" >&6; }
5247 for ac_c_preproc_warn_flag
in '' yes
5249 # Use a header file that comes with gcc, so configuring glibc
5250 # with a fresh cross-compiler works.
5251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5252 # <limits.h> exists even on freestanding compilers.
5253 # On the NeXT, cc -E runs the code through the compiler's parser,
5254 # not just through cpp. "Syntax error" is here to catch this case.
5255 cat >conftest.
$ac_ext <<_ACEOF
5258 cat confdefs.h
>>conftest.
$ac_ext
5259 cat >>conftest.
$ac_ext <<_ACEOF
5260 /* end confdefs.h. */
5262 # include <limits.h>
5264 # include <assert.h>
5268 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5271 *) ac_try_echo=$ac_try;;
5273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5276 grep -v '^ *+' conftest.er1 >conftest.err
5278 cat conftest.err >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } >/dev/null; then
5281 if test -s conftest.err; then
5282 ac_cpp_err=$ac_c_preproc_warn_flag
5283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5290 if test -z "$ac_cpp_err"; then
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.$ac_ext >&5
5296 # Broken: fails on valid input.
5300 rm -f conftest.err conftest.$ac_ext
5302 # OK, works on sane cases. Now check whether nonexistent headers
5303 # can be detected and how.
5304 cat >conftest.$ac_ext <<_ACEOF
5307 cat confdefs.h >>conftest.$ac_ext
5308 cat >>conftest.$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5310 #include <ac_nonexistent.h>
5312 if { (ac_try="$ac_cpp conftest.$ac_ext"
5314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5315 *) ac_try_echo
=$ac_try;;
5317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5318 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5320 grep -v '^ *+' conftest.er1
>conftest.err
5322 cat conftest.err
>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } >/dev
/null
; then
5325 if test -s conftest.err
; then
5326 ac_cpp_err
=$ac_c_preproc_warn_flag
5327 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5334 if test -z "$ac_cpp_err"; then
5335 # Broken: success on invalid input.
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.
$ac_ext >&5
5341 # Passes both tests.
5346 rm -f conftest.err conftest.
$ac_ext
5349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5350 rm -f conftest.err conftest.
$ac_ext
5351 if $ac_preproc_ok; then
5354 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5355 See \`config.log' for more details." >&5
5356 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5357 See \`config.log' for more details." >&2;}
5358 { (exit 1); exit 1; }; }
5362 ac_cpp
='$CPP $CPPFLAGS'
5363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5368 ac_cpp
='$CPP $CPPFLAGS'
5369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5372 if test -n "$ac_tool_prefix"; then
5375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5376 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5379 if test "${ac_cv_prog_CC+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 if test -n "$CC"; then
5383 ac_cv_prog_CC
="$CC" # Let the user override the test.
5385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir
=.
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5392 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 if test -n "$CC"; then
5404 { echo "$as_me:$LINENO: result: $CC" >&5
5405 echo "${ECHO_T}$CC" >&6; }
5407 { echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6; }
5412 test -n "$CC" && break
5415 if test -z "$CC"; then
5419 # Extract the first word of "$ac_prog", so it can be a program name with args.
5420 set dummy
$ac_prog; ac_word
=$2
5421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5426 if test -n "$ac_ct_CC"; then
5427 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5433 test -z "$as_dir" && as_dir
=.
5434 for ac_exec_ext
in '' $ac_executable_extensions; do
5435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5436 ac_cv_prog_ac_ct_CC
="$ac_prog"
5437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5447 if test -n "$ac_ct_CC"; then
5448 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5449 echo "${ECHO_T}$ac_ct_CC" >&6; }
5451 { echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6; }
5456 test -n "$ac_ct_CC" && break
5459 if test "x$ac_ct_CC" = x
; then
5462 case $cross_compiling:$ac_tool_warned in
5464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5465 whose name does not start with the host triplet. If you think this
5466 configuration is useful to you, please write to autoconf@gnu.org." >&5
5467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5468 whose name does not start with the host triplet. If you think this
5469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5470 ac_tool_warned
=yes ;;
5477 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5478 See \`config.log' for more details." >&5
5479 echo "$as_me: error: no acceptable C compiler found in \$PATH
5480 See \`config.log' for more details." >&2;}
5481 { (exit 1); exit 1; }; }
5483 # Provide some information about the compiler.
5484 echo "$as_me:$LINENO: checking for C compiler version" >&5
5485 ac_compiler
=`set X $ac_compile; echo $2`
5486 { (ac_try
="$ac_compiler --version >&5"
5488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5489 *) ac_try_echo=$ac_try;;
5491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5492 (eval "$ac_compiler --version >&5") 2>&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); }
5496 { (ac_try="$ac_compiler -v >&5"
5498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5499 *) ac_try_echo
=$ac_try;;
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_compiler -v >&5") 2>&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }
5506 { (ac_try
="$ac_compiler -V >&5"
5508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5509 *) ac_try_echo=$ac_try;;
5511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5512 (eval "$ac_compiler -V >&5") 2>&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }
5517 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5518 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5519 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5520 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 cat >conftest.$ac_ext <<_ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5540 rm -f conftest.$ac_objext
5541 if { (ac_try="$ac_compile"
5543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5544 *) ac_try_echo
=$ac_try;;
5546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5547 (eval "$ac_compile") 2>conftest.er1
5549 grep -v '^ *+' conftest.er1
>conftest.err
5551 cat conftest.err
>&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } &&
5554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5555 { (case "(($ac_try" in
5556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5557 *) ac_try_echo=$ac_try;;
5559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5560 (eval "$ac_try") 2>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; } &&
5564 { ac_try='test -s conftest.$ac_objext'
5565 { (case "(($ac_try" in
5566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5567 *) ac_try_echo
=$ac_try;;
5569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5570 (eval "$ac_try") 2>&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; }; then
5576 echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.
$ac_ext >&5
5582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5583 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5586 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5587 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5588 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5589 ac_test_CFLAGS
=${CFLAGS+set}
5590 ac_save_CFLAGS
=$CFLAGS
5591 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5592 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5593 if test "${ac_cv_prog_cc_g+set}" = set; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 ac_save_c_werror_flag
=$ac_c_werror_flag
5597 ac_c_werror_flag
=yes
5600 cat >conftest.
$ac_ext <<_ACEOF
5603 cat confdefs.h
>>conftest.
$ac_ext
5604 cat >>conftest.
$ac_ext <<_ACEOF
5605 /* end confdefs.h. */
5615 rm -f conftest.
$ac_objext
5616 if { (ac_try
="$ac_compile"
5618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5619 *) ac_try_echo=$ac_try;;
5621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5622 (eval "$ac_compile") 2>conftest.er1
5624 grep -v '^ *+' conftest.er1 >conftest.err
5626 cat conftest.err >&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); } &&
5629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5630 { (case "(($ac_try" in
5631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5632 *) ac_try_echo
=$ac_try;;
5634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5635 (eval "$ac_try") 2>&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); }; } &&
5639 { ac_try
='test -s conftest.$ac_objext'
5640 { (case "(($ac_try" in
5641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5642 *) ac_try_echo=$ac_try;;
5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 (eval "$ac_try") 2>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }; }; then
5651 echo "$as_me: failed program was:" >&5
5652 sed 's/^/| /' conftest.$ac_ext >&5
5655 cat >conftest.$ac_ext <<_ACEOF
5658 cat confdefs.h >>conftest.$ac_ext
5659 cat >>conftest.$ac_ext <<_ACEOF
5660 /* end confdefs.h. */
5670 rm -f conftest.$ac_objext
5671 if { (ac_try="$ac_compile"
5673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5674 *) ac_try_echo
=$ac_try;;
5676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5677 (eval "$ac_compile") 2>conftest.er1
5679 grep -v '^ *+' conftest.er1
>conftest.err
5681 cat conftest.err
>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } &&
5684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5685 { (case "(($ac_try" in
5686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5687 *) ac_try_echo=$ac_try;;
5689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5690 (eval "$ac_try") 2>&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); }; } &&
5694 { ac_try='test -s conftest.$ac_objext'
5695 { (case "(($ac_try" in
5696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5697 *) ac_try_echo
=$ac_try;;
5699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_try") 2>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); }; }; then
5706 echo "$as_me: failed program was:" >&5
5707 sed 's/^/| /' conftest.
$ac_ext >&5
5709 ac_c_werror_flag
=$ac_save_c_werror_flag
5711 cat >conftest.
$ac_ext <<_ACEOF
5714 cat confdefs.h
>>conftest.
$ac_ext
5715 cat >>conftest.
$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5726 rm -f conftest.
$ac_objext
5727 if { (ac_try
="$ac_compile"
5729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5733 (eval "$ac_compile") 2>conftest.er1
5735 grep -v '^ *+' conftest.er1 >conftest.err
5737 cat conftest.err >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } &&
5740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5741 { (case "(($ac_try" in
5742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5743 *) ac_try_echo
=$ac_try;;
5745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5746 (eval "$ac_try") 2>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; } &&
5750 { ac_try
='test -s conftest.$ac_objext'
5751 { (case "(($ac_try" in
5752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5753 *) ac_try_echo=$ac_try;;
5755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5756 (eval "$ac_try") 2>&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; }; then
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5775 ac_c_werror_flag=$ac_save_c_werror_flag
5777 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5778 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5779 if test "$ac_test_CFLAGS" = set; then
5780 CFLAGS=$ac_save_CFLAGS
5781 elif test $ac_cv_prog_cc_g = yes; then
5782 if test "$GCC" = yes; then
5788 if test "$GCC" = yes; then
5794 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5795 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5796 if test "${ac_cv_prog_cc_c89+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 ac_cv_prog_cc_c89=no
5801 cat >conftest.$ac_ext <<_ACEOF
5804 cat confdefs.h >>conftest.$ac_ext
5805 cat >>conftest.$ac_ext <<_ACEOF
5806 /* end confdefs.h. */
5809 #include <sys/types.h>
5810 #include <sys/stat.h>
5811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5812 struct buf { int x; };
5813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5814 static char *e (p, i)
5820 static char *f (char * (*g) (char **, int), char **p, ...)
5825 s = g (p, va_arg (v,int));
5830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5831 function prototypes and stuff, but not '\xHH' hex character constants.
5832 These don't provoke an error unfortunately, instead are silently treated
5833 as 'x'. The following induces an error, until -std is added to get
5834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5835 array size at least. It's necessary to write '\x00'==0 to get something
5836 that's true only with -std. */
5837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5840 inside strings and character constants. */
5842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5844 int test (int i, double x);
5845 struct s1 {int (*f) (int a);};
5846 struct s2 {int (*f) (double a);};
5847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5853 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5859 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5861 CC="$ac_save_CC $ac_arg"
5862 rm -f conftest.$ac_objext
5863 if { (ac_try="$ac_compile"
5865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5866 *) ac_try_echo
=$ac_try;;
5868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5869 (eval "$ac_compile") 2>conftest.er1
5871 grep -v '^ *+' conftest.er1
>conftest.err
5873 cat conftest.err
>&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); } &&
5876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5877 { (case "(($ac_try" in
5878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5879 *) ac_try_echo=$ac_try;;
5881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5882 (eval "$ac_try") 2>&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; } &&
5886 { ac_try='test -s conftest.$ac_objext'
5887 { (case "(($ac_try" in
5888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5889 *) ac_try_echo
=$ac_try;;
5891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5892 (eval "$ac_try") 2>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); }; }; then
5896 ac_cv_prog_cc_c89
=$ac_arg
5898 echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.
$ac_ext >&5
5904 rm -f core conftest.err conftest.
$ac_objext
5905 test "x$ac_cv_prog_cc_c89" != "xno" && break
5907 rm -f conftest.
$ac_ext
5912 case "x$ac_cv_prog_cc_c89" in
5914 { echo "$as_me:$LINENO: result: none needed" >&5
5915 echo "${ECHO_T}none needed" >&6; } ;;
5917 { echo "$as_me:$LINENO: result: unsupported" >&5
5918 echo "${ECHO_T}unsupported" >&6; } ;;
5920 CC
="$CC $ac_cv_prog_cc_c89"
5921 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5922 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5927 ac_cpp
='$CPP $CPPFLAGS'
5928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5933 ac_cpp
='$CXXCPP $CPPFLAGS'
5934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5937 if test -z "$CXX"; then
5938 if test -n "$CCC"; then
5941 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5945 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5948 if test "${ac_cv_prog_CXX+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 if test -n "$CXX"; then
5952 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir
=.
5959 for ac_exec_ext
in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 if test -n "$CXX"; then
5973 { echo "$as_me:$LINENO: result: $CXX" >&5
5974 echo "${ECHO_T}$CXX" >&6; }
5976 { echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6; }
5981 test -n "$CXX" && break
5984 if test -z "$CXX"; then
5988 # Extract the first word of "$ac_prog", so it can be a program name with args.
5989 set dummy
$ac_prog; ac_word
=$2
5990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5992 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 if test -n "$ac_ct_CXX"; then
5996 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6002 test -z "$as_dir" && as_dir
=.
6003 for ac_exec_ext
in '' $ac_executable_extensions; do
6004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6005 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6016 if test -n "$ac_ct_CXX"; then
6017 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6018 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6020 { echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6; }
6025 test -n "$ac_ct_CXX" && break
6028 if test "x$ac_ct_CXX" = x
; then
6031 case $cross_compiling:$ac_tool_warned in
6033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet. If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&5
6036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6037 whose name does not start with the host triplet. If you think this
6038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6039 ac_tool_warned
=yes ;;
6047 # Provide some information about the compiler.
6048 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6049 ac_compiler
=`set X $ac_compile; echo $2`
6050 { (ac_try
="$ac_compiler --version >&5"
6052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6053 *) ac_try_echo=$ac_try;;
6055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6056 (eval "$ac_compiler --version >&5") 2>&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); }
6060 { (ac_try="$ac_compiler -v >&5"
6062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6063 *) ac_try_echo
=$ac_try;;
6065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6066 (eval "$ac_compiler -v >&5") 2>&5
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); }
6070 { (ac_try
="$ac_compiler -V >&5"
6072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6073 *) ac_try_echo=$ac_try;;
6075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6076 (eval "$ac_compiler -V >&5") 2>&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); }
6081 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6082 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6083 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 cat >conftest.$ac_ext <<_ACEOF
6089 cat confdefs.h >>conftest.$ac_ext
6090 cat >>conftest.$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6104 rm -f conftest.$ac_objext
6105 if { (ac_try="$ac_compile"
6107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6108 *) ac_try_echo
=$ac_try;;
6110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6111 (eval "$ac_compile") 2>conftest.er1
6113 grep -v '^ *+' conftest.er1
>conftest.err
6115 cat conftest.err
>&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } &&
6118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6119 { (case "(($ac_try" in
6120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6121 *) ac_try_echo=$ac_try;;
6123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6124 (eval "$ac_try") 2>&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); }; } &&
6128 { ac_try='test -s conftest.$ac_objext'
6129 { (case "(($ac_try" in
6130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6131 *) ac_try_echo
=$ac_try;;
6133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6134 (eval "$ac_try") 2>&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); }; }; then
6140 echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.
$ac_ext >&5
6146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6147 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6150 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6151 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6152 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6153 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6154 ac_save_CXXFLAGS
=$CXXFLAGS
6155 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6156 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6157 if test "${ac_cv_prog_cxx_g+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6161 ac_cxx_werror_flag
=yes
6164 cat >conftest.
$ac_ext <<_ACEOF
6167 cat confdefs.h
>>conftest.
$ac_ext
6168 cat >>conftest.
$ac_ext <<_ACEOF
6169 /* end confdefs.h. */
6179 rm -f conftest.
$ac_objext
6180 if { (ac_try
="$ac_compile"
6182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6183 *) ac_try_echo=$ac_try;;
6185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6186 (eval "$ac_compile") 2>conftest.er1
6188 grep -v '^ *+' conftest.er1 >conftest.err
6190 cat conftest.err >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } &&
6193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6194 { (case "(($ac_try" in
6195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6196 *) ac_try_echo
=$ac_try;;
6198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6199 (eval "$ac_try") 2>&5
6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); }; } &&
6203 { ac_try
='test -s conftest.$ac_objext'
6204 { (case "(($ac_try" in
6205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6206 *) ac_try_echo=$ac_try;;
6208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6209 (eval "$ac_try") 2>&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; }; then
6213 ac_cv_prog_cxx_g=yes
6215 echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5
6219 cat >conftest.$ac_ext <<_ACEOF
6222 cat confdefs.h >>conftest.$ac_ext
6223 cat >>conftest.$ac_ext <<_ACEOF
6224 /* end confdefs.h. */
6234 rm -f conftest.$ac_objext
6235 if { (ac_try="$ac_compile"
6237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6238 *) ac_try_echo
=$ac_try;;
6240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6241 (eval "$ac_compile") 2>conftest.er1
6243 grep -v '^ *+' conftest.er1
>conftest.err
6245 cat conftest.err
>&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); } &&
6248 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6249 { (case "(($ac_try" in
6250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6251 *) ac_try_echo=$ac_try;;
6253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6254 (eval "$ac_try") 2>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; } &&
6258 { ac_try='test -s conftest.$ac_objext'
6259 { (case "(($ac_try" in
6260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6261 *) ac_try_echo
=$ac_try;;
6263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6264 (eval "$ac_try") 2>&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; }; then
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6275 cat >conftest.
$ac_ext <<_ACEOF
6278 cat confdefs.h
>>conftest.
$ac_ext
6279 cat >>conftest.
$ac_ext <<_ACEOF
6280 /* end confdefs.h. */
6290 rm -f conftest.
$ac_objext
6291 if { (ac_try
="$ac_compile"
6293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6294 *) ac_try_echo=$ac_try;;
6296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6297 (eval "$ac_compile") 2>conftest.er1
6299 grep -v '^ *+' conftest.er1 >conftest.err
6301 cat conftest.err >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); } &&
6304 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6305 { (case "(($ac_try" in
6306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6307 *) ac_try_echo
=$ac_try;;
6309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6310 (eval "$ac_try") 2>&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; } &&
6314 { ac_try
='test -s conftest.$ac_objext'
6315 { (case "(($ac_try" in
6316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6317 *) ac_try_echo=$ac_try;;
6319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6320 (eval "$ac_try") 2>&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); }; }; then
6324 ac_cv_prog_cxx_g=yes
6326 echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.$ac_ext >&5
6332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6339 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6341 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6342 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6343 if test "$ac_test_CXXFLAGS" = set; then
6344 CXXFLAGS=$ac_save_CXXFLAGS
6345 elif test $ac_cv_prog_cxx_g = yes; then
6346 if test "$GXX" = yes; then
6352 if test "$GXX" = yes; then
6359 ac_cpp='$CPP $CPPFLAGS'
6360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6365 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6366 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6367 if test "${lt_cv_path_NM+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 if test -n "$NM"; then
6371 # Let the user override the test.
6374 lt_nm_to_check="${ac_tool_prefix}nm"
6375 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6376 lt_nm_to_check="$lt_nm_to_check nm"
6378 for lt_tmp_nm in $lt_nm_to_check; do
6379 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6380 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6382 test -z "$ac_dir" && ac_dir=.
6383 tmp_nm="$ac_dir/$lt_tmp_nm"
6384 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6385 # Check to see if the nm accepts a BSD-compat flag.
6386 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6387 # nm: unknown option "B" ignored
6388 # Tru64's nm complains that
/dev
/null is an invalid object
file
6389 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6390 */dev
/null
* |
*'Invalid file or object type'*)
6391 lt_cv_path_NM
="$tmp_nm -B"
6395 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6397 lt_cv_path_NM
="$tmp_nm -p"
6401 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6402 continue # so that we can try to find one that supports BSD flags
6411 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6414 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6415 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6420 { echo "$as_me:$LINENO: checking for GNU make" >&5
6421 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6422 if test "${llvm_cv_gnu_make_command+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 llvm_cv_gnu_make_command
=''
6426 for a
in "$MAKE" make gmake gnumake
; do
6427 if test -z "$a" ; then continue ; fi ;
6428 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6430 llvm_cv_gnu_make_command
=$a ;
6435 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6436 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6437 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6441 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6442 echo "${ECHO_T}\"Not found\"" >&6; };
6446 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6447 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6449 if test "$LN_S" = "ln -s"; then
6450 { echo "$as_me:$LINENO: result: yes" >&5
6451 echo "${ECHO_T}yes" >&6; }
6453 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6454 echo "${ECHO_T}no, using $LN_S" >&6; }
6457 # Extract the first word of "cmp", so it can be a program name with args.
6458 set dummy
cmp; ac_word
=$2
6459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6461 if test "${ac_cv_path_CMP+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir
=.
6474 for ac_exec_ext
in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6489 if test -n "$CMP"; then
6490 { echo "$as_me:$LINENO: result: $CMP" >&5
6491 echo "${ECHO_T}$CMP" >&6; }
6493 { echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6; }
6498 # Extract the first word of "cp", so it can be a program name with args.
6499 set dummy
cp; ac_word
=$2
6500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6502 if test "${ac_cv_path_CP+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6507 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6514 test -z "$as_dir" && as_dir
=.
6515 for ac_exec_ext
in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6530 if test -n "$CP"; then
6531 { echo "$as_me:$LINENO: result: $CP" >&5
6532 echo "${ECHO_T}$CP" >&6; }
6534 { echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6; }
6539 # Extract the first word of "date", so it can be a program name with args.
6540 set dummy
date; ac_word
=$2
6541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6543 if test "${ac_cv_path_DATE+set}" = set; then
6544 echo $ECHO_N "(cached) $ECHO_C" >&6
6548 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6555 test -z "$as_dir" && as_dir
=.
6556 for ac_exec_ext
in '' $ac_executable_extensions; do
6557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6558 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6570 DATE
=$ac_cv_path_DATE
6571 if test -n "$DATE"; then
6572 { echo "$as_me:$LINENO: result: $DATE" >&5
6573 echo "${ECHO_T}$DATE" >&6; }
6575 { echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6; }
6580 # Extract the first word of "find", so it can be a program name with args.
6581 set dummy
find; ac_word
=$2
6582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6584 if test "${ac_cv_path_FIND+set}" = set; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir
=.
6597 for ac_exec_ext
in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6607 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6611 FIND
=$ac_cv_path_FIND
6612 if test -n "$FIND"; then
6613 { echo "$as_me:$LINENO: result: $FIND" >&5
6614 echo "${ECHO_T}$FIND" >&6; }
6616 { echo "$as_me:$LINENO: result: no" >&5
6617 echo "${ECHO_T}no" >&6; }
6621 # Extract the first word of "grep", so it can be a program name with args.
6622 set dummy
grep; ac_word
=$2
6623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6625 if test "${ac_cv_path_GREP+set}" = set; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6630 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6637 test -z "$as_dir" && as_dir
=.
6638 for ac_exec_ext
in '' $ac_executable_extensions; do
6639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6640 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6652 GREP
=$ac_cv_path_GREP
6653 if test -n "$GREP"; then
6654 { echo "$as_me:$LINENO: result: $GREP" >&5
6655 echo "${ECHO_T}$GREP" >&6; }
6657 { echo "$as_me:$LINENO: result: no" >&5
6658 echo "${ECHO_T}no" >&6; }
6662 # Extract the first word of "mkdir", so it can be a program name with args.
6663 set dummy mkdir
; ac_word
=$2
6664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6666 if test "${ac_cv_path_MKDIR+set}" = set; then
6667 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir
=.
6679 for ac_exec_ext
in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6693 MKDIR
=$ac_cv_path_MKDIR
6694 if test -n "$MKDIR"; then
6695 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6696 echo "${ECHO_T}$MKDIR" >&6; }
6698 { echo "$as_me:$LINENO: result: no" >&5
6699 echo "${ECHO_T}no" >&6; }
6703 # Extract the first word of "mv", so it can be a program name with args.
6704 set dummy
mv; ac_word
=$2
6705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6707 if test "${ac_cv_path_MV+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6719 test -z "$as_dir" && as_dir
=.
6720 for ac_exec_ext
in '' $ac_executable_extensions; do
6721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6722 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6735 if test -n "$MV"; then
6736 { echo "$as_me:$LINENO: result: $MV" >&5
6737 echo "${ECHO_T}$MV" >&6; }
6739 { echo "$as_me:$LINENO: result: no" >&5
6740 echo "${ECHO_T}no" >&6; }
6744 if test -n "$ac_tool_prefix"; then
6745 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6746 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6749 if test "${ac_cv_prog_RANLIB+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 if test -n "$RANLIB"; then
6753 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir
=.
6760 for ac_exec_ext
in '' $ac_executable_extensions; do
6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6762 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 RANLIB
=$ac_cv_prog_RANLIB
6773 if test -n "$RANLIB"; then
6774 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6775 echo "${ECHO_T}$RANLIB" >&6; }
6777 { echo "$as_me:$LINENO: result: no" >&5
6778 echo "${ECHO_T}no" >&6; }
6783 if test -z "$ac_cv_prog_RANLIB"; then
6784 ac_ct_RANLIB
=$RANLIB
6785 # Extract the first word of "ranlib", so it can be a program name with args.
6786 set dummy ranlib
; ac_word
=$2
6787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6789 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6790 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 if test -n "$ac_ct_RANLIB"; then
6793 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6799 test -z "$as_dir" && as_dir
=.
6800 for ac_exec_ext
in '' $ac_executable_extensions; do
6801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6802 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6813 if test -n "$ac_ct_RANLIB"; then
6814 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6815 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6817 { echo "$as_me:$LINENO: result: no" >&5
6818 echo "${ECHO_T}no" >&6; }
6821 if test "x$ac_ct_RANLIB" = x
; then
6824 case $cross_compiling:$ac_tool_warned in
6826 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6827 whose name does not start with the host triplet. If you think this
6828 configuration is useful to you, please write to autoconf@gnu.org." >&5
6829 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6830 whose name does not start with the host triplet. If you think this
6831 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6832 ac_tool_warned
=yes ;;
6834 RANLIB
=$ac_ct_RANLIB
6837 RANLIB
="$ac_cv_prog_RANLIB"
6840 # Extract the first word of "rm", so it can be a program name with args.
6841 set dummy
rm; ac_word
=$2
6842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6844 if test "${ac_cv_path_RM+set}" = set; then
6845 echo $ECHO_N "(cached) $ECHO_C" >&6
6849 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir
=.
6857 for ac_exec_ext
in '' $ac_executable_extensions; do
6858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6859 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6872 if test -n "$RM"; then
6873 { echo "$as_me:$LINENO: result: $RM" >&5
6874 echo "${ECHO_T}$RM" >&6; }
6876 { echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6; }
6881 # Extract the first word of "sed", so it can be a program name with args.
6882 set dummy
sed; ac_word
=$2
6883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6885 if test "${ac_cv_path_SED+set}" = set; then
6886 echo $ECHO_N "(cached) $ECHO_C" >&6
6890 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
6893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6897 test -z "$as_dir" && as_dir
=.
6898 for ac_exec_ext
in '' $ac_executable_extensions; do
6899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6900 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
6901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
6913 if test -n "$SED"; then
6914 { echo "$as_me:$LINENO: result: $SED" >&5
6915 echo "${ECHO_T}$SED" >&6; }
6917 { echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6; }
6922 # Extract the first word of "tar", so it can be a program name with args.
6923 set dummy
tar; ac_word
=$2
6924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6926 if test "${ac_cv_path_TAR+set}" = set; then
6927 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
6934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6938 test -z "$as_dir" && as_dir
=.
6939 for ac_exec_ext
in '' $ac_executable_extensions; do
6940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6941 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
6942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6949 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
6954 if test -n "$TAR"; then
6955 { echo "$as_me:$LINENO: result: $TAR" >&5
6956 echo "${ECHO_T}$TAR" >&6; }
6958 { echo "$as_me:$LINENO: result: no" >&5
6959 echo "${ECHO_T}no" >&6; }
6963 # Extract the first word of "pwd", so it can be a program name with args.
6964 set dummy
pwd; ac_word
=$2
6965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6967 if test "${ac_cv_path_BINPWD+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6972 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
6975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6979 test -z "$as_dir" && as_dir
=.
6980 for ac_exec_ext
in '' $ac_executable_extensions; do
6981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6982 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
6983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
6994 BINPWD
=$ac_cv_path_BINPWD
6995 if test -n "$BINPWD"; then
6996 { echo "$as_me:$LINENO: result: $BINPWD" >&5
6997 echo "${ECHO_T}$BINPWD" >&6; }
6999 { echo "$as_me:$LINENO: result: no" >&5
7000 echo "${ECHO_T}no" >&6; }
7005 # Extract the first word of "Graphviz", so it can be a program name with args.
7006 set dummy Graphviz
; ac_word
=$2
7007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7009 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir
=.
7022 for ac_exec_ext
in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7032 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7036 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7037 if test -n "$GRAPHVIZ"; then
7038 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7039 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7041 { echo "$as_me:$LINENO: result: no" >&5
7042 echo "${ECHO_T}no" >&6; }
7046 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7048 cat >>confdefs.h
<<\_ACEOF
7049 #define HAVE_GRAPHVIZ 1
7052 if test "$llvm_cv_os_type" = "MingW" ; then
7053 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7056 cat >>confdefs.h
<<_ACEOF
7057 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7061 # Extract the first word of "dot", so it can be a program name with args.
7062 set dummy dot
; ac_word
=$2
7063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7065 if test "${ac_cv_path_DOT+set}" = set; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7070 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir
=.
7078 for ac_exec_ext
in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7088 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7093 if test -n "$DOT"; then
7094 { echo "$as_me:$LINENO: result: $DOT" >&5
7095 echo "${ECHO_T}$DOT" >&6; }
7097 { echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6; }
7102 if test "$DOT" != "echo dot" ; then
7104 cat >>confdefs.h
<<\_ACEOF
7108 if test "$llvm_cv_os_type" = "MingW" ; then
7109 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7112 cat >>confdefs.h
<<_ACEOF
7113 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7117 for ac_prog
in gv gsview32
7119 # Extract the first word of "$ac_prog", so it can be a program name with args.
7120 set dummy
$ac_prog; ac_word
=$2
7121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7123 if test "${ac_cv_path_GV+set}" = set; then
7124 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir
=.
7136 for ac_exec_ext
in '' $ac_executable_extensions; do
7137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7138 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7150 if test -n "$GV"; then
7151 { echo "$as_me:$LINENO: result: $GV" >&5
7152 echo "${ECHO_T}$GV" >&6; }
7154 { echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6; }
7159 test -n "$GV" && break
7161 test -n "$GV" || GV
="echo gv"
7163 if test "$GV" != "echo gv" ; then
7165 cat >>confdefs.h
<<\_ACEOF
7169 if test "$llvm_cv_os_type" = "MingW" ; then
7170 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7173 cat >>confdefs.h
<<_ACEOF
7174 #define LLVM_PATH_GV "$GV${EXEEXT}"
7178 # Extract the first word of "dotty", so it can be a program name with args.
7179 set dummy dotty
; ac_word
=$2
7180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7182 if test "${ac_cv_path_DOTTY+set}" = set; then
7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7187 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7194 test -z "$as_dir" && as_dir
=.
7195 for ac_exec_ext
in '' $ac_executable_extensions; do
7196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7197 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7209 DOTTY
=$ac_cv_path_DOTTY
7210 if test -n "$DOTTY"; then
7211 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7212 echo "${ECHO_T}$DOTTY" >&6; }
7214 { echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6; }
7219 if test "$DOTTY" != "echo dotty" ; then
7221 cat >>confdefs.h
<<\_ACEOF
7222 #define HAVE_DOTTY 1
7225 if test "$llvm_cv_os_type" = "MingW" ; then
7226 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7229 cat >>confdefs.h
<<_ACEOF
7230 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7236 # Extract the first word of "perl", so it can be a program name with args.
7237 set dummy perl
; ac_word
=$2
7238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7240 if test "${ac_cv_path_PERL+set}" = set; then
7241 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7252 test -z "$as_dir" && as_dir
=.
7253 for ac_exec_ext
in '' $ac_executable_extensions; do
7254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7255 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7267 PERL
=$ac_cv_path_PERL
7268 if test -n "$PERL"; then
7269 { echo "$as_me:$LINENO: result: $PERL" >&5
7270 echo "${ECHO_T}$PERL" >&6; }
7272 { echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6; }
7277 if test "$PERL" != "none"; then
7278 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7279 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7280 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7281 { echo "$as_me:$LINENO: result: yes" >&5
7282 echo "${ECHO_T}yes" >&6; }
7285 { echo "$as_me:$LINENO: result: not found" >&5
7286 echo "${ECHO_T}not found" >&6; }
7291 if test x
"$PERL" = xnone
; then
7294 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7295 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7296 { (exit 1); exit 1; }; }
7302 # Find a good install program. We prefer a C program (faster),
7303 # so one script is as good as another. But avoid the broken or
7304 # incompatible versions:
7305 # SysV /etc/install, /usr/sbin/install
7306 # SunOS /usr/etc/install
7307 # IRIX /sbin/install
7309 # AmigaOS /C/install, which installs bootblocks on floppy discs
7310 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7313 # OS/2's system install, which has a completely different semantic
7314 # ./install, which can be erroneously created by make from ./install.sh.
7315 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7316 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7317 if test -z "$INSTALL"; then
7318 if test "${ac_cv_path_install+set}" = set; then
7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7325 test -z "$as_dir" && as_dir
=.
7326 # Account for people who put trailing slashes in PATH elements.
7328 .
/ | .
// |
/cC
/* | \
7329 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7330 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7333 # OSF1 and SCO ODT 3.0 have their own names for install.
7334 # Don't use installbsd from OSF since it installs stuff as root
7336 for ac_prog
in ginstall scoinst
install; do
7337 for ac_exec_ext
in '' $ac_executable_extensions; do
7338 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7339 if test $ac_prog = install &&
7340 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7341 # AIX install. It has an incompatible calling convention.
7343 elif test $ac_prog = install &&
7344 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7345 # program-specific install script used by HP pwplus--don't use.
7348 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7361 if test "${ac_cv_path_install+set}" = set; then
7362 INSTALL
=$ac_cv_path_install
7364 # As a last resort, use the slow shell script. Don't cache a
7365 # value for INSTALL within a source directory, because that will
7366 # break other packages using the cache if that directory is
7367 # removed, or if the value is a relative name.
7368 INSTALL
=$ac_install_sh
7371 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7372 echo "${ECHO_T}$INSTALL" >&6; }
7374 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7375 # It thinks the first close brace ends the variable substitution.
7376 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7378 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7380 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7383 # Extract the first word of "bzip2", so it can be a program name with args.
7384 set dummy
bzip2; ac_word
=$2
7385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7387 if test "${ac_cv_path_BZIP2+set}" = set; then
7388 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7399 test -z "$as_dir" && as_dir
=.
7400 for ac_exec_ext
in '' $ac_executable_extensions; do
7401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7402 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 BZIP2
=$ac_cv_path_BZIP2
7414 if test -n "$BZIP2"; then
7415 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7416 echo "${ECHO_T}$BZIP2" >&6; }
7418 { echo "$as_me:$LINENO: result: no" >&5
7419 echo "${ECHO_T}no" >&6; }
7423 # Extract the first word of "doxygen", so it can be a program name with args.
7424 set dummy doxygen
; ac_word
=$2
7425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7427 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7428 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir
=.
7440 for ac_exec_ext
in '' $ac_executable_extensions; do
7441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7442 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 DOXYGEN
=$ac_cv_path_DOXYGEN
7454 if test -n "$DOXYGEN"; then
7455 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7456 echo "${ECHO_T}$DOXYGEN" >&6; }
7458 { echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6; }
7463 # Extract the first word of "groff", so it can be a program name with args.
7464 set dummy
groff; ac_word
=$2
7465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7467 if test "${ac_cv_path_GROFF+set}" = set; then
7468 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir
=.
7480 for ac_exec_ext
in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 GROFF
=$ac_cv_path_GROFF
7494 if test -n "$GROFF"; then
7495 { echo "$as_me:$LINENO: result: $GROFF" >&5
7496 echo "${ECHO_T}$GROFF" >&6; }
7498 { echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6; }
7503 # Extract the first word of "gzip", so it can be a program name with args.
7504 set dummy
gzip; ac_word
=$2
7505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7507 if test "${ac_cv_path_GZIP+set}" = set; then
7508 echo $ECHO_N "(cached) $ECHO_C" >&6
7512 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir
=.
7520 for ac_exec_ext
in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7533 GZIP
=$ac_cv_path_GZIP
7534 if test -n "$GZIP"; then
7535 { echo "$as_me:$LINENO: result: $GZIP" >&5
7536 echo "${ECHO_T}$GZIP" >&6; }
7538 { echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6; }
7543 # Extract the first word of "pod2html", so it can be a program name with args.
7544 set dummy pod2html
; ac_word
=$2
7545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7547 if test "${ac_cv_path_POD2HTML+set}" = set; then
7548 echo $ECHO_N "(cached) $ECHO_C" >&6
7552 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir
=.
7560 for ac_exec_ext
in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7573 POD2HTML
=$ac_cv_path_POD2HTML
7574 if test -n "$POD2HTML"; then
7575 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7576 echo "${ECHO_T}$POD2HTML" >&6; }
7578 { echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6; }
7583 # Extract the first word of "pod2man", so it can be a program name with args.
7584 set dummy pod2man
; ac_word
=$2
7585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7587 if test "${ac_cv_path_POD2MAN+set}" = set; then
7588 echo $ECHO_N "(cached) $ECHO_C" >&6
7592 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir
=.
7600 for ac_exec_ext
in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7613 POD2MAN
=$ac_cv_path_POD2MAN
7614 if test -n "$POD2MAN"; then
7615 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7616 echo "${ECHO_T}$POD2MAN" >&6; }
7618 { echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6; }
7623 # Extract the first word of "runtest", so it can be a program name with args.
7624 set dummy runtest
; ac_word
=$2
7625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7627 if test "${ac_cv_path_RUNTEST+set}" = set; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir
=.
7640 for ac_exec_ext
in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7653 RUNTEST
=$ac_cv_path_RUNTEST
7654 if test -n "$RUNTEST"; then
7655 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7656 echo "${ECHO_T}$RUNTEST" >&6; }
7658 { echo "$as_me:$LINENO: result: no" >&5
7659 echo "${ECHO_T}no" >&6; }
7665 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7666 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7668 # Check whether --with-tclinclude was given.
7669 if test "${with_tclinclude+set}" = set; then
7670 withval
=$with_tclinclude; with_tclinclude
=${withval}
7675 if test "${ac_cv_path_tclsh+set}" = set; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 if test x
"${with_tclinclude}" != x
; then
7680 if test -f ${with_tclinclude}/tclsh
; then
7681 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7682 elif test -f ${with_tclinclude}/src
/tclsh
; then
7683 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7685 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7686 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7687 { (exit 1); exit 1; }; }
7691 if test x
"${ac_cv_path_tclsh}" = x
; then
7692 { echo "$as_me:$LINENO: result: none" >&5
7693 echo "${ECHO_T}none" >&6; }
7694 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
7696 # Extract the first word of "$ac_prog", so it can be a program name with args.
7697 set dummy
$ac_prog; ac_word
=$2
7698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7700 if test "${ac_cv_path_TCLSH+set}" = set; then
7701 echo $ECHO_N "(cached) $ECHO_C" >&6
7705 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7712 test -z "$as_dir" && as_dir
=.
7713 for ac_exec_ext
in '' $ac_executable_extensions; do
7714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7715 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 TCLSH
=$ac_cv_path_TCLSH
7727 if test -n "$TCLSH"; then
7728 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7729 echo "${ECHO_T}$TCLSH" >&6; }
7731 { echo "$as_me:$LINENO: result: no" >&5
7732 echo "${ECHO_T}no" >&6; }
7736 test -n "$TCLSH" && break
7739 if test x
"${TCLSH}" = x
; then
7740 ac_cv_path_tclsh
='';
7742 ac_cv_path_tclsh
="${TCLSH}";
7745 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7746 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7747 TCLSH="${ac_cv_path_tclsh}"
7753 # Extract the first word of "zip", so it can be a program name with args.
7754 set dummy zip; ac_word=$2
7755 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7756 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7757 if test "${ac_cv_path_ZIP+set}" = set; then
7758 echo $ECHO_N "(cached
) $ECHO_C" >&6
7762 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7773 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7784 if test -n "$ZIP"; then
7785 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7786 echo "${ECHO_T}$ZIP" >&6; }
7788 { echo "$as_me:$LINENO: result
: no
" >&5
7789 echo "${ECHO_T}no
" >&6; }
7793 for ac_prog in ocamlc
7795 # Extract the first word of "$ac_prog", so it can be a program name with args.
7796 set dummy $ac_prog; ac_word=$2
7797 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7798 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7799 if test "${ac_cv_path_OCAMLC+set}" = set; then
7800 echo $ECHO_N "(cached
) $ECHO_C" >&6
7804 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 test -z "$as_dir" && as_dir=.
7812 for ac_exec_ext in '' $ac_executable_extensions; do
7813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7814 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7815 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7825 OCAMLC=$ac_cv_path_OCAMLC
7826 if test -n "$OCAMLC"; then
7827 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
7828 echo "${ECHO_T}$OCAMLC" >&6; }
7830 { echo "$as_me:$LINENO: result
: no
" >&5
7831 echo "${ECHO_T}no
" >&6; }
7835 test -n "$OCAMLC" && break
7838 for ac_prog in ocamlopt
7840 # Extract the first word of "$ac_prog", so it can be a program name with args.
7841 set dummy $ac_prog; ac_word=$2
7842 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7843 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7844 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
7845 echo $ECHO_N "(cached
) $ECHO_C" >&6
7849 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7859 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
7860 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7870 OCAMLOPT=$ac_cv_path_OCAMLOPT
7871 if test -n "$OCAMLOPT"; then
7872 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
7873 echo "${ECHO_T}$OCAMLOPT" >&6; }
7875 { echo "$as_me:$LINENO: result
: no
" >&5
7876 echo "${ECHO_T}no
" >&6; }
7880 test -n "$OCAMLOPT" && break
7883 for ac_prog in ocamldep
7885 # Extract the first word of "$ac_prog", so it can be a program name with args.
7886 set dummy $ac_prog; ac_word=$2
7887 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7888 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7889 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
7890 echo $ECHO_N "(cached
) $ECHO_C" >&6
7894 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7904 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
7905 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 OCAMLDEP=$ac_cv_path_OCAMLDEP
7916 if test -n "$OCAMLDEP"; then
7917 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
7918 echo "${ECHO_T}$OCAMLDEP" >&6; }
7920 { echo "$as_me:$LINENO: result
: no
" >&5
7921 echo "${ECHO_T}no
" >&6; }
7925 test -n "$OCAMLDEP" && break
7928 for ac_prog in ocamldoc
7930 # Extract the first word of "$ac_prog", so it can be a program name with args.
7931 set dummy $ac_prog; ac_word=$2
7932 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7933 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7934 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
7935 echo $ECHO_N "(cached
) $ECHO_C" >&6
7939 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7949 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
7950 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7960 OCAMLDOC=$ac_cv_path_OCAMLDOC
7961 if test -n "$OCAMLDOC"; then
7962 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
7963 echo "${ECHO_T}$OCAMLDOC" >&6; }
7965 { echo "$as_me:$LINENO: result
: no
" >&5
7966 echo "${ECHO_T}no
" >&6; }
7970 test -n "$OCAMLDOC" && break
7973 for ac_prog in gas as
7975 # Extract the first word of "$ac_prog", so it can be a program name with args.
7976 set dummy $ac_prog; ac_word=$2
7977 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7978 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7979 if test "${ac_cv_path_GAS+set}" = set; then
7980 echo $ECHO_N "(cached
) $ECHO_C" >&6
7984 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7994 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
7995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8006 if test -n "$GAS"; then
8007 { echo "$as_me:$LINENO: result
: $GAS" >&5
8008 echo "${ECHO_T}$GAS" >&6; }
8010 { echo "$as_me:$LINENO: result
: no
" >&5
8011 echo "${ECHO_T}no
" >&6; }
8015 test -n "$GAS" && break
8019 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
8020 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
8021 if test "${llvm_cv_link_use_r+set}" = set; then
8022 echo $ECHO_N "(cached
) $ECHO_C" >&6
8025 ac_cpp='$CPP $CPPFLAGS'
8026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8031 CFLAGS="$CFLAGS -Wl,-R.
"
8032 cat >conftest.$ac_ext <<_ACEOF
8035 cat confdefs.h >>conftest.$ac_ext
8036 cat >>conftest.$ac_ext <<_ACEOF
8037 /* end confdefs.h. */
8042 int main() { return 0; }
8047 rm -f conftest.$ac_objext conftest$ac_exeext
8048 if { (ac_try="$ac_link"
8050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8051 *) ac_try_echo=$ac_try;;
8053 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8054 (eval "$ac_link") 2>conftest.er1
8056 grep -v '^ *+' conftest.er1 >conftest.err
8058 cat conftest.err >&5
8059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8060 (exit $ac_status); } &&
8061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8062 { (case "(($ac_try" in
8063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8064 *) ac_try_echo=$ac_try;;
8066 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8067 (eval "$ac_try") 2>&5
8069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8070 (exit $ac_status); }; } &&
8071 { ac_try='test -s conftest$ac_exeext'
8072 { (case "(($ac_try" in
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;;
8076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8077 (eval "$ac_try") 2>&5
8079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8080 (exit $ac_status); }; }; then
8081 llvm_cv_link_use_r=yes
8083 echo "$as_me: failed program was
:" >&5
8084 sed 's/^/| /' conftest.$ac_ext >&5
8086 llvm_cv_link_use_r=no
8089 rm -f core conftest.err conftest.$ac_objext \
8090 conftest$ac_exeext conftest.$ac_ext
8093 ac_cpp='$CPP $CPPFLAGS'
8094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8100 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
8101 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8102 if test "$llvm_cv_link_use_r" = yes ; then
8104 cat >>confdefs.h <<\_ACEOF
8105 #define HAVE_LINK_R 1
8111 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-export-dynamic option
" >&5
8112 echo $ECHO_N "checking
for compiler
-Wl,-export-dynamic option...
$ECHO_C" >&6; }
8113 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
8114 echo $ECHO_N "(cached
) $ECHO_C" >&6
8117 ac_cpp='$CPP $CPPFLAGS'
8118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8123 CFLAGS="$CFLAGS -Wl,-export-dynamic"
8124 cat >conftest.$ac_ext <<_ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8134 int main() { return 0; }
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (ac_try="$ac_link"
8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_link") 2>conftest.er1
8148 grep -v '^ *+' conftest.er1 >conftest.err
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8154 { (case "(($ac_try" in
8155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8156 *) ac_try_echo=$ac_try;;
8158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8159 (eval "$ac_try") 2>&5
8161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8162 (exit $ac_status); }; } &&
8163 { ac_try='test -s conftest$ac_exeext'
8164 { (case "(($ac_try" in
8165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8166 *) ac_try_echo=$ac_try;;
8168 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8169 (eval "$ac_try") 2>&5
8171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8172 (exit $ac_status); }; }; then
8173 llvm_cv_link_use_export_dynamic=yes
8175 echo "$as_me: failed program was
:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8178 llvm_cv_link_use_export_dynamic=no
8181 rm -f core conftest.err conftest.$ac_objext \
8182 conftest$ac_exeext conftest.$ac_ext
8185 ac_cpp='$CPP $CPPFLAGS'
8186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8192 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_export_dynamic" >&5
8193 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
8194 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
8196 cat >>confdefs.h <<\_ACEOF
8197 #define HAVE_LINK_EXPORT_DYNAMIC 1
8205 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8206 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8207 if test "${ac_cv_c_const+set}" = set; then
8208 echo $ECHO_N "(cached
) $ECHO_C" >&6
8210 cat >conftest.$ac_ext <<_ACEOF
8213 cat confdefs.h >>conftest.$ac_ext
8214 cat >>conftest.$ac_ext <<_ACEOF
8215 /* end confdefs.h. */
8220 /* FIXME: Include the comments suggested by Paul. */
8222 /* Ultrix mips cc rejects this. */
8223 typedef int charset[2];
8225 /* SunOS 4.1.1 cc rejects this. */
8226 char const *const *ccp;
8228 /* NEC SVR4.0.2 mips cc rejects this. */
8229 struct point {int x, y;};
8230 static struct point const zero = {0,0};
8231 /* AIX XL C 1.02.0.0 rejects this.
8232 It does not let you subtract one const X* pointer from another in
8233 an arm of an if-expression whose if-part is not a constant
8235 const char *g = "string
";
8236 ccp = &g + (g ? g-g : 0);
8237 /* HPUX 7.0 cc rejects these. */
8240 ccp = (char const *const *) p;
8241 { /* SCO 3.2v4 cc rejects this. */
8243 char const *s = 0 ? (char *) 0 : (char const *) 0;
8248 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8250 const int *foo = &x[0];
8253 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8254 typedef const int *iptr;
8258 { /* AIX XL C 1.02.0.0 rejects this saying
8259 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8260 struct s { int j; const int *ap[3]; };
8261 struct s *b; b->j = 5;
8263 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8267 return !x[0] && !zero.x;
8274 rm -f conftest.$ac_objext
8275 if { (ac_try="$ac_compile"
8277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8278 *) ac_try_echo=$ac_try;;
8280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8281 (eval "$ac_compile") 2>conftest.er1
8283 grep -v '^ *+' conftest.er1 >conftest.err
8285 cat conftest.err >&5
8286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8287 (exit $ac_status); } &&
8288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8289 { (case "(($ac_try" in
8290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8291 *) ac_try_echo=$ac_try;;
8293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8294 (eval "$ac_try") 2>&5
8296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8297 (exit $ac_status); }; } &&
8298 { ac_try='test -s conftest.$ac_objext'
8299 { (case "(($ac_try" in
8300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8301 *) ac_try_echo=$ac_try;;
8303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8304 (eval "$ac_try") 2>&5
8306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8307 (exit $ac_status); }; }; then
8310 echo "$as_me: failed program was
:" >&5
8311 sed 's/^/| /' conftest.$ac_ext >&5
8316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8318 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8319 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8320 if test $ac_cv_c_const = no; then
8322 cat >>confdefs.h <<\_ACEOF
8334 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8335 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8336 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8337 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8338 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8339 echo $ECHO_N "(cached
) $ECHO_C" >&6
8341 cat >conftest.$ac_ext <<_ACEOF
8344 cat confdefs.h >>conftest.$ac_ext
8345 cat >>conftest.$ac_ext <<_ACEOF
8346 /* end confdefs.h. */
8347 #include <sys/types.h>
8359 rm -f conftest.$ac_objext
8360 if { (ac_try="$ac_compile"
8362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8363 *) ac_try_echo=$ac_try;;
8365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8366 (eval "$ac_compile") 2>conftest.er1
8368 grep -v '^ *+' conftest.er1 >conftest.err
8370 cat conftest.err >&5
8371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8372 (exit $ac_status); } &&
8373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8374 { (case "(($ac_try" in
8375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8376 *) ac_try_echo=$ac_try;;
8378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8379 (eval "$ac_try") 2>&5
8381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8382 (exit $ac_status); }; } &&
8383 { ac_try='test -s conftest.$ac_objext'
8384 { (case "(($ac_try" in
8385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8386 *) ac_try_echo=$ac_try;;
8388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8389 (eval "$ac_try") 2>&5
8391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8392 (exit $ac_status); }; }; then
8393 eval "$as_ac_Header=yes"
8395 echo "$as_me: failed program was
:" >&5
8396 sed 's/^/| /' conftest.$ac_ext >&5
8398 eval "$as_ac_Header=no
"
8401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8403 ac_res=`eval echo '${'$as_ac_Header'}'`
8404 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8405 echo "${ECHO_T}$ac_res" >&6; }
8406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8407 cat >>confdefs.h <<_ACEOF
8408 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8411 ac_header_dirent=$ac_hdr; break
8415 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8416 if test $ac_header_dirent = dirent.h; then
8417 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8418 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8419 if test "${ac_cv_search_opendir+set}" = set; then
8420 echo $ECHO_N "(cached
) $ECHO_C" >&6
8422 ac_func_search_save_LIBS=$LIBS
8423 cat >conftest.$ac_ext <<_ACEOF
8426 cat confdefs.h >>conftest.$ac_ext
8427 cat >>conftest.$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8430 /* Override any GCC internal prototype to avoid an error.
8431 Use char because int might match the return type of a GCC
8432 builtin and then its argument prototype would still apply. */
8445 for ac_lib in '' dir; do
8446 if test -z "$ac_lib"; then
8447 ac_res="none required
"
8450 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8452 rm -f conftest.$ac_objext conftest$ac_exeext
8453 if { (ac_try="$ac_link"
8455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8456 *) ac_try_echo=$ac_try;;
8458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8459 (eval "$ac_link") 2>conftest.er1
8461 grep -v '^ *+' conftest.er1 >conftest.err
8463 cat conftest.err >&5
8464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8465 (exit $ac_status); } &&
8466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8467 { (case "(($ac_try" in
8468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8469 *) ac_try_echo=$ac_try;;
8471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8472 (eval "$ac_try") 2>&5
8474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8475 (exit $ac_status); }; } &&
8476 { ac_try='test -s conftest$ac_exeext'
8477 { (case "(($ac_try" in
8478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8479 *) ac_try_echo=$ac_try;;
8481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8482 (eval "$ac_try") 2>&5
8484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8485 (exit $ac_status); }; }; then
8486 ac_cv_search_opendir=$ac_res
8488 echo "$as_me: failed program was
:" >&5
8489 sed 's/^/| /' conftest.$ac_ext >&5
8494 rm -f core conftest.err conftest.$ac_objext \
8496 if test "${ac_cv_search_opendir+set}" = set; then
8500 if test "${ac_cv_search_opendir+set}" = set; then
8503 ac_cv_search_opendir=no
8506 LIBS=$ac_func_search_save_LIBS
8508 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8509 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8510 ac_res=$ac_cv_search_opendir
8511 if test "$ac_res" != no; then
8512 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8517 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8518 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8519 if test "${ac_cv_search_opendir+set}" = set; then
8520 echo $ECHO_N "(cached
) $ECHO_C" >&6
8522 ac_func_search_save_LIBS=$LIBS
8523 cat >conftest.$ac_ext <<_ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8530 /* Override any GCC internal prototype to avoid an error.
8531 Use char because int might match the return type of a GCC
8532 builtin and then its argument prototype would still apply. */
8545 for ac_lib in '' x; do
8546 if test -z "$ac_lib"; then
8547 ac_res="none required
"
8550 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8552 rm -f conftest.$ac_objext conftest$ac_exeext
8553 if { (ac_try="$ac_link"
8555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8556 *) ac_try_echo=$ac_try;;
8558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8559 (eval "$ac_link") 2>conftest.er1
8561 grep -v '^ *+' conftest.er1 >conftest.err
8563 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8565 (exit $ac_status); } &&
8566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8567 { (case "(($ac_try" in
8568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8569 *) ac_try_echo=$ac_try;;
8571 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8572 (eval "$ac_try") 2>&5
8574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8575 (exit $ac_status); }; } &&
8576 { ac_try='test -s conftest$ac_exeext'
8577 { (case "(($ac_try" in
8578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8579 *) ac_try_echo=$ac_try;;
8581 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8582 (eval "$ac_try") 2>&5
8584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8585 (exit $ac_status); }; }; then
8586 ac_cv_search_opendir=$ac_res
8588 echo "$as_me: failed program was
:" >&5
8589 sed 's/^/| /' conftest.$ac_ext >&5
8594 rm -f core conftest.err conftest.$ac_objext \
8596 if test "${ac_cv_search_opendir+set}" = set; then
8600 if test "${ac_cv_search_opendir+set}" = set; then
8603 ac_cv_search_opendir=no
8606 LIBS=$ac_func_search_save_LIBS
8608 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8609 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8610 ac_res=$ac_cv_search_opendir
8611 if test "$ac_res" != no; then
8612 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8619 for ac_header in dlfcn.h
8621 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8622 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8623 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8624 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8625 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8626 echo $ECHO_N "(cached
) $ECHO_C" >&6
8628 ac_res=`eval echo '${'$as_ac_Header'}'`
8629 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8630 echo "${ECHO_T}$ac_res" >&6; }
8632 # Is the header compilable?
8633 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8634 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8635 cat >conftest.$ac_ext <<_ACEOF
8638 cat confdefs.h >>conftest.$ac_ext
8639 cat >>conftest.$ac_ext <<_ACEOF
8640 /* end confdefs.h. */
8641 $ac_includes_default
8642 #include <$ac_header>
8644 rm -f conftest.$ac_objext
8645 if { (ac_try="$ac_compile"
8647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8648 *) ac_try_echo=$ac_try;;
8650 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8651 (eval "$ac_compile") 2>conftest.er1
8653 grep -v '^ *+' conftest.er1 >conftest.err
8655 cat conftest.err >&5
8656 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8657 (exit $ac_status); } &&
8658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8659 { (case "(($ac_try" in
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_try") 2>&5
8666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8667 (exit $ac_status); }; } &&
8668 { ac_try='test -s conftest.$ac_objext'
8669 { (case "(($ac_try" in
8670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8671 *) ac_try_echo=$ac_try;;
8673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8674 (eval "$ac_try") 2>&5
8676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8677 (exit $ac_status); }; }; then
8678 ac_header_compiler=yes
8680 echo "$as_me: failed program was
:" >&5
8681 sed 's/^/| /' conftest.$ac_ext >&5
8683 ac_header_compiler=no
8686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8687 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8688 echo "${ECHO_T}$ac_header_compiler" >&6; }
8690 # Is the header present?
8691 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8692 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8693 cat >conftest.$ac_ext <<_ACEOF
8696 cat confdefs.h >>conftest.$ac_ext
8697 cat >>conftest.$ac_ext <<_ACEOF
8698 /* end confdefs.h. */
8699 #include <$ac_header>
8701 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8704 *) ac_try_echo=$ac_try;;
8706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8707 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8709 grep -v '^ *+' conftest.er1 >conftest.err
8711 cat conftest.err >&5
8712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8713 (exit $ac_status); } >/dev/null; then
8714 if test -s conftest.err; then
8715 ac_cpp_err=$ac_c_preproc_warn_flag
8716 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8723 if test -z "$ac_cpp_err"; then
8724 ac_header_preproc=yes
8726 echo "$as_me: failed program was
:" >&5
8727 sed 's/^/| /' conftest.$ac_ext >&5
8729 ac_header_preproc=no
8732 rm -f conftest.err conftest.$ac_ext
8733 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8734 echo "${ECHO_T}$ac_header_preproc" >&6; }
8736 # So? What about this header?
8737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8739 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8740 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8741 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8743 ac_header_preproc=yes
8746 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8747 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8748 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8749 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8750 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8751 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8752 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8753 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8754 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8756 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8757 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8759 ## ----------------------------------- ##
8760 ## Report this to llvmbugs@cs.uiuc.edu ##
8761 ## ----------------------------------- ##
8763 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8766 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8767 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8768 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8769 echo $ECHO_N "(cached
) $ECHO_C" >&6
8771 eval "$as_ac_Header=\
$ac_header_preproc"
8773 ac_res=`eval echo '${'$as_ac_Header'}'`
8774 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8775 echo "${ECHO_T}$ac_res" >&6; }
8778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8779 cat >>confdefs.h <<_ACEOF
8780 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8787 # Check whether --enable-ltdl-install was given.
8788 if test "${enable_ltdl_install+set}" = set; then
8789 enableval=$enable_ltdl_install;
8795 if test x"${enable_ltdl_install-no}" != xno; then
8797 INSTALL_LTDL_FALSE='#'
8799 INSTALL_LTDL_TRUE='#'
8805 if test x"${enable_ltdl_convenience-no}" != xno; then
8806 CONVENIENCE_LTDL_TRUE=
8807 CONVENIENCE_LTDL_FALSE='#'
8809 CONVENIENCE_LTDL_TRUE='#'
8810 CONVENIENCE_LTDL_FALSE=
8814 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8815 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8817 libname_spec='lib$name'
8825 shlibpath_overrides_runpath=unknown
8827 dynamic_linker="$host_os ld.so
"
8828 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8829 if test "$GCC" = yes; then
8830 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8831 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8832 # if the path contains ";" then we assume it to be the separator
8833 # otherwise default to the standard path separator (i.e. ":") - it is
8834 # assumed that no part of a normal pathname contains ";" but that should
8835 # okay in the real world where ";" in dirpaths is itself problematic.
8836 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8838 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8841 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8843 need_lib_prefix=unknown
8844 hardcode_into_libs=no
8846 # when you set need_version to no, make sure it does not cause -set_version
8847 # flags to be left without arguments
8848 need_version=unknown
8853 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8854 shlibpath_var=LIBPATH
8856 # AIX 3 has no versioning support, so we append a major version to the name.
8857 soname_spec='${libname}${release}${shared_ext}$major'
8864 hardcode_into_libs=yes
8865 if test "$host_cpu" = ia64; then
8866 # AIX 5 supports IA64
8867 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8868 shlibpath_var=LD_LIBRARY_PATH
8870 # With GCC up to 2.95.x, collect2 would create an import file
8871 # for dependence libraries. The import file would start with
8872 # the line `#! .'. This would cause the generated library to
8873 # depend on `.', always an invalid library. This was fixed in
8874 # development snapshots of GCC prior to 3.0.
8876 aix4 | aix4.[01] | aix4.[01].*)
8877 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8879 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8886 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8887 # soname into executable. Probably we can add versioning support to
8888 # collect2, so additional links can be useful in future.
8889 if test "$aix_use_runtimelinking" = yes; then
8890 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8891 # instead of lib<name>.a to let people know that these are not
8892 # typical AIX shared libraries.
8893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8895 # We preserve .a as extension for shared libraries through AIX4.2
8896 # and later when we are not doing run time linking.
8897 library_names_spec='${libname}${release}.a $libname.a'
8898 soname_spec='${libname}${release}${shared_ext}$major'
8900 shlibpath_var=LIBPATH
8905 library_names_spec='$libname.ixlibrary $libname.a'
8906 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8907 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'
8911 library_names_spec='${libname}${shared_ext}'
8912 dynamic_linker="$host_os ld.so
"
8913 shlibpath_var=LIBRARY_PATH
8919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8920 soname_spec='${libname}${release}${shared_ext}$major'
8921 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8922 shlibpath_var=LD_LIBRARY_PATH
8923 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8924 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8925 # the default ld.so.conf also contains /usr/contrib/lib and
8926 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8927 # libtool to hard-code these into programs
8930 cygwin* | mingw* | pw32*)
8931 version_type=windows
8936 case $GCC,$host_os in
8937 yes,cygwin* | yes,mingw* | yes,pw32*)
8938 library_names_spec='$libname.dll.a'
8939 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8940 postinstall_cmds='base_file=`basename \${file}`~
8941 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8942 dldir=$destdir/`dirname \$dlpath`~
8943 test -d \$dldir || mkdir -p \$dldir~
8944 $install_prog $dir/$dlname \$dldir/$dlname~
8945 chmod a+x \$dldir/$dlname'
8946 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8947 dlpath=$dir/\$dldll~
8949 shlibpath_overrides_runpath=yes
8953 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8954 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8955 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8958 # MinGW DLLs use traditional 'lib' prefix
8959 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8960 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8961 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8962 # It is most probably a Windows format PATH printed by
8963 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8964 # path with ; separators, and with drive letters. We can handle the
8965 # drive letters (cygwin fileutils understands them), so leave them,
8966 # especially as we might pass files found there to a mingw objdump,
8967 # which wouldn't understand a cygwinified path. Ahh.
8968 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8970 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8974 # pw32 DLLs use 'pw' prefix rather than 'lib'
8975 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8981 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8984 dynamic_linker='Win32 ld.exe'
8985 # FIXME: first we should search . and the directory the executable is in
8989 darwin* | rhapsody*)
8990 dynamic_linker="$host_os dyld
"
8994 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8995 soname_spec='${libname}${release}${major}$shared_ext'
8996 shlibpath_overrides_runpath=yes
8997 shlibpath_var=DYLD_LIBRARY_PATH
8998 shrext_cmds='.dylib'
8999 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9000 if test "$GCC" = yes; then
9001 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
"`
9003 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9005 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9013 soname_spec='${libname}${release}${shared_ext}$major'
9014 shlibpath_var=LD_LIBRARY_PATH
9025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9026 soname_spec='${libname}${release}${shared_ext}$major'
9027 shlibpath_var=LD_LIBRARY_PATH
9028 shlibpath_overrides_runpath=no
9029 hardcode_into_libs=yes
9030 dynamic_linker='GNU ld.so'
9033 freebsd* | dragonfly*)
9034 # DragonFly does not have aout. When/if they implement a new
9035 # versioning mechanism, adjust this.
9036 if test -x /usr/bin/objformat; then
9037 objformat=`/usr/bin/objformat`
9040 freebsd[123]*) objformat=aout ;;
9044 version_type=freebsd-$objformat
9045 case $version_type in
9047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9052 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9056 shlibpath_var=LD_LIBRARY_PATH
9059 shlibpath_overrides_runpath=yes
9061 freebsd3.[01]* | freebsdelf3.[01]*)
9062 shlibpath_overrides_runpath=yes
9063 hardcode_into_libs=yes
9065 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9066 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9067 shlibpath_overrides_runpath=no
9068 hardcode_into_libs=yes
9070 freebsd*) # from 4.6 on
9071 shlibpath_overrides_runpath=yes
9072 hardcode_into_libs=yes
9081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9082 soname_spec='${libname}${release}${shared_ext}$major'
9083 shlibpath_var=LD_LIBRARY_PATH
9084 hardcode_into_libs=yes
9087 hpux9* | hpux10* | hpux11*)
9088 # Give a soname corresponding to the major version so that dld.sl refuses to
9089 # link against other versions.
9096 hardcode_into_libs=yes
9097 dynamic_linker="$host_os dld.so
"
9098 shlibpath_var=LD_LIBRARY_PATH
9099 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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'
9102 if test "X
$HPUX_IA64_MODE" = X32; then
9103 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
9105 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
9107 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9111 hardcode_into_libs=yes
9112 dynamic_linker="$host_os dld.sl
"
9113 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9114 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9116 soname_spec='${libname}${release}${shared_ext}$major'
9117 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
9118 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9122 dynamic_linker="$host_os dld.sl
"
9123 shlibpath_var=SHLIB_PATH
9124 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9126 soname_spec='${libname}${release}${shared_ext}$major'
9129 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9130 postinstall_cmds='chmod 555 $lib'
9137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9138 soname_spec='${libname}${release}${shared_ext}$major'
9139 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9140 shlibpath_var=LD_LIBRARY_PATH
9141 shlibpath_overrides_runpath=no
9142 hardcode_into_libs=yes
9145 irix5* | irix6* | nonstopux*)
9147 nonstopux*) version_type=nonstopux ;;
9149 if test "$lt_cv_prog_gnu_ld" = yes; then
9157 soname_spec='${libname}${release}${shared_ext}$major'
9158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9160 irix5* | nonstopux*)
9164 case $LD in # libtool.m4 will add one of these switches to LD
9165 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9166 libsuff= shlibsuff= libmagic=32-bit;;
9167 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9168 libsuff=32 shlibsuff=N32 libmagic=N32;;
9169 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9170 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9171 *) libsuff= shlibsuff= libmagic=never-match;;
9175 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9176 shlibpath_overrides_runpath=no
9177 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9178 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
9179 hardcode_into_libs=yes
9182 # No shared lib support for Linux oldld, aout, or coff.
9183 linux*oldld* | linux*aout* | linux*coff*)
9187 # This must be Linux ELF.
9192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9193 soname_spec='${libname}${release}${shared_ext}$major'
9194 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
9195 shlibpath_var=LD_LIBRARY_PATH
9196 shlibpath_overrides_runpath=no
9197 # This implies no fast_install, which is unacceptable.
9198 # Some rework will be needed to allow for fast_install
9199 # before this can be enabled.
9200 hardcode_into_libs=yes
9202 # Append ld.so.conf contents to the search path
9203 if test -f /etc/ld.so.conf; then
9204 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' ' '`
9205 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9208 # We used to test for /lib/ld.so.1 and disable shared libraries on
9209 # powerpc, because MkLinux only supported shared libraries with the
9210 # GNU dynamic linker. Since this was broken with cross compilers,
9211 # most powerpc-linux boxes support dynamic linking these days and
9212 # people can always --disable-shared, the test was removed, and we
9213 # assume the GNU/Linux dynamic linker is in use.
9214 dynamic_linker='GNU/Linux ld.so'
9221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9222 soname_spec='${libname}${release}${shared_ext}$major'
9223 shlibpath_var=LD_LIBRARY_PATH
9224 shlibpath_overrides_runpath=no
9225 hardcode_into_libs=yes
9226 dynamic_linker='GNU ld.so'
9233 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9235 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9236 dynamic_linker='NetBSD (a.out) ld.so'
9238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9239 soname_spec='${libname}${release}${shared_ext}$major'
9240 dynamic_linker='NetBSD ld.elf_so'
9242 shlibpath_var=LD_LIBRARY_PATH
9243 shlibpath_overrides_runpath=yes
9244 hardcode_into_libs=yes
9249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9250 shlibpath_var=LD_LIBRARY_PATH
9251 shlibpath_overrides_runpath=yes
9258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9259 soname_spec='${libname}${release}${shared_ext}$major'
9260 shlibpath_var=LD_LIBRARY_PATH
9261 shlibpath_overrides_runpath=yes
9266 sys_lib_dlsearch_path_spec="/usr
/lib
"
9268 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9270 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9271 *) need_version=no ;;
9273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9274 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9275 shlibpath_var=LD_LIBRARY_PATH
9276 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9278 openbsd2.[89] | openbsd2.[89].*)
9279 shlibpath_overrides_runpath=no
9282 shlibpath_overrides_runpath=yes
9286 shlibpath_overrides_runpath=yes
9291 libname_spec='$name'
9294 library_names_spec='$libname${shared_ext} $libname.a'
9295 dynamic_linker='OS/2 ld.exe'
9296 shlibpath_var=LIBPATH
9299 osf3* | osf4* | osf5*)
9303 soname_spec='${libname}${release}${shared_ext}$major'
9304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9305 shlibpath_var=LD_LIBRARY_PATH
9306 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9307 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9315 soname_spec='${libname}${release}${shared_ext}$major'
9316 shlibpath_var=LD_LIBRARY_PATH
9317 shlibpath_overrides_runpath=yes
9318 hardcode_into_libs=yes
9319 # ldd complains unless libraries are executable
9320 postinstall_cmds='chmod +x $lib'
9325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9326 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9327 shlibpath_var=LD_LIBRARY_PATH
9328 shlibpath_overrides_runpath=yes
9329 if test "$with_gnu_ld" = yes; then
9337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9338 soname_spec='${libname}${release}${shared_ext}$major'
9339 shlibpath_var=LD_LIBRARY_PATH
9340 case $host_vendor in
9342 shlibpath_overrides_runpath=no
9344 export_dynamic_flag_spec='${wl}-Blargedynsym'
9345 runpath_var=LD_RUN_PATH
9353 shlibpath_overrides_runpath=no
9354 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9360 if test -d /usr/nec ;then
9362 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9363 soname_spec='$libname${shared_ext}.$major'
9364 shlibpath_var=LD_LIBRARY_PATH
9368 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9369 version_type=freebsd-elf
9372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9373 soname_spec='${libname}${release}${shared_ext}$major'
9374 shlibpath_var=LD_LIBRARY_PATH
9375 hardcode_into_libs=yes
9376 if test "$with_gnu_ld" = yes; then
9377 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9378 shlibpath_overrides_runpath=no
9380 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9381 shlibpath_overrides_runpath=yes
9384 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9388 sys_lib_dlsearch_path_spec='/usr/lib'
9393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9394 soname_spec='${libname}${release}${shared_ext}$major'
9395 shlibpath_var=LD_LIBRARY_PATH
9402 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9403 echo "${ECHO_T}$dynamic_linker" >&6; }
9404 test "$dynamic_linker" = no && can_build_shared=no
9406 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9407 if test "$GCC" = yes; then
9408 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9412 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9413 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9414 if test "${libltdl_cv_shlibext+set}" = set; then
9415 echo $ECHO_N "(cached
) $ECHO_C" >&6
9419 eval libltdl_cv_shlibext=$shrext_cmds
9422 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9423 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9424 if test -n "$libltdl_cv_shlibext"; then
9426 cat >>confdefs.h <<_ACEOF
9427 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9433 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9434 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9435 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9436 echo $ECHO_N "(cached
) $ECHO_C" >&6
9438 libltdl_cv_shlibpath_var="$shlibpath_var"
9440 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9441 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9442 if test -n "$libltdl_cv_shlibpath_var"; then
9444 cat >>confdefs.h <<_ACEOF
9445 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9451 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9452 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9453 if test "${libltdl_cv_sys_search_path+set}" = set; then
9454 echo $ECHO_N "(cached
) $ECHO_C" >&6
9456 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9458 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9459 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9460 if test -n "$libltdl_cv_sys_search_path"; then
9462 for dir in $libltdl_cv_sys_search_path; do
9463 if test -z "$sys_search_path"; then
9464 sys_search_path="$dir"
9466 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9470 cat >>confdefs.h <<_ACEOF
9471 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9476 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9477 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9478 if test "${libltdl_cv_objdir+set}" = set; then
9479 echo $ECHO_N "(cached
) $ECHO_C" >&6
9481 libltdl_cv_objdir="$objdir"
9482 if test -n "$objdir"; then
9485 rm -f .libs 2>/dev/null
9486 mkdir .libs 2>/dev/null
9487 if test -d .libs; then
9488 libltdl_cv_objdir=.libs
9490 # MS-DOS does not allow filenames that begin with a dot.
9491 libltdl_cv_objdir=_libs
9493 rmdir .libs 2>/dev/null
9497 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9498 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9500 cat >>confdefs.h <<_ACEOF
9501 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9509 # Check for command to grab the raw symbol name followed by C symbol from nm.
9510 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9511 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9512 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9513 echo $ECHO_N "(cached
) $ECHO_C" >&6
9516 # These are sane defaults that work on at least a few old systems.
9517 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9519 # Character class describing NM global symbol codes.
9520 symcode='[BCDEGRST]'
9522 # Regexp to match symbols that can be accessed directly from C.
9523 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9525 # Transform an extracted symbol line into a proper C declaration
9526 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9528 # Transform an extracted symbol line into symbol name and symbol address
9529 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'"
9531 # Define system-specific variables.
9536 cygwin* | mingw* | pw32*)
9537 symcode='[ABCDGISTW]'
9539 hpux*) # Its linker distinguishes data from code symbols
9540 if test "$host_cpu" = ia64; then
9541 symcode='[ABCDEGRST]'
9543 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9544 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'"
9547 if test "$host_cpu" = ia64; then
9548 symcode='[ABCDGIRSTW]'
9549 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9550 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9554 symcode='[BCDEGRST]'
9557 symcode='[BCDEGQRST]'
9568 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9576 # Handle CRLF in mingw tool chain
9580 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9584 # If we're using GNU nm, then use its standard symbol codes.
9585 case `$NM -V 2>&1` in
9586 *GNU* | *'with BFD'*)
9587 symcode='[ABCDGIRSTW]' ;;
9590 # Try without a prefix undercore, then with it.
9591 for ac_symprfx in "" "_
"; do
9593 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9594 symxfrm="\\1 $ac_symprfx\\2 \\2"
9596 # Write the raw and C identifiers.
9597 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9599 # Check to see that the pipe works correctly.
9603 cat > conftest.$ac_ext <<EOF
9608 void nm_test_func(){}
9612 int main(){nm_test_var='a';nm_test_func();return(0);}
9615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9616 (eval $ac_compile) 2>&5
9618 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9619 (exit $ac_status); }; then
9620 # Now try to grab the symbols.
9622 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9623 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9626 (exit $ac_status); } && test -s "$nlist"; then
9627 # Try sorting and uniquifying the output.
9628 if sort "$nlist" | uniq > "$nlist"T; then
9629 mv -f "$nlist"T "$nlist"
9634 # Make sure that we snagged all the symbols we need.
9635 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9636 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9637 cat <<EOF > conftest.$ac_ext
9643 # Now generate the symbol file.
9644 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9646 cat <<EOF >> conftest.$ac_ext
9647 #if defined (__STDC__) && __STDC__
9648 # define lt_ptr_t void *
9650 # define lt_ptr_t char *
9654 /* The mapping between symbol names and symbols. */
9659 lt_preloaded_symbols[] =
9662 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9663 cat <<\EOF >> conftest.$ac_ext
9671 # Now try linking the two files.
9672 mv conftest.$ac_objext conftstm.$ac_objext
9673 lt_save_LIBS="$LIBS"
9674 lt_save_CFLAGS="$CFLAGS"
9675 LIBS="conftstm.
$ac_objext"
9676 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9678 (eval $ac_link) 2>&5
9680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9681 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9684 LIBS="$lt_save_LIBS"
9685 CFLAGS="$lt_save_CFLAGS"
9687 echo "cannot
find nm_test_func
in $nlist" >&5
9690 echo "cannot
find nm_test_var
in $nlist" >&5
9693 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9696 echo "$progname: failed program was
:" >&5
9697 cat conftest.$ac_ext >&5
9699 rm -f conftest* conftst*
9701 # Do not use the global_symbol_pipe unless it works.
9702 if test "$pipe_works" = yes; then
9705 lt_cv_sys_global_symbol_pipe=
9711 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9712 lt_cv_sys_global_symbol_to_cdecl=
9714 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9715 { echo "$as_me:$LINENO: result
: failed
" >&5
9716 echo "${ECHO_T}failed
" >&6; }
9718 { echo "$as_me:$LINENO: result
: ok
" >&5
9719 echo "${ECHO_T}ok
" >&6; }
9723 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9724 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9725 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9726 echo $ECHO_N "(cached
) $ECHO_C" >&6
9728 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9729 libltdl_cv_preloaded_symbols=yes
9731 libltdl_cv_preloaded_symbols=no
9735 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9736 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9737 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9739 cat >>confdefs.h <<\_ACEOF
9740 #define HAVE_PRELOADED_SYMBOLS 1
9748 ac_cpp='$CPP $CPPFLAGS'
9749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9754 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9755 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9756 if test "${ac_cv_func_shl_load+set}" = set; then
9757 echo $ECHO_N "(cached
) $ECHO_C" >&6
9759 cat >conftest.$ac_ext <<_ACEOF
9762 cat confdefs.h >>conftest.$ac_ext
9763 cat >>conftest.$ac_ext <<_ACEOF
9764 /* end confdefs.h. */
9765 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9767 #define shl_load innocuous_shl_load
9769 /* System header to define __stub macros and hopefully few prototypes,
9770 which can conflict with char shl_load (); below.
9771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9772 <limits.h> exists even on freestanding compilers. */
9775 # include <limits.h>
9777 # include <assert.h>
9782 /* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
9789 /* The GNU C library defines this for functions which it implements
9790 to always fail with ENOSYS. Some functions are actually named
9791 something starting with __ and the normal name is an alias. */
9792 #if defined __stub_shl_load || defined __stub___shl_load
9804 rm -f conftest.$ac_objext conftest$ac_exeext
9805 if { (ac_try="$ac_link"
9807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9808 *) ac_try_echo=$ac_try;;
9810 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9811 (eval "$ac_link") 2>conftest.er1
9813 grep -v '^ *+' conftest.er1 >conftest.err
9815 cat conftest.err >&5
9816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9817 (exit $ac_status); } &&
9818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9819 { (case "(($ac_try" in
9820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9821 *) ac_try_echo=$ac_try;;
9823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9824 (eval "$ac_try") 2>&5
9826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9827 (exit $ac_status); }; } &&
9828 { ac_try='test -s conftest$ac_exeext'
9829 { (case "(($ac_try" in
9830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9831 *) ac_try_echo=$ac_try;;
9833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9834 (eval "$ac_try") 2>&5
9836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9837 (exit $ac_status); }; }; then
9838 ac_cv_func_shl_load=yes
9840 echo "$as_me: failed program was
:" >&5
9841 sed 's/^/| /' conftest.$ac_ext >&5
9843 ac_cv_func_shl_load=no
9846 rm -f core conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9849 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9850 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9851 if test $ac_cv_func_shl_load = yes; then
9853 cat >>confdefs.h <<\_ACEOF
9854 #define HAVE_SHL_LOAD 1
9858 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9859 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9860 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9861 echo $ECHO_N "(cached
) $ECHO_C" >&6
9863 ac_check_lib_save_LIBS=$LIBS
9865 cat >conftest.$ac_ext <<_ACEOF
9868 cat confdefs.h >>conftest.$ac_ext
9869 cat >>conftest.$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9872 /* Override any GCC internal prototype to avoid an error.
9873 Use char because int might match the return type of a GCC
9874 builtin and then its argument prototype would still apply. */
9887 rm -f conftest.$ac_objext conftest$ac_exeext
9888 if { (ac_try="$ac_link"
9890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9891 *) ac_try_echo=$ac_try;;
9893 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9894 (eval "$ac_link") 2>conftest.er1
9896 grep -v '^ *+' conftest.er1 >conftest.err
9898 cat conftest.err >&5
9899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9900 (exit $ac_status); } &&
9901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9902 { (case "(($ac_try" in
9903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9904 *) ac_try_echo=$ac_try;;
9906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9907 (eval "$ac_try") 2>&5
9909 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9910 (exit $ac_status); }; } &&
9911 { ac_try='test -s conftest$ac_exeext'
9912 { (case "(($ac_try" in
9913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9914 *) ac_try_echo=$ac_try;;
9916 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9917 (eval "$ac_try") 2>&5
9919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9920 (exit $ac_status); }; }; then
9921 ac_cv_lib_dld_shl_load=yes
9923 echo "$as_me: failed program was
:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9926 ac_cv_lib_dld_shl_load=no
9929 rm -f core conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9931 LIBS=$ac_check_lib_save_LIBS
9933 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9934 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9935 if test $ac_cv_lib_dld_shl_load = yes; then
9937 cat >>confdefs.h <<\_ACEOF
9938 #define HAVE_SHL_LOAD 1
9941 LIBADD_DL="$LIBADD_DL -ldld"
9943 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9944 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9945 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9946 echo $ECHO_N "(cached
) $ECHO_C" >&6
9948 ac_check_lib_save_LIBS=$LIBS
9950 cat >conftest.$ac_ext <<_ACEOF
9953 cat confdefs.h >>conftest.$ac_ext
9954 cat >>conftest.$ac_ext <<_ACEOF
9955 /* end confdefs.h. */
9957 /* Override any GCC internal prototype to avoid an error.
9958 Use char because int might match the return type of a GCC
9959 builtin and then its argument prototype would still apply. */
9972 rm -f conftest.$ac_objext conftest$ac_exeext
9973 if { (ac_try="$ac_link"
9975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9976 *) ac_try_echo=$ac_try;;
9978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9979 (eval "$ac_link") 2>conftest.er1
9981 grep -v '^ *+' conftest.er1 >conftest.err
9983 cat conftest.err >&5
9984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9985 (exit $ac_status); } &&
9986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9987 { (case "(($ac_try" in
9988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9989 *) ac_try_echo=$ac_try;;
9991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9992 (eval "$ac_try") 2>&5
9994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9995 (exit $ac_status); }; } &&
9996 { ac_try='test -s conftest$ac_exeext'
9997 { (case "(($ac_try" in
9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9999 *) ac_try_echo=$ac_try;;
10001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_try") 2>&5
10004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10005 (exit $ac_status); }; }; then
10006 ac_cv_lib_dl_dlopen=yes
10008 echo "$as_me: failed program was
:" >&5
10009 sed 's/^/| /' conftest.$ac_ext >&5
10011 ac_cv_lib_dl_dlopen=no
10014 rm -f core conftest.err conftest.$ac_objext \
10015 conftest$ac_exeext conftest.$ac_ext
10016 LIBS=$ac_check_lib_save_LIBS
10018 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
10019 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10020 if test $ac_cv_lib_dl_dlopen = yes; then
10022 cat >>confdefs.h <<\_ACEOF
10023 #define HAVE_LIBDL 1
10026 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
10028 cat >conftest.$ac_ext <<_ACEOF
10031 cat confdefs.h >>conftest.$ac_ext
10032 cat >>conftest.$ac_ext <<_ACEOF
10033 /* end confdefs.h. */
10035 # include <dlfcn.h>
10046 rm -f conftest.$ac_objext conftest$ac_exeext
10047 if { (ac_try="$ac_link"
10048 case "(($ac_try" in
10049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10050 *) ac_try_echo=$ac_try;;
10052 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10053 (eval "$ac_link") 2>conftest.er1
10055 grep -v '^ *+' conftest.er1 >conftest.err
10057 cat conftest.err >&5
10058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10059 (exit $ac_status); } &&
10060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10061 { (case "(($ac_try" in
10062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10063 *) ac_try_echo=$ac_try;;
10065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10066 (eval "$ac_try") 2>&5
10068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10069 (exit $ac_status); }; } &&
10070 { ac_try='test -s conftest$ac_exeext'
10071 { (case "(($ac_try" in
10072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10073 *) ac_try_echo=$ac_try;;
10075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10076 (eval "$ac_try") 2>&5
10078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10079 (exit $ac_status); }; }; then
10081 cat >>confdefs.h <<\_ACEOF
10082 #define HAVE_LIBDL 1
10084 libltdl_cv_func_dlopen="yes"
10086 echo "$as_me: failed program was
:" >&5
10087 sed 's/^/| /' conftest.$ac_ext >&5
10089 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
10090 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
10091 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10092 echo $ECHO_N "(cached
) $ECHO_C" >&6
10094 ac_check_lib_save_LIBS=$LIBS
10095 LIBS="-lsvld $LIBS"
10096 cat >conftest.$ac_ext <<_ACEOF
10099 cat confdefs.h >>conftest.$ac_ext
10100 cat >>conftest.$ac_ext <<_ACEOF
10101 /* end confdefs.h. */
10103 /* Override any GCC internal prototype to avoid an error.
10104 Use char because int might match the return type of a GCC
10105 builtin and then its argument prototype would still apply. */
10118 rm -f conftest.$ac_objext conftest$ac_exeext
10119 if { (ac_try="$ac_link"
10120 case "(($ac_try" in
10121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10122 *) ac_try_echo=$ac_try;;
10124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10125 (eval "$ac_link") 2>conftest.er1
10127 grep -v '^ *+' conftest.er1 >conftest.err
10129 cat conftest.err >&5
10130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10131 (exit $ac_status); } &&
10132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10133 { (case "(($ac_try" in
10134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10135 *) ac_try_echo=$ac_try;;
10137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10138 (eval "$ac_try") 2>&5
10140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10141 (exit $ac_status); }; } &&
10142 { ac_try='test -s conftest$ac_exeext'
10143 { (case "(($ac_try" in
10144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10145 *) ac_try_echo=$ac_try;;
10147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10148 (eval "$ac_try") 2>&5
10150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10151 (exit $ac_status); }; }; then
10152 ac_cv_lib_svld_dlopen=yes
10154 echo "$as_me: failed program was
:" >&5
10155 sed 's/^/| /' conftest.$ac_ext >&5
10157 ac_cv_lib_svld_dlopen=no
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_lib_save_LIBS
10164 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
10165 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10166 if test $ac_cv_lib_svld_dlopen = yes; then
10168 cat >>confdefs.h <<\_ACEOF
10169 #define HAVE_LIBDL 1
10172 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10174 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
10175 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
10176 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10177 echo $ECHO_N "(cached
) $ECHO_C" >&6
10179 ac_check_lib_save_LIBS=$LIBS
10181 cat >conftest.$ac_ext <<_ACEOF
10184 cat confdefs.h >>conftest.$ac_ext
10185 cat >>conftest.$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10188 /* Override any GCC internal prototype to avoid an error.
10189 Use char because int might match the return type of a GCC
10190 builtin and then its argument prototype would still apply. */
10198 return dld_link ();
10203 rm -f conftest.$ac_objext conftest$ac_exeext
10204 if { (ac_try="$ac_link"
10205 case "(($ac_try" in
10206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10207 *) ac_try_echo=$ac_try;;
10209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10210 (eval "$ac_link") 2>conftest.er1
10212 grep -v '^ *+' conftest.er1 >conftest.err
10214 cat conftest.err >&5
10215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10216 (exit $ac_status); } &&
10217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10218 { (case "(($ac_try" in
10219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10220 *) ac_try_echo=$ac_try;;
10222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10223 (eval "$ac_try") 2>&5
10225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10226 (exit $ac_status); }; } &&
10227 { ac_try='test -s conftest$ac_exeext'
10228 { (case "(($ac_try" in
10229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10230 *) ac_try_echo=$ac_try;;
10232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10233 (eval "$ac_try") 2>&5
10235 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10236 (exit $ac_status); }; }; then
10237 ac_cv_lib_dld_dld_link=yes
10239 echo "$as_me: failed program was
:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10242 ac_cv_lib_dld_dld_link=no
10245 rm -f core conftest.err conftest.$ac_objext \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_lib_save_LIBS
10249 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10250 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10251 if test $ac_cv_lib_dld_dld_link = yes; then
10253 cat >>confdefs.h <<\_ACEOF
10257 LIBADD_DL="$LIBADD_DL -ldld"
10259 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10260 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10261 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10262 echo $ECHO_N "(cached
) $ECHO_C" >&6
10264 cat >conftest.$ac_ext <<_ACEOF
10267 cat confdefs.h >>conftest.$ac_ext
10268 cat >>conftest.$ac_ext <<_ACEOF
10269 /* end confdefs.h. */
10270 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10272 #define _dyld_func_lookup innocuous__dyld_func_lookup
10274 /* System header to define __stub macros and hopefully few prototypes,
10275 which can conflict with char _dyld_func_lookup (); below.
10276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10277 <limits.h> exists even on freestanding compilers. */
10280 # include <limits.h>
10282 # include <assert.h>
10285 #undef _dyld_func_lookup
10287 /* Override any GCC internal prototype to avoid an error.
10288 Use char because int might match the return type of a GCC
10289 builtin and then its argument prototype would still apply. */
10293 char _dyld_func_lookup ();
10294 /* The GNU C library defines this for functions which it implements
10295 to always fail with ENOSYS. Some functions are actually named
10296 something starting with __ and the normal name is an alias. */
10297 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10304 return _dyld_func_lookup ();
10309 rm -f conftest.$ac_objext conftest$ac_exeext
10310 if { (ac_try="$ac_link"
10311 case "(($ac_try" in
10312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10313 *) ac_try_echo=$ac_try;;
10315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10316 (eval "$ac_link") 2>conftest.er1
10318 grep -v '^ *+' conftest.er1 >conftest.err
10320 cat conftest.err >&5
10321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10322 (exit $ac_status); } &&
10323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10324 { (case "(($ac_try" in
10325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10326 *) ac_try_echo=$ac_try;;
10328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10329 (eval "$ac_try") 2>&5
10331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10332 (exit $ac_status); }; } &&
10333 { ac_try='test -s conftest$ac_exeext'
10334 { (case "(($ac_try" in
10335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10336 *) ac_try_echo=$ac_try;;
10338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10339 (eval "$ac_try") 2>&5
10341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10342 (exit $ac_status); }; }; then
10343 ac_cv_func__dyld_func_lookup=yes
10345 echo "$as_me: failed program was
:" >&5
10346 sed 's/^/| /' conftest.$ac_ext >&5
10348 ac_cv_func__dyld_func_lookup=no
10351 rm -f core conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10354 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10355 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10356 if test $ac_cv_func__dyld_func_lookup = yes; then
10358 cat >>confdefs.h <<\_ACEOF
10359 #define HAVE_DYLD 1
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10385 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10387 lt_save_LIBS="$LIBS"
10388 LIBS="$LIBS $LIBADD_DL"
10390 for ac_func in dlerror
10392 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10393 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10394 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10395 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10396 echo $ECHO_N "(cached
) $ECHO_C" >&6
10398 cat >conftest.$ac_ext <<_ACEOF
10401 cat confdefs.h >>conftest.$ac_ext
10402 cat >>conftest.$ac_ext <<_ACEOF
10403 /* end confdefs.h. */
10404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10406 #define $ac_func innocuous_$ac_func
10408 /* System header to define __stub macros and hopefully few prototypes,
10409 which can conflict with char $ac_func (); below.
10410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10411 <limits.h> exists even on freestanding compilers. */
10414 # include <limits.h>
10416 # include <assert.h>
10421 /* Override any GCC internal prototype to avoid an error.
10422 Use char because int might match the return type of a GCC
10423 builtin and then its argument prototype would still apply. */
10428 /* The GNU C library defines this for functions which it implements
10429 to always fail with ENOSYS. Some functions are actually named
10430 something starting with __ and the normal name is an alias. */
10431 #if defined __stub_$ac_func || defined __stub___$ac_func
10438 return $ac_func ();
10443 rm -f conftest.$ac_objext conftest$ac_exeext
10444 if { (ac_try="$ac_link"
10445 case "(($ac_try" in
10446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10447 *) ac_try_echo=$ac_try;;
10449 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10450 (eval "$ac_link") 2>conftest.er1
10452 grep -v '^ *+' conftest.er1 >conftest.err
10454 cat conftest.err >&5
10455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10456 (exit $ac_status); } &&
10457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10458 { (case "(($ac_try" in
10459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10460 *) ac_try_echo=$ac_try;;
10462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10463 (eval "$ac_try") 2>&5
10465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10466 (exit $ac_status); }; } &&
10467 { ac_try='test -s conftest$ac_exeext'
10468 { (case "(($ac_try" in
10469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10470 *) ac_try_echo=$ac_try;;
10472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10473 (eval "$ac_try") 2>&5
10475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10476 (exit $ac_status); }; }; then
10477 eval "$as_ac_var=yes"
10479 echo "$as_me: failed program was
:" >&5
10480 sed 's/^/| /' conftest.$ac_ext >&5
10482 eval "$as_ac_var=no
"
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10488 ac_res=`eval echo '${'$as_ac_var'}'`
10489 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10490 echo "${ECHO_T}$ac_res" >&6; }
10491 if test `eval echo '${'$as_ac_var'}'` = yes; then
10492 cat >>confdefs.h <<_ACEOF
10493 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10499 LIBS="$lt_save_LIBS"
10502 ac_cpp='$CPP $CPPFLAGS'
10503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10509 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10510 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10511 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10512 echo $ECHO_N "(cached
) $ECHO_C" >&6
10514 ac_cv_sys_symbol_underscore=no
10515 cat > conftest.$ac_ext <<EOF
10516 void nm_test_func(){}
10517 int main(){nm_test_func;return 0;}
10519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10520 (eval $ac_compile) 2>&5
10522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10523 (exit $ac_status); }; then
10524 # Now try to grab the symbols.
10525 ac_nlist=conftest.nm
10526 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10527 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10530 (exit $ac_status); } && test -s "$ac_nlist"; then
10531 # See whether the symbols have a leading underscore.
10532 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10533 ac_cv_sys_symbol_underscore=yes
10535 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10538 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10542 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10545 echo "configure
: failed program was
:" >&5
10551 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10552 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10555 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10556 if test x"$libltdl_cv_func_dlopen" = xyes ||
10557 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10558 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10559 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10560 if test "${libltdl_cv_need_uscore+set}" = set; then
10561 echo $ECHO_N "(cached
) $ECHO_C" >&6
10563 libltdl_cv_need_uscore=unknown
10565 LIBS="$LIBS $LIBADD_DL"
10566 if test "$cross_compiling" = yes; then :
10567 libltdl_cv_need_uscore=cross
10569 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10570 lt_status=$lt_dlunknown
10571 cat > conftest.$ac_ext <<EOF
10572 #line 10563 "configure
"
10573 #include "confdefs.h
"
10582 # define LT_DLGLOBAL RTLD_GLOBAL
10585 # define LT_DLGLOBAL DL_GLOBAL
10587 # define LT_DLGLOBAL 0
10591 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10592 find out it does not work in some platform. */
10593 #ifndef LT_DLLAZY_OR_NOW
10595 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10598 # define LT_DLLAZY_OR_NOW DL_LAZY
10601 # define LT_DLLAZY_OR_NOW RTLD_NOW
10604 # define LT_DLLAZY_OR_NOW DL_NOW
10606 # define LT_DLLAZY_OR_NOW 0
10614 extern "C
" void exit (int);
10617 void fnord() { int i=42;}
10620 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10621 int status = $lt_dlunknown;
10625 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10626 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10627 /* dlclose (self); */
10635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10636 (eval $ac_link) 2>&5
10638 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10639 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10640 (./conftest; exit; ) >&5 2>/dev/null
10642 case x$lt_status in
10643 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10644 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10645 x$lt_dlunknown|x*) ;;
10648 # compilation failed
10657 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10658 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10662 if test x"$libltdl_cv_need_uscore" = xyes; then
10664 cat >>confdefs.h <<\_ACEOF
10665 #define NEED_USCORE 1
10671 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10672 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10673 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10674 echo $ECHO_N "(cached
) $ECHO_C" >&6
10676 # PORTME does your system automatically load deplibs for dlopen?
10677 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10678 # For now, we just catch OSes we know something about -- in the
10679 # future, we'll try test this programmatically.
10680 libltdl_cv_sys_dlopen_deplibs=unknown
10682 aix3*|aix4.1.*|aix4.2.*)
10683 # Unknown whether this is true for these versions of AIX, but
10684 # we want this `case' here to explicitly catch those versions.
10685 libltdl_cv_sys_dlopen_deplibs=unknown
10688 libltdl_cv_sys_dlopen_deplibs=yes
10691 # Assuming the user has installed a libdl from somewhere, this is true
10692 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10693 libltdl_cv_sys_dlopen_deplibs=yes
10695 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10696 # GNU and its variants, using gnu ld.so (Glibc)
10697 libltdl_cv_sys_dlopen_deplibs=yes
10700 libltdl_cv_sys_dlopen_deplibs=yes
10703 libltdl_cv_sys_dlopen_deplibs=yes
10705 irix[12345]*|irix6.[01]*)
10706 # Catch all versions of IRIX before 6.2, and indicate that we don't
10707 # know how it worked for any of those versions.
10708 libltdl_cv_sys_dlopen_deplibs=unknown
10711 # The case above catches anything before 6.2, and it's known that
10712 # at 6.2 and later dlopen does load deplibs.
10713 libltdl_cv_sys_dlopen_deplibs=yes
10716 libltdl_cv_sys_dlopen_deplibs=yes
10719 libltdl_cv_sys_dlopen_deplibs=yes
10722 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10723 # it did *not* use an RPATH in a shared library to find objects the
10724 # library depends on, so we explictly say `no'.
10725 libltdl_cv_sys_dlopen_deplibs=no
10727 osf5.0|osf5.0a|osf5.1)
10728 # dlopen *does* load deplibs and with the right loader patch applied
10729 # it even uses RPATH in a shared library to search for shared objects
10730 # that the library depends on, but there's no easy way to know if that
10731 # patch is installed. Since this is the case, all we can really
10732 # say is unknown -- it depends on the patch being installed. If
10733 # it is, this changes to `yes'. Without it, it would be `no'.
10734 libltdl_cv_sys_dlopen_deplibs=unknown
10737 # the two cases above should catch all versions of osf <= 5.1. Read
10738 # the comments above for what we know about them.
10739 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10740 # is used to find them so we can finally say `yes'.
10741 libltdl_cv_sys_dlopen_deplibs=yes
10744 libltdl_cv_sys_dlopen_deplibs=yes
10746 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10747 libltdl_cv_sys_dlopen_deplibs=yes
10752 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10753 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10754 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10756 cat >>confdefs.h <<\_ACEOF
10757 #define LTDL_DLOPEN_DEPLIBS 1
10763 for ac_header in argz.h
10765 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10766 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10767 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10768 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10769 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10770 echo $ECHO_N "(cached
) $ECHO_C" >&6
10772 ac_res=`eval echo '${'$as_ac_Header'}'`
10773 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10774 echo "${ECHO_T}$ac_res" >&6; }
10776 # Is the header compilable?
10777 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10778 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10779 cat >conftest.$ac_ext <<_ACEOF
10782 cat confdefs.h >>conftest.$ac_ext
10783 cat >>conftest.$ac_ext <<_ACEOF
10784 /* end confdefs.h. */
10785 $ac_includes_default
10786 #include <$ac_header>
10788 rm -f conftest.$ac_objext
10789 if { (ac_try="$ac_compile"
10790 case "(($ac_try" in
10791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10792 *) ac_try_echo=$ac_try;;
10794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10795 (eval "$ac_compile") 2>conftest.er1
10797 grep -v '^ *+' conftest.er1 >conftest.err
10799 cat conftest.err >&5
10800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10801 (exit $ac_status); } &&
10802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10803 { (case "(($ac_try" in
10804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10805 *) ac_try_echo=$ac_try;;
10807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10808 (eval "$ac_try") 2>&5
10810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10811 (exit $ac_status); }; } &&
10812 { ac_try='test -s conftest.$ac_objext'
10813 { (case "(($ac_try" in
10814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10815 *) ac_try_echo=$ac_try;;
10817 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10818 (eval "$ac_try") 2>&5
10820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10821 (exit $ac_status); }; }; then
10822 ac_header_compiler=yes
10824 echo "$as_me: failed program was
:" >&5
10825 sed 's/^/| /' conftest.$ac_ext >&5
10827 ac_header_compiler=no
10830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10831 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10832 echo "${ECHO_T}$ac_header_compiler" >&6; }
10834 # Is the header present?
10835 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10836 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10837 cat >conftest.$ac_ext <<_ACEOF
10840 cat confdefs.h >>conftest.$ac_ext
10841 cat >>conftest.$ac_ext <<_ACEOF
10842 /* end confdefs.h. */
10843 #include <$ac_header>
10845 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10846 case "(($ac_try" in
10847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10848 *) ac_try_echo=$ac_try;;
10850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10851 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10853 grep -v '^ *+' conftest.er1 >conftest.err
10855 cat conftest.err >&5
10856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10857 (exit $ac_status); } >/dev/null; then
10858 if test -s conftest.err; then
10859 ac_cpp_err=$ac_c_preproc_warn_flag
10860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10867 if test -z "$ac_cpp_err"; then
10868 ac_header_preproc=yes
10870 echo "$as_me: failed program was
:" >&5
10871 sed 's/^/| /' conftest.$ac_ext >&5
10873 ac_header_preproc=no
10876 rm -f conftest.err conftest.$ac_ext
10877 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10878 echo "${ECHO_T}$ac_header_preproc" >&6; }
10880 # So? What about this header?
10881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10883 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10884 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10885 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10887 ac_header_preproc=yes
10890 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10891 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10892 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10893 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10894 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10895 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10896 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10897 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10898 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10900 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10901 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10903 ## ----------------------------------- ##
10904 ## Report this to llvmbugs@cs.uiuc.edu ##
10905 ## ----------------------------------- ##
10907 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10910 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10911 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10912 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10913 echo $ECHO_N "(cached
) $ECHO_C" >&6
10915 eval "$as_ac_Header=\
$ac_header_preproc"
10917 ac_res=`eval echo '${'$as_ac_Header'}'`
10918 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10919 echo "${ECHO_T}$ac_res" >&6; }
10922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10923 cat >>confdefs.h <<_ACEOF
10924 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10932 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10933 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10934 if test "${ac_cv_type_error_t+set}" = set; then
10935 echo $ECHO_N "(cached
) $ECHO_C" >&6
10937 cat >conftest.$ac_ext <<_ACEOF
10940 cat confdefs.h >>conftest.$ac_ext
10941 cat >>conftest.$ac_ext <<_ACEOF
10942 /* end confdefs.h. */
10947 typedef error_t ac__type_new_;
10951 if ((ac__type_new_ *) 0)
10953 if (sizeof (ac__type_new_))
10959 rm -f conftest.$ac_objext
10960 if { (ac_try="$ac_compile"
10961 case "(($ac_try" in
10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_compile") 2>conftest.er1
10968 grep -v '^ *+' conftest.er1 >conftest.err
10970 cat conftest.err >&5
10971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10972 (exit $ac_status); } &&
10973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10974 { (case "(($ac_try" in
10975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10976 *) ac_try_echo=$ac_try;;
10978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10979 (eval "$ac_try") 2>&5
10981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10982 (exit $ac_status); }; } &&
10983 { ac_try='test -s conftest.$ac_objext'
10984 { (case "(($ac_try" in
10985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986 *) ac_try_echo=$ac_try;;
10988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10989 (eval "$ac_try") 2>&5
10991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 ac_cv_type_error_t=yes
10995 echo "$as_me: failed program was
:" >&5
10996 sed 's/^/| /' conftest.$ac_ext >&5
10998 ac_cv_type_error_t=no
11001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11003 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
11004 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
11005 if test $ac_cv_type_error_t = yes; then
11007 cat >>confdefs.h <<_ACEOF
11008 #define HAVE_ERROR_T 1
11014 cat >>confdefs.h <<\_ACEOF
11015 #define error_t int
11026 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
11028 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11029 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11030 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11031 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11032 echo $ECHO_N "(cached
) $ECHO_C" >&6
11034 cat >conftest.$ac_ext <<_ACEOF
11037 cat confdefs.h >>conftest.$ac_ext
11038 cat >>conftest.$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11042 #define $ac_func innocuous_$ac_func
11044 /* System header to define __stub macros and hopefully few prototypes,
11045 which can conflict with char $ac_func (); below.
11046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11047 <limits.h> exists even on freestanding compilers. */
11050 # include <limits.h>
11052 # include <assert.h>
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11064 /* The GNU C library defines this for functions which it implements
11065 to always fail with ENOSYS. Some functions are actually named
11066 something starting with __ and the normal name is an alias. */
11067 #if defined __stub_$ac_func || defined __stub___$ac_func
11074 return $ac_func ();
11079 rm -f conftest.$ac_objext conftest$ac_exeext
11080 if { (ac_try="$ac_link"
11081 case "(($ac_try" in
11082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11083 *) ac_try_echo=$ac_try;;
11085 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11086 (eval "$ac_link") 2>conftest.er1
11088 grep -v '^ *+' conftest.er1 >conftest.err
11090 cat conftest.err >&5
11091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11092 (exit $ac_status); } &&
11093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11094 { (case "(($ac_try" in
11095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11096 *) ac_try_echo=$ac_try;;
11098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11099 (eval "$ac_try") 2>&5
11101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11102 (exit $ac_status); }; } &&
11103 { ac_try='test -s conftest$ac_exeext'
11104 { (case "(($ac_try" in
11105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11106 *) ac_try_echo=$ac_try;;
11108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11109 (eval "$ac_try") 2>&5
11111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11112 (exit $ac_status); }; }; then
11113 eval "$as_ac_var=yes"
11115 echo "$as_me: failed program was
:" >&5
11116 sed 's/^/| /' conftest.$ac_ext >&5
11118 eval "$as_ac_var=no
"
11121 rm -f core conftest.err conftest.$ac_objext \
11122 conftest$ac_exeext conftest.$ac_ext
11124 ac_res=`eval echo '${'$as_ac_var'}'`
11125 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11126 echo "${ECHO_T}$ac_res" >&6; }
11127 if test `eval echo '${'$as_ac_var'}'` = yes; then
11128 cat >>confdefs.h <<_ACEOF
11129 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11162 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11165 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11166 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11167 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11168 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11169 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11170 echo $ECHO_N "(cached
) $ECHO_C" >&6
11172 ac_res=`eval echo '${'$as_ac_Header'}'`
11173 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11174 echo "${ECHO_T}$ac_res" >&6; }
11176 # Is the header compilable?
11177 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11178 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11179 cat >conftest.$ac_ext <<_ACEOF
11182 cat confdefs.h >>conftest.$ac_ext
11183 cat >>conftest.$ac_ext <<_ACEOF
11184 /* end confdefs.h. */
11185 $ac_includes_default
11186 #include <$ac_header>
11188 rm -f conftest.$ac_objext
11189 if { (ac_try="$ac_compile"
11190 case "(($ac_try" in
11191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11192 *) ac_try_echo=$ac_try;;
11194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11195 (eval "$ac_compile") 2>conftest.er1
11197 grep -v '^ *+' conftest.er1 >conftest.err
11199 cat conftest.err >&5
11200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11201 (exit $ac_status); } &&
11202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11203 { (case "(($ac_try" in
11204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11205 *) ac_try_echo=$ac_try;;
11207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11208 (eval "$ac_try") 2>&5
11210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11211 (exit $ac_status); }; } &&
11212 { ac_try='test -s conftest.$ac_objext'
11213 { (case "(($ac_try" in
11214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11215 *) ac_try_echo=$ac_try;;
11217 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11218 (eval "$ac_try") 2>&5
11220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11221 (exit $ac_status); }; }; then
11222 ac_header_compiler=yes
11224 echo "$as_me: failed program was
:" >&5
11225 sed 's/^/| /' conftest.$ac_ext >&5
11227 ac_header_compiler=no
11230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11231 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11232 echo "${ECHO_T}$ac_header_compiler" >&6; }
11234 # Is the header present?
11235 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11236 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11237 cat >conftest.$ac_ext <<_ACEOF
11240 cat confdefs.h >>conftest.$ac_ext
11241 cat >>conftest.$ac_ext <<_ACEOF
11242 /* end confdefs.h. */
11243 #include <$ac_header>
11245 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11246 case "(($ac_try" in
11247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11248 *) ac_try_echo=$ac_try;;
11250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11251 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11253 grep -v '^ *+' conftest.er1 >conftest.err
11255 cat conftest.err >&5
11256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11257 (exit $ac_status); } >/dev/null; then
11258 if test -s conftest.err; then
11259 ac_cpp_err=$ac_c_preproc_warn_flag
11260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11267 if test -z "$ac_cpp_err"; then
11268 ac_header_preproc=yes
11270 echo "$as_me: failed program was
:" >&5
11271 sed 's/^/| /' conftest.$ac_ext >&5
11273 ac_header_preproc=no
11276 rm -f conftest.err conftest.$ac_ext
11277 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11278 echo "${ECHO_T}$ac_header_preproc" >&6; }
11280 # So? What about this header?
11281 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11283 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11284 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11285 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11286 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11287 ac_header_preproc=yes
11290 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11291 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11292 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11293 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11294 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11295 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11296 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11297 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11298 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11300 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11301 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11303 ## ----------------------------------- ##
11304 ## Report this to llvmbugs@cs.uiuc.edu ##
11305 ## ----------------------------------- ##
11307 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11310 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11311 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11312 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11313 echo $ECHO_N "(cached
) $ECHO_C" >&6
11315 eval "$as_ac_Header=\
$ac_header_preproc"
11317 ac_res=`eval echo '${'$as_ac_Header'}'`
11318 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11319 echo "${ECHO_T}$ac_res" >&6; }
11322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11323 cat >>confdefs.h <<_ACEOF
11324 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11335 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11337 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11338 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11339 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11340 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11341 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11342 echo $ECHO_N "(cached
) $ECHO_C" >&6
11344 ac_res=`eval echo '${'$as_ac_Header'}'`
11345 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11346 echo "${ECHO_T}$ac_res" >&6; }
11348 # Is the header compilable?
11349 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11350 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11351 cat >conftest.$ac_ext <<_ACEOF
11354 cat confdefs.h >>conftest.$ac_ext
11355 cat >>conftest.$ac_ext <<_ACEOF
11356 /* end confdefs.h. */
11357 $ac_includes_default
11358 #include <$ac_header>
11360 rm -f conftest.$ac_objext
11361 if { (ac_try="$ac_compile"
11362 case "(($ac_try" in
11363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11364 *) ac_try_echo=$ac_try;;
11366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11367 (eval "$ac_compile") 2>conftest.er1
11369 grep -v '^ *+' conftest.er1 >conftest.err
11371 cat conftest.err >&5
11372 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11373 (exit $ac_status); } &&
11374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11375 { (case "(($ac_try" in
11376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11377 *) ac_try_echo=$ac_try;;
11379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11380 (eval "$ac_try") 2>&5
11382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11383 (exit $ac_status); }; } &&
11384 { ac_try='test -s conftest.$ac_objext'
11385 { (case "(($ac_try" in
11386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11387 *) ac_try_echo=$ac_try;;
11389 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11390 (eval "$ac_try") 2>&5
11392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11393 (exit $ac_status); }; }; then
11394 ac_header_compiler=yes
11396 echo "$as_me: failed program was
:" >&5
11397 sed 's/^/| /' conftest.$ac_ext >&5
11399 ac_header_compiler=no
11402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11403 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11404 echo "${ECHO_T}$ac_header_compiler" >&6; }
11406 # Is the header present?
11407 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11408 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11409 cat >conftest.$ac_ext <<_ACEOF
11412 cat confdefs.h >>conftest.$ac_ext
11413 cat >>conftest.$ac_ext <<_ACEOF
11414 /* end confdefs.h. */
11415 #include <$ac_header>
11417 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11418 case "(($ac_try" in
11419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11420 *) ac_try_echo=$ac_try;;
11422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11423 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11425 grep -v '^ *+' conftest.er1 >conftest.err
11427 cat conftest.err >&5
11428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11429 (exit $ac_status); } >/dev/null; then
11430 if test -s conftest.err; then
11431 ac_cpp_err=$ac_c_preproc_warn_flag
11432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11439 if test -z "$ac_cpp_err"; then
11440 ac_header_preproc=yes
11442 echo "$as_me: failed program was
:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11445 ac_header_preproc=no
11448 rm -f conftest.err conftest.$ac_ext
11449 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11450 echo "${ECHO_T}$ac_header_preproc" >&6; }
11452 # So? What about this header?
11453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11455 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11456 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11457 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11459 ac_header_preproc=yes
11462 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11463 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11464 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11465 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11466 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11467 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11468 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11469 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11470 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11472 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11473 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11475 ## ----------------------------------- ##
11476 ## Report this to llvmbugs@cs.uiuc.edu ##
11477 ## ----------------------------------- ##
11479 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11482 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11483 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11484 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11485 echo $ECHO_N "(cached
) $ECHO_C" >&6
11487 eval "$as_ac_Header=\
$ac_header_preproc"
11489 ac_res=`eval echo '${'$as_ac_Header'}'`
11490 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11491 echo "${ECHO_T}$ac_res" >&6; }
11494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11495 cat >>confdefs.h <<_ACEOF
11496 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11505 for ac_header in string.h strings.h
11507 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11508 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11509 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11510 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11511 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11512 echo $ECHO_N "(cached
) $ECHO_C" >&6
11514 ac_res=`eval echo '${'$as_ac_Header'}'`
11515 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11516 echo "${ECHO_T}$ac_res" >&6; }
11518 # Is the header compilable?
11519 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11520 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11521 cat >conftest.$ac_ext <<_ACEOF
11524 cat confdefs.h >>conftest.$ac_ext
11525 cat >>conftest.$ac_ext <<_ACEOF
11526 /* end confdefs.h. */
11527 $ac_includes_default
11528 #include <$ac_header>
11530 rm -f conftest.$ac_objext
11531 if { (ac_try="$ac_compile"
11532 case "(($ac_try" in
11533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11534 *) ac_try_echo=$ac_try;;
11536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11537 (eval "$ac_compile") 2>conftest.er1
11539 grep -v '^ *+' conftest.er1 >conftest.err
11541 cat conftest.err >&5
11542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11543 (exit $ac_status); } &&
11544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11545 { (case "(($ac_try" in
11546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11547 *) ac_try_echo=$ac_try;;
11549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11550 (eval "$ac_try") 2>&5
11552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11553 (exit $ac_status); }; } &&
11554 { ac_try='test -s conftest.$ac_objext'
11555 { (case "(($ac_try" in
11556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11557 *) ac_try_echo=$ac_try;;
11559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11560 (eval "$ac_try") 2>&5
11562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11563 (exit $ac_status); }; }; then
11564 ac_header_compiler=yes
11566 echo "$as_me: failed program was
:" >&5
11567 sed 's/^/| /' conftest.$ac_ext >&5
11569 ac_header_compiler=no
11572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11573 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11574 echo "${ECHO_T}$ac_header_compiler" >&6; }
11576 # Is the header present?
11577 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11578 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11579 cat >conftest.$ac_ext <<_ACEOF
11582 cat confdefs.h >>conftest.$ac_ext
11583 cat >>conftest.$ac_ext <<_ACEOF
11584 /* end confdefs.h. */
11585 #include <$ac_header>
11587 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11588 case "(($ac_try" in
11589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11590 *) ac_try_echo=$ac_try;;
11592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11593 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11595 grep -v '^ *+' conftest.er1 >conftest.err
11597 cat conftest.err >&5
11598 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11599 (exit $ac_status); } >/dev/null; then
11600 if test -s conftest.err; then
11601 ac_cpp_err=$ac_c_preproc_warn_flag
11602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11609 if test -z "$ac_cpp_err"; then
11610 ac_header_preproc=yes
11612 echo "$as_me: failed program was
:" >&5
11613 sed 's/^/| /' conftest.$ac_ext >&5
11615 ac_header_preproc=no
11618 rm -f conftest.err conftest.$ac_ext
11619 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11620 echo "${ECHO_T}$ac_header_preproc" >&6; }
11622 # So? What about this header?
11623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11625 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11626 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11627 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11629 ac_header_preproc=yes
11632 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11633 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11634 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11635 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11636 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11637 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11638 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11639 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11640 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11642 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11643 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11645 ## ----------------------------------- ##
11646 ## Report this to llvmbugs@cs.uiuc.edu ##
11647 ## ----------------------------------- ##
11649 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11652 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11653 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11654 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11655 echo $ECHO_N "(cached
) $ECHO_C" >&6
11657 eval "$as_ac_Header=\
$ac_header_preproc"
11659 ac_res=`eval echo '${'$as_ac_Header'}'`
11660 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11661 echo "${ECHO_T}$ac_res" >&6; }
11664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11665 cat >>confdefs.h <<_ACEOF
11666 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11676 for ac_func in strchr index
11678 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11679 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11680 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11681 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11682 echo $ECHO_N "(cached
) $ECHO_C" >&6
11684 cat >conftest.$ac_ext <<_ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11692 #define $ac_func innocuous_$ac_func
11694 /* System header to define __stub macros and hopefully few prototypes,
11695 which can conflict with char $ac_func (); below.
11696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11697 <limits.h> exists even on freestanding compilers. */
11700 # include <limits.h>
11702 # include <assert.h>
11707 /* Override any GCC internal prototype to avoid an error.
11708 Use char because int might match the return type of a GCC
11709 builtin and then its argument prototype would still apply. */
11714 /* The GNU C library defines this for functions which it implements
11715 to always fail with ENOSYS. Some functions are actually named
11716 something starting with __ and the normal name is an alias. */
11717 #if defined __stub_$ac_func || defined __stub___$ac_func
11724 return $ac_func ();
11729 rm -f conftest.$ac_objext conftest$ac_exeext
11730 if { (ac_try="$ac_link"
11731 case "(($ac_try" in
11732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11733 *) ac_try_echo=$ac_try;;
11735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11736 (eval "$ac_link") 2>conftest.er1
11738 grep -v '^ *+' conftest.er1 >conftest.err
11740 cat conftest.err >&5
11741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11742 (exit $ac_status); } &&
11743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11744 { (case "(($ac_try" in
11745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11746 *) ac_try_echo=$ac_try;;
11748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11749 (eval "$ac_try") 2>&5
11751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11752 (exit $ac_status); }; } &&
11753 { ac_try='test -s conftest$ac_exeext'
11754 { (case "(($ac_try" in
11755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11756 *) ac_try_echo=$ac_try;;
11758 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11759 (eval "$ac_try") 2>&5
11761 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11762 (exit $ac_status); }; }; then
11763 eval "$as_ac_var=yes"
11765 echo "$as_me: failed program was
:" >&5
11766 sed 's/^/| /' conftest.$ac_ext >&5
11768 eval "$as_ac_var=no
"
11771 rm -f core conftest.err conftest.$ac_objext \
11772 conftest$ac_exeext conftest.$ac_ext
11774 ac_res=`eval echo '${'$as_ac_var'}'`
11775 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11776 echo "${ECHO_T}$ac_res" >&6; }
11777 if test `eval echo '${'$as_ac_var'}'` = yes; then
11778 cat >>confdefs.h <<_ACEOF
11779 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11787 for ac_func in strrchr rindex
11789 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11790 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11791 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11792 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11793 echo $ECHO_N "(cached
) $ECHO_C" >&6
11795 cat >conftest.$ac_ext <<_ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11803 #define $ac_func innocuous_$ac_func
11805 /* System header to define __stub macros and hopefully few prototypes,
11806 which can conflict with char $ac_func (); below.
11807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11808 <limits.h> exists even on freestanding compilers. */
11811 # include <limits.h>
11813 # include <assert.h>
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11825 /* The GNU C library defines this for functions which it implements
11826 to always fail with ENOSYS. Some functions are actually named
11827 something starting with __ and the normal name is an alias. */
11828 #if defined __stub_$ac_func || defined __stub___$ac_func
11835 return $ac_func ();
11840 rm -f conftest.$ac_objext conftest$ac_exeext
11841 if { (ac_try="$ac_link"
11842 case "(($ac_try" in
11843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11844 *) ac_try_echo=$ac_try;;
11846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11847 (eval "$ac_link") 2>conftest.er1
11849 grep -v '^ *+' conftest.er1 >conftest.err
11851 cat conftest.err >&5
11852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11853 (exit $ac_status); } &&
11854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11855 { (case "(($ac_try" in
11856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11857 *) ac_try_echo=$ac_try;;
11859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11860 (eval "$ac_try") 2>&5
11862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11863 (exit $ac_status); }; } &&
11864 { ac_try='test -s conftest$ac_exeext'
11865 { (case "(($ac_try" in
11866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11867 *) ac_try_echo=$ac_try;;
11869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11870 (eval "$ac_try") 2>&5
11872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11873 (exit $ac_status); }; }; then
11874 eval "$as_ac_var=yes"
11876 echo "$as_me: failed program was
:" >&5
11877 sed 's/^/| /' conftest.$ac_ext >&5
11879 eval "$as_ac_var=no
"
11882 rm -f core conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11885 ac_res=`eval echo '${'$as_ac_var'}'`
11886 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11887 echo "${ECHO_T}$ac_res" >&6; }
11888 if test `eval echo '${'$as_ac_var'}'` = yes; then
11889 cat >>confdefs.h <<_ACEOF
11890 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11898 for ac_func in memcpy bcopy
11900 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11901 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11902 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11903 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11904 echo $ECHO_N "(cached
) $ECHO_C" >&6
11906 cat >conftest.$ac_ext <<_ACEOF
11909 cat confdefs.h >>conftest.$ac_ext
11910 cat >>conftest.$ac_ext <<_ACEOF
11911 /* end confdefs.h. */
11912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11914 #define $ac_func innocuous_$ac_func
11916 /* System header to define __stub macros and hopefully few prototypes,
11917 which can conflict with char $ac_func (); below.
11918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11919 <limits.h> exists even on freestanding compilers. */
11922 # include <limits.h>
11924 # include <assert.h>
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11936 /* The GNU C library defines this for functions which it implements
11937 to always fail with ENOSYS. Some functions are actually named
11938 something starting with __ and the normal name is an alias. */
11939 #if defined __stub_$ac_func || defined __stub___$ac_func
11946 return $ac_func ();
11951 rm -f conftest.$ac_objext conftest$ac_exeext
11952 if { (ac_try="$ac_link"
11953 case "(($ac_try" in
11954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11955 *) ac_try_echo=$ac_try;;
11957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11958 (eval "$ac_link") 2>conftest.er1
11960 grep -v '^ *+' conftest.er1 >conftest.err
11962 cat conftest.err >&5
11963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11964 (exit $ac_status); } &&
11965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11966 { (case "(($ac_try" in
11967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11968 *) ac_try_echo=$ac_try;;
11970 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11971 (eval "$ac_try") 2>&5
11973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11974 (exit $ac_status); }; } &&
11975 { ac_try='test -s conftest$ac_exeext'
11976 { (case "(($ac_try" in
11977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11978 *) ac_try_echo=$ac_try;;
11980 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_try") 2>&5
11983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 eval "$as_ac_var=yes"
11987 echo "$as_me: failed program was
:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11990 eval "$as_ac_var=no
"
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11996 ac_res=`eval echo '${'$as_ac_var'}'`
11997 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11998 echo "${ECHO_T}$ac_res" >&6; }
11999 if test `eval echo '${'$as_ac_var'}'` = yes; then
12000 cat >>confdefs.h <<_ACEOF
12001 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12009 for ac_func in memmove strcmp
12011 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12012 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12013 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12014 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12015 echo $ECHO_N "(cached
) $ECHO_C" >&6
12017 cat >conftest.$ac_ext <<_ACEOF
12020 cat confdefs.h >>conftest.$ac_ext
12021 cat >>conftest.$ac_ext <<_ACEOF
12022 /* end confdefs.h. */
12023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12025 #define $ac_func innocuous_$ac_func
12027 /* System header to define __stub macros and hopefully few prototypes,
12028 which can conflict with char $ac_func (); below.
12029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12030 <limits.h> exists even on freestanding compilers. */
12033 # include <limits.h>
12035 # include <assert.h>
12040 /* Override any GCC internal prototype to avoid an error.
12041 Use char because int might match the return type of a GCC
12042 builtin and then its argument prototype would still apply. */
12047 /* The GNU C library defines this for functions which it implements
12048 to always fail with ENOSYS. Some functions are actually named
12049 something starting with __ and the normal name is an alias. */
12050 #if defined __stub_$ac_func || defined __stub___$ac_func
12057 return $ac_func ();
12062 rm -f conftest.$ac_objext conftest$ac_exeext
12063 if { (ac_try="$ac_link"
12064 case "(($ac_try" in
12065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12066 *) ac_try_echo=$ac_try;;
12068 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12069 (eval "$ac_link") 2>conftest.er1
12071 grep -v '^ *+' conftest.er1 >conftest.err
12073 cat conftest.err >&5
12074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12075 (exit $ac_status); } &&
12076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12077 { (case "(($ac_try" in
12078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12079 *) ac_try_echo=$ac_try;;
12081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12082 (eval "$ac_try") 2>&5
12084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12085 (exit $ac_status); }; } &&
12086 { ac_try='test -s conftest$ac_exeext'
12087 { (case "(($ac_try" in
12088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12089 *) ac_try_echo=$ac_try;;
12091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12092 (eval "$ac_try") 2>&5
12094 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12095 (exit $ac_status); }; }; then
12096 eval "$as_ac_var=yes"
12098 echo "$as_me: failed program was
:" >&5
12099 sed 's/^/| /' conftest.$ac_ext >&5
12101 eval "$as_ac_var=no
"
12104 rm -f core conftest.err conftest.$ac_objext \
12105 conftest$ac_exeext conftest.$ac_ext
12107 ac_res=`eval echo '${'$as_ac_var'}'`
12108 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12109 echo "${ECHO_T}$ac_res" >&6; }
12110 if test `eval echo '${'$as_ac_var'}'` = yes; then
12111 cat >>confdefs.h <<_ACEOF
12112 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12121 for ac_func in closedir opendir readdir
12123 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12124 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12125 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12126 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12127 echo $ECHO_N "(cached
) $ECHO_C" >&6
12129 cat >conftest.$ac_ext <<_ACEOF
12132 cat confdefs.h >>conftest.$ac_ext
12133 cat >>conftest.$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12137 #define $ac_func innocuous_$ac_func
12139 /* System header to define __stub macros and hopefully few prototypes,
12140 which can conflict with char $ac_func (); below.
12141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12142 <limits.h> exists even on freestanding compilers. */
12145 # include <limits.h>
12147 # include <assert.h>
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12159 /* The GNU C library defines this for functions which it implements
12160 to always fail with ENOSYS. Some functions are actually named
12161 something starting with __ and the normal name is an alias. */
12162 #if defined __stub_$ac_func || defined __stub___$ac_func
12169 return $ac_func ();
12174 rm -f conftest.$ac_objext conftest$ac_exeext
12175 if { (ac_try="$ac_link"
12176 case "(($ac_try" in
12177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_link") 2>conftest.er1
12183 grep -v '^ *+' conftest.er1 >conftest.err
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12187 (exit $ac_status); } &&
12188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12189 { (case "(($ac_try" in
12190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12191 *) ac_try_echo=$ac_try;;
12193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12194 (eval "$ac_try") 2>&5
12196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12197 (exit $ac_status); }; } &&
12198 { ac_try='test -s conftest$ac_exeext'
12199 { (case "(($ac_try" in
12200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12201 *) ac_try_echo=$ac_try;;
12203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12204 (eval "$ac_try") 2>&5
12206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 eval "$as_ac_var=yes"
12210 echo "$as_me: failed program was
:" >&5
12211 sed 's/^/| /' conftest.$ac_ext >&5
12213 eval "$as_ac_var=no
"
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12219 ac_res=`eval echo '${'$as_ac_var'}'`
12220 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12221 echo "${ECHO_T}$ac_res" >&6; }
12222 if test `eval echo '${'$as_ac_var'}'` = yes; then
12223 cat >>confdefs.h <<_ACEOF
12224 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12231 # Check whether --enable-shared was given.
12232 if test "${enable_shared+set}" = set; then
12233 enableval=$enable_shared; p=${PACKAGE-default}
12235 yes) enable_shared=yes ;;
12236 no) enable_shared=no ;;
12239 # Look at the argument we got. We use all the common list separators.
12240 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12241 for pkg in $enableval; do
12243 if test "X
$pkg" = "X
$p"; then
12255 # Check whether --enable-static was given.
12256 if test "${enable_static+set}" = set; then
12257 enableval=$enable_static; p=${PACKAGE-default}
12259 yes) enable_static=yes ;;
12260 no) enable_static=no ;;
12263 # Look at the argument we got. We use all the common list separators.
12264 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12265 for pkg in $enableval; do
12267 if test "X
$pkg" = "X
$p"; then
12279 # Check whether --enable-fast-install was given.
12280 if test "${enable_fast_install+set}" = set; then
12281 enableval=$enable_fast_install; p=${PACKAGE-default}
12283 yes) enable_fast_install=yes ;;
12284 no) enable_fast_install=no ;;
12286 enable_fast_install=no
12287 # Look at the argument we got. We use all the common list separators.
12288 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12289 for pkg in $enableval; do
12291 if test "X
$pkg" = "X
$p"; then
12292 enable_fast_install=yes
12299 enable_fast_install=yes
12303 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12304 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12305 if test "${lt_cv_path_SED+set}" = set; then
12306 echo $ECHO_N "(cached
) $ECHO_C" >&6
12308 # Loop through the user's path and test for sed and gsed.
12309 # Then use that list of sed's as ones to test for truncation.
12310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12311 for as_dir in $PATH
12314 test -z "$as_dir" && as_dir=.
12315 for lt_ac_prog in sed gsed; do
12316 for ac_exec_ext in '' $ac_executable_extensions; do
12317 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12318 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12325 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12326 # along with /bin/sed that truncates output.
12327 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12328 test ! -f $lt_ac_sed && continue
12329 cat /dev/null > conftest.in
12331 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12332 # Check for GNU sed and select it if it is found.
12333 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12334 lt_cv_path_SED=$lt_ac_sed
12338 cat conftest.in conftest.in >conftest.tmp
12339 mv conftest.tmp conftest.in
12340 cp conftest.in conftest.nl
12342 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12343 cmp -s conftest.out conftest.nl || break
12344 # 10000 chars as input seems more than enough
12345 test $lt_ac_count -gt 10 && break
12346 lt_ac_count=`expr $lt_ac_count + 1`
12347 if test $lt_ac_count -gt $lt_ac_max; then
12348 lt_ac_max=$lt_ac_count
12349 lt_cv_path_SED=$lt_ac_sed
12356 SED=$lt_cv_path_SED
12357 { echo "$as_me:$LINENO: result
: $SED" >&5
12358 echo "${ECHO_T}$SED" >&6; }
12361 # Check whether --with-gnu-ld was given.
12362 if test "${with_gnu_ld+set}" = set; then
12363 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12369 if test "$GCC" = yes; then
12370 # Check if gcc -print-prog-name=ld gives a path.
12371 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12372 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12375 # gcc leaves a trailing carriage return which upsets mingw
12376 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12378 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12381 # Accept absolute paths.
12383 re_direlt='/[^/][^/]*/\.\./'
12384 # Canonicalize the pathname of ld
12385 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12386 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12387 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12389 test -z "$LD" && LD="$ac_prog"
12392 # If it fails, then pretend we aren't using GCC.
12396 # If it is relative, then search for the first ld in PATH.
12397 with_gnu_ld=unknown
12400 elif test "$with_gnu_ld" = yes; then
12401 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12402 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12404 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12405 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12407 if test "${lt_cv_path_LD+set}" = set; then
12408 echo $ECHO_N "(cached
) $ECHO_C" >&6
12410 if test -z "$LD"; then
12411 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12412 for ac_dir in $PATH; do
12414 test -z "$ac_dir" && ac_dir=.
12415 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12416 lt_cv_path_LD="$ac_dir/$ac_prog"
12417 # Check to see if the program is GNU ld. I'd rather use --version,
12418 # but apparently some variants of GNU ld only accept -v.
12419 # Break only if it was the GNU/non-GNU ld that we prefer.
12420 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12421 *GNU* | *'with BFD'*)
12422 test "$with_gnu_ld" != no && break
12425 test "$with_gnu_ld" != yes && break
12432 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12436 LD="$lt_cv_path_LD"
12437 if test -n "$LD"; then
12438 { echo "$as_me:$LINENO: result
: $LD" >&5
12439 echo "${ECHO_T}$LD" >&6; }
12441 { echo "$as_me:$LINENO: result
: no
" >&5
12442 echo "${ECHO_T}no
" >&6; }
12444 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12445 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12446 { (exit 1); exit 1; }; }
12447 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12448 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12449 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12450 echo $ECHO_N "(cached
) $ECHO_C" >&6
12452 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12453 case `$LD -v 2>&1 </dev/null` in
12454 *GNU* | *'with BFD'*)
12455 lt_cv_prog_gnu_ld=yes
12458 lt_cv_prog_gnu_ld=no
12462 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12463 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12464 with_gnu_ld=$lt_cv_prog_gnu_ld
12467 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12468 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12469 if test "${lt_cv_ld_reload_flag+set}" = set; then
12470 echo $ECHO_N "(cached
) $ECHO_C" >&6
12472 lt_cv_ld_reload_flag='-r'
12474 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12475 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12476 reload_flag=$lt_cv_ld_reload_flag
12477 case $reload_flag in
12479 *) reload_flag=" $reload_flag" ;;
12481 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12484 if test "$GCC" = yes; then
12485 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12487 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12492 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12493 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12494 if test "${lt_cv_deplibs_check_method+set}" = set; then
12495 echo $ECHO_N "(cached
) $ECHO_C" >&6
12497 lt_cv_file_magic_cmd='$MAGIC_CMD'
12498 lt_cv_file_magic_test_file=
12499 lt_cv_deplibs_check_method='unknown'
12500 # Need to set the preceding variable on all platforms that support
12501 # interlibrary dependencies.
12502 # 'none' -- dependencies not supported.
12503 # `unknown' -- same as none, but documents that we really don't know.
12504 # 'pass_all' -- all dependencies passed with no checks.
12505 # 'test_compile' -- check by making test program.
12506 # 'file_magic [[regex]]' -- check by looking for files in library path
12507 # which responds to the $file_magic_cmd with a given extended regex.
12508 # If you have `file' or equivalent on your system and you're not sure
12509 # whether `pass_all' will *always* work, you probably want this one.
12513 lt_cv_deplibs_check_method=pass_all
12517 lt_cv_deplibs_check_method=pass_all
12521 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12522 lt_cv_file_magic_cmd='/usr/bin/file -L'
12523 lt_cv_file_magic_test_file=/shlib/libc.so
12527 # func_win32_libid is a shell function defined in ltmain.sh
12528 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12529 lt_cv_file_magic_cmd='func_win32_libid'
12533 # Base MSYS/MinGW do not provide the 'file' command needed by
12534 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12535 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12536 lt_cv_file_magic_cmd='$OBJDUMP -f'
12539 darwin* | rhapsody*)
12540 lt_cv_deplibs_check_method=pass_all
12543 freebsd* | kfreebsd*-gnu | dragonfly*)
12544 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12547 # Not sure whether the presence of OpenBSD here was a mistake.
12548 # Let's accept both of them until this is cleared up.
12549 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12550 lt_cv_file_magic_cmd=/usr/bin/file
12551 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12555 lt_cv_deplibs_check_method=pass_all
12560 lt_cv_deplibs_check_method=pass_all
12563 hpux10.20* | hpux11*)
12564 lt_cv_file_magic_cmd=/usr/bin/file
12567 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12568 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12571 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]'
12572 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12575 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12576 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12582 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12583 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12586 irix5* | irix6* | nonstopux*)
12588 *-32|*"-32 ") libmagic=32-bit;;
12589 *-n32|*"-n32 ") libmagic=N32;;
12590 *-64|*"-64 ") libmagic=64-bit;;
12591 *) libmagic=never-match;;
12593 lt_cv_deplibs_check_method=pass_all
12596 # This must be Linux ELF.
12598 lt_cv_deplibs_check_method=pass_all
12602 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12603 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12605 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12610 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12611 lt_cv_file_magic_cmd=/usr/bin/file
12612 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12616 lt_cv_deplibs_check_method=unknown
12620 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12621 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12623 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12627 osf3* | osf4* | osf5*)
12628 lt_cv_deplibs_check_method=pass_all
12632 lt_cv_deplibs_check_method=pass_all
12636 case $host_vendor in
12638 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]'
12639 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12642 lt_cv_deplibs_check_method=pass_all
12645 lt_cv_file_magic_cmd='/bin/file'
12646 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12649 lt_cv_file_magic_cmd='/bin/file'
12650 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12651 lt_cv_file_magic_test_file=/lib/libc.so
12654 lt_cv_deplibs_check_method=pass_all
12657 lt_cv_deplibs_check_method=pass_all
12662 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12663 lt_cv_deplibs_check_method=pass_all
12668 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12669 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12670 file_magic_cmd=$lt_cv_file_magic_cmd
12671 deplibs_check_method=$lt_cv_deplibs_check_method
12672 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12676 # If no C compiler was specified, use CC.
12679 # If no C compiler flags were specified, use CFLAGS.
12680 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12682 # Allow CC to be a program name with arguments.
12685 # Check whether --enable-libtool-lock was given.
12686 if test "${enable_libtool_lock+set}" = set; then
12687 enableval=$enable_libtool_lock;
12690 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12692 # Some flags need to be propagated to the compiler or linker for good
12696 # Find out which ABI we are using.
12697 echo 'int i;' > conftest.$ac_ext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12699 (eval $ac_compile) 2>&5
12701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12702 (exit $ac_status); }; then
12703 case `/usr/bin/file conftest.$ac_objext` in
12705 HPUX_IA64_MODE="32"
12708 HPUX_IA64_MODE="64"
12715 # Find out which ABI we are using.
12716 echo '#line 12707 "configure
"' > conftest.$ac_ext
12717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12718 (eval $ac_compile) 2>&5
12720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12721 (exit $ac_status); }; then
12722 if test "$lt_cv_prog_gnu_ld" = yes; then
12723 case `/usr/bin/file conftest.$ac_objext` in
12725 LD="${LD-ld} -melf32bsmip"
12728 LD="${LD-ld} -melf32bmipn32"
12731 LD="${LD-ld} -melf64bmip"
12735 case `/usr/bin/file conftest.$ac_objext` in
12751 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12752 # Find out which ABI we are using.
12753 echo 'int i;' > conftest.$ac_ext
12754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12755 (eval $ac_compile) 2>&5
12757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12758 (exit $ac_status); }; then
12759 case `/usr/bin/file conftest.o` in
12763 LD="${LD-ld} -m elf_i386
"
12765 ppc64-*linux*|powerpc64-*linux*)
12766 LD="${LD-ld} -m elf32ppclinux
"
12769 LD="${LD-ld} -m elf_s390
"
12772 LD="${LD-ld} -m elf32_sparc
"
12779 LD="${LD-ld} -m elf_x86_64
"
12781 ppc*-*linux*|powerpc*-*linux*)
12782 LD="${LD-ld} -m elf64ppc
"
12785 LD="${LD-ld} -m elf64_s390
"
12788 LD="${LD-ld} -m elf64_sparc
"
12798 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12799 SAVE_CFLAGS="$CFLAGS"
12800 CFLAGS="$CFLAGS -belf"
12801 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12802 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12803 if test "${lt_cv_cc_needs_belf+set}" = set; then
12804 echo $ECHO_N "(cached
) $ECHO_C" >&6
12807 ac_cpp='$CPP $CPPFLAGS'
12808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12812 cat >conftest.$ac_ext <<_ACEOF
12815 cat confdefs.h >>conftest.$ac_ext
12816 cat >>conftest.$ac_ext <<_ACEOF
12817 /* end confdefs.h. */
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (ac_try="$ac_link"
12829 case "(($ac_try" in
12830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12831 *) ac_try_echo=$ac_try;;
12833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12834 (eval "$ac_link") 2>conftest.er1
12836 grep -v '^ *+' conftest.er1 >conftest.err
12838 cat conftest.err >&5
12839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12842 { (case "(($ac_try" in
12843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12844 *) ac_try_echo=$ac_try;;
12846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12847 (eval "$ac_try") 2>&5
12849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12850 (exit $ac_status); }; } &&
12851 { ac_try='test -s conftest$ac_exeext'
12852 { (case "(($ac_try" in
12853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12854 *) ac_try_echo=$ac_try;;
12856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12857 (eval "$ac_try") 2>&5
12859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12860 (exit $ac_status); }; }; then
12861 lt_cv_cc_needs_belf=yes
12863 echo "$as_me: failed program was
:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12866 lt_cv_cc_needs_belf=no
12869 rm -f core conftest.err conftest.$ac_objext \
12870 conftest$ac_exeext conftest.$ac_ext
12872 ac_cpp='$CPP $CPPFLAGS'
12873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12878 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12879 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12880 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12881 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12882 CFLAGS="$SAVE_CFLAGS"
12886 # Find out which ABI we are using.
12887 echo 'int i;' > conftest.$ac_ext
12888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12889 (eval $ac_compile) 2>&5
12891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12892 (exit $ac_status); }; then
12893 case `/usr/bin/file conftest.o` in
12895 case $lt_cv_prog_gnu_ld in
12896 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12897 *) LD="${LD-ld} -64" ;;
12908 need_locks="$enable_libtool_lock"
12913 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12914 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12915 (test "X
$CXX" != "Xg
++"))) ; then
12917 ac_cpp='$CXXCPP $CPPFLAGS'
12918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12921 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12922 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12923 if test -z "$CXXCPP"; then
12924 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12925 echo $ECHO_N "(cached
) $ECHO_C" >&6
12927 # Double quotes because CXXCPP needs to be expanded
12928 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12930 ac_preproc_ok=false
12931 for ac_cxx_preproc_warn_flag in '' yes
12933 # Use a header file that comes with gcc, so configuring glibc
12934 # with a fresh cross-compiler works.
12935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12936 # <limits.h> exists even on freestanding compilers.
12937 # On the NeXT, cc -E runs the code through the compiler's parser,
12938 # not just through cpp. "Syntax error
" is here to catch this case.
12939 cat >conftest.$ac_ext <<_ACEOF
12942 cat confdefs.h >>conftest.$ac_ext
12943 cat >>conftest.$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12946 # include <limits.h>
12948 # include <assert.h>
12952 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12953 case "(($ac_try" in
12954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12955 *) ac_try_echo=$ac_try;;
12957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12958 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12960 grep -v '^ *+' conftest.er1 >conftest.err
12962 cat conftest.err >&5
12963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12964 (exit $ac_status); } >/dev/null; then
12965 if test -s conftest.err; then
12966 ac_cpp_err=$ac_cxx_preproc_warn_flag
12967 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12974 if test -z "$ac_cpp_err"; then
12977 echo "$as_me: failed program was
:" >&5
12978 sed 's/^/| /' conftest.$ac_ext >&5
12980 # Broken: fails on valid input.
12984 rm -f conftest.err conftest.$ac_ext
12986 # OK, works on sane cases. Now check whether nonexistent headers
12987 # can be detected and how.
12988 cat >conftest.$ac_ext <<_ACEOF
12991 cat confdefs.h >>conftest.$ac_ext
12992 cat >>conftest.$ac_ext <<_ACEOF
12993 /* end confdefs.h. */
12994 #include <ac_nonexistent.h>
12996 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12997 case "(($ac_try" in
12998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12999 *) ac_try_echo=$ac_try;;
13001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13002 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13004 grep -v '^ *+' conftest.er1 >conftest.err
13006 cat conftest.err >&5
13007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13008 (exit $ac_status); } >/dev/null; then
13009 if test -s conftest.err; then
13010 ac_cpp_err=$ac_cxx_preproc_warn_flag
13011 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13018 if test -z "$ac_cpp_err"; then
13019 # Broken: success on invalid input.
13022 echo "$as_me: failed program was
:" >&5
13023 sed 's/^/| /' conftest.$ac_ext >&5
13025 # Passes both tests.
13030 rm -f conftest.err conftest.$ac_ext
13033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13034 rm -f conftest.err conftest.$ac_ext
13035 if $ac_preproc_ok; then
13040 ac_cv_prog_CXXCPP=$CXXCPP
13043 CXXCPP=$ac_cv_prog_CXXCPP
13045 ac_cv_prog_CXXCPP=$CXXCPP
13047 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
13048 echo "${ECHO_T}$CXXCPP" >&6; }
13049 ac_preproc_ok=false
13050 for ac_cxx_preproc_warn_flag in '' yes
13052 # Use a header file that comes with gcc, so configuring glibc
13053 # with a fresh cross-compiler works.
13054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13055 # <limits.h> exists even on freestanding compilers.
13056 # On the NeXT, cc -E runs the code through the compiler's parser,
13057 # not just through cpp. "Syntax error
" is here to catch this case.
13058 cat >conftest.$ac_ext <<_ACEOF
13061 cat confdefs.h >>conftest.$ac_ext
13062 cat >>conftest.$ac_ext <<_ACEOF
13063 /* end confdefs.h. */
13065 # include <limits.h>
13067 # include <assert.h>
13071 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13072 case "(($ac_try" in
13073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13074 *) ac_try_echo=$ac_try;;
13076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13077 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13079 grep -v '^ *+' conftest.er1 >conftest.err
13081 cat conftest.err >&5
13082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13083 (exit $ac_status); } >/dev/null; then
13084 if test -s conftest.err; then
13085 ac_cpp_err=$ac_cxx_preproc_warn_flag
13086 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13093 if test -z "$ac_cpp_err"; then
13096 echo "$as_me: failed program was
:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13099 # Broken: fails on valid input.
13103 rm -f conftest.err conftest.$ac_ext
13105 # OK, works on sane cases. Now check whether nonexistent headers
13106 # can be detected and how.
13107 cat >conftest.$ac_ext <<_ACEOF
13110 cat confdefs.h >>conftest.$ac_ext
13111 cat >>conftest.$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13113 #include <ac_nonexistent.h>
13115 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13116 case "(($ac_try" in
13117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13118 *) ac_try_echo=$ac_try;;
13120 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13121 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13123 grep -v '^ *+' conftest.er1 >conftest.err
13125 cat conftest.err >&5
13126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13127 (exit $ac_status); } >/dev/null; then
13128 if test -s conftest.err; then
13129 ac_cpp_err=$ac_cxx_preproc_warn_flag
13130 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13137 if test -z "$ac_cpp_err"; then
13138 # Broken: success on invalid input.
13141 echo "$as_me: failed program was
:" >&5
13142 sed 's/^/| /' conftest.$ac_ext >&5
13144 # Passes both tests.
13149 rm -f conftest.err conftest.$ac_ext
13152 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13153 rm -f conftest.err conftest.$ac_ext
13154 if $ac_preproc_ok; then
13157 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
13158 See \
`config.log' for more details." >&5
13159 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13160 See \`config.log
' for more details." >&2;}
13161 { (exit 1); exit 1; }; }
13165 ac_cpp='$CXXCPP $CPPFLAGS'
13166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13167 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13174 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13175 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13176 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13177 if test -n "$ac_tool_prefix"; then
13178 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
13180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13184 if test "${ac_cv_prog_F77+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 if test -n "$F77"; then
13188 ac_cv_prog_F77="$F77" # Let the user override the test.
13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13191 for as_dir in $PATH
13194 test -z "$as_dir" && as_dir=.
13195 for ac_exec_ext in '' $ac_executable_extensions; do
13196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13197 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 F77=$ac_cv_prog_F77
13208 if test -n "$F77"; then
13209 { echo "$as_me:$LINENO: result: $F77" >&5
13210 echo "${ECHO_T}$F77" >&6; }
13212 { echo "$as_me:$LINENO: result: no" >&5
13213 echo "${ECHO_T}no" >&6; }
13217 test -n "$F77" && break
13220 if test -z "$F77"; then
13222 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
13224 # Extract the first word of "$ac_prog", so it can be a program name with args.
13225 set dummy $ac_prog; ac_word=$2
13226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13228 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13229 echo $ECHO_N "(cached) $ECHO_C" >&6
13231 if test -n "$ac_ct_F77"; then
13232 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13235 for as_dir in $PATH
13238 test -z "$as_dir" && as_dir=.
13239 for ac_exec_ext in '' $ac_executable_extensions; do
13240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13241 ac_cv_prog_ac_ct_F77="$ac_prog"
13242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13251 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13252 if test -n "$ac_ct_F77"; then
13253 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13254 echo "${ECHO_T}$ac_ct_F77" >&6; }
13256 { echo "$as_me:$LINENO: result: no" >&5
13257 echo "${ECHO_T}no" >&6; }
13261 test -n "$ac_ct_F77" && break
13264 if test "x$ac_ct_F77" = x; then
13267 case $cross_compiling:$ac_tool_warned in
13269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13270 whose name does not start with the host triplet. If you think this
13271 configuration is useful to you, please write to autoconf@gnu.org." >&5
13272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13273 whose name does not start with the host triplet. If you think this
13274 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13275 ac_tool_warned=yes ;;
13282 # Provide some information about the compiler.
13283 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13284 ac_compiler=`set X $ac_compile; echo $2`
13285 { (ac_try="$ac_compiler --version >&5"
13286 case "(($ac_try" in
13287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13288 *) ac_try_echo=$ac_try;;
13290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13291 (eval "$ac_compiler --version >&5") 2>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); }
13295 { (ac_try="$ac_compiler -v >&5"
13296 case "(($ac_try" in
13297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13298 *) ac_try_echo=$ac_try;;
13300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13301 (eval "$ac_compiler -v >&5") 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }
13305 { (ac_try="$ac_compiler -V >&5"
13306 case "(($ac_try" in
13307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13308 *) ac_try_echo=$ac_try;;
13310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13311 (eval "$ac_compiler -V >&5") 2>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }
13317 # If we don't use
`.F' as extension, the preprocessor is not run on the
13318 # input file. (Note that this only needs to work for GNU compilers.)
13319 ac_save_ext=$ac_ext
13321 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13322 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13323 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13324 echo $ECHO_N "(cached) $ECHO_C" >&6
13326 cat >conftest.$ac_ext <<_ACEOF
13334 rm -f conftest.$ac_objext
13335 if { (ac_try="$ac_compile"
13336 case "(($ac_try" in
13337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13338 *) ac_try_echo
=$ac_try;;
13340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13341 (eval "$ac_compile") 2>conftest.er1
13343 grep -v '^ *+' conftest.er1
>conftest.err
13345 cat conftest.err
>&5
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); } &&
13348 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13349 { (case "(($ac_try" in
13350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13351 *) ac_try_echo=$ac_try;;
13353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13354 (eval "$ac_try") 2>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); }; } &&
13358 { ac_try='test -s conftest.$ac_objext'
13359 { (case "(($ac_try" in
13360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13361 *) ac_try_echo
=$ac_try;;
13363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13364 (eval "$ac_try") 2>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); }; }; then
13368 ac_compiler_gnu
=yes
13370 echo "$as_me: failed program was:" >&5
13371 sed 's/^/| /' conftest.
$ac_ext >&5
13376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13377 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13380 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13381 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13382 ac_ext
=$ac_save_ext
13383 ac_test_FFLAGS
=${FFLAGS+set}
13384 ac_save_FFLAGS
=$FFLAGS
13386 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13387 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13388 if test "${ac_cv_prog_f77_g+set}" = set; then
13389 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 cat >conftest.
$ac_ext <<_ACEOF
13397 rm -f conftest.
$ac_objext
13398 if { (ac_try
="$ac_compile"
13399 case "(($ac_try" in
13400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13401 *) ac_try_echo=$ac_try;;
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_compile") 2>conftest.er1
13406 grep -v '^ *+' conftest.er1 >conftest.err
13408 cat conftest.err >&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } &&
13411 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13412 { (case "(($ac_try" in
13413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13414 *) ac_try_echo
=$ac_try;;
13416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13417 (eval "$ac_try") 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); }; } &&
13421 { ac_try
='test -s conftest.$ac_objext'
13422 { (case "(($ac_try" in
13423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13424 *) ac_try_echo=$ac_try;;
13426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13427 (eval "$ac_try") 2>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; }; then
13431 ac_cv_prog_f77_g=yes
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.$ac_ext >&5
13436 ac_cv_prog_f77_g=no
13439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13442 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13443 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13444 if test "$ac_test_FFLAGS" = set; then
13445 FFLAGS=$ac_save_FFLAGS
13446 elif test $ac_cv_prog_f77_g = yes; then
13447 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13453 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13460 G77=`test $ac_compiler_gnu = yes && echo yes`
13462 ac_cpp='$CPP $CPPFLAGS'
13463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13469 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13471 # find the maximum length of command line arguments
13472 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13473 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13474 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 # On DJGPP, this test can blow up pretty badly due to problems in libc
13483 # (any single argument exceeding 2000 bytes causes a buffer overrun
13484 # during glob expansion). Even if it were fixed, the result of this
13485 # check would be larger than it should be.
13486 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13490 # Under GNU Hurd, this test is not required because there is
13491 # no limit to the length of command line arguments.
13492 # Libtool will interpret -1 as no limit whatsoever
13493 lt_cv_sys_max_cmd_len=-1;
13497 # On Win9x/ME, this test blows up -- it succeeds, but takes
13498 # about 5 minutes as the teststring grows exponentially.
13499 # Worse, since 9x/ME are not pre-emptively multitasking,
13500 # you end up with a "frozen" computer, even though with patience
13501 # the test eventually succeeds (with a max line length of 256k).
13502 # Instead, let's just punt: use the minimum linelength reported by
13503 # all of the supported platforms: 8192 (on NT/2K/XP).
13504 lt_cv_sys_max_cmd_len=8192;
13508 # On AmigaOS with pdksh, this test takes hours, literally.
13509 # So we just punt and use a minimum line length of 8192.
13510 lt_cv_sys_max_cmd_len=8192;
13513 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13514 # This has been around since 386BSD, at least. Likely further.
13515 if test -x /sbin/sysctl; then
13516 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13517 elif test -x /usr/sbin/sysctl; then
13518 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13520 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13522 # And add a safety zone
13523 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13524 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13528 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13529 lt_cv_sys_max_cmd_len=196608
13533 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13534 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13535 # nice to cause kernel panics so lets avoid the loop below.
13536 # First set a reasonable default.
13537 lt_cv_sys_max_cmd_len=16384
13539 if test -x /sbin/sysconfig; then
13540 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13541 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13546 lt_cv_sys_max_cmd_len=102400
13548 sysv5* | sco5v6* | sysv4.2uw2*)
13549 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13550 if test -n "$kargmax"; then
13551 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13553 lt_cv_sys_max_cmd_len=32768
13557 # If test is not a shell built-in, we'll probably end up computing a
13558 # maximum length that is only half of the actual maximum length, but
13560 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13561 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13562 = "XX$teststring") >/dev/null 2>&1 &&
13563 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13564 lt_cv_sys_max_cmd_len=$new_result &&
13565 test $i != 17 # 1/2 MB should be enough
13568 teststring=$teststring$teststring
13571 # Add a significant safety factor because C++ compilers can tack on massive
13572 # amounts of additional arguments before passing them to the linker.
13573 # It appears as though 1/2 is a usable value.
13574 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13580 if test -n $lt_cv_sys_max_cmd_len ; then
13581 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13582 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13584 { echo "$as_me:$LINENO: result: none" >&5
13585 echo "${ECHO_T}none" >&6; }
13591 # Check for command to grab the raw symbol name followed by C symbol from nm.
13592 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13593 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13594 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13595 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 # These are sane defaults that work on at least a few old systems.
13599 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13601 # Character class describing NM global symbol codes.
13602 symcode='[BCDEGRST]'
13604 # Regexp to match symbols that can be accessed directly from C.
13605 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13607 # Transform an extracted symbol line into a proper C declaration
13608 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13610 # Transform an extracted symbol line into symbol name and symbol address
13611 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'"
13613 # Define system-specific variables.
13618 cygwin* | mingw* | pw32*)
13619 symcode='[ABCDGISTW]'
13621 hpux*) # Its linker distinguishes data from code symbols
13622 if test "$host_cpu" = ia64; then
13623 symcode='[ABCDEGRST]'
13625 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13626 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'"
13629 if test "$host_cpu" = ia64; then
13630 symcode='[ABCDGIRSTW]'
13631 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13632 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
13635 irix* | nonstopux*)
13636 symcode='[BCDEGRST]'
13639 symcode='[BCDEGQRST]'
13650 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13658 # Handle CRLF in mingw tool chain
13662 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13666 # If we're using GNU nm, then use its standard symbol codes.
13667 case `$NM -V 2>&1` in
13668 *GNU* | *'with BFD'*)
13669 symcode='[ABCDGIRSTW]' ;;
13672 # Try without a prefix undercore, then with it.
13673 for ac_symprfx in "" "_"; do
13675 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13676 symxfrm="\\1 $ac_symprfx\\2 \\2"
13678 # Write the raw and C identifiers.
13679 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13681 # Check to see that the pipe works correctly.
13685 cat > conftest.$ac_ext <<EOF
13690 void nm_test_func(){}
13694 int main(){nm_test_var='a';nm_test_func();return(0);}
13697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13698 (eval $ac_compile) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; then
13702 # Now try to grab the symbols.
13704 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13705 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); } && test -s "$nlist"; then
13709 # Try sorting and uniquifying the output.
13710 if sort "$nlist" | uniq > "$nlist"T; then
13711 mv -f "$nlist"T "$nlist"
13716 # Make sure that we snagged all the symbols we need.
13717 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13718 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13719 cat <<EOF > conftest.$ac_ext
13725 # Now generate the symbol file.
13726 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13728 cat <<EOF >> conftest.$ac_ext
13729 #if defined (__STDC__) && __STDC__
13730 # define lt_ptr_t void *
13732 # define lt_ptr_t char *
13736 /* The mapping between symbol names and symbols. */
13741 lt_preloaded_symbols[] =
13744 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13745 cat <<\EOF >> conftest.$ac_ext
13753 # Now try linking the two files.
13754 mv conftest.$ac_objext conftstm.$ac_objext
13755 lt_save_LIBS="$LIBS"
13756 lt_save_CFLAGS="$CFLAGS"
13757 LIBS="conftstm.$ac_objext"
13758 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13760 (eval $ac_link) 2>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13766 LIBS="$lt_save_LIBS"
13767 CFLAGS="$lt_save_CFLAGS"
13769 echo "cannot find nm_test_func in $nlist" >&5
13772 echo "cannot find nm_test_var in $nlist" >&5
13775 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13778 echo "$progname: failed program was:" >&5
13779 cat conftest.$ac_ext >&5
13781 rm -f conftest* conftst*
13783 # Do not use the global_symbol_pipe unless it works.
13784 if test "$pipe_works" = yes; then
13787 lt_cv_sys_global_symbol_pipe=
13793 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13794 lt_cv_sys_global_symbol_to_cdecl=
13796 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13797 { echo "$as_me:$LINENO: result: failed" >&5
13798 echo "${ECHO_T}failed" >&6; }
13800 { echo "$as_me:$LINENO: result: ok" >&5
13801 echo "${ECHO_T}ok" >&6; }
13804 { echo "$as_me:$LINENO: checking for objdir" >&5
13805 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13806 if test "${lt_cv_objdir+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 rm -f .libs 2>/dev/null
13810 mkdir .libs 2>/dev/null
13811 if test -d .libs; then
13814 # MS-DOS does not allow filenames that begin with a dot.
13817 rmdir .libs 2>/dev/null
13819 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13820 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13821 objdir=$lt_cv_objdir
13829 # AIX sometimes has problems with the GCC collect2 program. For some
13830 # reason, if we set the COLLECT_NAMES environment variable, the problems
13831 # vanish in a puff of smoke.
13832 if test "X${COLLECT_NAMES+set}" != Xset; then
13834 export COLLECT_NAMES
13839 # Sed substitution that helps us do robust quoting. It backslashifies
13840 # metacharacters that are still active within double-quoted strings.
13841 Xsed='sed -e 1s/^X//'
13842 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13844 # Same as above, but do not quote variable references.
13845 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13847 # Sed substitution to delay expansion of an escaped shell variable in a
13848 # double_quote_subst'ed string.
13849 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13851 # Sed substitution to avoid accidental globbing in evaled expressions
13852 no_glob_subst='s/\*/\\\*/g'
13857 # Global variables:
13858 default_ofile=mklib
13859 can_build_shared=yes
13861 # All known linkers require a `.a' archive for static linking (except MSVC,
13862 # which needs '.lib').
13864 ltmain="$ac_aux_dir/ltmain.sh
"
13865 ofile="$default_ofile"
13866 with_gnu_ld="$lt_cv_prog_gnu_ld"
13868 if test -n "$ac_tool_prefix"; then
13869 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13870 set dummy ${ac_tool_prefix}ar; ac_word=$2
13871 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13872 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13873 if test "${ac_cv_prog_AR+set}" = set; then
13874 echo $ECHO_N "(cached
) $ECHO_C" >&6
13876 if test -n "$AR"; then
13877 ac_cv_prog_AR="$AR" # Let the user override the test.
13879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13880 for as_dir in $PATH
13883 test -z "$as_dir" && as_dir=.
13884 for ac_exec_ext in '' $ac_executable_extensions; do
13885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13886 ac_cv_prog_AR="${ac_tool_prefix}ar"
13887 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13897 if test -n "$AR"; then
13898 { echo "$as_me:$LINENO: result
: $AR" >&5
13899 echo "${ECHO_T}$AR" >&6; }
13901 { echo "$as_me:$LINENO: result
: no
" >&5
13902 echo "${ECHO_T}no
" >&6; }
13907 if test -z "$ac_cv_prog_AR"; then
13909 # Extract the first word of "ar", so it can be a program name with args.
13910 set dummy ar; ac_word=$2
13911 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13912 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13913 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13914 echo $ECHO_N "(cached
) $ECHO_C" >&6
13916 if test -n "$ac_ct_AR"; then
13917 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13920 for as_dir in $PATH
13923 test -z "$as_dir" && as_dir=.
13924 for ac_exec_ext in '' $ac_executable_extensions; do
13925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13926 ac_cv_prog_ac_ct_AR="ar"
13927 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13936 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13937 if test -n "$ac_ct_AR"; then
13938 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13939 echo "${ECHO_T}$ac_ct_AR" >&6; }
13941 { echo "$as_me:$LINENO: result
: no
" >&5
13942 echo "${ECHO_T}no
" >&6; }
13945 if test "x
$ac_ct_AR" = x; then
13948 case $cross_compiling:$ac_tool_warned in
13950 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13951 whose name does not start with the
host triplet. If you think this
13952 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13953 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13954 whose name does not start with the
host triplet. If you think this
13955 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13956 ac_tool_warned=yes ;;
13961 AR="$ac_cv_prog_AR"
13964 if test -n "$ac_tool_prefix"; then
13965 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13966 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13967 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13968 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13969 if test "${ac_cv_prog_RANLIB+set}" = set; then
13970 echo $ECHO_N "(cached
) $ECHO_C" >&6
13972 if test -n "$RANLIB"; then
13973 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13976 for as_dir in $PATH
13979 test -z "$as_dir" && as_dir=.
13980 for ac_exec_ext in '' $ac_executable_extensions; do
13981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13982 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13983 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13992 RANLIB=$ac_cv_prog_RANLIB
13993 if test -n "$RANLIB"; then
13994 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
13995 echo "${ECHO_T}$RANLIB" >&6; }
13997 { echo "$as_me:$LINENO: result
: no
" >&5
13998 echo "${ECHO_T}no
" >&6; }
14003 if test -z "$ac_cv_prog_RANLIB"; then
14004 ac_ct_RANLIB=$RANLIB
14005 # Extract the first word of "ranlib
", so it can be a program name with args.
14006 set dummy ranlib; ac_word=$2
14007 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14008 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14009 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14010 echo $ECHO_N "(cached
) $ECHO_C" >&6
14012 if test -n "$ac_ct_RANLIB"; then
14013 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14016 for as_dir in $PATH
14019 test -z "$as_dir" && as_dir=.
14020 for ac_exec_ext in '' $ac_executable_extensions; do
14021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14022 ac_cv_prog_ac_ct_RANLIB="ranlib
"
14023 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14032 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14033 if test -n "$ac_ct_RANLIB"; then
14034 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
14035 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14037 { echo "$as_me:$LINENO: result
: no
" >&5
14038 echo "${ECHO_T}no
" >&6; }
14041 if test "x
$ac_ct_RANLIB" = x; then
14044 case $cross_compiling:$ac_tool_warned in
14046 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14047 whose name does not start with the
host triplet. If you think this
14048 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14049 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14050 whose name does not start with the
host triplet. If you think this
14051 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14052 ac_tool_warned=yes ;;
14054 RANLIB=$ac_ct_RANLIB
14057 RANLIB="$ac_cv_prog_RANLIB"
14060 if test -n "$ac_tool_prefix"; then
14061 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14062 set dummy ${ac_tool_prefix}strip; ac_word=$2
14063 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14064 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14065 if test "${ac_cv_prog_STRIP+set}" = set; then
14066 echo $ECHO_N "(cached
) $ECHO_C" >&6
14068 if test -n "$STRIP"; then
14069 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14072 for as_dir in $PATH
14075 test -z "$as_dir" && as_dir=.
14076 for ac_exec_ext in '' $ac_executable_extensions; do
14077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14078 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14079 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14088 STRIP=$ac_cv_prog_STRIP
14089 if test -n "$STRIP"; then
14090 { echo "$as_me:$LINENO: result
: $STRIP" >&5
14091 echo "${ECHO_T}$STRIP" >&6; }
14093 { echo "$as_me:$LINENO: result
: no
" >&5
14094 echo "${ECHO_T}no
" >&6; }
14099 if test -z "$ac_cv_prog_STRIP"; then
14101 # Extract the first word of "strip
", so it can be a program name with args.
14102 set dummy strip; ac_word=$2
14103 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14104 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14105 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14106 echo $ECHO_N "(cached
) $ECHO_C" >&6
14108 if test -n "$ac_ct_STRIP"; then
14109 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14112 for as_dir in $PATH
14115 test -z "$as_dir" && as_dir=.
14116 for ac_exec_ext in '' $ac_executable_extensions; do
14117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14118 ac_cv_prog_ac_ct_STRIP="strip
"
14119 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14128 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14129 if test -n "$ac_ct_STRIP"; then
14130 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
14131 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14133 { echo "$as_me:$LINENO: result
: no
" >&5
14134 echo "${ECHO_T}no
" >&6; }
14137 if test "x
$ac_ct_STRIP" = x; then
14140 case $cross_compiling:$ac_tool_warned in
14142 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14143 whose name does not start with the
host triplet. If you think this
14144 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14145 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14146 whose name does not start with the
host triplet. If you think this
14147 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14148 ac_tool_warned=yes ;;
14153 STRIP="$ac_cv_prog_STRIP"
14158 old_CFLAGS="$CFLAGS"
14160 # Set sane defaults for various variables
14161 test -z "$AR" && AR=ar
14162 test -z "$AR_FLAGS" && AR_FLAGS=cru
14163 test -z "$AS" && AS=as
14164 test -z "$CC" && CC=cc
14165 test -z "$LTCC" && LTCC=$CC
14166 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14167 test -z "$DLLTOOL" && DLLTOOL=dlltool
14168 test -z "$LD" && LD=ld
14169 test -z "$LN_S" && LN_S="ln -s"
14170 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14171 test -z "$NM" && NM=nm
14172 test -z "$SED" && SED=sed
14173 test -z "$OBJDUMP" && OBJDUMP=objdump
14174 test -z "$RANLIB" && RANLIB=:
14175 test -z "$STRIP" && STRIP=:
14176 test -z "$ac_objext" && ac_objext=o
14178 # Determine commands to create old-style static archives.
14179 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14180 old_postinstall_cmds='chmod 644 $oldlib'
14181 old_postuninstall_cmds=
14183 if test -n "$RANLIB"; then
14186 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
14189 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
14192 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
14195 for cc_temp in $compiler""; do
14197 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14198 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14203 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14206 # Only perform the check for file, if the check method requires it
14207 case $deplibs_check_method in
14209 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14210 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14211 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14212 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14213 echo $ECHO_N "(cached
) $ECHO_C" >&6
14217 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14220 lt_save_MAGIC_CMD="$MAGIC_CMD"
14221 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14222 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14223 for ac_dir in $ac_dummy; do
14225 test -z "$ac_dir" && ac_dir=.
14226 if test -f $ac_dir/${ac_tool_prefix}file; then
14227 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14228 if test -n "$file_magic_test_file"; then
14229 case $deplibs_check_method in
14231 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14232 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14233 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14234 $EGREP "$file_magic_regex" > /dev/null; then
14239 *** Warning: the command libtool uses to detect shared libraries,
14240 *** $file_magic_cmd, produces output that libtool cannot recognize.
14241 *** The result is that libtool may fail to recognize shared libraries
14242 *** as such. This will affect the creation of libtool libraries that
14243 *** depend on shared libraries, but programs linked with such libtool
14244 *** libraries will work regardless of this problem. Nevertheless, you
14245 *** may want to report the problem to your system manager and/or to
14246 *** bug-libtool@gnu.org
14256 MAGIC_CMD="$lt_save_MAGIC_CMD"
14261 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14262 if test -n "$MAGIC_CMD"; then
14263 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14264 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14266 { echo "$as_me:$LINENO: result
: no
" >&5
14267 echo "${ECHO_T}no
" >&6; }
14270 if test -z "$lt_cv_path_MAGIC_CMD"; then
14271 if test -n "$ac_tool_prefix"; then
14272 { echo "$as_me:$LINENO: checking
for file" >&5
14273 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14274 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14275 echo $ECHO_N "(cached
) $ECHO_C" >&6
14279 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14282 lt_save_MAGIC_CMD="$MAGIC_CMD"
14283 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14284 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14285 for ac_dir in $ac_dummy; do
14287 test -z "$ac_dir" && ac_dir=.
14288 if test -f $ac_dir/file; then
14289 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14290 if test -n "$file_magic_test_file"; then
14291 case $deplibs_check_method in
14293 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14294 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14295 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14296 $EGREP "$file_magic_regex" > /dev/null; then
14301 *** Warning: the command libtool uses to detect shared libraries,
14302 *** $file_magic_cmd, produces output that libtool cannot recognize.
14303 *** The result is that libtool may fail to recognize shared libraries
14304 *** as such. This will affect the creation of libtool libraries that
14305 *** depend on shared libraries, but programs linked with such libtool
14306 *** libraries will work regardless of this problem. Nevertheless, you
14307 *** may want to report the problem to your system manager and/or to
14308 *** bug-libtool@gnu.org
14318 MAGIC_CMD="$lt_save_MAGIC_CMD"
14323 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14324 if test -n "$MAGIC_CMD"; then
14325 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14326 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14328 { echo "$as_me:$LINENO: result
: no
" >&5
14329 echo "${ECHO_T}no
" >&6; }
14342 enable_win32_dll=no
14344 # Check whether --enable-libtool-lock was given.
14345 if test "${enable_libtool_lock+set}" = set; then
14346 enableval=$enable_libtool_lock;
14349 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14352 # Check whether --with-pic was given.
14353 if test "${with_pic+set}" = set; then
14354 withval=$with_pic; pic_mode="$withval"
14359 test -z "$pic_mode" && pic_mode=default
14361 # Use C for the default configuration in the libtool script
14365 ac_cpp='$CPP $CPPFLAGS'
14366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14371 # Source file extension for C test sources.
14374 # Object file extension for compiled C test sources.
14378 # Code to be used in simple compile tests
14379 lt_simple_compile_test_code="int some_variable
= 0;\n"
14381 # Code to be used in simple link tests
14382 lt_simple_link_test_code='int main(){return(0);}\n'
14385 # If no C compiler was specified, use CC.
14388 # If no C compiler flags were specified, use CFLAGS.
14389 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14391 # Allow CC to be a program name with arguments.
14395 # save warnings/boilerplate of simple test code
14396 ac_outfile=conftest.$ac_objext
14397 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14398 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14399 _lt_compiler_boilerplate=`cat conftest.err`
14402 ac_outfile=conftest.$ac_objext
14403 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14404 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14405 _lt_linker_boilerplate=`cat conftest.err`
14410 lt_prog_compiler_no_builtin_flag=
14412 if test "$GCC" = yes; then
14413 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14416 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14417 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14418 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14419 echo $ECHO_N "(cached
) $ECHO_C" >&6
14421 lt_cv_prog_compiler_rtti_exceptions=no
14422 ac_outfile=conftest.$ac_objext
14423 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14424 lt_compiler_flag="-fno-rtti -fno-exceptions"
14425 # Insert the option either (1) after the last *FLAGS variable, or
14426 # (2) before a word containing "conftest.
", or (3) at the end.
14427 # Note that $ac_compile itself does not contain backslashes and begins
14428 # with a dollar sign (not a hyphen), so the echo should work correctly.
14429 # The option is referenced via a variable to avoid confusing sed.
14430 lt_compile=`echo "$ac_compile" | $SED \
14431 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14432 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14433 -e 's:$: $lt_compiler_flag:'`
14434 (eval echo "\"\
$as_me:14425: $lt_compile\"" >&5)
14435 (eval "$lt_compile" 2>conftest.err)
14437 cat conftest.err >&5
14438 echo "$as_me:14429: \$?
= $ac_status" >&5
14439 if (exit $ac_status) && test -s "$ac_outfile"; then
14440 # The compiler can only warn and ignore the option if not recognized
14441 # So say no if there are warnings other than the usual output.
14442 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14444 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14445 lt_cv_prog_compiler_rtti_exceptions=yes
14451 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14452 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14454 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14455 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14462 lt_prog_compiler_wl=
14463 lt_prog_compiler_pic=
14464 lt_prog_compiler_static=
14466 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14467 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14469 if test "$GCC" = yes; then
14470 lt_prog_compiler_wl='-Wl,'
14471 lt_prog_compiler_static='-static'
14475 # All AIX code is PIC.
14476 if test "$host_cpu" = ia64; then
14477 # AIX 5 now supports IA64 processor
14478 lt_prog_compiler_static='-Bstatic'
14483 # FIXME: we need at least 68020 code to build shared libraries, but
14484 # adding the `-m68020' flag to GCC prevents building anything better,
14486 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14489 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14490 # PIC is the default for these OSes.
14493 mingw* | pw32* | os2*)
14494 # This hack is so that the source file can tell whether it is being
14495 # built for inclusion in a dll (and should export symbols for example).
14496 lt_prog_compiler_pic='-DDLL_EXPORT'
14499 darwin* | rhapsody*)
14500 # PIC is the default on this platform
14501 # Common symbols not allowed in MH_DYLIB files
14502 lt_prog_compiler_pic='-fno-common'
14506 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14507 # Instead, we relocate shared libraries at runtime.
14511 # Just because we use GCC doesn't mean we suddenly get shared libraries
14512 # on systems that don't support them.
14513 lt_prog_compiler_can_build_shared=no
14518 if test -d /usr/nec; then
14519 lt_prog_compiler_pic=-Kconform_pic
14524 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14525 # not for PA HP-UX.
14531 lt_prog_compiler_pic='-fPIC'
14537 lt_prog_compiler_pic='-fPIC'
14541 # PORTME Check for flag to pass linker flags through the system compiler.
14544 lt_prog_compiler_wl='-Wl,'
14545 if test "$host_cpu" = ia64; then
14546 # AIX 5 now supports IA64 processor
14547 lt_prog_compiler_static='-Bstatic'
14549 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14553 # PIC is the default on this platform
14554 # Common symbols not allowed in MH_DYLIB files
14555 case $cc_basename in
14557 lt_prog_compiler_pic='-qnocommon'
14558 lt_prog_compiler_wl='-Wl,'
14563 mingw* | pw32* | os2*)
14564 # This hack is so that the source file can tell whether it is being
14565 # built for inclusion in a dll (and should export symbols for example).
14566 lt_prog_compiler_pic='-DDLL_EXPORT'
14569 hpux9* | hpux10* | hpux11*)
14570 lt_prog_compiler_wl='-Wl,'
14571 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14572 # not for PA HP-UX.
14578 lt_prog_compiler_pic='+Z'
14581 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14582 lt_prog_compiler_static='${wl}-a ${wl}archive'
14585 irix5* | irix6* | nonstopux*)
14586 lt_prog_compiler_wl='-Wl,'
14587 # PIC (with -KPIC) is the default.
14588 lt_prog_compiler_static='-non_shared'
14592 lt_prog_compiler_pic='-KPIC'
14593 lt_prog_compiler_static='-Bstatic'
14597 case $cc_basename in
14599 lt_prog_compiler_wl='-Wl,'
14600 lt_prog_compiler_pic='-KPIC'
14601 lt_prog_compiler_static='-static'
14603 pgcc* | pgf77* | pgf90* | pgf95*)
14604 # Portland Group compilers (*not* the Pentium gcc compiler,
14605 # which looks to be a dead project)
14606 lt_prog_compiler_wl='-Wl,'
14607 lt_prog_compiler_pic='-fpic'
14608 lt_prog_compiler_static='-Bstatic'
14611 lt_prog_compiler_wl='-Wl,'
14612 # All Alpha code is PIC.
14613 lt_prog_compiler_static='-non_shared'
14618 osf3* | osf4* | osf5*)
14619 lt_prog_compiler_wl='-Wl,'
14620 # All OSF/1 code is PIC.
14621 lt_prog_compiler_static='-non_shared'
14625 lt_prog_compiler_pic='-KPIC'
14626 lt_prog_compiler_static='-Bstatic'
14627 case $cc_basename in
14628 f77* | f90* | f95*)
14629 lt_prog_compiler_wl='-Qoption ld ';;
14631 lt_prog_compiler_wl='-Wl,';;
14636 lt_prog_compiler_wl='-Qoption ld '
14637 lt_prog_compiler_pic='-PIC'
14638 lt_prog_compiler_static='-Bstatic'
14641 sysv4 | sysv4.2uw2* | sysv4.3*)
14642 lt_prog_compiler_wl='-Wl,'
14643 lt_prog_compiler_pic='-KPIC'
14644 lt_prog_compiler_static='-Bstatic'
14648 if test -d /usr/nec ;then
14649 lt_prog_compiler_pic='-Kconform_pic'
14650 lt_prog_compiler_static='-Bstatic'
14654 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14655 lt_prog_compiler_wl='-Wl,'
14656 lt_prog_compiler_pic='-KPIC'
14657 lt_prog_compiler_static='-Bstatic'
14661 lt_prog_compiler_wl='-Wl,'
14662 lt_prog_compiler_can_build_shared=no
14666 lt_prog_compiler_pic='-pic'
14667 lt_prog_compiler_static='-Bstatic'
14671 lt_prog_compiler_can_build_shared=no
14676 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14677 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14680 # Check to make sure the PIC flag actually works.
14682 if test -n "$lt_prog_compiler_pic"; then
14684 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14685 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14686 if test "${lt_prog_compiler_pic_works+set}" = set; then
14687 echo $ECHO_N "(cached
) $ECHO_C" >&6
14689 lt_prog_compiler_pic_works=no
14690 ac_outfile=conftest.$ac_objext
14691 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14692 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14693 # Insert the option either (1) after the last *FLAGS variable, or
14694 # (2) before a word containing "conftest.
", or (3) at the end.
14695 # Note that $ac_compile itself does not contain backslashes and begins
14696 # with a dollar sign (not a hyphen), so the echo should work correctly.
14697 # The option is referenced via a variable to avoid confusing sed.
14698 lt_compile=`echo "$ac_compile" | $SED \
14699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14701 -e 's:$: $lt_compiler_flag:'`
14702 (eval echo "\"\
$as_me:14693: $lt_compile\"" >&5)
14703 (eval "$lt_compile" 2>conftest.err)
14705 cat conftest.err >&5
14706 echo "$as_me:14697: \$?
= $ac_status" >&5
14707 if (exit $ac_status) && test -s "$ac_outfile"; then
14708 # The compiler can only warn and ignore the option if not recognized
14709 # So say no if there are warnings other than the usual output.
14710 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14711 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14712 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14713 lt_prog_compiler_pic_works=yes
14719 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14720 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14722 if test x"$lt_prog_compiler_pic_works" = xyes; then
14723 case $lt_prog_compiler_pic in
14725 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14728 lt_prog_compiler_pic=
14729 lt_prog_compiler_can_build_shared=no
14734 # For platforms which do not support PIC, -DPIC is meaningless:
14736 lt_prog_compiler_pic=
14739 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14744 # Check to make sure the static flag actually works.
14746 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14747 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14748 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14749 if test "${lt_prog_compiler_static_works+set}" = set; then
14750 echo $ECHO_N "(cached
) $ECHO_C" >&6
14752 lt_prog_compiler_static_works=no
14753 save_LDFLAGS="$LDFLAGS"
14754 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14755 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14756 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14757 # The linker can only warn and ignore the option if not recognized
14758 # So say no if there are warnings
14759 if test -s conftest.err; then
14760 # Append any errors to the config.log.
14761 cat conftest.err 1>&5
14762 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14763 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14764 if diff conftest.exp conftest.er2 >/dev/null; then
14765 lt_prog_compiler_static_works=yes
14768 lt_prog_compiler_static_works=yes
14772 LDFLAGS="$save_LDFLAGS"
14775 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14776 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14778 if test x"$lt_prog_compiler_static_works" = xyes; then
14781 lt_prog_compiler_static=
14785 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14786 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14787 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14788 echo $ECHO_N "(cached
) $ECHO_C" >&6
14790 lt_cv_prog_compiler_c_o=no
14791 $rm -r conftest 2>/dev/null
14795 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14797 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14798 # Insert the option either (1) after the last *FLAGS variable, or
14799 # (2) before a word containing "conftest.
", or (3) at the end.
14800 # Note that $ac_compile itself does not contain backslashes and begins
14801 # with a dollar sign (not a hyphen), so the echo should work correctly.
14802 lt_compile=`echo "$ac_compile" | $SED \
14803 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14805 -e 's:$: $lt_compiler_flag:'`
14806 (eval echo "\"\
$as_me:14797: $lt_compile\"" >&5)
14807 (eval "$lt_compile" 2>out/conftest.err)
14809 cat out/conftest.err >&5
14810 echo "$as_me:14801: \$?
= $ac_status" >&5
14811 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14813 # The compiler can only warn and ignore the option if not recognized
14814 # So say no if there are warnings
14815 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14816 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14817 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14818 lt_cv_prog_compiler_c_o=yes
14823 # SGI C++ compiler will create directory out/ii_files/ for
14824 # template instantiation
14825 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14826 $rm out/* && rmdir out
14832 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14833 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14836 hard_links="nottested
"
14837 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14838 # do not overwrite the value of need_locks provided by the user
14839 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14840 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14843 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14845 ln conftest.a conftest.b 2>&5 || hard_links=no
14846 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14847 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14848 echo "${ECHO_T}$hard_links" >&6; }
14849 if test "$hard_links" = no; then
14850 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14851 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14858 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14859 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14862 allow_undefined_flag=
14863 enable_shared_with_static_runtimes=no
14865 archive_expsym_cmds=
14866 old_archive_From_new_cmds=
14867 old_archive_from_expsyms_cmds=
14868 export_dynamic_flag_spec=
14869 whole_archive_flag_spec=
14870 thread_safe_flag_spec=
14871 hardcode_libdir_flag_spec=
14872 hardcode_libdir_flag_spec_ld=
14873 hardcode_libdir_separator=
14875 hardcode_minus_L=no
14876 hardcode_shlibpath_var=unsupported
14877 link_all_deplibs=unknown
14878 hardcode_automatic=no
14880 module_expsym_cmds=
14881 always_export_symbols=no
14882 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14883 # include_expsyms should be a list of space-separated symbols to be *always*
14884 # included in the symbol list
14886 # exclude_expsyms can be an extended regexp of symbols to exclude
14887 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14888 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14889 # as well as any symbol that contains `d'.
14890 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14891 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14892 # platforms (ab)use it in PIC code, but their linkers get confused if
14893 # the symbol is explicitly referenced. Since portable code cannot
14894 # rely on this symbol name, it's probably fine to never include it in
14895 # preloaded symbol tables.
14896 extract_expsyms_cmds=
14897 # Just being paranoid about ensuring that cc_basename is set.
14898 for cc_temp in $compiler""; do
14900 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14901 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14906 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14909 cygwin* | mingw* | pw32*)
14910 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14911 # When not using gcc, we currently assume that we are using
14912 # Microsoft Visual C++.
14913 if test "$GCC" != yes; then
14918 # we just hope/assume this is gcc and not c89 (= MSVC++)
14927 if test "$with_gnu_ld" = yes; then
14928 # If archive_cmds runs LD, not CC, wlarc should be empty
14931 # Set some defaults for GNU ld with shared library support. These
14932 # are reset later if shared libraries are not supported. Putting them
14933 # here allows them to be overridden if necessary.
14934 runpath_var=LD_RUN_PATH
14935 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14936 export_dynamic_flag_spec='${wl}--export-dynamic'
14937 # ancient GNU ld didn't support --whole-archive et. al.
14938 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14939 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14941 whole_archive_flag_spec=
14943 supports_anon_versioning=no
14944 case `$LD -v 2>/dev/null` in
14945 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14946 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14947 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14948 *\ 2.11.*) ;; # other 2.11 versions
14949 *) supports_anon_versioning=yes ;;
14952 # See if GNU ld supports shared libraries.
14954 aix3* | aix4* | aix5*)
14955 # On AIX/PPC, the GNU linker is very broken
14956 if test "$host_cpu" != ia64; then
14960 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14961 *** to be unable to reliably create shared libraries on AIX.
14962 *** Therefore, libtool is disabling shared libraries support. If you
14963 *** really care for shared libraries, you may want to modify your PATH
14964 *** so that a non-GNU linker is found, and then restart.
14971 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)'
14972 hardcode_libdir_flag_spec
='-L$libdir'
14973 hardcode_minus_L
=yes
14975 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14976 # that the semantics of dynamic libraries on AmigaOS, at least up
14977 # to version 4, is to share data among multiple programs linked
14978 # with the same dynamic library. Since this doesn't match the
14979 # behavior of shared libraries on other platforms, we can't use
14985 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14986 allow_undefined_flag
=unsupported
14987 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14988 # support --undefined. This deserves some investigation. FIXME
14989 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14995 cygwin
* | mingw
* | pw32
*)
14996 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14997 # as there is no search path for DLLs.
14998 hardcode_libdir_flag_spec
='-L$libdir'
14999 allow_undefined_flag
=unsupported
15000 always_export_symbols
=no
15001 enable_shared_with_static_runtimes
=yes
15002 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15004 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15005 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15006 # If the export-symbols file already is a .def file (1st line
15007 # is EXPORTS), use it as is; otherwise, prepend...
15008 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15009 cp $export_symbols $output_objdir/$soname.def;
15011 echo EXPORTS > $output_objdir/$soname.def;
15012 cat $export_symbols >> $output_objdir/$soname.def;
15014 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15022 hardcode_shlibpath_var
=no
15023 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15024 export_dynamic_flag_spec
='${wl}-E'
15025 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15026 # Instead, shared libraries are loaded at an image base (0x10000000 by
15027 # default) and relocated if they conflict, which is a slow very memory
15028 # consuming and fragmenting process. To avoid this, we pick a random,
15029 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15030 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15031 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15032 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'
15036 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15038 case $cc_basename,$host_cpu in
15039 pgcc
*) # Portland Group C compiler
15040 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'
15041 tmp_addflag
=' $pic_flag'
15043 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15044 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'
15045 tmp_addflag
=' $pic_flag -Mnomain' ;;
15046 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15047 tmp_addflag
=' -i_dynamic' ;;
15048 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15049 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15050 ifc
* | ifort
*) # Intel Fortran compiler
15051 tmp_addflag
=' -nofor_main' ;;
15053 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15055 if test $supports_anon_versioning = yes; then
15056 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
15057 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15058 $echo "local: *; };" >> $output_objdir/$libname.ver~
15059 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15067 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15068 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15071 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15072 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15077 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15081 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15082 *** create shared libraries on Solaris systems. Therefore, libtool
15083 *** is disabling shared libraries support. We urge you to upgrade GNU
15084 *** binutils to release 2.9.1 or newer. Another option is to modify
15085 *** your PATH or compiler configuration so that the native linker is
15086 *** used, and then restart.
15089 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15090 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15091 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15097 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15098 case `$LD -v 2>&1` in
15099 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15103 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15104 *** reliably create shared libraries on SCO systems. Therefore, libtool
15105 *** is disabling shared libraries support. We urge you to upgrade GNU
15106 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15107 *** your PATH or compiler configuration so that the native linker is
15108 *** used, and then restart.
15113 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15114 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15115 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15116 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15125 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15127 hardcode_direct
=yes
15128 hardcode_shlibpath_var
=no
15132 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15133 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15134 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15141 if test "$ld_shlibs" = no
; then
15143 hardcode_libdir_flag_spec
=
15144 export_dynamic_flag_spec
=
15145 whole_archive_flag_spec
=
15148 # PORTME fill in a description of your system's linker (not GNU ld)
15151 allow_undefined_flag
=unsupported
15152 always_export_symbols
=yes
15153 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'
15154 # Note: this linker hardcodes the directories in LIBPATH if there
15155 # are no directories specified by -L.
15156 hardcode_minus_L
=yes
15157 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15158 # Neither direct hardcoding nor static linking is supported with a
15160 hardcode_direct
=unsupported
15165 if test "$host_cpu" = ia64
; then
15166 # On IA64, the linker does run time linking by default, so we don't
15167 # have to do anything special.
15168 aix_use_runtimelinking
=no
15169 exp_sym_flag
='-Bexport'
15172 # If we're using GNU nm, then we don't want the "-C" option.
15173 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15174 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15175 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'
15177 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'
15179 aix_use_runtimelinking
=no
15181 # Test if we are trying to use run time linking or normal
15182 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15183 # need to do runtime linking.
15184 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15185 for ld_flag
in $LDFLAGS; do
15186 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15187 aix_use_runtimelinking
=yes
15194 exp_sym_flag
='-bexport'
15195 no_entry_flag
='-bnoentry'
15198 # When large executables or shared objects are built, AIX ld can
15199 # have problems creating the table of contents. If linking a library
15200 # or program results in "error TOC overflow" add -mminimal-toc to
15201 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15202 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15205 hardcode_direct
=yes
15206 hardcode_libdir_separator
=':'
15207 link_all_deplibs
=yes
15209 if test "$GCC" = yes; then
15210 case $host_os in aix4.
[012]|aix4.
[012].
*)
15211 # We only want to do this on AIX 4.2 and lower, the check
15212 # below for broken collect2 doesn't work under 4.3+
15213 collect2name
=`${CC} -print-prog-name=collect2`
15214 if test -f "$collect2name" && \
15215 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15217 # We have reworked collect2
15218 hardcode_direct
=yes
15220 # We have old collect2
15221 hardcode_direct
=unsupported
15222 # It fails to find uninstalled libraries when the uninstalled
15223 # path is not listed in the libpath. Setting hardcode_minus_L
15224 # to unsupported forces relinking
15225 hardcode_minus_L
=yes
15226 hardcode_libdir_flag_spec
='-L$libdir'
15227 hardcode_libdir_separator
=
15231 shared_flag
='-shared'
15232 if test "$aix_use_runtimelinking" = yes; then
15233 shared_flag
="$shared_flag "'${wl}-G'
15237 if test "$host_cpu" = ia64
; then
15238 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15239 # chokes on -Wl,-G. The following line is correct:
15242 if test "$aix_use_runtimelinking" = yes; then
15243 shared_flag
='${wl}-G'
15245 shared_flag
='${wl}-bM:SRE'
15250 # It seems that -bexpall does not export symbols beginning with
15251 # underscore (_), so it is better to generate a list of symbols to export.
15252 always_export_symbols
=yes
15253 if test "$aix_use_runtimelinking" = yes; then
15254 # Warning - without using the other runtime loading flags (-brtl),
15255 # -berok will link without error, but may produce a broken library.
15256 allow_undefined_flag
='-berok'
15257 # Determine the default libpath from the value encoded in an empty executable.
15258 cat >conftest.
$ac_ext <<_ACEOF
15261 cat confdefs.h
>>conftest.
$ac_ext
15262 cat >>conftest.
$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15273 rm -f conftest.
$ac_objext conftest
$ac_exeext
15274 if { (ac_try
="$ac_link"
15275 case "(($ac_try" in
15276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_link") 2>conftest.er1
15282 grep -v '^ *+' conftest.er1 >conftest.err
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } &&
15287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15288 { (case "(($ac_try" in
15289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15290 *) ac_try_echo
=$ac_try;;
15292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15293 (eval "$ac_try") 2>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); }; } &&
15297 { ac_try
='test -s conftest$ac_exeext'
15298 { (case "(($ac_try" in
15299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15300 *) ac_try_echo=$ac_try;;
15302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 (eval "$ac_try") 2>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; }; then
15308 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15310 # Check for a 64-bit object if we didn't find anything.
15311 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; }
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15320 rm -f core conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15322 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15324 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15325 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"
15327 if test "$host_cpu" = ia64; then
15328 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15329 allow_undefined_flag="-z nodefs"
15330 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"
15332 # Determine the default libpath from the value encoded in an empty executable.
15333 cat >conftest.$ac_ext <<_ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15348 rm -f conftest.$ac_objext conftest$ac_exeext
15349 if { (ac_try="$ac_link"
15350 case "(($ac_try" in
15351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15352 *) ac_try_echo
=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_link") 2>conftest.er1
15357 grep -v '^ *+' conftest.er1
>conftest.err
15359 cat conftest.err
>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } &&
15362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15363 { (case "(($ac_try" in
15364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15365 *) ac_try_echo=$ac_try;;
15367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15368 (eval "$ac_try") 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; } &&
15372 { ac_try='test -s conftest$ac_exeext'
15373 { (case "(($ac_try" in
15374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15375 *) ac_try_echo
=$ac_try;;
15377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15378 (eval "$ac_try") 2>&5
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); }; }; then
15383 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15385 # Check for a 64-bit object if we didn't find anything.
15386 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; }
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15395 rm -f core conftest.err conftest.
$ac_objext \
15396 conftest
$ac_exeext conftest.
$ac_ext
15397 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15399 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15400 # Warning - without using the other run time loading flags,
15401 # -berok will link without error, but may produce a broken library.
15402 no_undefined_flag
=' ${wl}-bernotok'
15403 allow_undefined_flag
=' ${wl}-berok'
15404 # Exported symbols can be pulled into shared objects from archives
15405 whole_archive_flag_spec
='$convenience'
15406 archive_cmds_need_lc
=yes
15407 # This is similar to how AIX traditionally builds its shared libraries.
15408 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'
15414 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)'
15415 hardcode_libdir_flag_spec
='-L$libdir'
15416 hardcode_minus_L
=yes
15417 # see comment about different semantics on the GNU ld section
15422 export_dynamic_flag_spec
=-rdynamic
15425 cygwin
* | mingw
* | pw32
*)
15426 # When not using gcc, we currently assume that we are using
15427 # Microsoft Visual C++.
15428 # hardcode_libdir_flag_spec is actually meaningless, as there is
15429 # no search path for DLLs.
15430 hardcode_libdir_flag_spec
=' '
15431 allow_undefined_flag
=unsupported
15432 # Tell ltmain to make .lib files, not .a files.
15434 # Tell ltmain to make .dll files, not .so files.
15436 # FIXME: Setting linknames here is a bad hack.
15437 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15438 # The linker will automatically build a .lib file if we build a DLL.
15439 old_archive_From_new_cmds
='true'
15440 # FIXME: Should let the user specify the lib program.
15441 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15442 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15443 enable_shared_with_static_runtimes
=yes
15446 darwin
* | rhapsody
*)
15448 rhapsody
* | darwin1.
[012])
15449 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15452 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15453 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15455 case ${MACOSX_DEPLOYMENT_TARGET} in
15457 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15460 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15466 archive_cmds_need_lc
=no
15468 hardcode_automatic
=yes
15469 hardcode_shlibpath_var
=unsupported
15470 whole_archive_flag_spec
=''
15471 link_all_deplibs
=yes
15472 if test "$GCC" = yes ; then
15473 output_verbose_link_cmd
='echo'
15474 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15475 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15476 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15477 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}'
15478 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}'
15480 case $cc_basename in
15482 output_verbose_link_cmd
='echo'
15483 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15484 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15485 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15486 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}'
15487 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}'
15497 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15498 hardcode_libdir_flag_spec
='-L$libdir'
15499 hardcode_shlibpath_var
=no
15506 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15507 # support. Future versions do this automatically, but an explicit c++rt0.o
15508 # does not break anything, and helps significantly (at the cost of a little
15511 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15512 hardcode_libdir_flag_spec
='-R$libdir'
15513 hardcode_direct
=yes
15514 hardcode_shlibpath_var
=no
15517 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15519 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15520 hardcode_direct
=yes
15521 hardcode_minus_L
=yes
15522 hardcode_shlibpath_var
=no
15525 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15526 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15527 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15528 hardcode_libdir_flag_spec
='-R$libdir'
15529 hardcode_direct
=yes
15530 hardcode_shlibpath_var
=no
15534 if test "$GCC" = yes; then
15535 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'
15537 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'
15539 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15540 hardcode_libdir_separator
=:
15541 hardcode_direct
=yes
15543 # hardcode_minus_L: Not really in the search PATH,
15544 # but as the default location of the library.
15545 hardcode_minus_L
=yes
15546 export_dynamic_flag_spec
='${wl}-E'
15550 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15551 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15553 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15555 if test "$with_gnu_ld" = no
; then
15556 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15557 hardcode_libdir_separator
=:
15559 hardcode_direct
=yes
15560 export_dynamic_flag_spec
='${wl}-E'
15562 # hardcode_minus_L: Not really in the search PATH,
15563 # but as the default location of the library.
15564 hardcode_minus_L
=yes
15569 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15572 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15575 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15578 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15584 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15587 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15590 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15594 if test "$with_gnu_ld" = no
; then
15595 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15596 hardcode_libdir_separator
=:
15600 hardcode_libdir_flag_spec_ld
='+b $libdir'
15602 hardcode_shlibpath_var
=no
15605 hardcode_direct
=yes
15606 export_dynamic_flag_spec
='${wl}-E'
15608 # hardcode_minus_L: Not really in the search PATH,
15609 # but as the default location of the library.
15610 hardcode_minus_L
=yes
15616 irix5
* | irix6
* | nonstopux
*)
15617 if test "$GCC" = yes; then
15618 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'
15620 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'
15621 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15623 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15624 hardcode_libdir_separator
=:
15625 link_all_deplibs
=yes
15629 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15630 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15632 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15634 hardcode_libdir_flag_spec
='-R$libdir'
15635 hardcode_direct
=yes
15636 hardcode_shlibpath_var
=no
15640 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15641 hardcode_direct
=yes
15642 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15643 hardcode_libdir_separator
=:
15644 hardcode_shlibpath_var
=no
15648 hardcode_direct
=yes
15649 hardcode_shlibpath_var
=no
15650 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15651 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15652 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15653 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15654 export_dynamic_flag_spec
='${wl}-E'
15657 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15658 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15659 hardcode_libdir_flag_spec
='-R$libdir'
15662 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15663 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15670 hardcode_libdir_flag_spec
='-L$libdir'
15671 hardcode_minus_L
=yes
15672 allow_undefined_flag
=unsupported
15673 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'
15674 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15678 if test "$GCC" = yes; then
15679 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15680 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'
15682 allow_undefined_flag
=' -expect_unresolved \*'
15683 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'
15685 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15686 hardcode_libdir_separator
=:
15689 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15690 if test "$GCC" = yes; then
15691 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15692 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'
15693 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15695 allow_undefined_flag
=' -expect_unresolved \*'
15696 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'
15697 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15698 $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'
15700 # Both c and cxx compiler support -rpath directly
15701 hardcode_libdir_flag_spec
='-rpath $libdir'
15703 hardcode_libdir_separator
=:
15707 no_undefined_flag
=' -z text'
15708 if test "$GCC" = yes; then
15710 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15711 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15712 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15715 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15716 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15717 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15719 hardcode_libdir_flag_spec
='-R$libdir'
15720 hardcode_shlibpath_var
=no
15722 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15724 # The compiler driver will combine linker options so we
15725 # cannot just pass the convience library names through
15726 # without $wl, iff we do not link with $LD.
15727 # Luckily, gcc supports the same syntax we need for Sun Studio.
15728 # Supported since Solaris 2.6 (maybe 2.5.1?)
15731 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15733 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' ;;
15736 link_all_deplibs
=yes
15740 if test "x$host_vendor" = xsequent
; then
15741 # Use $CC to link under sequent, because it throws in some extra .o
15742 # files that make .init and .fini sections work.
15743 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15745 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15747 hardcode_libdir_flag_spec
='-L$libdir'
15748 hardcode_direct
=yes
15749 hardcode_minus_L
=yes
15750 hardcode_shlibpath_var
=no
15754 case $host_vendor in
15756 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15757 hardcode_direct
=yes # is this really true???
15760 ## LD is ld it makes a PLAMLIB
15761 ## CC just makes a GrossModule.
15762 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15763 reload_cmds
='$CC -r -o $output$reload_objs'
15767 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15768 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15771 runpath_var
='LD_RUN_PATH'
15772 hardcode_shlibpath_var
=no
15776 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15777 hardcode_shlibpath_var
=no
15778 export_dynamic_flag_spec
='-Bexport'
15782 if test -d /usr
/nec
; then
15783 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15784 hardcode_shlibpath_var
=no
15785 runpath_var
=LD_RUN_PATH
15786 hardcode_runpath_var
=yes
15791 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15792 no_undefined_flag
='${wl}-z,text'
15793 archive_cmds_need_lc
=no
15794 hardcode_shlibpath_var
=no
15795 runpath_var
='LD_RUN_PATH'
15797 if test "$GCC" = yes; then
15798 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15799 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15801 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15802 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15806 sysv5
* | sco3.2v5
* | sco5v6
*)
15807 # Note: We can NOT use -z defs as we might desire, because we do not
15808 # link with -lc, and that would cause any symbols used from libc to
15809 # always be unresolved, which means just about no library would
15810 # ever link correctly. If we're not using GNU ld we use -z text
15811 # though, which does catch some bad symbols but isn't as heavy-handed
15813 no_undefined_flag
='${wl}-z,text'
15814 allow_undefined_flag
='${wl}-z,nodefs'
15815 archive_cmds_need_lc
=no
15816 hardcode_shlibpath_var
=no
15817 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15818 hardcode_libdir_separator
=':'
15819 link_all_deplibs
=yes
15820 export_dynamic_flag_spec
='${wl}-Bexport'
15821 runpath_var
='LD_RUN_PATH'
15823 if test "$GCC" = yes; then
15824 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15825 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15827 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15828 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15833 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15834 hardcode_libdir_flag_spec
='-L$libdir'
15835 hardcode_shlibpath_var
=no
15844 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15845 echo "${ECHO_T}$ld_shlibs" >&6; }
15846 test "$ld_shlibs" = no
&& can_build_shared
=no
15849 # Do we need to explicitly link libc?
15851 case "x$archive_cmds_need_lc" in
15853 # Assume -lc should be added
15854 archive_cmds_need_lc
=yes
15856 if test "$enable_shared" = yes && test "$GCC" = yes; then
15857 case $archive_cmds in
15859 # FIXME: we may have to deal with multi-command sequences.
15862 # Test whether the compiler implicitly links with -lc since on some
15863 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15864 # to ld, don't add -lc before -lgcc.
15865 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15866 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15868 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } 2>conftest.err
; then
15877 libobjs
=conftest.
$ac_objext
15879 wl
=$lt_prog_compiler_wl
15880 pic_flag
=$lt_prog_compiler_pic
15886 lt_save_allow_undefined_flag
=$allow_undefined_flag
15887 allow_undefined_flag
=
15888 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15889 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }
15894 archive_cmds_need_lc
=no
15896 archive_cmds_need_lc
=yes
15898 allow_undefined_flag
=$lt_save_allow_undefined_flag
15900 cat conftest.err
1>&5
15903 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15904 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15911 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15912 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15913 library_names_spec
=
15914 libname_spec
='lib$name'
15918 postuninstall_cmds
=
15922 shlibpath_overrides_runpath
=unknown
15924 dynamic_linker
="$host_os ld.so"
15925 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15926 if test "$GCC" = yes; then
15927 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15928 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15929 # if the path contains ";" then we assume it to be the separator
15930 # otherwise default to the standard path separator (i.e. ":") - it is
15931 # assumed that no part of a normal pathname contains ";" but that should
15932 # okay in the real world where ";" in dirpaths is itself problematic.
15933 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15935 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15938 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15940 need_lib_prefix
=unknown
15941 hardcode_into_libs
=no
15943 # when you set need_version to no, make sure it does not cause -set_version
15944 # flags to be left without arguments
15945 need_version
=unknown
15950 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15951 shlibpath_var
=LIBPATH
15953 # AIX 3 has no versioning support, so we append a major version to the name.
15954 soname_spec
='${libname}${release}${shared_ext}$major'
15961 hardcode_into_libs
=yes
15962 if test "$host_cpu" = ia64
; then
15963 # AIX 5 supports IA64
15964 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15965 shlibpath_var
=LD_LIBRARY_PATH
15967 # With GCC up to 2.95.x, collect2 would create an import file
15968 # for dependence libraries. The import file would start with
15969 # the line `#! .'. This would cause the generated library to
15970 # depend on `.', always an invalid library. This was fixed in
15971 # development snapshots of GCC prior to 3.0.
15973 aix4 | aix4.
[01] | aix4.
[01].
*)
15974 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15976 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15979 can_build_shared
=no
15983 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15984 # soname into executable. Probably we can add versioning support to
15985 # collect2, so additional links can be useful in future.
15986 if test "$aix_use_runtimelinking" = yes; then
15987 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15988 # instead of lib<name>.a to let people know that these are not
15989 # typical AIX shared libraries.
15990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15992 # We preserve .a as extension for shared libraries through AIX4.2
15993 # and later when we are not doing run time linking.
15994 library_names_spec
='${libname}${release}.a $libname.a'
15995 soname_spec
='${libname}${release}${shared_ext}$major'
15997 shlibpath_var
=LIBPATH
16002 library_names_spec
='$libname.ixlibrary $libname.a'
16003 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16004 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'
16008 library_names_spec
='${libname}${shared_ext}'
16009 dynamic_linker
="$host_os ld.so"
16010 shlibpath_var
=LIBRARY_PATH
16016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16017 soname_spec
='${libname}${release}${shared_ext}$major'
16018 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16019 shlibpath_var
=LD_LIBRARY_PATH
16020 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16021 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16022 # the default ld.so.conf also contains /usr/contrib/lib and
16023 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16024 # libtool to hard-code these into programs
16027 cygwin
* | mingw
* | pw32
*)
16028 version_type
=windows
16033 case $GCC,$host_os in
16034 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16035 library_names_spec
='$libname.dll.a'
16036 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16037 postinstall_cmds
='base_file=`basename \${file}`~
16038 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16039 dldir=$destdir/`dirname \$dlpath`~
16040 test -d \$dldir || mkdir -p \$dldir~
16041 $install_prog $dir/$dlname \$dldir/$dlname~
16042 chmod a+x \$dldir/$dlname'
16043 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16044 dlpath=$dir/\$dldll~
16046 shlibpath_overrides_runpath
=yes
16050 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16051 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16052 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16055 # MinGW DLLs use traditional 'lib' prefix
16056 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16057 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16058 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16059 # It is most probably a Windows format PATH printed by
16060 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16061 # path with ; separators, and with drive letters. We can handle the
16062 # drive letters (cygwin fileutils understands them), so leave them,
16063 # especially as we might pass files found there to a mingw objdump,
16064 # which wouldn't understand a cygwinified path. Ahh.
16065 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16067 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16071 # pw32 DLLs use 'pw' prefix rather than 'lib'
16072 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16078 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16081 dynamic_linker
='Win32 ld.exe'
16082 # FIXME: first we should search . and the directory the executable is in
16086 darwin
* | rhapsody
*)
16087 dynamic_linker
="$host_os dyld"
16088 version_type
=darwin
16091 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16092 soname_spec
='${libname}${release}${major}$shared_ext'
16093 shlibpath_overrides_runpath
=yes
16094 shlibpath_var
=DYLD_LIBRARY_PATH
16095 shrext_cmds
='.dylib'
16096 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16097 if test "$GCC" = yes; then
16098 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"`
16100 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16102 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16110 soname_spec
='${libname}${release}${shared_ext}$major'
16111 shlibpath_var
=LD_LIBRARY_PATH
16122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16123 soname_spec
='${libname}${release}${shared_ext}$major'
16124 shlibpath_var
=LD_LIBRARY_PATH
16125 shlibpath_overrides_runpath
=no
16126 hardcode_into_libs
=yes
16127 dynamic_linker
='GNU ld.so'
16130 freebsd
* | dragonfly
*)
16131 # DragonFly does not have aout. When/if they implement a new
16132 # versioning mechanism, adjust this.
16133 if test -x /usr
/bin
/objformat
; then
16134 objformat
=`/usr/bin/objformat`
16137 freebsd
[123]*) objformat
=aout
;;
16138 *) objformat
=elf
;;
16141 version_type
=freebsd-
$objformat
16142 case $version_type in
16144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16149 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16153 shlibpath_var
=LD_LIBRARY_PATH
16156 shlibpath_overrides_runpath
=yes
16158 freebsd3.
[01]* | freebsdelf3.
[01]*)
16159 shlibpath_overrides_runpath
=yes
16160 hardcode_into_libs
=yes
16162 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16163 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16164 shlibpath_overrides_runpath
=no
16165 hardcode_into_libs
=yes
16167 freebsd
*) # from 4.6 on
16168 shlibpath_overrides_runpath
=yes
16169 hardcode_into_libs
=yes
16178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16179 soname_spec
='${libname}${release}${shared_ext}$major'
16180 shlibpath_var
=LD_LIBRARY_PATH
16181 hardcode_into_libs
=yes
16184 hpux9
* | hpux10
* | hpux11
*)
16185 # Give a soname corresponding to the major version so that dld.sl refuses to
16186 # link against other versions.
16193 hardcode_into_libs
=yes
16194 dynamic_linker
="$host_os dld.so"
16195 shlibpath_var
=LD_LIBRARY_PATH
16196 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
16199 if test "X$HPUX_IA64_MODE" = X32
; then
16200 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16202 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16204 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16208 hardcode_into_libs
=yes
16209 dynamic_linker
="$host_os dld.sl"
16210 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16211 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16213 soname_spec
='${libname}${release}${shared_ext}$major'
16214 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16215 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16219 dynamic_linker
="$host_os dld.sl"
16220 shlibpath_var
=SHLIB_PATH
16221 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16223 soname_spec
='${libname}${release}${shared_ext}$major'
16226 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16227 postinstall_cmds
='chmod 555 $lib'
16234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16235 soname_spec
='${libname}${release}${shared_ext}$major'
16236 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16237 shlibpath_var
=LD_LIBRARY_PATH
16238 shlibpath_overrides_runpath
=no
16239 hardcode_into_libs
=yes
16242 irix5
* | irix6
* | nonstopux
*)
16244 nonstopux
*) version_type
=nonstopux
;;
16246 if test "$lt_cv_prog_gnu_ld" = yes; then
16254 soname_spec
='${libname}${release}${shared_ext}$major'
16255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16257 irix5
* | nonstopux
*)
16258 libsuff
= shlibsuff
=
16261 case $LD in # libtool.m4 will add one of these switches to LD
16262 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16263 libsuff
= shlibsuff
= libmagic
=32-bit;;
16264 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16265 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16266 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16267 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16268 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16272 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16273 shlibpath_overrides_runpath
=no
16274 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16275 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16276 hardcode_into_libs
=yes
16279 # No shared lib support for Linux oldld, aout, or coff.
16280 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16284 # This must be Linux ELF.
16289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16290 soname_spec
='${libname}${release}${shared_ext}$major'
16291 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16292 shlibpath_var
=LD_LIBRARY_PATH
16293 shlibpath_overrides_runpath
=no
16294 # This implies no fast_install, which is unacceptable.
16295 # Some rework will be needed to allow for fast_install
16296 # before this can be enabled.
16297 hardcode_into_libs
=yes
16299 # Append ld.so.conf contents to the search path
16300 if test -f /etc
/ld.so.conf
; then
16301 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' ' '`
16302 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16305 # We used to test for /lib/ld.so.1 and disable shared libraries on
16306 # powerpc, because MkLinux only supported shared libraries with the
16307 # GNU dynamic linker. Since this was broken with cross compilers,
16308 # most powerpc-linux boxes support dynamic linking these days and
16309 # people can always --disable-shared, the test was removed, and we
16310 # assume the GNU/Linux dynamic linker is in use.
16311 dynamic_linker
='GNU/Linux ld.so'
16318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16319 soname_spec
='${libname}${release}${shared_ext}$major'
16320 shlibpath_var
=LD_LIBRARY_PATH
16321 shlibpath_overrides_runpath
=no
16322 hardcode_into_libs
=yes
16323 dynamic_linker
='GNU ld.so'
16330 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16332 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16333 dynamic_linker
='NetBSD (a.out) ld.so'
16335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16336 soname_spec
='${libname}${release}${shared_ext}$major'
16337 dynamic_linker
='NetBSD ld.elf_so'
16339 shlibpath_var
=LD_LIBRARY_PATH
16340 shlibpath_overrides_runpath
=yes
16341 hardcode_into_libs
=yes
16346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16347 shlibpath_var
=LD_LIBRARY_PATH
16348 shlibpath_overrides_runpath
=yes
16355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16356 soname_spec
='${libname}${release}${shared_ext}$major'
16357 shlibpath_var
=LD_LIBRARY_PATH
16358 shlibpath_overrides_runpath
=yes
16363 sys_lib_dlsearch_path_spec
="/usr/lib"
16365 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16367 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16368 *) need_version
=no
;;
16370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16371 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16372 shlibpath_var
=LD_LIBRARY_PATH
16373 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16375 openbsd2.
[89] | openbsd2.
[89].
*)
16376 shlibpath_overrides_runpath
=no
16379 shlibpath_overrides_runpath
=yes
16383 shlibpath_overrides_runpath
=yes
16388 libname_spec
='$name'
16391 library_names_spec
='$libname${shared_ext} $libname.a'
16392 dynamic_linker
='OS/2 ld.exe'
16393 shlibpath_var
=LIBPATH
16396 osf3
* | osf4
* | osf5
*)
16400 soname_spec
='${libname}${release}${shared_ext}$major'
16401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16402 shlibpath_var
=LD_LIBRARY_PATH
16403 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16404 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16412 soname_spec
='${libname}${release}${shared_ext}$major'
16413 shlibpath_var
=LD_LIBRARY_PATH
16414 shlibpath_overrides_runpath
=yes
16415 hardcode_into_libs
=yes
16416 # ldd complains unless libraries are executable
16417 postinstall_cmds
='chmod +x $lib'
16422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16423 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16424 shlibpath_var
=LD_LIBRARY_PATH
16425 shlibpath_overrides_runpath
=yes
16426 if test "$with_gnu_ld" = yes; then
16434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16435 soname_spec
='${libname}${release}${shared_ext}$major'
16436 shlibpath_var
=LD_LIBRARY_PATH
16437 case $host_vendor in
16439 shlibpath_overrides_runpath
=no
16441 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16442 runpath_var
=LD_RUN_PATH
16450 shlibpath_overrides_runpath
=no
16451 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16457 if test -d /usr
/nec
;then
16459 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16460 soname_spec
='$libname${shared_ext}.$major'
16461 shlibpath_var
=LD_LIBRARY_PATH
16465 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16466 version_type
=freebsd-elf
16469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16470 soname_spec
='${libname}${release}${shared_ext}$major'
16471 shlibpath_var
=LD_LIBRARY_PATH
16472 hardcode_into_libs
=yes
16473 if test "$with_gnu_ld" = yes; then
16474 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16475 shlibpath_overrides_runpath
=no
16477 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16478 shlibpath_overrides_runpath
=yes
16481 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16485 sys_lib_dlsearch_path_spec
='/usr/lib'
16490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16491 soname_spec
='${libname}${release}${shared_ext}$major'
16492 shlibpath_var
=LD_LIBRARY_PATH
16499 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16500 echo "${ECHO_T}$dynamic_linker" >&6; }
16501 test "$dynamic_linker" = no
&& can_build_shared
=no
16503 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16504 if test "$GCC" = yes; then
16505 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16508 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16509 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16511 if test -n "$hardcode_libdir_flag_spec" || \
16512 test -n "$runpath_var" || \
16513 test "X$hardcode_automatic" = "Xyes" ; then
16515 # We can hardcode non-existant directories.
16516 if test "$hardcode_direct" != no
&&
16517 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16518 # have to relink, otherwise we might link with an installed library
16519 # when we should be linking with a yet-to-be-installed one
16520 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16521 test "$hardcode_minus_L" != no
; then
16522 # Linking always hardcodes the temporary library directory.
16523 hardcode_action
=relink
16525 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16526 hardcode_action
=immediate
16529 # We cannot hardcode anything, or else we can only hardcode existing
16531 hardcode_action
=unsupported
16533 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16534 echo "${ECHO_T}$hardcode_action" >&6; }
16536 if test "$hardcode_action" = relink
; then
16537 # Fast installation is not supported
16538 enable_fast_install
=no
16539 elif test "$shlibpath_overrides_runpath" = yes ||
16540 test "$enable_shared" = no
; then
16541 # Fast installation is not necessary
16542 enable_fast_install
=needless
16547 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16548 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16549 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16550 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16551 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16552 { echo "$as_me:$LINENO: result: yes" >&5
16553 echo "${ECHO_T}yes" >&6; }
16555 # FIXME - insert some real tests, host_os isn't really good enough
16558 if test -n "$STRIP" ; then
16559 striplib
="$STRIP -x"
16560 { echo "$as_me:$LINENO: result: yes" >&5
16561 echo "${ECHO_T}yes" >&6; }
16563 { echo "$as_me:$LINENO: result: no" >&5
16564 echo "${ECHO_T}no" >&6; }
16568 { echo "$as_me:$LINENO: result: no" >&5
16569 echo "${ECHO_T}no" >&6; }
16574 if test "x$enable_dlopen" != xyes
; then
16575 enable_dlopen
=unknown
16576 enable_dlopen_self
=unknown
16577 enable_dlopen_self_static
=unknown
16584 lt_cv_dlopen
="load_add_on"
16586 lt_cv_dlopen_self
=yes
16590 lt_cv_dlopen
="LoadLibrary"
16595 lt_cv_dlopen
="dlopen"
16600 # if libdl is installed we need to link against it
16601 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16602 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16603 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16604 echo $ECHO_N "(cached) $ECHO_C" >&6
16606 ac_check_lib_save_LIBS
=$LIBS
16608 cat >conftest.
$ac_ext <<_ACEOF
16611 cat confdefs.h
>>conftest.
$ac_ext
16612 cat >>conftest.
$ac_ext <<_ACEOF
16613 /* end confdefs.h. */
16615 /* Override any GCC internal prototype to avoid an error.
16616 Use char because int might match the return type of a GCC
16617 builtin and then its argument prototype would still apply. */
16630 rm -f conftest.
$ac_objext conftest
$ac_exeext
16631 if { (ac_try
="$ac_link"
16632 case "(($ac_try" in
16633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16634 *) ac_try_echo=$ac_try;;
16636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16637 (eval "$ac_link") 2>conftest.er1
16639 grep -v '^ *+' conftest.er1 >conftest.err
16641 cat conftest.err >&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } &&
16644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16645 { (case "(($ac_try" in
16646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16647 *) ac_try_echo
=$ac_try;;
16649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16650 (eval "$ac_try") 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; } &&
16654 { ac_try
='test -s conftest$ac_exeext'
16655 { (case "(($ac_try" in
16656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16657 *) ac_try_echo=$ac_try;;
16659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16660 (eval "$ac_try") 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16664 ac_cv_lib_dl_dlopen=yes
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16669 ac_cv_lib_dl_dlopen=no
16672 rm -f core conftest.err conftest.$ac_objext \
16673 conftest$ac_exeext conftest.$ac_ext
16674 LIBS=$ac_check_lib_save_LIBS
16676 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16677 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16678 if test $ac_cv_lib_dl_dlopen = yes; then
16679 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16682 lt_cv_dlopen="dyld"
16684 lt_cv_dlopen_self=yes
16691 { echo "$as_me:$LINENO: checking for shl_load" >&5
16692 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16693 if test "${ac_cv_func_shl_load+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 cat >conftest.$ac_ext <<_ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16704 #define shl_load innocuous_shl_load
16706 /* System header to define __stub macros and hopefully few prototypes,
16707 which can conflict with char shl_load (); below.
16708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16709 <limits.h> exists even on freestanding compilers. */
16712 # include <limits.h>
16714 # include <assert.h>
16719 /* Override any GCC internal prototype to avoid an error.
16720 Use char because int might match the return type of a GCC
16721 builtin and then its argument prototype would still apply. */
16726 /* The GNU C library defines this for functions which it implements
16727 to always fail with ENOSYS. Some functions are actually named
16728 something starting with __ and the normal name is an alias. */
16729 #if defined __stub_shl_load || defined __stub___shl_load
16736 return shl_load ();
16741 rm -f conftest.$ac_objext conftest$ac_exeext
16742 if { (ac_try="$ac_link"
16743 case "(($ac_try" in
16744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16745 *) ac_try_echo
=$ac_try;;
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_link") 2>conftest.er1
16750 grep -v '^ *+' conftest.er1
>conftest.err
16752 cat conftest.err
>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16756 { (case "(($ac_try" in
16757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16758 *) ac_try_echo=$ac_try;;
16760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16761 (eval "$ac_try") 2>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } &&
16765 { ac_try='test -s conftest$ac_exeext'
16766 { (case "(($ac_try" in
16767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16768 *) ac_try_echo
=$ac_try;;
16770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771 (eval "$ac_try") 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 ac_cv_func_shl_load
=yes
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.
$ac_ext >&5
16780 ac_cv_func_shl_load
=no
16783 rm -f core conftest.err conftest.
$ac_objext \
16784 conftest
$ac_exeext conftest.
$ac_ext
16786 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16787 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16788 if test $ac_cv_func_shl_load = yes; then
16789 lt_cv_dlopen
="shl_load"
16791 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16792 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16793 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 ac_check_lib_save_LIBS
=$LIBS
16798 cat >conftest.
$ac_ext <<_ACEOF
16801 cat confdefs.h
>>conftest.
$ac_ext
16802 cat >>conftest.
$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16805 /* Override any GCC internal prototype to avoid an error.
16806 Use char because int might match the return type of a GCC
16807 builtin and then its argument prototype would still apply. */
16815 return shl_load ();
16820 rm -f conftest.
$ac_objext conftest
$ac_exeext
16821 if { (ac_try
="$ac_link"
16822 case "(($ac_try" in
16823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16824 *) ac_try_echo=$ac_try;;
16826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16827 (eval "$ac_link") 2>conftest.er1
16829 grep -v '^ *+' conftest.er1 >conftest.err
16831 cat conftest.err >&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); } &&
16834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16835 { (case "(($ac_try" in
16836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16837 *) ac_try_echo
=$ac_try;;
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_try") 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try
='test -s conftest$ac_exeext'
16845 { (case "(($ac_try" in
16846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16847 *) ac_try_echo=$ac_try;;
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_try") 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_cv_lib_dld_shl_load=yes
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16859 ac_cv_lib_dld_shl_load=no
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext conftest.$ac_ext
16864 LIBS=$ac_check_lib_save_LIBS
16866 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16867 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16868 if test $ac_cv_lib_dld_shl_load = yes; then
16869 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16871 { echo "$as_me:$LINENO: checking for dlopen" >&5
16872 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16873 if test "${ac_cv_func_dlopen+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 cat >conftest.$ac_ext <<_ACEOF
16879 cat confdefs.h >>conftest.$ac_ext
16880 cat >>conftest.$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16882 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16884 #define dlopen innocuous_dlopen
16886 /* System header to define __stub macros and hopefully few prototypes,
16887 which can conflict with char dlopen (); below.
16888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16889 <limits.h> exists even on freestanding compilers. */
16892 # include <limits.h>
16894 # include <assert.h>
16899 /* Override any GCC internal prototype to avoid an error.
16900 Use char because int might match the return type of a GCC
16901 builtin and then its argument prototype would still apply. */
16906 /* The GNU C library defines this for functions which it implements
16907 to always fail with ENOSYS. Some functions are actually named
16908 something starting with __ and the normal name is an alias. */
16909 #if defined __stub_dlopen || defined __stub___dlopen
16921 rm -f conftest.$ac_objext conftest$ac_exeext
16922 if { (ac_try="$ac_link"
16923 case "(($ac_try" in
16924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16925 *) ac_try_echo
=$ac_try;;
16927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16928 (eval "$ac_link") 2>conftest.er1
16930 grep -v '^ *+' conftest.er1
>conftest.err
16932 cat conftest.err
>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } &&
16935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16936 { (case "(($ac_try" in
16937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16938 *) ac_try_echo=$ac_try;;
16940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16941 (eval "$ac_try") 2>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); }; } &&
16945 { ac_try='test -s conftest$ac_exeext'
16946 { (case "(($ac_try" in
16947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16948 *) ac_try_echo
=$ac_try;;
16950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16951 (eval "$ac_try") 2>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; }; then
16955 ac_cv_func_dlopen
=yes
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.
$ac_ext >&5
16960 ac_cv_func_dlopen
=no
16963 rm -f core conftest.err conftest.
$ac_objext \
16964 conftest
$ac_exeext conftest.
$ac_ext
16966 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16967 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16968 if test $ac_cv_func_dlopen = yes; then
16969 lt_cv_dlopen
="dlopen"
16971 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16972 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16973 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16974 echo $ECHO_N "(cached) $ECHO_C" >&6
16976 ac_check_lib_save_LIBS
=$LIBS
16978 cat >conftest.
$ac_ext <<_ACEOF
16981 cat confdefs.h
>>conftest.
$ac_ext
16982 cat >>conftest.
$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16985 /* Override any GCC internal prototype to avoid an error.
16986 Use char because int might match the return type of a GCC
16987 builtin and then its argument prototype would still apply. */
17000 rm -f conftest.
$ac_objext conftest
$ac_exeext
17001 if { (ac_try
="$ac_link"
17002 case "(($ac_try" in
17003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_link") 2>conftest.er1
17009 grep -v '^ *+' conftest.er1 >conftest.err
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } &&
17014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17015 { (case "(($ac_try" in
17016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17017 *) ac_try_echo
=$ac_try;;
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_try") 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; } &&
17024 { ac_try
='test -s conftest$ac_exeext'
17025 { (case "(($ac_try" in
17026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_try") 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; }; then
17034 ac_cv_lib_dl_dlopen=yes
17036 echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17039 ac_cv_lib_dl_dlopen=no
17042 rm -f core conftest.err conftest.$ac_objext \
17043 conftest$ac_exeext conftest.$ac_ext
17044 LIBS=$ac_check_lib_save_LIBS
17046 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17047 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17048 if test $ac_cv_lib_dl_dlopen = yes; then
17049 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17051 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17052 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17053 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 ac_check_lib_save_LIBS=$LIBS
17057 LIBS="-lsvld $LIBS"
17058 cat >conftest.$ac_ext <<_ACEOF
17061 cat confdefs.h >>conftest.$ac_ext
17062 cat >>conftest.$ac_ext <<_ACEOF
17063 /* end confdefs.h. */
17065 /* Override any GCC internal prototype to avoid an error.
17066 Use char because int might match the return type of a GCC
17067 builtin and then its argument prototype would still apply. */
17080 rm -f conftest.$ac_objext conftest$ac_exeext
17081 if { (ac_try="$ac_link"
17082 case "(($ac_try" in
17083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17084 *) ac_try_echo
=$ac_try;;
17086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17087 (eval "$ac_link") 2>conftest.er1
17089 grep -v '^ *+' conftest.er1
>conftest.err
17091 cat conftest.err
>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); } &&
17094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17095 { (case "(($ac_try" in
17096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_try") 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; } &&
17104 { ac_try='test -s conftest$ac_exeext'
17105 { (case "(($ac_try" in
17106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17107 *) ac_try_echo
=$ac_try;;
17109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17110 (eval "$ac_try") 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; }; then
17114 ac_cv_lib_svld_dlopen
=yes
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.
$ac_ext >&5
17119 ac_cv_lib_svld_dlopen
=no
17122 rm -f core conftest.err conftest.
$ac_objext \
17123 conftest
$ac_exeext conftest.
$ac_ext
17124 LIBS
=$ac_check_lib_save_LIBS
17126 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17127 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17128 if test $ac_cv_lib_svld_dlopen = yes; then
17129 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17131 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17132 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17133 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 ac_check_lib_save_LIBS
=$LIBS
17138 cat >conftest.
$ac_ext <<_ACEOF
17141 cat confdefs.h
>>conftest.
$ac_ext
17142 cat >>conftest.
$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17145 /* Override any GCC internal prototype to avoid an error.
17146 Use char because int might match the return type of a GCC
17147 builtin and then its argument prototype would still apply. */
17155 return dld_link ();
17160 rm -f conftest.
$ac_objext conftest
$ac_exeext
17161 if { (ac_try
="$ac_link"
17162 case "(($ac_try" in
17163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17164 *) ac_try_echo=$ac_try;;
17166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17167 (eval "$ac_link") 2>conftest.er1
17169 grep -v '^ *+' conftest.er1 >conftest.err
17171 cat conftest.err >&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); } &&
17174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17175 { (case "(($ac_try" in
17176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17177 *) ac_try_echo
=$ac_try;;
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_try") 2>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); }; } &&
17184 { ac_try
='test -s conftest$ac_exeext'
17185 { (case "(($ac_try" in
17186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17187 *) ac_try_echo=$ac_try;;
17189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17190 (eval "$ac_try") 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; }; then
17194 ac_cv_lib_dld_dld_link=yes
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17199 ac_cv_lib_dld_dld_link=no
17202 rm -f core conftest.err conftest.$ac_objext \
17203 conftest$ac_exeext conftest.$ac_ext
17204 LIBS=$ac_check_lib_save_LIBS
17206 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17207 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17208 if test $ac_cv_lib_dld_dld_link = yes; then
17209 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17230 if test "x$lt_cv_dlopen" != xno; then
17236 case $lt_cv_dlopen in
17238 save_CPPFLAGS="$CPPFLAGS"
17239 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17241 save_LDFLAGS="$LDFLAGS"
17242 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17245 LIBS="$lt_cv_dlopen_libs $LIBS"
17247 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17248 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17249 if test "${lt_cv_dlopen_self+set}" = set; then
17250 echo $ECHO_N "(cached) $ECHO_C" >&6
17252 if test "$cross_compiling" = yes; then :
17253 lt_cv_dlopen_self=cross
17255 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17256 lt_status=$lt_dlunknown
17257 cat > conftest.$ac_ext <<EOF
17258 #line 17249 "configure"
17259 #include "confdefs.h"
17268 # define LT_DLGLOBAL RTLD_GLOBAL
17271 # define LT_DLGLOBAL DL_GLOBAL
17273 # define LT_DLGLOBAL 0
17277 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17278 find out it does not work in some platform. */
17279 #ifndef LT_DLLAZY_OR_NOW
17281 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17284 # define LT_DLLAZY_OR_NOW DL_LAZY
17287 # define LT_DLLAZY_OR_NOW RTLD_NOW
17290 # define LT_DLLAZY_OR_NOW DL_NOW
17292 # define LT_DLLAZY_OR_NOW 0
17300 extern "C" void exit (int);
17303 void fnord() { int i=42;}
17306 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17307 int status = $lt_dlunknown;
17311 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17312 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17313 /* dlclose (self); */
17321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17322 (eval $ac_link) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17326 (./conftest; exit; ) >&5 2>/dev/null
17328 case x$lt_status in
17329 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17330 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17331 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17334 # compilation failed
17335 lt_cv_dlopen_self=no
17342 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17343 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17345 if test "x$lt_cv_dlopen_self" = xyes; then
17346 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17347 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17348 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17349 if test "${lt_cv_dlopen_self_static+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 if test "$cross_compiling" = yes; then :
17353 lt_cv_dlopen_self_static=cross
17355 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17356 lt_status=$lt_dlunknown
17357 cat > conftest.$ac_ext <<EOF
17358 #line 17349 "configure"
17359 #include "confdefs.h"
17368 # define LT_DLGLOBAL RTLD_GLOBAL
17371 # define LT_DLGLOBAL DL_GLOBAL
17373 # define LT_DLGLOBAL 0
17377 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17378 find out it does not work in some platform. */
17379 #ifndef LT_DLLAZY_OR_NOW
17381 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17384 # define LT_DLLAZY_OR_NOW DL_LAZY
17387 # define LT_DLLAZY_OR_NOW RTLD_NOW
17390 # define LT_DLLAZY_OR_NOW DL_NOW
17392 # define LT_DLLAZY_OR_NOW 0
17400 extern "C" void exit (int);
17403 void fnord() { int i=42;}
17406 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17407 int status = $lt_dlunknown;
17411 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17412 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17413 /* dlclose (self); */
17421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17422 (eval $ac_link) 2>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17426 (./conftest; exit; ) >&5 2>/dev/null
17428 case x$lt_status in
17429 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17430 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17431 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17434 # compilation failed
17435 lt_cv_dlopen_self_static=no
17442 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17443 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17446 CPPFLAGS="$save_CPPFLAGS"
17447 LDFLAGS="$save_LDFLAGS"
17452 case $lt_cv_dlopen_self in
17453 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17454 *) enable_dlopen_self=unknown ;;
17457 case $lt_cv_dlopen_self_static in
17458 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17459 *) enable_dlopen_self_static=unknown ;;
17464 # Report which library types will actually be built
17465 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17466 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17467 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17468 echo "${ECHO_T}$can_build_shared" >&6; }
17470 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17471 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17472 test "$can_build_shared" = "no" && enable_shared=no
17474 # On AIX, shared libraries and static libraries use the same namespace, and
17475 # are all built from PIC.
17478 test "$enable_shared" = yes && enable_static=no
17479 if test -n "$RANLIB"; then
17480 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17481 postinstall_cmds='$RANLIB $lib'
17486 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17487 test "$enable_shared" = yes && enable_static=no
17491 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17492 echo "${ECHO_T}$enable_shared" >&6; }
17494 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17495 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17496 # Make sure either enable_shared or enable_static is yes.
17497 test "$enable_shared" = yes || enable_static=yes
17498 { echo "$as_me:$LINENO: result: $enable_static" >&5
17499 echo "${ECHO_T}$enable_static" >&6; }
17501 # The else clause should only fire when bootstrapping the
17502 # libtool distribution, otherwise you forgot to ship ltmain.sh
17503 # with your package, and you will get complaints that there are
17504 # no rules to generate ltmain.sh.
17505 if test -f "$ltmain"; then
17506 # See if we are running on zsh, and set the options which allow our commands through
17507 # without removal of \ escapes.
17508 if test -n "${ZSH_VERSION+set}" ; then
17509 setopt NO_GLOB_SUBST
17511 # Now quote all the things that may contain metacharacters while being
17512 # careful not to overquote the AC_SUBSTed values. We take copies of the
17513 # variables and quote the copies for generation of the libtool script.
17514 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17516 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17517 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17518 deplibs_check_method reload_flag reload_cmds need_locks \
17519 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17520 lt_cv_sys_global_symbol_to_c_name_address \
17521 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17522 old_postinstall_cmds old_postuninstall_cmds \
17526 lt_prog_compiler_wl \
17527 lt_prog_compiler_pic \
17528 lt_prog_compiler_static \
17529 lt_prog_compiler_no_builtin_flag \
17530 export_dynamic_flag_spec \
17531 thread_safe_flag_spec \
17532 whole_archive_flag_spec \
17533 enable_shared_with_static_runtimes \
17535 old_archive_from_new_cmds \
17540 compiler_lib_search_path \
17542 archive_expsym_cmds \
17544 postuninstall_cmds \
17545 old_archive_from_expsyms_cmds \
17546 allow_undefined_flag \
17547 no_undefined_flag \
17548 export_symbols_cmds \
17549 hardcode_libdir_flag_spec \
17550 hardcode_libdir_flag_spec_ld \
17551 hardcode_libdir_separator \
17552 hardcode_automatic \
17554 module_expsym_cmds \
17555 lt_cv_prog_compiler_c_o \
17557 include_expsyms; do
17560 old_archive_cmds | \
17561 old_archive_from_new_cmds | \
17563 archive_expsym_cmds | \
17565 module_expsym_cmds | \
17566 old_archive_from_expsyms_cmds | \
17567 export_symbols_cmds | \
17568 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17569 postinstall_cmds | postuninstall_cmds | \
17570 old_postinstall_cmds | old_postuninstall_cmds | \
17571 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17572 # Double-quote double-evaled strings.
17573 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17576 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17582 *'\$0 --fallback-echo"')
17583 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17587 cfgfile="${ofile}T"
17588 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17590 { echo "$as_me:$LINENO: creating $ofile" >&5
17591 echo "$as_me: creating $ofile" >&6;}
17593 cat <<__EOF__ >> "$cfgfile"
17596 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17597 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17598 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17600 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17601 # Free Software Foundation, Inc.
17603 # This file is part of GNU Libtool:
17604 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17606 # This program is free software; you can redistribute it and/or modify
17607 # it under the terms of the GNU General Public License as published by
17608 # the Free Software Foundation; either version 2 of the License, or
17609 # (at your option) any later version.
17611 # This program is distributed in the hope that it will be useful, but
17612 # WITHOUT ANY WARRANTY; without even the implied warranty of
17613 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17614 # General Public License for more details.
17616 # You should have received a copy of the GNU General Public License
17617 # along with this program; if not, write to the Free Software
17618 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17620 # As a special exception to the GNU General Public License, if you
17621 # distribute this file as part of a program that contains a
17622 # configuration script generated by Autoconf, you may include it under
17623 # the same distribution terms that you use for the rest of that program.
17625 # A sed program that does not truncate output.
17628 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17629 Xsed="$SED -e 1s/^X//"
17631 # The HP-UX ksh and POSIX shell print the target directory to stdout
17632 # if CDPATH is set.
17633 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17635 # The names of the tagged configurations supported by this script.
17638 # ### BEGIN LIBTOOL CONFIG
17640 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17642 # Shell to use when invoking shell scripts.
17645 # Whether or not to build shared libraries.
17646 build_libtool_libs=$enable_shared
17648 # Whether or not to build static libraries.
17649 build_old_libs=$enable_static
17651 # Whether or not to add -lc for building shared libraries.
17652 build_libtool_need_lc=$archive_cmds_need_lc
17654 # Whether or not to disallow shared libs when runtime libs are static
17655 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17657 # Whether or not to optimize for fast installation.
17658 fast_install=$enable_fast_install
17661 host_alias=$host_alias
17665 # The build system.
17666 build_alias=$build_alias
17670 # An echo program that does not interpret backslashes.
17675 AR_FLAGS=$lt_AR_FLAGS
17680 # LTCC compiler flags.
17681 LTCFLAGS=$lt_LTCFLAGS
17683 # A language-specific compiler.
17686 # Is the compiler the GNU C compiler?
17692 # The linker used to build libraries.
17695 # Whether we need hard or soft links.
17698 # A BSD-compatible nm program.
17701 # A symbol stripping program
17704 # Used to examine libraries when file_magic_cmd begins "file"
17705 MAGIC_CMD=$MAGIC_CMD
17707 # Used on cygwin: DLL creation program.
17710 # Used on cygwin: object dumper.
17713 # Used on cygwin: assembler.
17716 # The name of the directory that contains temporary libtool files.
17719 # How to create reloadable object files.
17720 reload_flag=$lt_reload_flag
17721 reload_cmds=$lt_reload_cmds
17723 # How to pass a linker flag through the compiler.
17724 wl=$lt_lt_prog_compiler_wl
17726 # Object file suffix (normally "o").
17727 objext="$ac_objext"
17729 # Old archive suffix (normally "a").
17732 # Shared library suffix (normally ".so").
17733 shrext_cmds='$shrext_cmds'
17735 # Executable file suffix (normally "").
17738 # Additional compiler flags for building library objects.
17739 pic_flag=$lt_lt_prog_compiler_pic
17742 # What is the maximum length of a command?
17743 max_cmd_len=$lt_cv_sys_max_cmd_len
17745 # Does compiler simultaneously support -c and -o options?
17746 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17748 # Must we lock files when doing compilation?
17749 need_locks=$lt_need_locks
17751 # Do we need the lib prefix for modules?
17752 need_lib_prefix=$need_lib_prefix
17754 # Do we need a version for libraries?
17755 need_version=$need_version
17757 # Whether dlopen is supported.
17758 dlopen_support=$enable_dlopen
17760 # Whether dlopen of programs is supported.
17761 dlopen_self=$enable_dlopen_self
17763 # Whether dlopen of statically linked programs is supported.
17764 dlopen_self_static=$enable_dlopen_self_static
17766 # Compiler flag to prevent dynamic linking.
17767 link_static_flag=$lt_lt_prog_compiler_static
17769 # Compiler flag to turn off builtin functions.
17770 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17772 # Compiler flag to allow reflexive dlopens.
17773 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17775 # Compiler flag to generate shared objects directly from archives.
17776 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17778 # Compiler flag to generate thread-safe objects.
17779 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17781 # Library versioning type.
17782 version_type=$version_type
17784 # Format of library name prefix.
17785 libname_spec=$lt_libname_spec
17787 # List of archive names. First name is the real one, the rest are links.
17788 # The last name is the one that the linker finds with -lNAME.
17789 library_names_spec=$lt_library_names_spec
17791 # The coded name of the library, if different from the real name.
17792 soname_spec=$lt_soname_spec
17794 # Commands used to build and install an old-style archive.
17796 old_archive_cmds=$lt_old_archive_cmds
17797 old_postinstall_cmds=$lt_old_postinstall_cmds
17798 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17800 # Create an old-style archive from a shared archive.
17801 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17803 # Create a temporary old-style archive to link instead of a shared archive.
17804 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17806 # Commands used to build and install a shared archive.
17807 archive_cmds=$lt_archive_cmds
17808 archive_expsym_cmds=$lt_archive_expsym_cmds
17809 postinstall_cmds=$lt_postinstall_cmds
17810 postuninstall_cmds=$lt_postuninstall_cmds
17812 # Commands used to build a loadable module (assumed same as above if empty)
17813 module_cmds=$lt_module_cmds
17814 module_expsym_cmds=$lt_module_expsym_cmds
17816 # Commands to strip libraries.
17817 old_striplib=$lt_old_striplib
17818 striplib=$lt_striplib
17820 # Dependencies to place before the objects being linked to create a
17822 predep_objects=$lt_predep_objects
17824 # Dependencies to place after the objects being linked to create a
17826 postdep_objects=$lt_postdep_objects
17828 # Dependencies to place before the objects being linked to create a
17830 predeps=$lt_predeps
17832 # Dependencies to place after the objects being linked to create a
17834 postdeps=$lt_postdeps
17836 # The library search path used internally by the compiler when linking
17837 # a shared library.
17838 compiler_lib_search_path=$lt_compiler_lib_search_path
17840 # Method to check whether dependent libraries are shared objects.
17841 deplibs_check_method=$lt_deplibs_check_method
17843 # Command to use when deplibs_check_method == file_magic.
17844 file_magic_cmd=$lt_file_magic_cmd
17846 # Flag that allows shared libraries with undefined symbols to be built.
17847 allow_undefined_flag=$lt_allow_undefined_flag
17849 # Flag that forces no undefined symbols.
17850 no_undefined_flag=$lt_no_undefined_flag
17852 # Commands used to finish a libtool library installation in a directory.
17853 finish_cmds=$lt_finish_cmds
17855 # Same as above, but a single script fragment to be evaled but not shown.
17856 finish_eval=$lt_finish_eval
17858 # Take the output of nm and produce a listing of raw symbols and C names.
17859 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17861 # Transform the output of nm in a proper C declaration
17862 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17864 # Transform the output of nm in a C name address pair
17865 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17867 # This is the shared library runtime path variable.
17868 runpath_var=$runpath_var
17870 # This is the shared library path variable.
17871 shlibpath_var=$shlibpath_var
17873 # Is shlibpath searched before the hard-coded library search path?
17874 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17876 # How to hardcode a shared library path into an executable.
17877 hardcode_action=$hardcode_action
17879 # Whether we should hardcode library paths into libraries.
17880 hardcode_into_libs=$hardcode_into_libs
17882 # Flag to hardcode \$libdir into a binary during linking.
17883 # This must work even if \$libdir does not exist.
17884 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17886 # If ld is used when linking, flag to hardcode \$libdir into
17887 # a binary during linking. This must work even if \$libdir does
17889 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17891 # Whether we need a single -rpath flag with a separated argument.
17892 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17894 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17895 # resulting binary.
17896 hardcode_direct=$hardcode_direct
17898 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17899 # resulting binary.
17900 hardcode_minus_L=$hardcode_minus_L
17902 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17903 # the resulting binary.
17904 hardcode_shlibpath_var=$hardcode_shlibpath_var
17906 # Set to yes if building a shared library automatically hardcodes DIR into the library
17907 # and all subsequent libraries and executables linked against it.
17908 hardcode_automatic=$hardcode_automatic
17910 # Variables whose values should be saved in libtool wrapper scripts and
17911 # restored at relink time.
17912 variables_saved_for_relink="$variables_saved_for_relink"
17914 # Whether libtool must link a program against all its dependency libraries.
17915 link_all_deplibs=$link_all_deplibs
17917 # Compile-time system search path for libraries
17918 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17920 # Run-time system search path for libraries
17921 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17923 # Fix the shell variable \$srcfile for the compiler.
17924 fix_srcfile_path="$fix_srcfile_path"
17926 # Set to yes if exported symbols are required.
17927 always_export_symbols=$always_export_symbols
17929 # The commands to list exported symbols.
17930 export_symbols_cmds=$lt_export_symbols_cmds
17932 # The commands to extract the exported symbol list from a shared archive.
17933 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17935 # Symbols that should not be listed in the preloaded symbols.
17936 exclude_expsyms=$lt_exclude_expsyms
17938 # Symbols that must always be exported.
17939 include_expsyms=$lt_include_expsyms
17941 # ### END LIBTOOL CONFIG
17948 cat <<\EOF >> "$cfgfile"
17950 # AIX sometimes has problems with the GCC collect2 program. For some
17951 # reason, if we set the COLLECT_NAMES environment variable, the problems
17952 # vanish in a puff of smoke.
17953 if test "X${COLLECT_NAMES+set}" != Xset; then
17955 export COLLECT_NAMES
17961 # We use sed instead of cat because bash on DJGPP gets confused if
17962 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17963 # text mode, it properly converts lines to CR/LF. This bash problem
17964 # is reportedly fixed, but why not run on old versions too?
17965 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17967 mv -f "$cfgfile" "$ofile" || \
17968 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17972 # If there is no Makefile yet, we rely on a make rule to execute
17973 # `config.status
--recheck' to rerun these tests and create the
17974 # libtool script then.
17975 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17976 if test -f "$ltmain_in"; then
17977 test -f Makefile && make "$ltmain"
17983 ac_cpp='$CPP $CPPFLAGS'
17984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17985 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17991 # Check whether --with-tags was given.
17992 if test "${with_tags+set}" = set; then
17993 withval=$with_tags; tagnames="$withval"
17997 if test -f "$ltmain" && test -n "$tagnames"; then
17998 if test ! -f "${ofile}"; then
17999 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
18000 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
18003 if test -z "$LTCC"; then
18004 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
18005 if test -z "$LTCC"; then
18006 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18007 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
18009 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
18010 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
18013 if test -z "$LTCFLAGS"; then
18014 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
18017 # Extract list of available tagged configurations in $ofile.
18018 # Note that this assumes the entire list is on one line.
18019 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18021 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18022 for tagname in $tagnames; do
18024 # Check whether tagname contains only valid characters
18025 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18027 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18028 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18029 { (exit 1); exit 1; }; }
18033 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18035 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18036 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18037 { (exit 1); exit 1; }; }
18040 # Update the list of available tags.
18041 if test -n "$tagname"; then
18042 echo appending configuration tag \"$tagname\" to $ofile
18046 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18047 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
18048 (test "X$CXX" != "Xg++"))) ; then
18050 ac_cpp='$CXXCPP $CPPFLAGS'
18051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18058 archive_cmds_need_lc_CXX=no
18059 allow_undefined_flag_CXX=
18060 always_export_symbols_CXX=no
18061 archive_expsym_cmds_CXX=
18062 export_dynamic_flag_spec_CXX=
18063 hardcode_direct_CXX=no
18064 hardcode_libdir_flag_spec_CXX=
18065 hardcode_libdir_flag_spec_ld_CXX=
18066 hardcode_libdir_separator_CXX=
18067 hardcode_minus_L_CXX=no
18068 hardcode_shlibpath_var_CXX=unsupported
18069 hardcode_automatic_CXX=no
18071 module_expsym_cmds_CXX=
18072 link_all_deplibs_CXX=unknown
18073 old_archive_cmds_CXX=$old_archive_cmds
18074 no_undefined_flag_CXX=
18075 whole_archive_flag_spec_CXX=
18076 enable_shared_with_static_runtimes_CXX=no
18078 # Dependencies to place before and after the object being linked:
18079 predep_objects_CXX=
18080 postdep_objects_CXX=
18083 compiler_lib_search_path_CXX=
18085 # Source file extension for C++ test sources.
18088 # Object file extension for compiled C++ test sources.
18092 # Code to be used in simple compile tests
18093 lt_simple_compile_test_code="int some_variable = 0;\n"
18095 # Code to be used in simple link tests
18096 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18098 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18100 # If no C compiler was specified, use CC.
18103 # If no C compiler flags were specified, use CFLAGS.
18104 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18106 # Allow CC to be a program name with arguments.
18110 # save warnings/boilerplate of simple test code
18111 ac_outfile=conftest.$ac_objext
18112 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18113 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18114 _lt_compiler_boilerplate=`cat conftest.err
`
18117 ac_outfile=conftest.$ac_objext
18118 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18119 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18120 _lt_linker_boilerplate=`cat conftest.err
`
18124 # Allow CC to be a program name with arguments.
18129 lt_save_with_gnu_ld=$with_gnu_ld
18130 lt_save_path_LD=$lt_cv_path_LD
18131 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18132 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18134 $as_unset lt_cv_prog_gnu_ld
18136 if test -n "${lt_cv_path_LDCXX+set}"; then
18137 lt_cv_path_LD=$lt_cv_path_LDCXX
18139 $as_unset lt_cv_path_LD
18141 test -z "${LDCXX+set}" || LD=$LDCXX
18145 for cc_temp in $compiler""; do
18147 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18148 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18153 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18156 # We don't want -fno-exception wen compiling C++ code, so set the
18157 # no_builtin_flag separately
18158 if test "$GXX" = yes; then
18159 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18161 lt_prog_compiler_no_builtin_flag_CXX=
18164 if test "$GXX" = yes; then
18165 # Set up default GNU C++ configuration
18168 # Check whether --with-gnu-ld was given.
18169 if test "${with_gnu_ld+set}" = set; then
18170 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18176 if test "$GCC" = yes; then
18177 # Check if gcc -print-prog-name=ld gives a path.
18178 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18179 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18182 # gcc leaves a trailing carriage return which upsets mingw
18183 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
18185 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18188 # Accept absolute paths.
18190 re_direlt='/[^/][^/]*/\.\./'
18191 # Canonicalize the pathname of ld
18192 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
18193 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18194 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
18196 test -z "$LD" && LD="$ac_prog"
18199 # If it fails, then pretend we aren't using GCC.
18203 # If it is relative, then search for the first ld in PATH.
18204 with_gnu_ld=unknown
18207 elif test "$with_gnu_ld" = yes; then
18208 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18209 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18211 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18212 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18214 if test "${lt_cv_path_LD+set}" = set; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18217 if test -z "$LD"; then
18218 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18219 for ac_dir in $PATH; do
18221 test -z "$ac_dir" && ac_dir=.
18222 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18223 lt_cv_path_LD="$ac_dir/$ac_prog"
18224 # Check to see if the program is GNU ld. I'd rather use --version,
18225 # but apparently some variants of GNU ld only accept -v.
18226 # Break only if it was the GNU/non-GNU ld that we prefer.
18227 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18228 *GNU* | *'with BFD'*)
18229 test "$with_gnu_ld" != no && break
18232 test "$with_gnu_ld" != yes && break
18239 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18243 LD="$lt_cv_path_LD"
18244 if test -n "$LD"; then
18245 { echo "$as_me:$LINENO: result: $LD" >&5
18246 echo "${ECHO_T}$LD" >&6; }
18248 { echo "$as_me:$LINENO: result: no" >&5
18249 echo "${ECHO_T}no" >&6; }
18251 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18252 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18253 { (exit 1); exit 1; }; }
18254 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18255 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18256 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18259 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18260 case `$LD -v 2>&1 </dev
/null
` in
18261 *GNU* | *'with BFD'*)
18262 lt_cv_prog_gnu_ld=yes
18265 lt_cv_prog_gnu_ld=no
18269 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18270 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18271 with_gnu_ld=$lt_cv_prog_gnu_ld
18275 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18276 # archiving commands below assume that GNU ld is being used.
18277 if test "$with_gnu_ld" = yes; then
18278 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18279 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'
18281 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18282 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18284 # If archive_cmds runs LD, not CC, wlarc should be empty
18285 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18286 # investigate it a little bit more. (MM)
18289 # ancient GNU ld didn't support --whole-archive et. al.
18290 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18291 grep 'no-whole-archive' > /dev/null; then
18292 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18294 whole_archive_flag_spec_CXX=
18300 # A generic and very simple default shared library creation
18301 # command for GNU C++ for the case where it uses the native
18302 # linker, instead of GNU ld. If possible, this setting should
18303 # overridden to take advantage of the native linker features on
18304 # the platform it is being used on.
18305 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18308 # Commands to make compiler produce verbose output that lists
18309 # what "hidden" libraries, object files and flags are used when
18310 # linking a shared library.
18311 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18319 # PORTME: fill in a description of your system's C++ link characteristics
18320 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18321 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18325 # FIXME: insert proper C++ library support
18329 if test "$host_cpu" = ia64; then
18330 # On IA64, the linker does run time linking by default, so we don't
18331 # have to do anything special.
18332 aix_use_runtimelinking=no
18333 exp_sym_flag='-Bexport'
18336 aix_use_runtimelinking=no
18338 # Test if we are trying to use run time linking or normal
18339 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18340 # need to do runtime linking.
18341 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18342 for ld_flag in $LDFLAGS; do
18345 aix_use_runtimelinking=yes
18353 exp_sym_flag='-bexport'
18354 no_entry_flag='-bnoentry'
18357 # When large executables or shared objects are built, AIX ld can
18358 # have problems creating the table of contents. If linking a library
18359 # or program results in "error TOC overflow" add -mminimal-toc to
18360 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18361 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18363 archive_cmds_CXX=''
18364 hardcode_direct_CXX=yes
18365 hardcode_libdir_separator_CXX=':'
18366 link_all_deplibs_CXX=yes
18368 if test "$GXX" = yes; then
18369 case $host_os in aix4.[012]|aix4.[012].*)
18370 # We only want to do this on AIX 4.2 and lower, the check
18371 # below for broken collect2 doesn't work under 4.3+
18372 collect2name=`${CC} -print-prog-name=collect2
`
18373 if test -f "$collect2name" && \
18374 strings "$collect2name" | grep resolve_lib_name >/dev/null
18376 # We have reworked collect2
18377 hardcode_direct_CXX=yes
18379 # We have old collect2
18380 hardcode_direct_CXX=unsupported
18381 # It fails to find uninstalled libraries when the uninstalled
18382 # path is not listed in the libpath. Setting hardcode_minus_L
18383 # to unsupported forces relinking
18384 hardcode_minus_L_CXX=yes
18385 hardcode_libdir_flag_spec_CXX='-L$libdir'
18386 hardcode_libdir_separator_CXX=
18390 shared_flag='-shared'
18391 if test "$aix_use_runtimelinking" = yes; then
18392 shared_flag="$shared_flag "'${wl}-G'
18396 if test "$host_cpu" = ia64; then
18397 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18398 # chokes on -Wl,-G. The following line is correct:
18401 if test "$aix_use_runtimelinking" = yes; then
18402 shared_flag='${wl}-G'
18404 shared_flag='${wl}-bM:SRE'
18409 # It seems that -bexpall does not export symbols beginning with
18410 # underscore (_), so it is better to generate a list of symbols to export.
18411 always_export_symbols_CXX=yes
18412 if test "$aix_use_runtimelinking" = yes; then
18413 # Warning - without using the other runtime loading flags (-brtl),
18414 # -berok will link without error, but may produce a broken library.
18415 allow_undefined_flag_CXX='-berok'
18416 # Determine the default libpath from the value encoded in an empty executable.
18417 cat >conftest.$ac_ext <<_ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18432 rm -f conftest.$ac_objext conftest$ac_exeext
18433 if { (ac_try="$ac_link"
18434 case "(($ac_try" in
18435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18436 *) ac_try_echo
=$ac_try;;
18438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18439 (eval "$ac_link") 2>conftest.er1
18441 grep -v '^ *+' conftest.er1
>conftest.err
18443 cat conftest.err
>&5
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); } &&
18446 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18447 { (case "(($ac_try" in
18448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18449 *) ac_try_echo=$ac_try;;
18451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18452 (eval "$ac_try") 2>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; } &&
18456 { ac_try='test -s conftest$ac_exeext'
18457 { (case "(($ac_try" in
18458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18459 *) ac_try_echo
=$ac_try;;
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_try") 2>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; }; then
18467 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18469 # Check for a 64-bit object if we didn't find anything.
18470 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; }
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.
$ac_ext >&5
18479 rm -f core conftest.err conftest.
$ac_objext \
18480 conftest
$ac_exeext conftest.
$ac_ext
18481 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18483 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18485 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"
18487 if test "$host_cpu" = ia64
; then
18488 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18489 allow_undefined_flag_CXX
="-z nodefs"
18490 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"
18492 # Determine the default libpath from the value encoded in an empty executable.
18493 cat >conftest.
$ac_ext <<_ACEOF
18496 cat confdefs.h
>>conftest.
$ac_ext
18497 cat >>conftest.
$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18508 rm -f conftest.
$ac_objext conftest
$ac_exeext
18509 if { (ac_try
="$ac_link"
18510 case "(($ac_try" in
18511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18512 *) ac_try_echo=$ac_try;;
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_link") 2>conftest.er1
18517 grep -v '^ *+' conftest.er1 >conftest.err
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18523 { (case "(($ac_try" in
18524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18525 *) ac_try_echo
=$ac_try;;
18527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18528 (eval "$ac_try") 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try
='test -s conftest$ac_exeext'
18533 { (case "(($ac_try" in
18534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18535 *) ac_try_echo=$ac_try;;
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_try") 2>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); }; }; then
18543 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18545 # Check for a 64-bit object if we didn't find anything.
18546 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; }
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18555 rm -f core conftest.err conftest.$ac_objext \
18556 conftest$ac_exeext conftest.$ac_ext
18557 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18559 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18560 # Warning - without using the other run time loading flags,
18561 # -berok will link without error, but may produce a broken library.
18562 no_undefined_flag_CXX=' ${wl}-bernotok'
18563 allow_undefined_flag_CXX=' ${wl}-berok'
18564 # Exported symbols can be pulled into shared objects from archives
18565 whole_archive_flag_spec_CXX='$convenience'
18566 archive_cmds_need_lc_CXX=yes
18567 # This is similar to how AIX traditionally builds its shared libraries.
18568 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'
18574 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18575 allow_undefined_flag_CXX=unsupported
18576 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18577 # support --undefined. This deserves some investigation. FIXME
18578 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18585 case $cc_basename in
18587 # FIXME: insert proper C++ library support
18593 cygwin* | mingw* | pw32*)
18594 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18595 # as there is no search path for DLLs.
18596 hardcode_libdir_flag_spec_CXX='-L$libdir'
18597 allow_undefined_flag_CXX=unsupported
18598 always_export_symbols_CXX=no
18599 enable_shared_with_static_runtimes_CXX=yes
18601 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18602 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'
18603 # If the export-symbols file already is a .def file (1st line
18604 # is EXPORTS), use it as is; otherwise, prepend...
18605 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18606 cp $export_symbols $output_objdir/$soname.def;
18608 echo EXPORTS > $output_objdir/$soname.def;
18609 cat $export_symbols >> $output_objdir/$soname.def;
18611 $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'
18616 darwin* | rhapsody*)
18618 rhapsody* | darwin1.[012])
18619 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18622 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18623 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18625 case ${MACOSX_DEPLOYMENT_TARGET} in
18627 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18630 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18636 archive_cmds_need_lc_CXX=no
18637 hardcode_direct_CXX=no
18638 hardcode_automatic_CXX=yes
18639 hardcode_shlibpath_var_CXX=unsupported
18640 whole_archive_flag_spec_CXX=''
18641 link_all_deplibs_CXX=yes
18643 if test "$GXX" = yes ; then
18644 lt_int_apple_cc_single_mod=no
18645 output_verbose_link_cmd='echo'
18646 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18647 lt_int_apple_cc_single_mod=yes
18649 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18650 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18652 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'
18654 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18655 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18656 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18657 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}'
18659 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}'
18661 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}'
18663 case $cc_basename in
18665 output_verbose_link_cmd='echo'
18666 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'
18667 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18668 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18669 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}'
18670 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}'
18680 case $cc_basename in
18682 # FIXME: insert proper C++ library support
18686 # Green Hills C++ Compiler
18687 # FIXME: insert proper C++ library support
18691 # FIXME: insert proper C++ library support
18697 # C++ shared libraries reported to be fairly broken before switch to ELF
18701 archive_cmds_need_lc_CXX=no
18703 freebsd* | kfreebsd*-gnu | dragonfly*)
18704 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18711 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18712 hardcode_libdir_separator_CXX=:
18713 export_dynamic_flag_spec_CXX='${wl}-E'
18714 hardcode_direct_CXX=yes
18715 hardcode_minus_L_CXX=yes # Not in the search PATH,
18716 # but as the default
18717 # location of the library.
18719 case $cc_basename in
18721 # FIXME: insert proper C++ library support
18725 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'
18726 # Commands to make compiler produce verbose output that lists
18727 # what "hidden" libraries, object files and flags are used when
18728 # linking a shared library.
18730 # There doesn't appear to be a way to prevent this compiler from
18731 # explicitly linking system object files so we need to strip them
18732 # from the output so that they don't get included in the library
18734 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'
18737 if test "$GXX" = yes; then
18738 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'
18740 # FIXME: insert proper C++ library support
18747 if test $with_gnu_ld = no; then
18748 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18749 hardcode_libdir_separator_CXX=:
18753 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18756 export_dynamic_flag_spec_CXX='${wl}-E'
18762 hardcode_direct_CXX=no
18763 hardcode_shlibpath_var_CXX=no
18766 hardcode_direct_CXX=yes
18767 hardcode_minus_L_CXX=yes # Not in the search PATH,
18768 # but as the default
18769 # location of the library.
18773 case $cc_basename in
18775 # FIXME: insert proper C++ library support
18781 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18784 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18787 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18790 # Commands to make compiler produce verbose output that lists
18791 # what "hidden" libraries, object files and flags are used when
18792 # linking a shared library.
18794 # There doesn't appear to be a way to prevent this compiler from
18795 # explicitly linking system object files so we need to strip them
18796 # from the output so that they don't get included in the library
18798 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'
18801 if test "$GXX" = yes; then
18802 if test $with_gnu_ld = no; then
18805 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18808 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18811 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'
18816 # FIXME: insert proper C++ library support
18823 hardcode_direct_CXX=no
18824 hardcode_shlibpath_var_CXX=no
18825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18826 export_dynamic_flag_spec_CXX='${wl}-E'
18827 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18828 # Instead, shared libraries are loaded at an image base (0x10000000 by
18829 # default) and relocated if they conflict, which is a slow very memory
18830 # consuming and fragmenting process. To avoid this, we pick a random,
18831 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18832 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18833 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'
18834 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'
18837 case $cc_basename in
18840 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'
18842 # Archives containing C++ object files must be created using
18843 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18844 # necessary to make sure instantiated templates are included
18846 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18849 if test "$GXX" = yes; then
18850 if test "$with_gnu_ld" = no; then
18851 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'
18853 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'
18856 link_all_deplibs_CXX=yes
18859 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18860 hardcode_libdir_separator_CXX=:
18863 case $cc_basename in
18865 # Kuck and Associates, Inc. (KAI) C++ Compiler
18867 # KCC will only create a shared library if the output file
18868 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18869 # to its proper name (with version) after linking.
18870 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'
18871 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'
18872 # Commands to make compiler produce verbose output that lists
18873 # what "hidden" libraries, object files and flags are used when
18874 # linking a shared library.
18876 # There doesn't appear to be a way to prevent this compiler from
18877 # explicitly linking system object files so we need to strip them
18878 # from the output so that they don't get included in the library
18880 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'
18882 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18883 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18885 # Archives containing C++ object files must be created using
18886 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18887 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18892 # version 8.0 and above of icpc choke on multiply defined symbols
18893 # if we add $predep_objects and $postdep_objects, however 7.1 and
18894 # earlier do not add the objects themselves.
18895 case `$CC -V 2>&1` in
18897 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18898 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'
18900 *) # Version 8.0 or newer
18903 ia64
*) tmp_idyn
=' -i_dynamic';;
18905 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18906 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'
18909 archive_cmds_need_lc_CXX
=no
18910 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18911 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18912 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18915 # Portland Group C++ compiler
18916 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18917 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'
18919 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18920 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18921 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'
18925 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18926 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'
18928 runpath_var
=LD_RUN_PATH
18929 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18930 hardcode_libdir_separator_CXX
=:
18932 # Commands to make compiler produce verbose output that lists
18933 # what "hidden" libraries, object files and flags are used when
18934 # linking a shared library.
18936 # There doesn't appear to be a way to prevent this compiler from
18937 # explicitly linking system object files so we need to strip them
18938 # from the output so that they don't get included in the library
18940 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'
18945 # FIXME: insert proper C++ library support
18949 # FIXME: insert proper C++ library support
18953 case $cc_basename in
18955 # FIXME: insert proper C++ library support
18959 # FIXME: insert proper C++ library support
18965 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18966 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18968 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18969 hardcode_direct_CXX
=yes
18970 hardcode_shlibpath_var_CXX
=no
18972 # Workaround some broken pre-1.5 toolchains
18973 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18976 # C++ shared libraries are fairly broken
18980 hardcode_direct_CXX
=yes
18981 hardcode_shlibpath_var_CXX
=no
18982 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18983 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18984 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18985 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18986 export_dynamic_flag_spec_CXX
='${wl}-E'
18987 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18989 output_verbose_link_cmd
='echo'
18992 case $cc_basename in
18994 # Kuck and Associates, Inc. (KAI) C++ Compiler
18996 # KCC will only create a shared library if the output file
18997 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18998 # to its proper name (with version) after linking.
18999 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'
19001 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19002 hardcode_libdir_separator_CXX
=:
19004 # Archives containing C++ object files must be created using
19005 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19006 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
19010 # Rational C++ 2.4.1
19011 # FIXME: insert proper C++ library support
19015 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19016 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'
19018 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19019 hardcode_libdir_separator_CXX
=:
19021 # Commands to make compiler produce verbose output that lists
19022 # what "hidden" libraries, object files and flags are used when
19023 # linking a shared library.
19025 # There doesn't appear to be a way to prevent this compiler from
19026 # explicitly linking system object files so we need to strip them
19027 # from the output so that they don't get included in the library
19029 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'
19032 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19033 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19034 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'
19036 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19037 hardcode_libdir_separator_CXX
=:
19039 # Commands to make compiler produce verbose output that lists
19040 # what "hidden" libraries, object files and flags are used when
19041 # linking a shared library.
19042 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19045 # FIXME: insert proper C++ library support
19052 case $cc_basename in
19054 # Kuck and Associates, Inc. (KAI) C++ Compiler
19056 # KCC will only create a shared library if the output file
19057 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19058 # to its proper name (with version) after linking.
19059 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'
19061 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19062 hardcode_libdir_separator_CXX
=:
19064 # Archives containing C++ object files must be created using
19065 # the KAI C++ compiler.
19066 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
19069 # Rational C++ 2.4.1
19070 # FIXME: insert proper C++ library support
19074 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19075 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'
19076 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19077 echo "-hidden">> $lib.exp~
19078 $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~
19081 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19082 hardcode_libdir_separator_CXX
=:
19084 # Commands to make compiler produce verbose output that lists
19085 # what "hidden" libraries, object files and flags are used when
19086 # linking a shared library.
19088 # There doesn't appear to be a way to prevent this compiler from
19089 # explicitly linking system object files so we need to strip them
19090 # from the output so that they don't get included in the library
19092 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'
19095 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19096 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19097 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'
19099 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19100 hardcode_libdir_separator_CXX
=:
19102 # Commands to make compiler produce verbose output that lists
19103 # what "hidden" libraries, object files and flags are used when
19104 # linking a shared library.
19105 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19108 # FIXME: insert proper C++ library support
19115 # FIXME: insert proper C++ library support
19119 case $cc_basename in
19122 # FIXME: insert proper C++ library support
19127 # FIXME: insert proper C++ library support
19131 # FIXME: insert proper C++ library support
19137 case $cc_basename in
19139 # Sun C++ 4.2, 5.x and Centerline C++
19140 archive_cmds_need_lc_CXX
=yes
19141 no_undefined_flag_CXX
=' -zdefs'
19142 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19143 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19144 $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'
19146 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19147 hardcode_shlibpath_var_CXX
=no
19149 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19151 # The C++ compiler is used as linker so we must use $wl
19152 # flag to pass the commands to the underlying system
19153 # linker. We must also pass each convience library through
19154 # to the system linker between allextract/defaultextract.
19155 # The C++ compiler will combine linker options so we
19156 # cannot just pass the convience library names through
19158 # Supported since Solaris 2.6 (maybe 2.5.1?)
19159 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'
19162 link_all_deplibs_CXX
=yes
19164 output_verbose_link_cmd
='echo'
19166 # Archives containing C++ object files must be created using
19167 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19168 # necessary to make sure instantiated templates are included
19170 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19173 # Green Hills C++ Compiler
19174 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19176 # The C++ compiler must be used to create the archive.
19177 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19180 # GNU C++ compiler with Solaris linker
19181 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19182 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19183 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
19184 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19185 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19186 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19188 # Commands to make compiler produce verbose output that lists
19189 # what "hidden" libraries, object files and flags are used when
19190 # linking a shared library.
19191 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19193 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19195 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19196 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19197 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19199 # Commands to make compiler produce verbose output that lists
19200 # what "hidden" libraries, object files and flags are used when
19201 # linking a shared library.
19202 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19205 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19210 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19211 no_undefined_flag_CXX
='${wl}-z,text'
19212 archive_cmds_need_lc_CXX
=no
19213 hardcode_shlibpath_var_CXX
=no
19214 runpath_var
='LD_RUN_PATH'
19216 case $cc_basename in
19218 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19219 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19222 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19223 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19227 sysv5
* | sco3.2v5
* | sco5v6
*)
19228 # Note: We can NOT use -z defs as we might desire, because we do not
19229 # link with -lc, and that would cause any symbols used from libc to
19230 # always be unresolved, which means just about no library would
19231 # ever link correctly. If we're not using GNU ld we use -z text
19232 # though, which does catch some bad symbols but isn't as heavy-handed
19234 # For security reasons, it is highly recommended that you always
19235 # use absolute paths for naming shared libraries, and exclude the
19236 # DT_RUNPATH tag from executables and libraries. But doing so
19237 # requires that you compile everything twice, which is a pain.
19238 # So that behaviour is only enabled if SCOABSPATH is set to a
19239 # non-empty value in the environment. Most likely only useful for
19240 # creating official distributions of packages.
19241 # This is a hack until libtool officially supports absolute path
19242 # names for shared libraries.
19243 no_undefined_flag_CXX
='${wl}-z,text'
19244 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19245 archive_cmds_need_lc_CXX
=no
19246 hardcode_shlibpath_var_CXX
=no
19247 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19248 hardcode_libdir_separator_CXX
=':'
19249 link_all_deplibs_CXX
=yes
19250 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19251 runpath_var
='LD_RUN_PATH'
19253 case $cc_basename in
19255 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19256 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19259 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19260 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19265 case $cc_basename in
19267 # NonStop-UX NCC 3.20
19268 # FIXME: insert proper C++ library support
19272 # FIXME: insert proper C++ library support
19278 # FIXME: insert proper C++ library support
19282 # FIXME: insert proper C++ library support
19286 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19287 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19288 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19294 cat > conftest.
$ac_ext <<EOF
19298 Foo (void) { a = 0; }
19304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19305 (eval $ac_compile) 2>&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; then
19309 # Parse the compiler output and extract the necessary
19310 # objects, libraries and library flags.
19312 # Sentinel used to keep track of whether or not we are before
19313 # the conftest object file.
19314 pre_test_object_deps_done
=no
19316 # The `*' in the case matches for architectures that use `case' in
19317 # $output_verbose_cmd can trigger glob expansion during the loop
19318 # eval without this substitution.
19319 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19321 for p
in `eval $output_verbose_link_cmd`; do
19325 # Some compilers place space between "-{L,R}" and the path.
19326 # Remove the space.
19327 if test $p = "-L" \
19328 ||
test $p = "-R"; then
19335 if test "$pre_test_object_deps_done" = no
; then
19338 # Internal compiler library paths should come after those
19339 # provided the user. The postdeps already come after the
19340 # user supplied libs so there is no need to process them.
19341 if test -z "$compiler_lib_search_path_CXX"; then
19342 compiler_lib_search_path_CXX
="${prev}${p}"
19344 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19347 # The "-l" case would never come before the object being
19348 # linked, so don't bother handling this case.
19351 if test -z "$postdeps_CXX"; then
19352 postdeps_CXX
="${prev}${p}"
19354 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19360 # This assumes that the test object file only shows up
19361 # once in the compiler output.
19362 if test "$p" = "conftest.$objext"; then
19363 pre_test_object_deps_done
=yes
19367 if test "$pre_test_object_deps_done" = no
; then
19368 if test -z "$predep_objects_CXX"; then
19369 predep_objects_CXX
="$p"
19371 predep_objects_CXX
="$predep_objects_CXX $p"
19374 if test -z "$postdep_objects_CXX"; then
19375 postdep_objects_CXX
="$p"
19377 postdep_objects_CXX
="$postdep_objects_CXX $p"
19382 *) ;; # Ignore the rest.
19390 echo "libtool.m4: error: problem compiling CXX test program"
19393 $rm -f confest.
$objext
19395 # PORTME: override above test on systems where it is broken
19398 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19399 # hack all around it, let's just trust "g++" to DTRT.
19400 predep_objects_CXX
=
19401 postdep_objects_CXX
=
19406 case $cc_basename in
19408 # Adding this requires a known-good setup of shared libraries for
19409 # Sun compiler versions before 5.6, else PIC objects from an old
19410 # archive will be linked into the output, leading to subtle bugs.
19411 postdeps_CXX
='-lCstd -lCrun'
19418 case " $postdeps_CXX " in
19419 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19422 lt_prog_compiler_wl_CXX
=
19423 lt_prog_compiler_pic_CXX
=
19424 lt_prog_compiler_static_CXX
=
19426 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19427 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19429 # C++ specific cases for pic, static, wl, etc.
19430 if test "$GXX" = yes; then
19431 lt_prog_compiler_wl_CXX
='-Wl,'
19432 lt_prog_compiler_static_CXX
='-static'
19436 # All AIX code is PIC.
19437 if test "$host_cpu" = ia64
; then
19438 # AIX 5 now supports IA64 processor
19439 lt_prog_compiler_static_CXX
='-Bstatic'
19443 # FIXME: we need at least 68020 code to build shared libraries, but
19444 # adding the `-m68020' flag to GCC prevents building anything better,
19446 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19448 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19449 # PIC is the default for these OSes.
19451 mingw
* | os2
* | pw32
*)
19452 # This hack is so that the source file can tell whether it is being
19453 # built for inclusion in a dll (and should export symbols for example).
19454 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19456 darwin
* | rhapsody
*)
19457 # PIC is the default on this platform
19458 # Common symbols not allowed in MH_DYLIB files
19459 lt_prog_compiler_pic_CXX
='-fno-common'
19462 # DJGPP does not support shared libraries at all
19463 lt_prog_compiler_pic_CXX
=
19466 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19467 # Instead, we relocate shared libraries at runtime.
19470 if test -d /usr
/nec
; then
19471 lt_prog_compiler_pic_CXX
=-Kconform_pic
19475 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19476 # not for PA HP-UX.
19481 lt_prog_compiler_pic_CXX
='-fPIC'
19486 lt_prog_compiler_pic_CXX
='-fPIC'
19492 # All AIX code is PIC.
19493 if test "$host_cpu" = ia64
; then
19494 # AIX 5 now supports IA64 processor
19495 lt_prog_compiler_static_CXX
='-Bstatic'
19497 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19501 case $cc_basename in
19503 # Green Hills C++ Compiler
19504 # _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"
19509 # PIC is the default on this platform
19510 # Common symbols not allowed in MH_DYLIB files
19511 case $cc_basename in
19513 lt_prog_compiler_pic_CXX
='-qnocommon'
19514 lt_prog_compiler_wl_CXX
='-Wl,'
19519 case $cc_basename in
19521 lt_prog_compiler_pic_CXX
='-KPIC'
19524 # Green Hills C++ Compiler
19525 lt_prog_compiler_pic_CXX
='-pic'
19531 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19532 # FreeBSD uses GNU C++
19534 hpux9
* | hpux10
* | hpux11
*)
19535 case $cc_basename in
19537 lt_prog_compiler_wl_CXX
='-Wl,'
19538 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19539 if test "$host_cpu" != ia64
; then
19540 lt_prog_compiler_pic_CXX
='+Z'
19544 lt_prog_compiler_wl_CXX
='-Wl,'
19545 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19551 lt_prog_compiler_pic_CXX
='+Z'
19560 # This is c89, which is MS Visual C++ (no shared libs)
19561 # Anyone wants to do a port?
19563 irix5
* | irix6
* | nonstopux
*)
19564 case $cc_basename in
19566 lt_prog_compiler_wl_CXX
='-Wl,'
19567 lt_prog_compiler_static_CXX
='-non_shared'
19568 # CC pic flag -KPIC is the default.
19575 case $cc_basename in
19578 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19579 lt_prog_compiler_pic_CXX
='-fPIC'
19583 lt_prog_compiler_wl_CXX
='-Wl,'
19584 lt_prog_compiler_pic_CXX
='-KPIC'
19585 lt_prog_compiler_static_CXX
='-static'
19588 # Portland Group C++ compiler.
19589 lt_prog_compiler_wl_CXX
='-Wl,'
19590 lt_prog_compiler_pic_CXX
='-fpic'
19591 lt_prog_compiler_static_CXX
='-Bstatic'
19595 # Make sure the PIC flag is empty. It appears that all Alpha
19596 # Linux and Compaq Tru64 Unix objects are PIC.
19597 lt_prog_compiler_pic_CXX
=
19598 lt_prog_compiler_static_CXX
='-non_shared'
19609 case $cc_basename in
19611 lt_prog_compiler_pic_CXX
='-W c,exportall'
19619 osf3
* | osf4
* | osf5
*)
19620 case $cc_basename in
19622 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19625 # Rational C++ 2.4.1
19626 lt_prog_compiler_pic_CXX
='-pic'
19629 # Digital/Compaq C++
19630 lt_prog_compiler_wl_CXX
='-Wl,'
19631 # Make sure the PIC flag is empty. It appears that all Alpha
19632 # Linux and Compaq Tru64 Unix objects are PIC.
19633 lt_prog_compiler_pic_CXX
=
19634 lt_prog_compiler_static_CXX
='-non_shared'
19643 case $cc_basename in
19645 # Sun C++ 4.2, 5.x and Centerline C++
19646 lt_prog_compiler_pic_CXX
='-KPIC'
19647 lt_prog_compiler_static_CXX
='-Bstatic'
19648 lt_prog_compiler_wl_CXX
='-Qoption ld '
19651 # Green Hills C++ Compiler
19652 lt_prog_compiler_pic_CXX
='-PIC'
19659 case $cc_basename in
19662 lt_prog_compiler_pic_CXX
='-pic'
19663 lt_prog_compiler_static_CXX
='-Bstatic'
19667 lt_prog_compiler_pic_CXX
='-pic'
19674 case $cc_basename in
19676 # NonStop-UX NCC 3.20
19677 lt_prog_compiler_pic_CXX
='-KPIC'
19683 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19684 case $cc_basename in
19686 lt_prog_compiler_wl_CXX
='-Wl,'
19687 lt_prog_compiler_pic_CXX
='-KPIC'
19688 lt_prog_compiler_static_CXX
='-Bstatic'
19695 lt_prog_compiler_can_build_shared_CXX
=no
19700 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19701 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19704 # Check to make sure the PIC flag actually works.
19706 if test -n "$lt_prog_compiler_pic_CXX"; then
19708 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19709 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19710 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 lt_prog_compiler_pic_works_CXX
=no
19714 ac_outfile
=conftest.
$ac_objext
19715 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19716 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19717 # Insert the option either (1) after the last *FLAGS variable, or
19718 # (2) before a word containing "conftest.", or (3) at the end.
19719 # Note that $ac_compile itself does not contain backslashes and begins
19720 # with a dollar sign (not a hyphen), so the echo should work correctly.
19721 # The option is referenced via a variable to avoid confusing sed.
19722 lt_compile
=`echo "$ac_compile" | $SED \
19723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19725 -e 's:$: $lt_compiler_flag:'`
19726 (eval echo "\"\$as_me:19717: $lt_compile\"" >&5)
19727 (eval "$lt_compile" 2>conftest.err
)
19729 cat conftest.err
>&5
19730 echo "$as_me:19721: \$? = $ac_status" >&5
19731 if (exit $ac_status) && test -s "$ac_outfile"; then
19732 # The compiler can only warn and ignore the option if not recognized
19733 # So say no if there are warnings other than the usual output.
19734 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19735 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19736 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19737 lt_prog_compiler_pic_works_CXX
=yes
19743 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19744 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19746 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19747 case $lt_prog_compiler_pic_CXX in
19749 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19752 lt_prog_compiler_pic_CXX
=
19753 lt_prog_compiler_can_build_shared_CXX
=no
19758 # For platforms which do not support PIC, -DPIC is meaningless:
19760 lt_prog_compiler_pic_CXX
=
19763 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19768 # Check to make sure the static flag actually works.
19770 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19771 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19772 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19773 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 lt_prog_compiler_static_works_CXX
=no
19777 save_LDFLAGS
="$LDFLAGS"
19778 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19779 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19780 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19781 # The linker can only warn and ignore the option if not recognized
19782 # So say no if there are warnings
19783 if test -s conftest.err
; then
19784 # Append any errors to the config.log.
19785 cat conftest.err
1>&5
19786 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19787 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19788 if diff conftest.exp conftest.er2
>/dev
/null
; then
19789 lt_prog_compiler_static_works_CXX
=yes
19792 lt_prog_compiler_static_works_CXX
=yes
19796 LDFLAGS
="$save_LDFLAGS"
19799 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19800 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19802 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19805 lt_prog_compiler_static_CXX
=
19809 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19810 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19811 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 lt_cv_prog_compiler_c_o_CXX
=no
19815 $rm -r conftest
2>/dev
/null
19819 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19821 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19822 # Insert the option either (1) after the last *FLAGS variable, or
19823 # (2) before a word containing "conftest.", or (3) at the end.
19824 # Note that $ac_compile itself does not contain backslashes and begins
19825 # with a dollar sign (not a hyphen), so the echo should work correctly.
19826 lt_compile
=`echo "$ac_compile" | $SED \
19827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19829 -e 's:$: $lt_compiler_flag:'`
19830 (eval echo "\"\$as_me:19821: $lt_compile\"" >&5)
19831 (eval "$lt_compile" 2>out
/conftest.err
)
19833 cat out
/conftest.err
>&5
19834 echo "$as_me:19825: \$? = $ac_status" >&5
19835 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19837 # The compiler can only warn and ignore the option if not recognized
19838 # So say no if there are warnings
19839 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19840 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19841 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19842 lt_cv_prog_compiler_c_o_CXX
=yes
19847 # SGI C++ compiler will create directory out/ii_files/ for
19848 # template instantiation
19849 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19850 $rm out
/* && rmdir out
19856 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19857 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19860 hard_links
="nottested"
19861 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19862 # do not overwrite the value of need_locks provided by the user
19863 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19864 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19867 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19869 ln conftest.a conftest.b
2>&5 || hard_links
=no
19870 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19871 { echo "$as_me:$LINENO: result: $hard_links" >&5
19872 echo "${ECHO_T}$hard_links" >&6; }
19873 if test "$hard_links" = no
; then
19874 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19875 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19882 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19883 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19885 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19888 # If we're using GNU nm, then we don't want the "-C" option.
19889 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19890 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19891 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'
19893 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'
19897 export_symbols_cmds_CXX
="$ltdll_cmds"
19900 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'
19903 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19907 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19908 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19909 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19912 # Do we need to explicitly link libc?
19914 case "x$archive_cmds_need_lc_CXX" in
19916 # Assume -lc should be added
19917 archive_cmds_need_lc_CXX
=yes
19919 if test "$enable_shared" = yes && test "$GCC" = yes; then
19920 case $archive_cmds_CXX in
19922 # FIXME: we may have to deal with multi-command sequences.
19925 # Test whether the compiler implicitly links with -lc since on some
19926 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19927 # to ld, don't add -lc before -lgcc.
19928 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19929 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19931 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19934 (eval $ac_compile) 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } 2>conftest.err
; then
19940 libobjs
=conftest.
$ac_objext
19942 wl
=$lt_prog_compiler_wl_CXX
19943 pic_flag
=$lt_prog_compiler_pic_CXX
19949 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19950 allow_undefined_flag_CXX
=
19951 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19952 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); }
19957 archive_cmds_need_lc_CXX
=no
19959 archive_cmds_need_lc_CXX
=yes
19961 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19963 cat conftest.err
1>&5
19966 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19967 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19974 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19975 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19976 library_names_spec
=
19977 libname_spec
='lib$name'
19981 postuninstall_cmds
=
19985 shlibpath_overrides_runpath
=unknown
19987 dynamic_linker
="$host_os ld.so"
19988 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19989 if test "$GCC" = yes; then
19990 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19991 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19992 # if the path contains ";" then we assume it to be the separator
19993 # otherwise default to the standard path separator (i.e. ":") - it is
19994 # assumed that no part of a normal pathname contains ";" but that should
19995 # okay in the real world where ";" in dirpaths is itself problematic.
19996 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19998 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20001 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
20003 need_lib_prefix
=unknown
20004 hardcode_into_libs
=no
20006 # when you set need_version to no, make sure it does not cause -set_version
20007 # flags to be left without arguments
20008 need_version
=unknown
20013 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20014 shlibpath_var
=LIBPATH
20016 # AIX 3 has no versioning support, so we append a major version to the name.
20017 soname_spec
='${libname}${release}${shared_ext}$major'
20024 hardcode_into_libs
=yes
20025 if test "$host_cpu" = ia64
; then
20026 # AIX 5 supports IA64
20027 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20028 shlibpath_var
=LD_LIBRARY_PATH
20030 # With GCC up to 2.95.x, collect2 would create an import file
20031 # for dependence libraries. The import file would start with
20032 # the line `#! .'. This would cause the generated library to
20033 # depend on `.', always an invalid library. This was fixed in
20034 # development snapshots of GCC prior to 3.0.
20036 aix4 | aix4.
[01] | aix4.
[01].
*)
20037 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20039 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20042 can_build_shared
=no
20046 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20047 # soname into executable. Probably we can add versioning support to
20048 # collect2, so additional links can be useful in future.
20049 if test "$aix_use_runtimelinking" = yes; then
20050 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20051 # instead of lib<name>.a to let people know that these are not
20052 # typical AIX shared libraries.
20053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20055 # We preserve .a as extension for shared libraries through AIX4.2
20056 # and later when we are not doing run time linking.
20057 library_names_spec
='${libname}${release}.a $libname.a'
20058 soname_spec
='${libname}${release}${shared_ext}$major'
20060 shlibpath_var
=LIBPATH
20065 library_names_spec
='$libname.ixlibrary $libname.a'
20066 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20067 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'
20071 library_names_spec
='${libname}${shared_ext}'
20072 dynamic_linker
="$host_os ld.so"
20073 shlibpath_var
=LIBRARY_PATH
20079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20080 soname_spec
='${libname}${release}${shared_ext}$major'
20081 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20082 shlibpath_var
=LD_LIBRARY_PATH
20083 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20084 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20085 # the default ld.so.conf also contains /usr/contrib/lib and
20086 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20087 # libtool to hard-code these into programs
20090 cygwin
* | mingw
* | pw32
*)
20091 version_type
=windows
20096 case $GCC,$host_os in
20097 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20098 library_names_spec
='$libname.dll.a'
20099 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20100 postinstall_cmds
='base_file=`basename \${file}`~
20101 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20102 dldir=$destdir/`dirname \$dlpath`~
20103 test -d \$dldir || mkdir -p \$dldir~
20104 $install_prog $dir/$dlname \$dldir/$dlname~
20105 chmod a+x \$dldir/$dlname'
20106 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20107 dlpath=$dir/\$dldll~
20109 shlibpath_overrides_runpath
=yes
20113 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20114 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20115 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20118 # MinGW DLLs use traditional 'lib' prefix
20119 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20120 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20121 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20122 # It is most probably a Windows format PATH printed by
20123 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20124 # path with ; separators, and with drive letters. We can handle the
20125 # drive letters (cygwin fileutils understands them), so leave them,
20126 # especially as we might pass files found there to a mingw objdump,
20127 # which wouldn't understand a cygwinified path. Ahh.
20128 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20130 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20134 # pw32 DLLs use 'pw' prefix rather than 'lib'
20135 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20141 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20144 dynamic_linker
='Win32 ld.exe'
20145 # FIXME: first we should search . and the directory the executable is in
20149 darwin
* | rhapsody
*)
20150 dynamic_linker
="$host_os dyld"
20151 version_type
=darwin
20154 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20155 soname_spec
='${libname}${release}${major}$shared_ext'
20156 shlibpath_overrides_runpath
=yes
20157 shlibpath_var
=DYLD_LIBRARY_PATH
20158 shrext_cmds
='.dylib'
20159 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20160 if test "$GCC" = yes; then
20161 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"`
20163 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20165 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20173 soname_spec
='${libname}${release}${shared_ext}$major'
20174 shlibpath_var
=LD_LIBRARY_PATH
20185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20186 soname_spec
='${libname}${release}${shared_ext}$major'
20187 shlibpath_var
=LD_LIBRARY_PATH
20188 shlibpath_overrides_runpath
=no
20189 hardcode_into_libs
=yes
20190 dynamic_linker
='GNU ld.so'
20193 freebsd
* | dragonfly
*)
20194 # DragonFly does not have aout. When/if they implement a new
20195 # versioning mechanism, adjust this.
20196 if test -x /usr
/bin
/objformat
; then
20197 objformat
=`/usr/bin/objformat`
20200 freebsd
[123]*) objformat
=aout
;;
20201 *) objformat
=elf
;;
20204 version_type
=freebsd-
$objformat
20205 case $version_type in
20207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20212 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20216 shlibpath_var
=LD_LIBRARY_PATH
20219 shlibpath_overrides_runpath
=yes
20221 freebsd3.
[01]* | freebsdelf3.
[01]*)
20222 shlibpath_overrides_runpath
=yes
20223 hardcode_into_libs
=yes
20225 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20226 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20227 shlibpath_overrides_runpath
=no
20228 hardcode_into_libs
=yes
20230 freebsd
*) # from 4.6 on
20231 shlibpath_overrides_runpath
=yes
20232 hardcode_into_libs
=yes
20241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20242 soname_spec
='${libname}${release}${shared_ext}$major'
20243 shlibpath_var
=LD_LIBRARY_PATH
20244 hardcode_into_libs
=yes
20247 hpux9
* | hpux10
* | hpux11
*)
20248 # Give a soname corresponding to the major version so that dld.sl refuses to
20249 # link against other versions.
20256 hardcode_into_libs
=yes
20257 dynamic_linker
="$host_os dld.so"
20258 shlibpath_var
=LD_LIBRARY_PATH
20259 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
20262 if test "X$HPUX_IA64_MODE" = X32
; then
20263 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20265 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20267 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20271 hardcode_into_libs
=yes
20272 dynamic_linker
="$host_os dld.sl"
20273 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20274 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20276 soname_spec
='${libname}${release}${shared_ext}$major'
20277 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20278 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20282 dynamic_linker
="$host_os dld.sl"
20283 shlibpath_var
=SHLIB_PATH
20284 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20286 soname_spec
='${libname}${release}${shared_ext}$major'
20289 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20290 postinstall_cmds
='chmod 555 $lib'
20297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20298 soname_spec
='${libname}${release}${shared_ext}$major'
20299 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20300 shlibpath_var
=LD_LIBRARY_PATH
20301 shlibpath_overrides_runpath
=no
20302 hardcode_into_libs
=yes
20305 irix5
* | irix6
* | nonstopux
*)
20307 nonstopux
*) version_type
=nonstopux
;;
20309 if test "$lt_cv_prog_gnu_ld" = yes; then
20317 soname_spec
='${libname}${release}${shared_ext}$major'
20318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20320 irix5
* | nonstopux
*)
20321 libsuff
= shlibsuff
=
20324 case $LD in # libtool.m4 will add one of these switches to LD
20325 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20326 libsuff
= shlibsuff
= libmagic
=32-bit;;
20327 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20328 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20329 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20330 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20331 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20335 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20336 shlibpath_overrides_runpath
=no
20337 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20338 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20339 hardcode_into_libs
=yes
20342 # No shared lib support for Linux oldld, aout, or coff.
20343 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20347 # This must be Linux ELF.
20352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20353 soname_spec
='${libname}${release}${shared_ext}$major'
20354 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20355 shlibpath_var
=LD_LIBRARY_PATH
20356 shlibpath_overrides_runpath
=no
20357 # This implies no fast_install, which is unacceptable.
20358 # Some rework will be needed to allow for fast_install
20359 # before this can be enabled.
20360 hardcode_into_libs
=yes
20362 # Append ld.so.conf contents to the search path
20363 if test -f /etc
/ld.so.conf
; then
20364 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' ' '`
20365 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20368 # We used to test for /lib/ld.so.1 and disable shared libraries on
20369 # powerpc, because MkLinux only supported shared libraries with the
20370 # GNU dynamic linker. Since this was broken with cross compilers,
20371 # most powerpc-linux boxes support dynamic linking these days and
20372 # people can always --disable-shared, the test was removed, and we
20373 # assume the GNU/Linux dynamic linker is in use.
20374 dynamic_linker
='GNU/Linux ld.so'
20381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20382 soname_spec
='${libname}${release}${shared_ext}$major'
20383 shlibpath_var
=LD_LIBRARY_PATH
20384 shlibpath_overrides_runpath
=no
20385 hardcode_into_libs
=yes
20386 dynamic_linker
='GNU ld.so'
20393 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20395 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20396 dynamic_linker
='NetBSD (a.out) ld.so'
20398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20399 soname_spec
='${libname}${release}${shared_ext}$major'
20400 dynamic_linker
='NetBSD ld.elf_so'
20402 shlibpath_var
=LD_LIBRARY_PATH
20403 shlibpath_overrides_runpath
=yes
20404 hardcode_into_libs
=yes
20409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20410 shlibpath_var
=LD_LIBRARY_PATH
20411 shlibpath_overrides_runpath
=yes
20418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20419 soname_spec
='${libname}${release}${shared_ext}$major'
20420 shlibpath_var
=LD_LIBRARY_PATH
20421 shlibpath_overrides_runpath
=yes
20426 sys_lib_dlsearch_path_spec
="/usr/lib"
20428 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20430 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20431 *) need_version
=no
;;
20433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20434 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20435 shlibpath_var
=LD_LIBRARY_PATH
20436 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20438 openbsd2.
[89] | openbsd2.
[89].
*)
20439 shlibpath_overrides_runpath
=no
20442 shlibpath_overrides_runpath
=yes
20446 shlibpath_overrides_runpath
=yes
20451 libname_spec
='$name'
20454 library_names_spec
='$libname${shared_ext} $libname.a'
20455 dynamic_linker
='OS/2 ld.exe'
20456 shlibpath_var
=LIBPATH
20459 osf3
* | osf4
* | osf5
*)
20463 soname_spec
='${libname}${release}${shared_ext}$major'
20464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20465 shlibpath_var
=LD_LIBRARY_PATH
20466 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20467 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20475 soname_spec
='${libname}${release}${shared_ext}$major'
20476 shlibpath_var
=LD_LIBRARY_PATH
20477 shlibpath_overrides_runpath
=yes
20478 hardcode_into_libs
=yes
20479 # ldd complains unless libraries are executable
20480 postinstall_cmds
='chmod +x $lib'
20485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20486 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20487 shlibpath_var
=LD_LIBRARY_PATH
20488 shlibpath_overrides_runpath
=yes
20489 if test "$with_gnu_ld" = yes; then
20497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20498 soname_spec
='${libname}${release}${shared_ext}$major'
20499 shlibpath_var
=LD_LIBRARY_PATH
20500 case $host_vendor in
20502 shlibpath_overrides_runpath
=no
20504 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20505 runpath_var
=LD_RUN_PATH
20513 shlibpath_overrides_runpath
=no
20514 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20520 if test -d /usr
/nec
;then
20522 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20523 soname_spec
='$libname${shared_ext}.$major'
20524 shlibpath_var
=LD_LIBRARY_PATH
20528 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20529 version_type
=freebsd-elf
20532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20533 soname_spec
='${libname}${release}${shared_ext}$major'
20534 shlibpath_var
=LD_LIBRARY_PATH
20535 hardcode_into_libs
=yes
20536 if test "$with_gnu_ld" = yes; then
20537 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20538 shlibpath_overrides_runpath
=no
20540 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20541 shlibpath_overrides_runpath
=yes
20544 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20548 sys_lib_dlsearch_path_spec
='/usr/lib'
20553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20554 soname_spec
='${libname}${release}${shared_ext}$major'
20555 shlibpath_var
=LD_LIBRARY_PATH
20562 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20563 echo "${ECHO_T}$dynamic_linker" >&6; }
20564 test "$dynamic_linker" = no
&& can_build_shared
=no
20566 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20567 if test "$GCC" = yes; then
20568 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20571 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20572 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20573 hardcode_action_CXX
=
20574 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20575 test -n "$runpath_var_CXX" || \
20576 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20578 # We can hardcode non-existant directories.
20579 if test "$hardcode_direct_CXX" != no
&&
20580 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20581 # have to relink, otherwise we might link with an installed library
20582 # when we should be linking with a yet-to-be-installed one
20583 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20584 test "$hardcode_minus_L_CXX" != no
; then
20585 # Linking always hardcodes the temporary library directory.
20586 hardcode_action_CXX
=relink
20588 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20589 hardcode_action_CXX
=immediate
20592 # We cannot hardcode anything, or else we can only hardcode existing
20594 hardcode_action_CXX
=unsupported
20596 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20597 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20599 if test "$hardcode_action_CXX" = relink
; then
20600 # Fast installation is not supported
20601 enable_fast_install
=no
20602 elif test "$shlibpath_overrides_runpath" = yes ||
20603 test "$enable_shared" = no
; then
20604 # Fast installation is not necessary
20605 enable_fast_install
=needless
20609 # The else clause should only fire when bootstrapping the
20610 # libtool distribution, otherwise you forgot to ship ltmain.sh
20611 # with your package, and you will get complaints that there are
20612 # no rules to generate ltmain.sh.
20613 if test -f "$ltmain"; then
20614 # See if we are running on zsh, and set the options which allow our commands through
20615 # without removal of \ escapes.
20616 if test -n "${ZSH_VERSION+set}" ; then
20617 setopt NO_GLOB_SUBST
20619 # Now quote all the things that may contain metacharacters while being
20620 # careful not to overquote the AC_SUBSTed values. We take copies of the
20621 # variables and quote the copies for generation of the libtool script.
20622 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20624 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20625 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20626 deplibs_check_method reload_flag reload_cmds need_locks \
20627 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20628 lt_cv_sys_global_symbol_to_c_name_address \
20629 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20630 old_postinstall_cmds old_postuninstall_cmds \
20634 lt_prog_compiler_wl_CXX \
20635 lt_prog_compiler_pic_CXX \
20636 lt_prog_compiler_static_CXX \
20637 lt_prog_compiler_no_builtin_flag_CXX \
20638 export_dynamic_flag_spec_CXX \
20639 thread_safe_flag_spec_CXX \
20640 whole_archive_flag_spec_CXX \
20641 enable_shared_with_static_runtimes_CXX \
20642 old_archive_cmds_CXX \
20643 old_archive_from_new_cmds_CXX \
20644 predep_objects_CXX \
20645 postdep_objects_CXX \
20648 compiler_lib_search_path_CXX \
20650 archive_expsym_cmds_CXX \
20651 postinstall_cmds_CXX \
20652 postuninstall_cmds_CXX \
20653 old_archive_from_expsyms_cmds_CXX \
20654 allow_undefined_flag_CXX \
20655 no_undefined_flag_CXX \
20656 export_symbols_cmds_CXX \
20657 hardcode_libdir_flag_spec_CXX \
20658 hardcode_libdir_flag_spec_ld_CXX \
20659 hardcode_libdir_separator_CXX \
20660 hardcode_automatic_CXX \
20662 module_expsym_cmds_CXX \
20663 lt_cv_prog_compiler_c_o_CXX \
20664 exclude_expsyms_CXX \
20665 include_expsyms_CXX
; do
20668 old_archive_cmds_CXX | \
20669 old_archive_from_new_cmds_CXX | \
20670 archive_cmds_CXX | \
20671 archive_expsym_cmds_CXX | \
20672 module_cmds_CXX | \
20673 module_expsym_cmds_CXX | \
20674 old_archive_from_expsyms_cmds_CXX | \
20675 export_symbols_cmds_CXX | \
20676 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20677 postinstall_cmds | postuninstall_cmds | \
20678 old_postinstall_cmds | old_postuninstall_cmds | \
20679 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20680 # Double-quote double-evaled strings.
20681 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20684 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20690 *'\$0 --fallback-echo"')
20691 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20697 cat <<__EOF__ >> "$cfgfile"
20698 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20700 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20702 # Shell to use when invoking shell scripts.
20705 # Whether or not to build shared libraries.
20706 build_libtool_libs=$enable_shared
20708 # Whether or not to build static libraries.
20709 build_old_libs=$enable_static
20711 # Whether or not to add -lc for building shared libraries.
20712 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20714 # Whether or not to disallow shared libs when runtime libs are static
20715 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20717 # Whether or not to optimize for fast installation.
20718 fast_install=$enable_fast_install
20721 host_alias=$host_alias
20725 # The build system.
20726 build_alias=$build_alias
20730 # An echo program that does not interpret backslashes.
20735 AR_FLAGS=$lt_AR_FLAGS
20740 # LTCC compiler flags.
20741 LTCFLAGS=$lt_LTCFLAGS
20743 # A language-specific compiler.
20744 CC=$lt_compiler_CXX
20746 # Is the compiler the GNU C compiler?
20752 # The linker used to build libraries.
20755 # Whether we need hard or soft links.
20758 # A BSD-compatible nm program.
20761 # A symbol stripping program
20764 # Used to examine libraries when file_magic_cmd begins "file"
20765 MAGIC_CMD=$MAGIC_CMD
20767 # Used on cygwin: DLL creation program.
20770 # Used on cygwin: object dumper.
20773 # Used on cygwin: assembler.
20776 # The name of the directory that contains temporary libtool files.
20779 # How to create reloadable object files.
20780 reload_flag=$lt_reload_flag
20781 reload_cmds=$lt_reload_cmds
20783 # How to pass a linker flag through the compiler.
20784 wl=$lt_lt_prog_compiler_wl_CXX
20786 # Object file suffix (normally "o").
20787 objext="$ac_objext"
20789 # Old archive suffix (normally "a").
20792 # Shared library suffix (normally ".so").
20793 shrext_cmds='$shrext_cmds'
20795 # Executable file suffix (normally "").
20798 # Additional compiler flags for building library objects.
20799 pic_flag=$lt_lt_prog_compiler_pic_CXX
20802 # What is the maximum length of a command?
20803 max_cmd_len=$lt_cv_sys_max_cmd_len
20805 # Does compiler simultaneously support -c and -o options?
20806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20808 # Must we lock files when doing compilation?
20809 need_locks=$lt_need_locks
20811 # Do we need the lib prefix for modules?
20812 need_lib_prefix=$need_lib_prefix
20814 # Do we need a version for libraries?
20815 need_version=$need_version
20817 # Whether dlopen is supported.
20818 dlopen_support=$enable_dlopen
20820 # Whether dlopen of programs is supported.
20821 dlopen_self=$enable_dlopen_self
20823 # Whether dlopen of statically linked programs is supported.
20824 dlopen_self_static=$enable_dlopen_self_static
20826 # Compiler flag to prevent dynamic linking.
20827 link_static_flag=$lt_lt_prog_compiler_static_CXX
20829 # Compiler flag to turn off builtin functions.
20830 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20832 # Compiler flag to allow reflexive dlopens.
20833 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20835 # Compiler flag to generate shared objects directly from archives.
20836 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20838 # Compiler flag to generate thread-safe objects.
20839 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20841 # Library versioning type.
20842 version_type=$version_type
20844 # Format of library name prefix.
20845 libname_spec=$lt_libname_spec
20847 # List of archive names. First name is the real one, the rest are links.
20848 # The last name is the one that the linker finds with -lNAME.
20849 library_names_spec=$lt_library_names_spec
20851 # The coded name of the library, if different from the real name.
20852 soname_spec=$lt_soname_spec
20854 # Commands used to build and install an old-style archive.
20856 old_archive_cmds=$lt_old_archive_cmds_CXX
20857 old_postinstall_cmds=$lt_old_postinstall_cmds
20858 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20860 # Create an old-style archive from a shared archive.
20861 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20863 # Create a temporary old-style archive to link instead of a shared archive.
20864 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20866 # Commands used to build and install a shared archive.
20867 archive_cmds=$lt_archive_cmds_CXX
20868 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20869 postinstall_cmds=$lt_postinstall_cmds
20870 postuninstall_cmds=$lt_postuninstall_cmds
20872 # Commands used to build a loadable module (assumed same as above if empty)
20873 module_cmds=$lt_module_cmds_CXX
20874 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20876 # Commands to strip libraries.
20877 old_striplib=$lt_old_striplib
20878 striplib=$lt_striplib
20880 # Dependencies to place before the objects being linked to create a
20882 predep_objects=$lt_predep_objects_CXX
20884 # Dependencies to place after the objects being linked to create a
20886 postdep_objects=$lt_postdep_objects_CXX
20888 # Dependencies to place before the objects being linked to create a
20890 predeps=$lt_predeps_CXX
20892 # Dependencies to place after the objects being linked to create a
20894 postdeps=$lt_postdeps_CXX
20896 # The library search path used internally by the compiler when linking
20897 # a shared library.
20898 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20900 # Method to check whether dependent libraries are shared objects.
20901 deplibs_check_method=$lt_deplibs_check_method
20903 # Command to use when deplibs_check_method == file_magic.
20904 file_magic_cmd=$lt_file_magic_cmd
20906 # Flag that allows shared libraries with undefined symbols to be built.
20907 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20909 # Flag that forces no undefined symbols.
20910 no_undefined_flag=$lt_no_undefined_flag_CXX
20912 # Commands used to finish a libtool library installation in a directory.
20913 finish_cmds=$lt_finish_cmds
20915 # Same as above, but a single script fragment to be evaled but not shown.
20916 finish_eval=$lt_finish_eval
20918 # Take the output of nm and produce a listing of raw symbols and C names.
20919 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20921 # Transform the output of nm in a proper C declaration
20922 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20924 # Transform the output of nm in a C name address pair
20925 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20927 # This is the shared library runtime path variable.
20928 runpath_var=$runpath_var
20930 # This is the shared library path variable.
20931 shlibpath_var=$shlibpath_var
20933 # Is shlibpath searched before the hard-coded library search path?
20934 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20936 # How to hardcode a shared library path into an executable.
20937 hardcode_action=$hardcode_action_CXX
20939 # Whether we should hardcode library paths into libraries.
20940 hardcode_into_libs=$hardcode_into_libs
20942 # Flag to hardcode \$libdir into a binary during linking.
20943 # This must work even if \$libdir does not exist.
20944 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20946 # If ld is used when linking, flag to hardcode \$libdir into
20947 # a binary during linking. This must work even if \$libdir does
20949 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20951 # Whether we need a single -rpath flag with a separated argument.
20952 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20954 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20955 # resulting binary.
20956 hardcode_direct=$hardcode_direct_CXX
20958 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20959 # resulting binary.
20960 hardcode_minus_L=$hardcode_minus_L_CXX
20962 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20963 # the resulting binary.
20964 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20966 # Set to yes if building a shared library automatically hardcodes DIR into the library
20967 # and all subsequent libraries and executables linked against it.
20968 hardcode_automatic=$hardcode_automatic_CXX
20970 # Variables whose values should be saved in libtool wrapper scripts and
20971 # restored at relink time.
20972 variables_saved_for_relink="$variables_saved_for_relink"
20974 # Whether libtool must link a program against all its dependency libraries.
20975 link_all_deplibs=$link_all_deplibs_CXX
20977 # Compile-time system search path for libraries
20978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20980 # Run-time system search path for libraries
20981 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20983 # Fix the shell variable \$srcfile for the compiler.
20984 fix_srcfile_path="$fix_srcfile_path_CXX"
20986 # Set to yes if exported symbols are required.
20987 always_export_symbols=$always_export_symbols_CXX
20989 # The commands to list exported symbols.
20990 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20992 # The commands to extract the exported symbol list from a shared archive.
20993 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20995 # Symbols that should not be listed in the preloaded symbols.
20996 exclude_expsyms=$lt_exclude_expsyms_CXX
20998 # Symbols that must always be exported.
20999 include_expsyms=$lt_include_expsyms_CXX
21001 # ### END LIBTOOL TAG CONFIG: $tagname
21007 # If there is no Makefile yet, we rely on a make rule to execute
21008 # `config.status --recheck' to rerun these tests and create the
21009 # libtool script then.
21010 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21011 if test -f "$ltmain_in"; then
21012 test -f Makefile
&& make "$ltmain"
21018 ac_cpp
='$CPP $CPPFLAGS'
21019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21027 with_gnu_ldcxx
=$with_gnu_ld
21028 with_gnu_ld
=$lt_save_with_gnu_ld
21029 lt_cv_path_LDCXX
=$lt_cv_path_LD
21030 lt_cv_path_LD
=$lt_save_path_LD
21031 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
21032 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
21040 if test -n "$F77" && test "X$F77" != "Xno"; then
21043 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21044 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
21048 archive_cmds_need_lc_F77
=no
21049 allow_undefined_flag_F77
=
21050 always_export_symbols_F77
=no
21051 archive_expsym_cmds_F77
=
21052 export_dynamic_flag_spec_F77
=
21053 hardcode_direct_F77
=no
21054 hardcode_libdir_flag_spec_F77
=
21055 hardcode_libdir_flag_spec_ld_F77
=
21056 hardcode_libdir_separator_F77
=
21057 hardcode_minus_L_F77
=no
21058 hardcode_automatic_F77
=no
21060 module_expsym_cmds_F77
=
21061 link_all_deplibs_F77
=unknown
21062 old_archive_cmds_F77
=$old_archive_cmds
21063 no_undefined_flag_F77
=
21064 whole_archive_flag_spec_F77
=
21065 enable_shared_with_static_runtimes_F77
=no
21067 # Source file extension for f77 test sources.
21070 # Object file extension for compiled f77 test sources.
21074 # Code to be used in simple compile tests
21075 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
21077 # Code to be used in simple link tests
21078 lt_simple_link_test_code
=" program t\n end\n"
21080 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21082 # If no C compiler was specified, use CC.
21085 # If no C compiler flags were specified, use CFLAGS.
21086 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21088 # Allow CC to be a program name with arguments.
21092 # save warnings/boilerplate of simple test code
21093 ac_outfile
=conftest.
$ac_objext
21094 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
21095 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21096 _lt_compiler_boilerplate
=`cat conftest.err`
21099 ac_outfile
=conftest.
$ac_objext
21100 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
21101 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21102 _lt_linker_boilerplate
=`cat conftest.err`
21106 # Allow CC to be a program name with arguments.
21111 for cc_temp
in $compiler""; do
21113 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21114 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21119 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21122 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21123 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21124 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21125 echo "${ECHO_T}$can_build_shared" >&6; }
21127 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21128 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21129 test "$can_build_shared" = "no" && enable_shared
=no
21131 # On AIX, shared libraries and static libraries use the same namespace, and
21132 # are all built from PIC.
21135 test "$enable_shared" = yes && enable_static
=no
21136 if test -n "$RANLIB"; then
21137 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
21138 postinstall_cmds
='$RANLIB $lib'
21142 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
21143 test "$enable_shared" = yes && enable_static
=no
21147 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21148 echo "${ECHO_T}$enable_shared" >&6; }
21150 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21151 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21152 # Make sure either enable_shared or enable_static is yes.
21153 test "$enable_shared" = yes || enable_static
=yes
21154 { echo "$as_me:$LINENO: result: $enable_static" >&5
21155 echo "${ECHO_T}$enable_static" >&6; }
21160 lt_prog_compiler_wl_F77
=
21161 lt_prog_compiler_pic_F77
=
21162 lt_prog_compiler_static_F77
=
21164 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21165 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21167 if test "$GCC" = yes; then
21168 lt_prog_compiler_wl_F77
='-Wl,'
21169 lt_prog_compiler_static_F77
='-static'
21173 # All AIX code is PIC.
21174 if test "$host_cpu" = ia64
; then
21175 # AIX 5 now supports IA64 processor
21176 lt_prog_compiler_static_F77
='-Bstatic'
21181 # FIXME: we need at least 68020 code to build shared libraries, but
21182 # adding the `-m68020' flag to GCC prevents building anything better,
21184 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21187 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21188 # PIC is the default for these OSes.
21191 mingw
* | pw32
* | os2
*)
21192 # This hack is so that the source file can tell whether it is being
21193 # built for inclusion in a dll (and should export symbols for example).
21194 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21197 darwin
* | rhapsody
*)
21198 # PIC is the default on this platform
21199 # Common symbols not allowed in MH_DYLIB files
21200 lt_prog_compiler_pic_F77
='-fno-common'
21204 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21205 # Instead, we relocate shared libraries at runtime.
21209 # Just because we use GCC doesn't mean we suddenly get shared libraries
21210 # on systems that don't support them.
21211 lt_prog_compiler_can_build_shared_F77
=no
21216 if test -d /usr
/nec
; then
21217 lt_prog_compiler_pic_F77
=-Kconform_pic
21222 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21223 # not for PA HP-UX.
21229 lt_prog_compiler_pic_F77
='-fPIC'
21235 lt_prog_compiler_pic_F77
='-fPIC'
21239 # PORTME Check for flag to pass linker flags through the system compiler.
21242 lt_prog_compiler_wl_F77
='-Wl,'
21243 if test "$host_cpu" = ia64
; then
21244 # AIX 5 now supports IA64 processor
21245 lt_prog_compiler_static_F77
='-Bstatic'
21247 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21251 # PIC is the default on this platform
21252 # Common symbols not allowed in MH_DYLIB files
21253 case $cc_basename in
21255 lt_prog_compiler_pic_F77
='-qnocommon'
21256 lt_prog_compiler_wl_F77
='-Wl,'
21261 mingw
* | pw32
* | os2
*)
21262 # This hack is so that the source file can tell whether it is being
21263 # built for inclusion in a dll (and should export symbols for example).
21264 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21267 hpux9
* | hpux10
* | hpux11
*)
21268 lt_prog_compiler_wl_F77
='-Wl,'
21269 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21270 # not for PA HP-UX.
21276 lt_prog_compiler_pic_F77
='+Z'
21279 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21280 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21283 irix5
* | irix6
* | nonstopux
*)
21284 lt_prog_compiler_wl_F77
='-Wl,'
21285 # PIC (with -KPIC) is the default.
21286 lt_prog_compiler_static_F77
='-non_shared'
21290 lt_prog_compiler_pic_F77
='-KPIC'
21291 lt_prog_compiler_static_F77
='-Bstatic'
21295 case $cc_basename in
21297 lt_prog_compiler_wl_F77
='-Wl,'
21298 lt_prog_compiler_pic_F77
='-KPIC'
21299 lt_prog_compiler_static_F77
='-static'
21301 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21302 # Portland Group compilers (*not* the Pentium gcc compiler,
21303 # which looks to be a dead project)
21304 lt_prog_compiler_wl_F77
='-Wl,'
21305 lt_prog_compiler_pic_F77
='-fpic'
21306 lt_prog_compiler_static_F77
='-Bstatic'
21309 lt_prog_compiler_wl_F77
='-Wl,'
21310 # All Alpha code is PIC.
21311 lt_prog_compiler_static_F77
='-non_shared'
21316 osf3
* | osf4
* | osf5
*)
21317 lt_prog_compiler_wl_F77
='-Wl,'
21318 # All OSF/1 code is PIC.
21319 lt_prog_compiler_static_F77
='-non_shared'
21323 lt_prog_compiler_pic_F77
='-KPIC'
21324 lt_prog_compiler_static_F77
='-Bstatic'
21325 case $cc_basename in
21326 f77
* | f90
* | f95
*)
21327 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21329 lt_prog_compiler_wl_F77
='-Wl,';;
21334 lt_prog_compiler_wl_F77
='-Qoption ld '
21335 lt_prog_compiler_pic_F77
='-PIC'
21336 lt_prog_compiler_static_F77
='-Bstatic'
21339 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21340 lt_prog_compiler_wl_F77
='-Wl,'
21341 lt_prog_compiler_pic_F77
='-KPIC'
21342 lt_prog_compiler_static_F77
='-Bstatic'
21346 if test -d /usr
/nec
;then
21347 lt_prog_compiler_pic_F77
='-Kconform_pic'
21348 lt_prog_compiler_static_F77
='-Bstatic'
21352 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21353 lt_prog_compiler_wl_F77
='-Wl,'
21354 lt_prog_compiler_pic_F77
='-KPIC'
21355 lt_prog_compiler_static_F77
='-Bstatic'
21359 lt_prog_compiler_wl_F77
='-Wl,'
21360 lt_prog_compiler_can_build_shared_F77
=no
21364 lt_prog_compiler_pic_F77
='-pic'
21365 lt_prog_compiler_static_F77
='-Bstatic'
21369 lt_prog_compiler_can_build_shared_F77
=no
21374 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21375 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21378 # Check to make sure the PIC flag actually works.
21380 if test -n "$lt_prog_compiler_pic_F77"; then
21382 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21383 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21384 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 lt_prog_compiler_pic_works_F77
=no
21388 ac_outfile
=conftest.
$ac_objext
21389 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21390 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21391 # Insert the option either (1) after the last *FLAGS variable, or
21392 # (2) before a word containing "conftest.", or (3) at the end.
21393 # Note that $ac_compile itself does not contain backslashes and begins
21394 # with a dollar sign (not a hyphen), so the echo should work correctly.
21395 # The option is referenced via a variable to avoid confusing sed.
21396 lt_compile
=`echo "$ac_compile" | $SED \
21397 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21398 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21399 -e 's:$: $lt_compiler_flag:'`
21400 (eval echo "\"\$as_me:21391: $lt_compile\"" >&5)
21401 (eval "$lt_compile" 2>conftest.err
)
21403 cat conftest.err
>&5
21404 echo "$as_me:21395: \$? = $ac_status" >&5
21405 if (exit $ac_status) && test -s "$ac_outfile"; then
21406 # The compiler can only warn and ignore the option if not recognized
21407 # So say no if there are warnings other than the usual output.
21408 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21409 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21410 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21411 lt_prog_compiler_pic_works_F77
=yes
21417 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21418 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21420 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21421 case $lt_prog_compiler_pic_F77 in
21423 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21426 lt_prog_compiler_pic_F77
=
21427 lt_prog_compiler_can_build_shared_F77
=no
21432 # For platforms which do not support PIC, -DPIC is meaningless:
21434 lt_prog_compiler_pic_F77
=
21437 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21442 # Check to make sure the static flag actually works.
21444 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21445 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21446 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21447 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21448 echo $ECHO_N "(cached) $ECHO_C" >&6
21450 lt_prog_compiler_static_works_F77
=no
21451 save_LDFLAGS
="$LDFLAGS"
21452 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21453 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21454 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21455 # The linker can only warn and ignore the option if not recognized
21456 # So say no if there are warnings
21457 if test -s conftest.err
; then
21458 # Append any errors to the config.log.
21459 cat conftest.err
1>&5
21460 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21461 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21462 if diff conftest.exp conftest.er2
>/dev
/null
; then
21463 lt_prog_compiler_static_works_F77
=yes
21466 lt_prog_compiler_static_works_F77
=yes
21470 LDFLAGS
="$save_LDFLAGS"
21473 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21474 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21476 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21479 lt_prog_compiler_static_F77
=
21483 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21484 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21485 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21486 echo $ECHO_N "(cached) $ECHO_C" >&6
21488 lt_cv_prog_compiler_c_o_F77
=no
21489 $rm -r conftest
2>/dev
/null
21493 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21495 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21496 # Insert the option either (1) after the last *FLAGS variable, or
21497 # (2) before a word containing "conftest.", or (3) at the end.
21498 # Note that $ac_compile itself does not contain backslashes and begins
21499 # with a dollar sign (not a hyphen), so the echo should work correctly.
21500 lt_compile
=`echo "$ac_compile" | $SED \
21501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21503 -e 's:$: $lt_compiler_flag:'`
21504 (eval echo "\"\$as_me:21495: $lt_compile\"" >&5)
21505 (eval "$lt_compile" 2>out
/conftest.err
)
21507 cat out
/conftest.err
>&5
21508 echo "$as_me:21499: \$? = $ac_status" >&5
21509 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21511 # The compiler can only warn and ignore the option if not recognized
21512 # So say no if there are warnings
21513 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21514 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21515 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21516 lt_cv_prog_compiler_c_o_F77
=yes
21521 # SGI C++ compiler will create directory out/ii_files/ for
21522 # template instantiation
21523 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21524 $rm out
/* && rmdir out
21530 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21531 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21534 hard_links
="nottested"
21535 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21536 # do not overwrite the value of need_locks provided by the user
21537 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21538 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21541 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21543 ln conftest.a conftest.b
2>&5 || hard_links
=no
21544 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21545 { echo "$as_me:$LINENO: result: $hard_links" >&5
21546 echo "${ECHO_T}$hard_links" >&6; }
21547 if test "$hard_links" = no
; then
21548 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21549 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21556 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21557 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21560 allow_undefined_flag_F77
=
21561 enable_shared_with_static_runtimes_F77
=no
21563 archive_expsym_cmds_F77
=
21564 old_archive_From_new_cmds_F77
=
21565 old_archive_from_expsyms_cmds_F77
=
21566 export_dynamic_flag_spec_F77
=
21567 whole_archive_flag_spec_F77
=
21568 thread_safe_flag_spec_F77
=
21569 hardcode_libdir_flag_spec_F77
=
21570 hardcode_libdir_flag_spec_ld_F77
=
21571 hardcode_libdir_separator_F77
=
21572 hardcode_direct_F77
=no
21573 hardcode_minus_L_F77
=no
21574 hardcode_shlibpath_var_F77
=unsupported
21575 link_all_deplibs_F77
=unknown
21576 hardcode_automatic_F77
=no
21578 module_expsym_cmds_F77
=
21579 always_export_symbols_F77
=no
21580 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21581 # include_expsyms should be a list of space-separated symbols to be *always*
21582 # included in the symbol list
21583 include_expsyms_F77
=
21584 # exclude_expsyms can be an extended regexp of symbols to exclude
21585 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21586 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21587 # as well as any symbol that contains `d'.
21588 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21589 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21590 # platforms (ab)use it in PIC code, but their linkers get confused if
21591 # the symbol is explicitly referenced. Since portable code cannot
21592 # rely on this symbol name, it's probably fine to never include it in
21593 # preloaded symbol tables.
21594 extract_expsyms_cmds
=
21595 # Just being paranoid about ensuring that cc_basename is set.
21596 for cc_temp
in $compiler""; do
21598 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21599 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21604 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21607 cygwin
* | mingw
* | pw32
*)
21608 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21609 # When not using gcc, we currently assume that we are using
21610 # Microsoft Visual C++.
21611 if test "$GCC" != yes; then
21616 # we just hope/assume this is gcc and not c89 (= MSVC++)
21625 if test "$with_gnu_ld" = yes; then
21626 # If archive_cmds runs LD, not CC, wlarc should be empty
21629 # Set some defaults for GNU ld with shared library support. These
21630 # are reset later if shared libraries are not supported. Putting them
21631 # here allows them to be overridden if necessary.
21632 runpath_var
=LD_RUN_PATH
21633 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21634 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21635 # ancient GNU ld didn't support --whole-archive et. al.
21636 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21637 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21639 whole_archive_flag_spec_F77
=
21641 supports_anon_versioning
=no
21642 case `$LD -v 2>/dev/null` in
21643 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21644 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21645 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21646 *\
2.11.
*) ;; # other 2.11 versions
21647 *) supports_anon_versioning
=yes ;;
21650 # See if GNU ld supports shared libraries.
21652 aix3
* | aix4
* | aix5
*)
21653 # On AIX/PPC, the GNU linker is very broken
21654 if test "$host_cpu" != ia64
; then
21658 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21659 *** to be unable to reliably create shared libraries on AIX.
21660 *** Therefore, libtool is disabling shared libraries support. If you
21661 *** really care for shared libraries, you may want to modify your PATH
21662 *** so that a non-GNU linker is found, and then restart.
21669 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)'
21670 hardcode_libdir_flag_spec_F77
='-L$libdir'
21671 hardcode_minus_L_F77
=yes
21673 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21674 # that the semantics of dynamic libraries on AmigaOS, at least up
21675 # to version 4, is to share data among multiple programs linked
21676 # with the same dynamic library. Since this doesn't match the
21677 # behavior of shared libraries on other platforms, we can't use
21683 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21684 allow_undefined_flag_F77
=unsupported
21685 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21686 # support --undefined. This deserves some investigation. FIXME
21687 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21693 cygwin
* | mingw
* | pw32
*)
21694 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21695 # as there is no search path for DLLs.
21696 hardcode_libdir_flag_spec_F77
='-L$libdir'
21697 allow_undefined_flag_F77
=unsupported
21698 always_export_symbols_F77
=no
21699 enable_shared_with_static_runtimes_F77
=yes
21700 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21702 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21703 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21704 # If the export-symbols file already is a .def file (1st line
21705 # is EXPORTS), use it as is; otherwise, prepend...
21706 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21707 cp $export_symbols $output_objdir/$soname.def;
21709 echo EXPORTS > $output_objdir/$soname.def;
21710 cat $export_symbols >> $output_objdir/$soname.def;
21712 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21719 hardcode_direct_F77
=no
21720 hardcode_shlibpath_var_F77
=no
21721 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21722 export_dynamic_flag_spec_F77
='${wl}-E'
21723 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21724 # Instead, shared libraries are loaded at an image base (0x10000000 by
21725 # default) and relocated if they conflict, which is a slow very memory
21726 # consuming and fragmenting process. To avoid this, we pick a random,
21727 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21728 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21729 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'
21730 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'
21734 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21736 case $cc_basename,$host_cpu in
21737 pgcc
*) # Portland Group C compiler
21738 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'
21739 tmp_addflag
=' $pic_flag'
21741 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21742 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'
21743 tmp_addflag
=' $pic_flag -Mnomain' ;;
21744 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21745 tmp_addflag
=' -i_dynamic' ;;
21746 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21747 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21748 ifc
* | ifort
*) # Intel Fortran compiler
21749 tmp_addflag
=' -nofor_main' ;;
21751 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21753 if test $supports_anon_versioning = yes; then
21754 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21755 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21756 $echo "local: *; };" >> $output_objdir/$libname.ver~
21757 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21765 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21766 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21769 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21770 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21775 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21779 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21780 *** create shared libraries on Solaris systems. Therefore, libtool
21781 *** is disabling shared libraries support. We urge you to upgrade GNU
21782 *** binutils to release 2.9.1 or newer. Another option is to modify
21783 *** your PATH or compiler configuration so that the native linker is
21784 *** used, and then restart.
21787 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21788 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21789 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21795 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21796 case `$LD -v 2>&1` in
21797 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21801 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21802 *** reliably create shared libraries on SCO systems. Therefore, libtool
21803 *** is disabling shared libraries support. We urge you to upgrade GNU
21804 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21805 *** your PATH or compiler configuration so that the native linker is
21806 *** used, and then restart.
21811 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21812 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21813 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21814 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21823 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21825 hardcode_direct_F77
=yes
21826 hardcode_shlibpath_var_F77
=no
21830 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21831 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21832 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21839 if test "$ld_shlibs_F77" = no
; then
21841 hardcode_libdir_flag_spec_F77
=
21842 export_dynamic_flag_spec_F77
=
21843 whole_archive_flag_spec_F77
=
21846 # PORTME fill in a description of your system's linker (not GNU ld)
21849 allow_undefined_flag_F77
=unsupported
21850 always_export_symbols_F77
=yes
21851 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'
21852 # Note: this linker hardcodes the directories in LIBPATH if there
21853 # are no directories specified by -L.
21854 hardcode_minus_L_F77
=yes
21855 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21856 # Neither direct hardcoding nor static linking is supported with a
21858 hardcode_direct_F77
=unsupported
21863 if test "$host_cpu" = ia64
; then
21864 # On IA64, the linker does run time linking by default, so we don't
21865 # have to do anything special.
21866 aix_use_runtimelinking
=no
21867 exp_sym_flag
='-Bexport'
21870 # If we're using GNU nm, then we don't want the "-C" option.
21871 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21872 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21873 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'
21875 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'
21877 aix_use_runtimelinking
=no
21879 # Test if we are trying to use run time linking or normal
21880 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21881 # need to do runtime linking.
21882 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21883 for ld_flag
in $LDFLAGS; do
21884 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21885 aix_use_runtimelinking
=yes
21892 exp_sym_flag
='-bexport'
21893 no_entry_flag
='-bnoentry'
21896 # When large executables or shared objects are built, AIX ld can
21897 # have problems creating the table of contents. If linking a library
21898 # or program results in "error TOC overflow" add -mminimal-toc to
21899 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21900 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21902 archive_cmds_F77
=''
21903 hardcode_direct_F77
=yes
21904 hardcode_libdir_separator_F77
=':'
21905 link_all_deplibs_F77
=yes
21907 if test "$GCC" = yes; then
21908 case $host_os in aix4.
[012]|aix4.
[012].
*)
21909 # We only want to do this on AIX 4.2 and lower, the check
21910 # below for broken collect2 doesn't work under 4.3+
21911 collect2name
=`${CC} -print-prog-name=collect2`
21912 if test -f "$collect2name" && \
21913 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21915 # We have reworked collect2
21916 hardcode_direct_F77
=yes
21918 # We have old collect2
21919 hardcode_direct_F77
=unsupported
21920 # It fails to find uninstalled libraries when the uninstalled
21921 # path is not listed in the libpath. Setting hardcode_minus_L
21922 # to unsupported forces relinking
21923 hardcode_minus_L_F77
=yes
21924 hardcode_libdir_flag_spec_F77
='-L$libdir'
21925 hardcode_libdir_separator_F77
=
21929 shared_flag
='-shared'
21930 if test "$aix_use_runtimelinking" = yes; then
21931 shared_flag
="$shared_flag "'${wl}-G'
21935 if test "$host_cpu" = ia64
; then
21936 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21937 # chokes on -Wl,-G. The following line is correct:
21940 if test "$aix_use_runtimelinking" = yes; then
21941 shared_flag
='${wl}-G'
21943 shared_flag
='${wl}-bM:SRE'
21948 # It seems that -bexpall does not export symbols beginning with
21949 # underscore (_), so it is better to generate a list of symbols to export.
21950 always_export_symbols_F77
=yes
21951 if test "$aix_use_runtimelinking" = yes; then
21952 # Warning - without using the other runtime loading flags (-brtl),
21953 # -berok will link without error, but may produce a broken library.
21954 allow_undefined_flag_F77
='-berok'
21955 # Determine the default libpath from the value encoded in an empty executable.
21956 cat >conftest.
$ac_ext <<_ACEOF
21961 rm -f conftest.
$ac_objext conftest
$ac_exeext
21962 if { (ac_try
="$ac_link"
21963 case "(($ac_try" in
21964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21965 *) ac_try_echo=$ac_try;;
21967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21968 (eval "$ac_link") 2>conftest.er1
21970 grep -v '^ *+' conftest.er1 >conftest.err
21972 cat conftest.err >&5
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); } &&
21975 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21976 { (case "(($ac_try" in
21977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21978 *) ac_try_echo
=$ac_try;;
21980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21981 (eval "$ac_try") 2>&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; } &&
21985 { ac_try
='test -s conftest$ac_exeext'
21986 { (case "(($ac_try" in
21987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_try") 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21996 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21998 # Check for a 64-bit object if we didn't find anything.
21999 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; }
22002 echo "$as_me: failed program was:" >&5
22003 sed 's/^/| /' conftest.$ac_ext >&5
22008 rm -f core conftest.err conftest.$ac_objext \
22009 conftest$ac_exeext conftest.$ac_ext
22010 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22012 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22013 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"
22015 if test "$host_cpu" = ia64; then
22016 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22017 allow_undefined_flag_F77="-z nodefs"
22018 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"
22020 # Determine the default libpath from the value encoded in an empty executable.
22021 cat >conftest.$ac_ext <<_ACEOF
22026 rm -f conftest.$ac_objext conftest$ac_exeext
22027 if { (ac_try="$ac_link"
22028 case "(($ac_try" in
22029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22030 *) ac_try_echo
=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_link") 2>conftest.er1
22035 grep -v '^ *+' conftest.er1
>conftest.err
22037 cat conftest.err
>&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } &&
22040 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22041 { (case "(($ac_try" in
22042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22043 *) ac_try_echo=$ac_try;;
22045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22046 (eval "$ac_try") 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; } &&
22050 { ac_try='test -s conftest$ac_exeext'
22051 { (case "(($ac_try" in
22052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22053 *) ac_try_echo
=$ac_try;;
22055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22056 (eval "$ac_try") 2>&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); }; }; then
22061 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22063 # Check for a 64-bit object if we didn't find anything.
22064 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; }
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.
$ac_ext >&5
22073 rm -f core conftest.err conftest.
$ac_objext \
22074 conftest
$ac_exeext conftest.
$ac_ext
22075 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22077 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22078 # Warning - without using the other run time loading flags,
22079 # -berok will link without error, but may produce a broken library.
22080 no_undefined_flag_F77
=' ${wl}-bernotok'
22081 allow_undefined_flag_F77
=' ${wl}-berok'
22082 # Exported symbols can be pulled into shared objects from archives
22083 whole_archive_flag_spec_F77
='$convenience'
22084 archive_cmds_need_lc_F77
=yes
22085 # This is similar to how AIX traditionally builds its shared libraries.
22086 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'
22092 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)'
22093 hardcode_libdir_flag_spec_F77
='-L$libdir'
22094 hardcode_minus_L_F77
=yes
22095 # see comment about different semantics on the GNU ld section
22100 export_dynamic_flag_spec_F77
=-rdynamic
22103 cygwin
* | mingw
* | pw32
*)
22104 # When not using gcc, we currently assume that we are using
22105 # Microsoft Visual C++.
22106 # hardcode_libdir_flag_spec is actually meaningless, as there is
22107 # no search path for DLLs.
22108 hardcode_libdir_flag_spec_F77
=' '
22109 allow_undefined_flag_F77
=unsupported
22110 # Tell ltmain to make .lib files, not .a files.
22112 # Tell ltmain to make .dll files, not .so files.
22114 # FIXME: Setting linknames here is a bad hack.
22115 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22116 # The linker will automatically build a .lib file if we build a DLL.
22117 old_archive_From_new_cmds_F77
='true'
22118 # FIXME: Should let the user specify the lib program.
22119 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
22120 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22121 enable_shared_with_static_runtimes_F77
=yes
22124 darwin
* | rhapsody
*)
22126 rhapsody
* | darwin1.
[012])
22127 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
22130 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22131 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22133 case ${MACOSX_DEPLOYMENT_TARGET} in
22135 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22138 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
22144 archive_cmds_need_lc_F77
=no
22145 hardcode_direct_F77
=no
22146 hardcode_automatic_F77
=yes
22147 hardcode_shlibpath_var_F77
=unsupported
22148 whole_archive_flag_spec_F77
=''
22149 link_all_deplibs_F77
=yes
22150 if test "$GCC" = yes ; then
22151 output_verbose_link_cmd
='echo'
22152 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22153 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22154 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22155 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}'
22156 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}'
22158 case $cc_basename in
22160 output_verbose_link_cmd
='echo'
22161 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22162 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22163 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22164 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}'
22165 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}'
22175 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22176 hardcode_libdir_flag_spec_F77
='-L$libdir'
22177 hardcode_shlibpath_var_F77
=no
22184 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22185 # support. Future versions do this automatically, but an explicit c++rt0.o
22186 # does not break anything, and helps significantly (at the cost of a little
22189 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22190 hardcode_libdir_flag_spec_F77
='-R$libdir'
22191 hardcode_direct_F77
=yes
22192 hardcode_shlibpath_var_F77
=no
22195 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22197 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22198 hardcode_direct_F77
=yes
22199 hardcode_minus_L_F77
=yes
22200 hardcode_shlibpath_var_F77
=no
22203 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22204 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22205 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22206 hardcode_libdir_flag_spec_F77
='-R$libdir'
22207 hardcode_direct_F77
=yes
22208 hardcode_shlibpath_var_F77
=no
22212 if test "$GCC" = yes; then
22213 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'
22215 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'
22217 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22218 hardcode_libdir_separator_F77
=:
22219 hardcode_direct_F77
=yes
22221 # hardcode_minus_L: Not really in the search PATH,
22222 # but as the default location of the library.
22223 hardcode_minus_L_F77
=yes
22224 export_dynamic_flag_spec_F77
='${wl}-E'
22228 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22229 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22231 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22233 if test "$with_gnu_ld" = no
; then
22234 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22235 hardcode_libdir_separator_F77
=:
22237 hardcode_direct_F77
=yes
22238 export_dynamic_flag_spec_F77
='${wl}-E'
22240 # hardcode_minus_L: Not really in the search PATH,
22241 # but as the default location of the library.
22242 hardcode_minus_L_F77
=yes
22247 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22250 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22253 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22256 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22262 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22265 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22268 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22272 if test "$with_gnu_ld" = no
; then
22273 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22274 hardcode_libdir_separator_F77
=:
22278 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22279 hardcode_direct_F77
=no
22280 hardcode_shlibpath_var_F77
=no
22283 hardcode_direct_F77
=yes
22284 export_dynamic_flag_spec_F77
='${wl}-E'
22286 # hardcode_minus_L: Not really in the search PATH,
22287 # but as the default location of the library.
22288 hardcode_minus_L_F77
=yes
22294 irix5
* | irix6
* | nonstopux
*)
22295 if test "$GCC" = yes; then
22296 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'
22298 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'
22299 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22301 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22302 hardcode_libdir_separator_F77
=:
22303 link_all_deplibs_F77
=yes
22307 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22308 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22310 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22312 hardcode_libdir_flag_spec_F77
='-R$libdir'
22313 hardcode_direct_F77
=yes
22314 hardcode_shlibpath_var_F77
=no
22318 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22319 hardcode_direct_F77
=yes
22320 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22321 hardcode_libdir_separator_F77
=:
22322 hardcode_shlibpath_var_F77
=no
22326 hardcode_direct_F77
=yes
22327 hardcode_shlibpath_var_F77
=no
22328 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22329 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22330 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22331 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22332 export_dynamic_flag_spec_F77
='${wl}-E'
22335 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22336 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22337 hardcode_libdir_flag_spec_F77
='-R$libdir'
22340 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22341 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22348 hardcode_libdir_flag_spec_F77
='-L$libdir'
22349 hardcode_minus_L_F77
=yes
22350 allow_undefined_flag_F77
=unsupported
22351 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'
22352 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22356 if test "$GCC" = yes; then
22357 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22358 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'
22360 allow_undefined_flag_F77
=' -expect_unresolved \*'
22361 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'
22363 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22364 hardcode_libdir_separator_F77
=:
22367 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22368 if test "$GCC" = yes; then
22369 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22370 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'
22371 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22373 allow_undefined_flag_F77
=' -expect_unresolved \*'
22374 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'
22375 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~
22376 $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'
22378 # Both c and cxx compiler support -rpath directly
22379 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22381 hardcode_libdir_separator_F77
=:
22385 no_undefined_flag_F77
=' -z text'
22386 if test "$GCC" = yes; then
22388 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22389 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22390 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22393 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22394 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22395 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22397 hardcode_libdir_flag_spec_F77
='-R$libdir'
22398 hardcode_shlibpath_var_F77
=no
22400 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22402 # The compiler driver will combine linker options so we
22403 # cannot just pass the convience library names through
22404 # without $wl, iff we do not link with $LD.
22405 # Luckily, gcc supports the same syntax we need for Sun Studio.
22406 # Supported since Solaris 2.6 (maybe 2.5.1?)
22409 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22411 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' ;;
22414 link_all_deplibs_F77
=yes
22418 if test "x$host_vendor" = xsequent
; then
22419 # Use $CC to link under sequent, because it throws in some extra .o
22420 # files that make .init and .fini sections work.
22421 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22423 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22425 hardcode_libdir_flag_spec_F77
='-L$libdir'
22426 hardcode_direct_F77
=yes
22427 hardcode_minus_L_F77
=yes
22428 hardcode_shlibpath_var_F77
=no
22432 case $host_vendor in
22434 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22435 hardcode_direct_F77
=yes # is this really true???
22438 ## LD is ld it makes a PLAMLIB
22439 ## CC just makes a GrossModule.
22440 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22441 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22442 hardcode_direct_F77
=no
22445 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22446 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22449 runpath_var
='LD_RUN_PATH'
22450 hardcode_shlibpath_var_F77
=no
22454 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22455 hardcode_shlibpath_var_F77
=no
22456 export_dynamic_flag_spec_F77
='-Bexport'
22460 if test -d /usr
/nec
; then
22461 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22462 hardcode_shlibpath_var_F77
=no
22463 runpath_var
=LD_RUN_PATH
22464 hardcode_runpath_var
=yes
22469 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22470 no_undefined_flag_F77
='${wl}-z,text'
22471 archive_cmds_need_lc_F77
=no
22472 hardcode_shlibpath_var_F77
=no
22473 runpath_var
='LD_RUN_PATH'
22475 if test "$GCC" = yes; then
22476 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22477 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22479 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22480 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22484 sysv5
* | sco3.2v5
* | sco5v6
*)
22485 # Note: We can NOT use -z defs as we might desire, because we do not
22486 # link with -lc, and that would cause any symbols used from libc to
22487 # always be unresolved, which means just about no library would
22488 # ever link correctly. If we're not using GNU ld we use -z text
22489 # though, which does catch some bad symbols but isn't as heavy-handed
22491 no_undefined_flag_F77
='${wl}-z,text'
22492 allow_undefined_flag_F77
='${wl}-z,nodefs'
22493 archive_cmds_need_lc_F77
=no
22494 hardcode_shlibpath_var_F77
=no
22495 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22496 hardcode_libdir_separator_F77
=':'
22497 link_all_deplibs_F77
=yes
22498 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22499 runpath_var
='LD_RUN_PATH'
22501 if test "$GCC" = yes; then
22502 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22503 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22505 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22506 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22511 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22512 hardcode_libdir_flag_spec_F77
='-L$libdir'
22513 hardcode_shlibpath_var_F77
=no
22522 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22523 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22524 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22527 # Do we need to explicitly link libc?
22529 case "x$archive_cmds_need_lc_F77" in
22531 # Assume -lc should be added
22532 archive_cmds_need_lc_F77
=yes
22534 if test "$enable_shared" = yes && test "$GCC" = yes; then
22535 case $archive_cmds_F77 in
22537 # FIXME: we may have to deal with multi-command sequences.
22540 # Test whether the compiler implicitly links with -lc since on some
22541 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22542 # to ld, don't add -lc before -lgcc.
22543 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22544 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22546 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22549 (eval $ac_compile) 2>&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } 2>conftest.err
; then
22555 libobjs
=conftest.
$ac_objext
22557 wl
=$lt_prog_compiler_wl_F77
22558 pic_flag
=$lt_prog_compiler_pic_F77
22564 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22565 allow_undefined_flag_F77
=
22566 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22567 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }
22572 archive_cmds_need_lc_F77
=no
22574 archive_cmds_need_lc_F77
=yes
22576 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22578 cat conftest.err
1>&5
22581 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22582 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22589 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22590 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22591 library_names_spec
=
22592 libname_spec
='lib$name'
22596 postuninstall_cmds
=
22600 shlibpath_overrides_runpath
=unknown
22602 dynamic_linker
="$host_os ld.so"
22603 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22604 if test "$GCC" = yes; then
22605 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22606 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22607 # if the path contains ";" then we assume it to be the separator
22608 # otherwise default to the standard path separator (i.e. ":") - it is
22609 # assumed that no part of a normal pathname contains ";" but that should
22610 # okay in the real world where ";" in dirpaths is itself problematic.
22611 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22613 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22616 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22618 need_lib_prefix
=unknown
22619 hardcode_into_libs
=no
22621 # when you set need_version to no, make sure it does not cause -set_version
22622 # flags to be left without arguments
22623 need_version
=unknown
22628 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22629 shlibpath_var
=LIBPATH
22631 # AIX 3 has no versioning support, so we append a major version to the name.
22632 soname_spec
='${libname}${release}${shared_ext}$major'
22639 hardcode_into_libs
=yes
22640 if test "$host_cpu" = ia64
; then
22641 # AIX 5 supports IA64
22642 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22643 shlibpath_var
=LD_LIBRARY_PATH
22645 # With GCC up to 2.95.x, collect2 would create an import file
22646 # for dependence libraries. The import file would start with
22647 # the line `#! .'. This would cause the generated library to
22648 # depend on `.', always an invalid library. This was fixed in
22649 # development snapshots of GCC prior to 3.0.
22651 aix4 | aix4.
[01] | aix4.
[01].
*)
22652 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22654 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22657 can_build_shared
=no
22661 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22662 # soname into executable. Probably we can add versioning support to
22663 # collect2, so additional links can be useful in future.
22664 if test "$aix_use_runtimelinking" = yes; then
22665 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22666 # instead of lib<name>.a to let people know that these are not
22667 # typical AIX shared libraries.
22668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22670 # We preserve .a as extension for shared libraries through AIX4.2
22671 # and later when we are not doing run time linking.
22672 library_names_spec
='${libname}${release}.a $libname.a'
22673 soname_spec
='${libname}${release}${shared_ext}$major'
22675 shlibpath_var
=LIBPATH
22680 library_names_spec
='$libname.ixlibrary $libname.a'
22681 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22682 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'
22686 library_names_spec
='${libname}${shared_ext}'
22687 dynamic_linker
="$host_os ld.so"
22688 shlibpath_var
=LIBRARY_PATH
22694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22695 soname_spec
='${libname}${release}${shared_ext}$major'
22696 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22697 shlibpath_var
=LD_LIBRARY_PATH
22698 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22699 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22700 # the default ld.so.conf also contains /usr/contrib/lib and
22701 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22702 # libtool to hard-code these into programs
22705 cygwin
* | mingw
* | pw32
*)
22706 version_type
=windows
22711 case $GCC,$host_os in
22712 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22713 library_names_spec
='$libname.dll.a'
22714 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22715 postinstall_cmds
='base_file=`basename \${file}`~
22716 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22717 dldir=$destdir/`dirname \$dlpath`~
22718 test -d \$dldir || mkdir -p \$dldir~
22719 $install_prog $dir/$dlname \$dldir/$dlname~
22720 chmod a+x \$dldir/$dlname'
22721 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22722 dlpath=$dir/\$dldll~
22724 shlibpath_overrides_runpath
=yes
22728 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22729 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22730 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22733 # MinGW DLLs use traditional 'lib' prefix
22734 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22735 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22736 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22737 # It is most probably a Windows format PATH printed by
22738 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22739 # path with ; separators, and with drive letters. We can handle the
22740 # drive letters (cygwin fileutils understands them), so leave them,
22741 # especially as we might pass files found there to a mingw objdump,
22742 # which wouldn't understand a cygwinified path. Ahh.
22743 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22745 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22749 # pw32 DLLs use 'pw' prefix rather than 'lib'
22750 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22756 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22759 dynamic_linker
='Win32 ld.exe'
22760 # FIXME: first we should search . and the directory the executable is in
22764 darwin
* | rhapsody
*)
22765 dynamic_linker
="$host_os dyld"
22766 version_type
=darwin
22769 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22770 soname_spec
='${libname}${release}${major}$shared_ext'
22771 shlibpath_overrides_runpath
=yes
22772 shlibpath_var
=DYLD_LIBRARY_PATH
22773 shrext_cmds
='.dylib'
22774 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22775 if test "$GCC" = yes; then
22776 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"`
22778 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22780 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22788 soname_spec
='${libname}${release}${shared_ext}$major'
22789 shlibpath_var
=LD_LIBRARY_PATH
22800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22801 soname_spec
='${libname}${release}${shared_ext}$major'
22802 shlibpath_var
=LD_LIBRARY_PATH
22803 shlibpath_overrides_runpath
=no
22804 hardcode_into_libs
=yes
22805 dynamic_linker
='GNU ld.so'
22808 freebsd
* | dragonfly
*)
22809 # DragonFly does not have aout. When/if they implement a new
22810 # versioning mechanism, adjust this.
22811 if test -x /usr
/bin
/objformat
; then
22812 objformat
=`/usr/bin/objformat`
22815 freebsd
[123]*) objformat
=aout
;;
22816 *) objformat
=elf
;;
22819 version_type
=freebsd-
$objformat
22820 case $version_type in
22822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22827 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22831 shlibpath_var
=LD_LIBRARY_PATH
22834 shlibpath_overrides_runpath
=yes
22836 freebsd3.
[01]* | freebsdelf3.
[01]*)
22837 shlibpath_overrides_runpath
=yes
22838 hardcode_into_libs
=yes
22840 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22841 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22842 shlibpath_overrides_runpath
=no
22843 hardcode_into_libs
=yes
22845 freebsd
*) # from 4.6 on
22846 shlibpath_overrides_runpath
=yes
22847 hardcode_into_libs
=yes
22856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22857 soname_spec
='${libname}${release}${shared_ext}$major'
22858 shlibpath_var
=LD_LIBRARY_PATH
22859 hardcode_into_libs
=yes
22862 hpux9
* | hpux10
* | hpux11
*)
22863 # Give a soname corresponding to the major version so that dld.sl refuses to
22864 # link against other versions.
22871 hardcode_into_libs
=yes
22872 dynamic_linker
="$host_os dld.so"
22873 shlibpath_var
=LD_LIBRARY_PATH
22874 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
22877 if test "X$HPUX_IA64_MODE" = X32
; then
22878 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22880 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22882 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22886 hardcode_into_libs
=yes
22887 dynamic_linker
="$host_os dld.sl"
22888 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22889 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22891 soname_spec
='${libname}${release}${shared_ext}$major'
22892 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22893 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22897 dynamic_linker
="$host_os dld.sl"
22898 shlibpath_var
=SHLIB_PATH
22899 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22901 soname_spec
='${libname}${release}${shared_ext}$major'
22904 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22905 postinstall_cmds
='chmod 555 $lib'
22912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22913 soname_spec
='${libname}${release}${shared_ext}$major'
22914 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22915 shlibpath_var
=LD_LIBRARY_PATH
22916 shlibpath_overrides_runpath
=no
22917 hardcode_into_libs
=yes
22920 irix5
* | irix6
* | nonstopux
*)
22922 nonstopux
*) version_type
=nonstopux
;;
22924 if test "$lt_cv_prog_gnu_ld" = yes; then
22932 soname_spec
='${libname}${release}${shared_ext}$major'
22933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22935 irix5
* | nonstopux
*)
22936 libsuff
= shlibsuff
=
22939 case $LD in # libtool.m4 will add one of these switches to LD
22940 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22941 libsuff
= shlibsuff
= libmagic
=32-bit;;
22942 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22943 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22944 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22945 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22946 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22950 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22951 shlibpath_overrides_runpath
=no
22952 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22953 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22954 hardcode_into_libs
=yes
22957 # No shared lib support for Linux oldld, aout, or coff.
22958 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22962 # This must be Linux ELF.
22967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22968 soname_spec
='${libname}${release}${shared_ext}$major'
22969 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22970 shlibpath_var
=LD_LIBRARY_PATH
22971 shlibpath_overrides_runpath
=no
22972 # This implies no fast_install, which is unacceptable.
22973 # Some rework will be needed to allow for fast_install
22974 # before this can be enabled.
22975 hardcode_into_libs
=yes
22977 # Append ld.so.conf contents to the search path
22978 if test -f /etc
/ld.so.conf
; then
22979 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' ' '`
22980 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22983 # We used to test for /lib/ld.so.1 and disable shared libraries on
22984 # powerpc, because MkLinux only supported shared libraries with the
22985 # GNU dynamic linker. Since this was broken with cross compilers,
22986 # most powerpc-linux boxes support dynamic linking these days and
22987 # people can always --disable-shared, the test was removed, and we
22988 # assume the GNU/Linux dynamic linker is in use.
22989 dynamic_linker
='GNU/Linux ld.so'
22996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22997 soname_spec
='${libname}${release}${shared_ext}$major'
22998 shlibpath_var
=LD_LIBRARY_PATH
22999 shlibpath_overrides_runpath
=no
23000 hardcode_into_libs
=yes
23001 dynamic_linker
='GNU ld.so'
23008 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
23009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23010 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23011 dynamic_linker
='NetBSD (a.out) ld.so'
23013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23014 soname_spec
='${libname}${release}${shared_ext}$major'
23015 dynamic_linker
='NetBSD ld.elf_so'
23017 shlibpath_var
=LD_LIBRARY_PATH
23018 shlibpath_overrides_runpath
=yes
23019 hardcode_into_libs
=yes
23024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23025 shlibpath_var
=LD_LIBRARY_PATH
23026 shlibpath_overrides_runpath
=yes
23033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23034 soname_spec
='${libname}${release}${shared_ext}$major'
23035 shlibpath_var
=LD_LIBRARY_PATH
23036 shlibpath_overrides_runpath
=yes
23041 sys_lib_dlsearch_path_spec
="/usr/lib"
23043 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23045 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
23046 *) need_version
=no
;;
23048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23049 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23050 shlibpath_var
=LD_LIBRARY_PATH
23051 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23053 openbsd2.
[89] | openbsd2.
[89].
*)
23054 shlibpath_overrides_runpath
=no
23057 shlibpath_overrides_runpath
=yes
23061 shlibpath_overrides_runpath
=yes
23066 libname_spec
='$name'
23069 library_names_spec
='$libname${shared_ext} $libname.a'
23070 dynamic_linker
='OS/2 ld.exe'
23071 shlibpath_var
=LIBPATH
23074 osf3
* | osf4
* | osf5
*)
23078 soname_spec
='${libname}${release}${shared_ext}$major'
23079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23080 shlibpath_var
=LD_LIBRARY_PATH
23081 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23082 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
23089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23090 soname_spec
='${libname}${release}${shared_ext}$major'
23091 shlibpath_var
=LD_LIBRARY_PATH
23092 shlibpath_overrides_runpath
=yes
23093 hardcode_into_libs
=yes
23094 # ldd complains unless libraries are executable
23095 postinstall_cmds
='chmod +x $lib'
23100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23101 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23102 shlibpath_var
=LD_LIBRARY_PATH
23103 shlibpath_overrides_runpath
=yes
23104 if test "$with_gnu_ld" = yes; then
23112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23113 soname_spec
='${libname}${release}${shared_ext}$major'
23114 shlibpath_var
=LD_LIBRARY_PATH
23115 case $host_vendor in
23117 shlibpath_overrides_runpath
=no
23119 export_dynamic_flag_spec
='${wl}-Blargedynsym'
23120 runpath_var
=LD_RUN_PATH
23128 shlibpath_overrides_runpath
=no
23129 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
23135 if test -d /usr
/nec
;then
23137 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23138 soname_spec
='$libname${shared_ext}.$major'
23139 shlibpath_var
=LD_LIBRARY_PATH
23143 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
23144 version_type
=freebsd-elf
23147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23148 soname_spec
='${libname}${release}${shared_ext}$major'
23149 shlibpath_var
=LD_LIBRARY_PATH
23150 hardcode_into_libs
=yes
23151 if test "$with_gnu_ld" = yes; then
23152 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23153 shlibpath_overrides_runpath
=no
23155 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
23156 shlibpath_overrides_runpath
=yes
23159 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
23163 sys_lib_dlsearch_path_spec
='/usr/lib'
23168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23169 soname_spec
='${libname}${release}${shared_ext}$major'
23170 shlibpath_var
=LD_LIBRARY_PATH
23177 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23178 echo "${ECHO_T}$dynamic_linker" >&6; }
23179 test "$dynamic_linker" = no
&& can_build_shared
=no
23181 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
23182 if test "$GCC" = yes; then
23183 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23186 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23187 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23188 hardcode_action_F77
=
23189 if test -n "$hardcode_libdir_flag_spec_F77" || \
23190 test -n "$runpath_var_F77" || \
23191 test "X$hardcode_automatic_F77" = "Xyes" ; then
23193 # We can hardcode non-existant directories.
23194 if test "$hardcode_direct_F77" != no
&&
23195 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23196 # have to relink, otherwise we might link with an installed library
23197 # when we should be linking with a yet-to-be-installed one
23198 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23199 test "$hardcode_minus_L_F77" != no
; then
23200 # Linking always hardcodes the temporary library directory.
23201 hardcode_action_F77
=relink
23203 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23204 hardcode_action_F77
=immediate
23207 # We cannot hardcode anything, or else we can only hardcode existing
23209 hardcode_action_F77
=unsupported
23211 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23212 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23214 if test "$hardcode_action_F77" = relink
; then
23215 # Fast installation is not supported
23216 enable_fast_install
=no
23217 elif test "$shlibpath_overrides_runpath" = yes ||
23218 test "$enable_shared" = no
; then
23219 # Fast installation is not necessary
23220 enable_fast_install
=needless
23224 # The else clause should only fire when bootstrapping the
23225 # libtool distribution, otherwise you forgot to ship ltmain.sh
23226 # with your package, and you will get complaints that there are
23227 # no rules to generate ltmain.sh.
23228 if test -f "$ltmain"; then
23229 # See if we are running on zsh, and set the options which allow our commands through
23230 # without removal of \ escapes.
23231 if test -n "${ZSH_VERSION+set}" ; then
23232 setopt NO_GLOB_SUBST
23234 # Now quote all the things that may contain metacharacters while being
23235 # careful not to overquote the AC_SUBSTed values. We take copies of the
23236 # variables and quote the copies for generation of the libtool script.
23237 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23239 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23240 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23241 deplibs_check_method reload_flag reload_cmds need_locks \
23242 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23243 lt_cv_sys_global_symbol_to_c_name_address \
23244 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23245 old_postinstall_cmds old_postuninstall_cmds \
23249 lt_prog_compiler_wl_F77 \
23250 lt_prog_compiler_pic_F77 \
23251 lt_prog_compiler_static_F77 \
23252 lt_prog_compiler_no_builtin_flag_F77 \
23253 export_dynamic_flag_spec_F77 \
23254 thread_safe_flag_spec_F77 \
23255 whole_archive_flag_spec_F77 \
23256 enable_shared_with_static_runtimes_F77 \
23257 old_archive_cmds_F77 \
23258 old_archive_from_new_cmds_F77 \
23259 predep_objects_F77 \
23260 postdep_objects_F77 \
23263 compiler_lib_search_path_F77 \
23265 archive_expsym_cmds_F77 \
23266 postinstall_cmds_F77 \
23267 postuninstall_cmds_F77 \
23268 old_archive_from_expsyms_cmds_F77 \
23269 allow_undefined_flag_F77 \
23270 no_undefined_flag_F77 \
23271 export_symbols_cmds_F77 \
23272 hardcode_libdir_flag_spec_F77 \
23273 hardcode_libdir_flag_spec_ld_F77 \
23274 hardcode_libdir_separator_F77 \
23275 hardcode_automatic_F77 \
23277 module_expsym_cmds_F77 \
23278 lt_cv_prog_compiler_c_o_F77 \
23279 exclude_expsyms_F77 \
23280 include_expsyms_F77
; do
23283 old_archive_cmds_F77 | \
23284 old_archive_from_new_cmds_F77 | \
23285 archive_cmds_F77 | \
23286 archive_expsym_cmds_F77 | \
23287 module_cmds_F77 | \
23288 module_expsym_cmds_F77 | \
23289 old_archive_from_expsyms_cmds_F77 | \
23290 export_symbols_cmds_F77 | \
23291 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23292 postinstall_cmds | postuninstall_cmds | \
23293 old_postinstall_cmds | old_postuninstall_cmds | \
23294 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23295 # Double-quote double-evaled strings.
23296 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23299 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23305 *'\$0 --fallback-echo"')
23306 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23312 cat <<__EOF__ >> "$cfgfile"
23313 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23315 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23317 # Shell to use when invoking shell scripts.
23320 # Whether or not to build shared libraries.
23321 build_libtool_libs=$enable_shared
23323 # Whether or not to build static libraries.
23324 build_old_libs=$enable_static
23326 # Whether or not to add -lc for building shared libraries.
23327 build_libtool_need_lc=$archive_cmds_need_lc_F77
23329 # Whether or not to disallow shared libs when runtime libs are static
23330 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23332 # Whether or not to optimize for fast installation.
23333 fast_install=$enable_fast_install
23336 host_alias=$host_alias
23340 # The build system.
23341 build_alias=$build_alias
23345 # An echo program that does not interpret backslashes.
23350 AR_FLAGS=$lt_AR_FLAGS
23355 # LTCC compiler flags.
23356 LTCFLAGS=$lt_LTCFLAGS
23358 # A language-specific compiler.
23359 CC=$lt_compiler_F77
23361 # Is the compiler the GNU C compiler?
23367 # The linker used to build libraries.
23370 # Whether we need hard or soft links.
23373 # A BSD-compatible nm program.
23376 # A symbol stripping program
23379 # Used to examine libraries when file_magic_cmd begins "file"
23380 MAGIC_CMD=$MAGIC_CMD
23382 # Used on cygwin: DLL creation program.
23385 # Used on cygwin: object dumper.
23388 # Used on cygwin: assembler.
23391 # The name of the directory that contains temporary libtool files.
23394 # How to create reloadable object files.
23395 reload_flag=$lt_reload_flag
23396 reload_cmds=$lt_reload_cmds
23398 # How to pass a linker flag through the compiler.
23399 wl=$lt_lt_prog_compiler_wl_F77
23401 # Object file suffix (normally "o").
23402 objext="$ac_objext"
23404 # Old archive suffix (normally "a").
23407 # Shared library suffix (normally ".so").
23408 shrext_cmds='$shrext_cmds'
23410 # Executable file suffix (normally "").
23413 # Additional compiler flags for building library objects.
23414 pic_flag=$lt_lt_prog_compiler_pic_F77
23417 # What is the maximum length of a command?
23418 max_cmd_len=$lt_cv_sys_max_cmd_len
23420 # Does compiler simultaneously support -c and -o options?
23421 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23423 # Must we lock files when doing compilation?
23424 need_locks=$lt_need_locks
23426 # Do we need the lib prefix for modules?
23427 need_lib_prefix=$need_lib_prefix
23429 # Do we need a version for libraries?
23430 need_version=$need_version
23432 # Whether dlopen is supported.
23433 dlopen_support=$enable_dlopen
23435 # Whether dlopen of programs is supported.
23436 dlopen_self=$enable_dlopen_self
23438 # Whether dlopen of statically linked programs is supported.
23439 dlopen_self_static=$enable_dlopen_self_static
23441 # Compiler flag to prevent dynamic linking.
23442 link_static_flag=$lt_lt_prog_compiler_static_F77
23444 # Compiler flag to turn off builtin functions.
23445 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23447 # Compiler flag to allow reflexive dlopens.
23448 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23450 # Compiler flag to generate shared objects directly from archives.
23451 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23453 # Compiler flag to generate thread-safe objects.
23454 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23456 # Library versioning type.
23457 version_type=$version_type
23459 # Format of library name prefix.
23460 libname_spec=$lt_libname_spec
23462 # List of archive names. First name is the real one, the rest are links.
23463 # The last name is the one that the linker finds with -lNAME.
23464 library_names_spec=$lt_library_names_spec
23466 # The coded name of the library, if different from the real name.
23467 soname_spec=$lt_soname_spec
23469 # Commands used to build and install an old-style archive.
23471 old_archive_cmds=$lt_old_archive_cmds_F77
23472 old_postinstall_cmds=$lt_old_postinstall_cmds
23473 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23475 # Create an old-style archive from a shared archive.
23476 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23478 # Create a temporary old-style archive to link instead of a shared archive.
23479 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23481 # Commands used to build and install a shared archive.
23482 archive_cmds=$lt_archive_cmds_F77
23483 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23484 postinstall_cmds=$lt_postinstall_cmds
23485 postuninstall_cmds=$lt_postuninstall_cmds
23487 # Commands used to build a loadable module (assumed same as above if empty)
23488 module_cmds=$lt_module_cmds_F77
23489 module_expsym_cmds=$lt_module_expsym_cmds_F77
23491 # Commands to strip libraries.
23492 old_striplib=$lt_old_striplib
23493 striplib=$lt_striplib
23495 # Dependencies to place before the objects being linked to create a
23497 predep_objects=$lt_predep_objects_F77
23499 # Dependencies to place after the objects being linked to create a
23501 postdep_objects=$lt_postdep_objects_F77
23503 # Dependencies to place before the objects being linked to create a
23505 predeps=$lt_predeps_F77
23507 # Dependencies to place after the objects being linked to create a
23509 postdeps=$lt_postdeps_F77
23511 # The library search path used internally by the compiler when linking
23512 # a shared library.
23513 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23515 # Method to check whether dependent libraries are shared objects.
23516 deplibs_check_method=$lt_deplibs_check_method
23518 # Command to use when deplibs_check_method == file_magic.
23519 file_magic_cmd=$lt_file_magic_cmd
23521 # Flag that allows shared libraries with undefined symbols to be built.
23522 allow_undefined_flag=$lt_allow_undefined_flag_F77
23524 # Flag that forces no undefined symbols.
23525 no_undefined_flag=$lt_no_undefined_flag_F77
23527 # Commands used to finish a libtool library installation in a directory.
23528 finish_cmds=$lt_finish_cmds
23530 # Same as above, but a single script fragment to be evaled but not shown.
23531 finish_eval=$lt_finish_eval
23533 # Take the output of nm and produce a listing of raw symbols and C names.
23534 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23536 # Transform the output of nm in a proper C declaration
23537 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23539 # Transform the output of nm in a C name address pair
23540 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23542 # This is the shared library runtime path variable.
23543 runpath_var=$runpath_var
23545 # This is the shared library path variable.
23546 shlibpath_var=$shlibpath_var
23548 # Is shlibpath searched before the hard-coded library search path?
23549 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23551 # How to hardcode a shared library path into an executable.
23552 hardcode_action=$hardcode_action_F77
23554 # Whether we should hardcode library paths into libraries.
23555 hardcode_into_libs=$hardcode_into_libs
23557 # Flag to hardcode \$libdir into a binary during linking.
23558 # This must work even if \$libdir does not exist.
23559 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23561 # If ld is used when linking, flag to hardcode \$libdir into
23562 # a binary during linking. This must work even if \$libdir does
23564 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23566 # Whether we need a single -rpath flag with a separated argument.
23567 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23569 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23570 # resulting binary.
23571 hardcode_direct=$hardcode_direct_F77
23573 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23574 # resulting binary.
23575 hardcode_minus_L=$hardcode_minus_L_F77
23577 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23578 # the resulting binary.
23579 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23581 # Set to yes if building a shared library automatically hardcodes DIR into the library
23582 # and all subsequent libraries and executables linked against it.
23583 hardcode_automatic=$hardcode_automatic_F77
23585 # Variables whose values should be saved in libtool wrapper scripts and
23586 # restored at relink time.
23587 variables_saved_for_relink="$variables_saved_for_relink"
23589 # Whether libtool must link a program against all its dependency libraries.
23590 link_all_deplibs=$link_all_deplibs_F77
23592 # Compile-time system search path for libraries
23593 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23595 # Run-time system search path for libraries
23596 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23598 # Fix the shell variable \$srcfile for the compiler.
23599 fix_srcfile_path="$fix_srcfile_path_F77"
23601 # Set to yes if exported symbols are required.
23602 always_export_symbols=$always_export_symbols_F77
23604 # The commands to list exported symbols.
23605 export_symbols_cmds=$lt_export_symbols_cmds_F77
23607 # The commands to extract the exported symbol list from a shared archive.
23608 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23610 # Symbols that should not be listed in the preloaded symbols.
23611 exclude_expsyms=$lt_exclude_expsyms_F77
23613 # Symbols that must always be exported.
23614 include_expsyms=$lt_include_expsyms_F77
23616 # ### END LIBTOOL TAG CONFIG: $tagname
23622 # If there is no Makefile yet, we rely on a make rule to execute
23623 # `config.status --recheck' to rerun these tests and create the
23624 # libtool script then.
23625 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23626 if test -f "$ltmain_in"; then
23627 test -f Makefile
&& make "$ltmain"
23633 ac_cpp
='$CPP $CPPFLAGS'
23634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23646 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23648 ac_cpp
='$CPP $CPPFLAGS'
23649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23654 # Source file extension for Java test sources.
23657 # Object file extension for compiled Java test sources.
23661 # Code to be used in simple compile tests
23662 lt_simple_compile_test_code
="class foo {}\n"
23664 # Code to be used in simple link tests
23665 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23667 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23669 # If no C compiler was specified, use CC.
23672 # If no C compiler flags were specified, use CFLAGS.
23673 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23675 # Allow CC to be a program name with arguments.
23679 # save warnings/boilerplate of simple test code
23680 ac_outfile
=conftest.
$ac_objext
23681 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23682 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23683 _lt_compiler_boilerplate
=`cat conftest.err`
23686 ac_outfile
=conftest.
$ac_objext
23687 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23688 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23689 _lt_linker_boilerplate
=`cat conftest.err`
23693 # Allow CC to be a program name with arguments.
23698 for cc_temp
in $compiler""; do
23700 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23701 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23706 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23709 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23710 archive_cmds_need_lc_GCJ
=no
23712 old_archive_cmds_GCJ
=$old_archive_cmds
23715 lt_prog_compiler_no_builtin_flag_GCJ
=
23717 if test "$GCC" = yes; then
23718 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23721 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23722 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23723 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23724 echo $ECHO_N "(cached) $ECHO_C" >&6
23726 lt_cv_prog_compiler_rtti_exceptions
=no
23727 ac_outfile
=conftest.
$ac_objext
23728 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23729 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23730 # Insert the option either (1) after the last *FLAGS variable, or
23731 # (2) before a word containing "conftest.", or (3) at the end.
23732 # Note that $ac_compile itself does not contain backslashes and begins
23733 # with a dollar sign (not a hyphen), so the echo should work correctly.
23734 # The option is referenced via a variable to avoid confusing sed.
23735 lt_compile
=`echo "$ac_compile" | $SED \
23736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23738 -e 's:$: $lt_compiler_flag:'`
23739 (eval echo "\"\$as_me:23730: $lt_compile\"" >&5)
23740 (eval "$lt_compile" 2>conftest.err
)
23742 cat conftest.err
>&5
23743 echo "$as_me:23734: \$? = $ac_status" >&5
23744 if (exit $ac_status) && test -s "$ac_outfile"; then
23745 # The compiler can only warn and ignore the option if not recognized
23746 # So say no if there are warnings other than the usual output.
23747 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23748 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23749 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23750 lt_cv_prog_compiler_rtti_exceptions
=yes
23756 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23757 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23759 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23760 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23767 lt_prog_compiler_wl_GCJ
=
23768 lt_prog_compiler_pic_GCJ
=
23769 lt_prog_compiler_static_GCJ
=
23771 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23772 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23774 if test "$GCC" = yes; then
23775 lt_prog_compiler_wl_GCJ
='-Wl,'
23776 lt_prog_compiler_static_GCJ
='-static'
23780 # All AIX code is PIC.
23781 if test "$host_cpu" = ia64
; then
23782 # AIX 5 now supports IA64 processor
23783 lt_prog_compiler_static_GCJ
='-Bstatic'
23788 # FIXME: we need at least 68020 code to build shared libraries, but
23789 # adding the `-m68020' flag to GCC prevents building anything better,
23791 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23794 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23795 # PIC is the default for these OSes.
23798 mingw
* | pw32
* | os2
*)
23799 # This hack is so that the source file can tell whether it is being
23800 # built for inclusion in a dll (and should export symbols for example).
23801 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23804 darwin
* | rhapsody
*)
23805 # PIC is the default on this platform
23806 # Common symbols not allowed in MH_DYLIB files
23807 lt_prog_compiler_pic_GCJ
='-fno-common'
23811 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23812 # Instead, we relocate shared libraries at runtime.
23816 # Just because we use GCC doesn't mean we suddenly get shared libraries
23817 # on systems that don't support them.
23818 lt_prog_compiler_can_build_shared_GCJ
=no
23823 if test -d /usr
/nec
; then
23824 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23829 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23830 # not for PA HP-UX.
23836 lt_prog_compiler_pic_GCJ
='-fPIC'
23842 lt_prog_compiler_pic_GCJ
='-fPIC'
23846 # PORTME Check for flag to pass linker flags through the system compiler.
23849 lt_prog_compiler_wl_GCJ
='-Wl,'
23850 if test "$host_cpu" = ia64
; then
23851 # AIX 5 now supports IA64 processor
23852 lt_prog_compiler_static_GCJ
='-Bstatic'
23854 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23858 # PIC is the default on this platform
23859 # Common symbols not allowed in MH_DYLIB files
23860 case $cc_basename in
23862 lt_prog_compiler_pic_GCJ
='-qnocommon'
23863 lt_prog_compiler_wl_GCJ
='-Wl,'
23868 mingw
* | pw32
* | os2
*)
23869 # This hack is so that the source file can tell whether it is being
23870 # built for inclusion in a dll (and should export symbols for example).
23871 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23874 hpux9
* | hpux10
* | hpux11
*)
23875 lt_prog_compiler_wl_GCJ
='-Wl,'
23876 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23877 # not for PA HP-UX.
23883 lt_prog_compiler_pic_GCJ
='+Z'
23886 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23887 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23890 irix5
* | irix6
* | nonstopux
*)
23891 lt_prog_compiler_wl_GCJ
='-Wl,'
23892 # PIC (with -KPIC) is the default.
23893 lt_prog_compiler_static_GCJ
='-non_shared'
23897 lt_prog_compiler_pic_GCJ
='-KPIC'
23898 lt_prog_compiler_static_GCJ
='-Bstatic'
23902 case $cc_basename in
23904 lt_prog_compiler_wl_GCJ
='-Wl,'
23905 lt_prog_compiler_pic_GCJ
='-KPIC'
23906 lt_prog_compiler_static_GCJ
='-static'
23908 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23909 # Portland Group compilers (*not* the Pentium gcc compiler,
23910 # which looks to be a dead project)
23911 lt_prog_compiler_wl_GCJ
='-Wl,'
23912 lt_prog_compiler_pic_GCJ
='-fpic'
23913 lt_prog_compiler_static_GCJ
='-Bstatic'
23916 lt_prog_compiler_wl_GCJ
='-Wl,'
23917 # All Alpha code is PIC.
23918 lt_prog_compiler_static_GCJ
='-non_shared'
23923 osf3
* | osf4
* | osf5
*)
23924 lt_prog_compiler_wl_GCJ
='-Wl,'
23925 # All OSF/1 code is PIC.
23926 lt_prog_compiler_static_GCJ
='-non_shared'
23930 lt_prog_compiler_pic_GCJ
='-KPIC'
23931 lt_prog_compiler_static_GCJ
='-Bstatic'
23932 case $cc_basename in
23933 f77
* | f90
* | f95
*)
23934 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23936 lt_prog_compiler_wl_GCJ
='-Wl,';;
23941 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23942 lt_prog_compiler_pic_GCJ
='-PIC'
23943 lt_prog_compiler_static_GCJ
='-Bstatic'
23946 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23947 lt_prog_compiler_wl_GCJ
='-Wl,'
23948 lt_prog_compiler_pic_GCJ
='-KPIC'
23949 lt_prog_compiler_static_GCJ
='-Bstatic'
23953 if test -d /usr
/nec
;then
23954 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23955 lt_prog_compiler_static_GCJ
='-Bstatic'
23959 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23960 lt_prog_compiler_wl_GCJ
='-Wl,'
23961 lt_prog_compiler_pic_GCJ
='-KPIC'
23962 lt_prog_compiler_static_GCJ
='-Bstatic'
23966 lt_prog_compiler_wl_GCJ
='-Wl,'
23967 lt_prog_compiler_can_build_shared_GCJ
=no
23971 lt_prog_compiler_pic_GCJ
='-pic'
23972 lt_prog_compiler_static_GCJ
='-Bstatic'
23976 lt_prog_compiler_can_build_shared_GCJ
=no
23981 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23982 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23985 # Check to make sure the PIC flag actually works.
23987 if test -n "$lt_prog_compiler_pic_GCJ"; then
23989 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23990 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23991 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23992 echo $ECHO_N "(cached) $ECHO_C" >&6
23994 lt_prog_compiler_pic_works_GCJ
=no
23995 ac_outfile
=conftest.
$ac_objext
23996 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23997 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
23998 # Insert the option either (1) after the last *FLAGS variable, or
23999 # (2) before a word containing "conftest.", or (3) at the end.
24000 # Note that $ac_compile itself does not contain backslashes and begins
24001 # with a dollar sign (not a hyphen), so the echo should work correctly.
24002 # The option is referenced via a variable to avoid confusing sed.
24003 lt_compile
=`echo "$ac_compile" | $SED \
24004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24006 -e 's:$: $lt_compiler_flag:'`
24007 (eval echo "\"\$as_me:23998: $lt_compile\"" >&5)
24008 (eval "$lt_compile" 2>conftest.err
)
24010 cat conftest.err
>&5
24011 echo "$as_me:24002: \$? = $ac_status" >&5
24012 if (exit $ac_status) && test -s "$ac_outfile"; then
24013 # The compiler can only warn and ignore the option if not recognized
24014 # So say no if there are warnings other than the usual output.
24015 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
24016 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24017 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
24018 lt_prog_compiler_pic_works_GCJ
=yes
24024 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24025 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24027 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
24028 case $lt_prog_compiler_pic_GCJ in
24030 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
24033 lt_prog_compiler_pic_GCJ
=
24034 lt_prog_compiler_can_build_shared_GCJ
=no
24039 # For platforms which do not support PIC, -DPIC is meaningless:
24041 lt_prog_compiler_pic_GCJ
=
24044 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
24049 # Check to make sure the static flag actually works.
24051 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
24052 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24053 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24054 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24057 lt_prog_compiler_static_works_GCJ
=no
24058 save_LDFLAGS
="$LDFLAGS"
24059 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
24060 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
24061 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
24062 # The linker can only warn and ignore the option if not recognized
24063 # So say no if there are warnings
24064 if test -s conftest.err
; then
24065 # Append any errors to the config.log.
24066 cat conftest.err
1>&5
24067 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
24068 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24069 if diff conftest.exp conftest.er2
>/dev
/null
; then
24070 lt_prog_compiler_static_works_GCJ
=yes
24073 lt_prog_compiler_static_works_GCJ
=yes
24077 LDFLAGS
="$save_LDFLAGS"
24080 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24081 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24083 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
24086 lt_prog_compiler_static_GCJ
=
24090 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24091 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24092 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24095 lt_cv_prog_compiler_c_o_GCJ
=no
24096 $rm -r conftest
2>/dev
/null
24100 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24102 lt_compiler_flag
="-o out/conftest2.$ac_objext"
24103 # Insert the option either (1) after the last *FLAGS variable, or
24104 # (2) before a word containing "conftest.", or (3) at the end.
24105 # Note that $ac_compile itself does not contain backslashes and begins
24106 # with a dollar sign (not a hyphen), so the echo should work correctly.
24107 lt_compile
=`echo "$ac_compile" | $SED \
24108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24110 -e 's:$: $lt_compiler_flag:'`
24111 (eval echo "\"\$as_me:24102: $lt_compile\"" >&5)
24112 (eval "$lt_compile" 2>out
/conftest.err
)
24114 cat out
/conftest.err
>&5
24115 echo "$as_me:24106: \$? = $ac_status" >&5
24116 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
24118 # The compiler can only warn and ignore the option if not recognized
24119 # So say no if there are warnings
24120 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
24121 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
24122 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
24123 lt_cv_prog_compiler_c_o_GCJ
=yes
24128 # SGI C++ compiler will create directory out/ii_files/ for
24129 # template instantiation
24130 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
24131 $rm out
/* && rmdir out
24137 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24138 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24141 hard_links
="nottested"
24142 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
24143 # do not overwrite the value of need_locks provided by the user
24144 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24145 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24148 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24150 ln conftest.a conftest.b
2>&5 || hard_links
=no
24151 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24152 { echo "$as_me:$LINENO: result: $hard_links" >&5
24153 echo "${ECHO_T}$hard_links" >&6; }
24154 if test "$hard_links" = no
; then
24155 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24156 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24163 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24164 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24167 allow_undefined_flag_GCJ
=
24168 enable_shared_with_static_runtimes_GCJ
=no
24170 archive_expsym_cmds_GCJ
=
24171 old_archive_From_new_cmds_GCJ
=
24172 old_archive_from_expsyms_cmds_GCJ
=
24173 export_dynamic_flag_spec_GCJ
=
24174 whole_archive_flag_spec_GCJ
=
24175 thread_safe_flag_spec_GCJ
=
24176 hardcode_libdir_flag_spec_GCJ
=
24177 hardcode_libdir_flag_spec_ld_GCJ
=
24178 hardcode_libdir_separator_GCJ
=
24179 hardcode_direct_GCJ
=no
24180 hardcode_minus_L_GCJ
=no
24181 hardcode_shlibpath_var_GCJ
=unsupported
24182 link_all_deplibs_GCJ
=unknown
24183 hardcode_automatic_GCJ
=no
24185 module_expsym_cmds_GCJ
=
24186 always_export_symbols_GCJ
=no
24187 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24188 # include_expsyms should be a list of space-separated symbols to be *always*
24189 # included in the symbol list
24190 include_expsyms_GCJ
=
24191 # exclude_expsyms can be an extended regexp of symbols to exclude
24192 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24193 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24194 # as well as any symbol that contains `d'.
24195 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
24196 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24197 # platforms (ab)use it in PIC code, but their linkers get confused if
24198 # the symbol is explicitly referenced. Since portable code cannot
24199 # rely on this symbol name, it's probably fine to never include it in
24200 # preloaded symbol tables.
24201 extract_expsyms_cmds
=
24202 # Just being paranoid about ensuring that cc_basename is set.
24203 for cc_temp
in $compiler""; do
24205 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24206 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24211 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24214 cygwin
* | mingw
* | pw32
*)
24215 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24216 # When not using gcc, we currently assume that we are using
24217 # Microsoft Visual C++.
24218 if test "$GCC" != yes; then
24223 # we just hope/assume this is gcc and not c89 (= MSVC++)
24232 if test "$with_gnu_ld" = yes; then
24233 # If archive_cmds runs LD, not CC, wlarc should be empty
24236 # Set some defaults for GNU ld with shared library support. These
24237 # are reset later if shared libraries are not supported. Putting them
24238 # here allows them to be overridden if necessary.
24239 runpath_var
=LD_RUN_PATH
24240 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24241 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24242 # ancient GNU ld didn't support --whole-archive et. al.
24243 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24244 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24246 whole_archive_flag_spec_GCJ
=
24248 supports_anon_versioning
=no
24249 case `$LD -v 2>/dev/null` in
24250 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24251 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24252 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24253 *\
2.11.
*) ;; # other 2.11 versions
24254 *) supports_anon_versioning
=yes ;;
24257 # See if GNU ld supports shared libraries.
24259 aix3
* | aix4
* | aix5
*)
24260 # On AIX/PPC, the GNU linker is very broken
24261 if test "$host_cpu" != ia64
; then
24265 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24266 *** to be unable to reliably create shared libraries on AIX.
24267 *** Therefore, libtool is disabling shared libraries support. If you
24268 *** really care for shared libraries, you may want to modify your PATH
24269 *** so that a non-GNU linker is found, and then restart.
24276 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)'
24277 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24278 hardcode_minus_L_GCJ
=yes
24280 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24281 # that the semantics of dynamic libraries on AmigaOS, at least up
24282 # to version 4, is to share data among multiple programs linked
24283 # with the same dynamic library. Since this doesn't match the
24284 # behavior of shared libraries on other platforms, we can't use
24290 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24291 allow_undefined_flag_GCJ
=unsupported
24292 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24293 # support --undefined. This deserves some investigation. FIXME
24294 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24300 cygwin
* | mingw
* | pw32
*)
24301 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24302 # as there is no search path for DLLs.
24303 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24304 allow_undefined_flag_GCJ
=unsupported
24305 always_export_symbols_GCJ
=no
24306 enable_shared_with_static_runtimes_GCJ
=yes
24307 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24309 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24310 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24311 # If the export-symbols file already is a .def file (1st line
24312 # is EXPORTS), use it as is; otherwise, prepend...
24313 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24314 cp $export_symbols $output_objdir/$soname.def;
24316 echo EXPORTS > $output_objdir/$soname.def;
24317 cat $export_symbols >> $output_objdir/$soname.def;
24319 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24326 hardcode_direct_GCJ
=no
24327 hardcode_shlibpath_var_GCJ
=no
24328 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24329 export_dynamic_flag_spec_GCJ
='${wl}-E'
24330 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24331 # Instead, shared libraries are loaded at an image base (0x10000000 by
24332 # default) and relocated if they conflict, which is a slow very memory
24333 # consuming and fragmenting process. To avoid this, we pick a random,
24334 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24335 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24336 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'
24337 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'
24341 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24343 case $cc_basename,$host_cpu in
24344 pgcc
*) # Portland Group C compiler
24345 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'
24346 tmp_addflag
=' $pic_flag'
24348 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24349 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'
24350 tmp_addflag
=' $pic_flag -Mnomain' ;;
24351 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24352 tmp_addflag
=' -i_dynamic' ;;
24353 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24354 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24355 ifc
* | ifort
*) # Intel Fortran compiler
24356 tmp_addflag
=' -nofor_main' ;;
24358 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24360 if test $supports_anon_versioning = yes; then
24361 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24362 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24363 $echo "local: *; };" >> $output_objdir/$libname.ver~
24364 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24372 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24373 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24376 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24377 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24382 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24386 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24387 *** create shared libraries on Solaris systems. Therefore, libtool
24388 *** is disabling shared libraries support. We urge you to upgrade GNU
24389 *** binutils to release 2.9.1 or newer. Another option is to modify
24390 *** your PATH or compiler configuration so that the native linker is
24391 *** used, and then restart.
24394 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24395 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24396 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24402 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24403 case `$LD -v 2>&1` in
24404 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24408 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24409 *** reliably create shared libraries on SCO systems. Therefore, libtool
24410 *** is disabling shared libraries support. We urge you to upgrade GNU
24411 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24412 *** your PATH or compiler configuration so that the native linker is
24413 *** used, and then restart.
24418 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24419 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24420 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24421 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24430 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24432 hardcode_direct_GCJ
=yes
24433 hardcode_shlibpath_var_GCJ
=no
24437 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24438 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24439 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24446 if test "$ld_shlibs_GCJ" = no
; then
24448 hardcode_libdir_flag_spec_GCJ
=
24449 export_dynamic_flag_spec_GCJ
=
24450 whole_archive_flag_spec_GCJ
=
24453 # PORTME fill in a description of your system's linker (not GNU ld)
24456 allow_undefined_flag_GCJ
=unsupported
24457 always_export_symbols_GCJ
=yes
24458 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'
24459 # Note: this linker hardcodes the directories in LIBPATH if there
24460 # are no directories specified by -L.
24461 hardcode_minus_L_GCJ
=yes
24462 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24463 # Neither direct hardcoding nor static linking is supported with a
24465 hardcode_direct_GCJ
=unsupported
24470 if test "$host_cpu" = ia64
; then
24471 # On IA64, the linker does run time linking by default, so we don't
24472 # have to do anything special.
24473 aix_use_runtimelinking
=no
24474 exp_sym_flag
='-Bexport'
24477 # If we're using GNU nm, then we don't want the "-C" option.
24478 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24479 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24480 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'
24482 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'
24484 aix_use_runtimelinking
=no
24486 # Test if we are trying to use run time linking or normal
24487 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24488 # need to do runtime linking.
24489 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24490 for ld_flag
in $LDFLAGS; do
24491 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24492 aix_use_runtimelinking
=yes
24499 exp_sym_flag
='-bexport'
24500 no_entry_flag
='-bnoentry'
24503 # When large executables or shared objects are built, AIX ld can
24504 # have problems creating the table of contents. If linking a library
24505 # or program results in "error TOC overflow" add -mminimal-toc to
24506 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24507 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24509 archive_cmds_GCJ
=''
24510 hardcode_direct_GCJ
=yes
24511 hardcode_libdir_separator_GCJ
=':'
24512 link_all_deplibs_GCJ
=yes
24514 if test "$GCC" = yes; then
24515 case $host_os in aix4.
[012]|aix4.
[012].
*)
24516 # We only want to do this on AIX 4.2 and lower, the check
24517 # below for broken collect2 doesn't work under 4.3+
24518 collect2name
=`${CC} -print-prog-name=collect2`
24519 if test -f "$collect2name" && \
24520 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24522 # We have reworked collect2
24523 hardcode_direct_GCJ
=yes
24525 # We have old collect2
24526 hardcode_direct_GCJ
=unsupported
24527 # It fails to find uninstalled libraries when the uninstalled
24528 # path is not listed in the libpath. Setting hardcode_minus_L
24529 # to unsupported forces relinking
24530 hardcode_minus_L_GCJ
=yes
24531 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24532 hardcode_libdir_separator_GCJ
=
24536 shared_flag
='-shared'
24537 if test "$aix_use_runtimelinking" = yes; then
24538 shared_flag
="$shared_flag "'${wl}-G'
24542 if test "$host_cpu" = ia64
; then
24543 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24544 # chokes on -Wl,-G. The following line is correct:
24547 if test "$aix_use_runtimelinking" = yes; then
24548 shared_flag
='${wl}-G'
24550 shared_flag
='${wl}-bM:SRE'
24555 # It seems that -bexpall does not export symbols beginning with
24556 # underscore (_), so it is better to generate a list of symbols to export.
24557 always_export_symbols_GCJ
=yes
24558 if test "$aix_use_runtimelinking" = yes; then
24559 # Warning - without using the other runtime loading flags (-brtl),
24560 # -berok will link without error, but may produce a broken library.
24561 allow_undefined_flag_GCJ
='-berok'
24562 # Determine the default libpath from the value encoded in an empty executable.
24563 cat >conftest.
$ac_ext <<_ACEOF
24566 cat confdefs.h
>>conftest.
$ac_ext
24567 cat >>conftest.
$ac_ext <<_ACEOF
24568 /* end confdefs.h. */
24578 rm -f conftest.
$ac_objext conftest
$ac_exeext
24579 if { (ac_try
="$ac_link"
24580 case "(($ac_try" in
24581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24582 *) ac_try_echo=$ac_try;;
24584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24585 (eval "$ac_link") 2>conftest.er1
24587 grep -v '^ *+' conftest.er1 >conftest.err
24589 cat conftest.err >&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } &&
24592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24593 { (case "(($ac_try" in
24594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24595 *) ac_try_echo
=$ac_try;;
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_try") 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; } &&
24602 { ac_try
='test -s conftest$ac_exeext'
24603 { (case "(($ac_try" in
24604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24605 *) ac_try_echo=$ac_try;;
24607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24608 (eval "$ac_try") 2>&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); }; }; then
24613 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24615 # Check for a 64-bit object if we didn't find anything.
24616 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; }
24619 echo "$as_me: failed program was:" >&5
24620 sed 's/^/| /' conftest.$ac_ext >&5
24625 rm -f core conftest.err conftest.$ac_objext \
24626 conftest$ac_exeext conftest.$ac_ext
24627 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24629 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24630 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"
24632 if test "$host_cpu" = ia64; then
24633 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24634 allow_undefined_flag_GCJ="-z nodefs"
24635 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"
24637 # Determine the default libpath from the value encoded in an empty executable.
24638 cat >conftest.$ac_ext <<_ACEOF
24641 cat confdefs.h >>conftest.$ac_ext
24642 cat >>conftest.$ac_ext <<_ACEOF
24643 /* end confdefs.h. */
24653 rm -f conftest.$ac_objext conftest$ac_exeext
24654 if { (ac_try="$ac_link"
24655 case "(($ac_try" in
24656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24657 *) ac_try_echo
=$ac_try;;
24659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24660 (eval "$ac_link") 2>conftest.er1
24662 grep -v '^ *+' conftest.er1
>conftest.err
24664 cat conftest.err
>&5
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); } &&
24667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24668 { (case "(($ac_try" in
24669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24670 *) ac_try_echo=$ac_try;;
24672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24673 (eval "$ac_try") 2>&5
24675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24676 (exit $ac_status); }; } &&
24677 { ac_try='test -s conftest$ac_exeext'
24678 { (case "(($ac_try" in
24679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24680 *) ac_try_echo
=$ac_try;;
24682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24683 (eval "$ac_try") 2>&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); }; }; then
24688 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24690 # Check for a 64-bit object if we didn't find anything.
24691 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; }
24694 echo "$as_me: failed program was:" >&5
24695 sed 's/^/| /' conftest.
$ac_ext >&5
24700 rm -f core conftest.err conftest.
$ac_objext \
24701 conftest
$ac_exeext conftest.
$ac_ext
24702 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24704 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24705 # Warning - without using the other run time loading flags,
24706 # -berok will link without error, but may produce a broken library.
24707 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24708 allow_undefined_flag_GCJ
=' ${wl}-berok'
24709 # Exported symbols can be pulled into shared objects from archives
24710 whole_archive_flag_spec_GCJ
='$convenience'
24711 archive_cmds_need_lc_GCJ
=yes
24712 # This is similar to how AIX traditionally builds its shared libraries.
24713 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'
24719 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)'
24720 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24721 hardcode_minus_L_GCJ
=yes
24722 # see comment about different semantics on the GNU ld section
24727 export_dynamic_flag_spec_GCJ
=-rdynamic
24730 cygwin
* | mingw
* | pw32
*)
24731 # When not using gcc, we currently assume that we are using
24732 # Microsoft Visual C++.
24733 # hardcode_libdir_flag_spec is actually meaningless, as there is
24734 # no search path for DLLs.
24735 hardcode_libdir_flag_spec_GCJ
=' '
24736 allow_undefined_flag_GCJ
=unsupported
24737 # Tell ltmain to make .lib files, not .a files.
24739 # Tell ltmain to make .dll files, not .so files.
24741 # FIXME: Setting linknames here is a bad hack.
24742 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24743 # The linker will automatically build a .lib file if we build a DLL.
24744 old_archive_From_new_cmds_GCJ
='true'
24745 # FIXME: Should let the user specify the lib program.
24746 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24747 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24748 enable_shared_with_static_runtimes_GCJ
=yes
24751 darwin
* | rhapsody
*)
24753 rhapsody
* | darwin1.
[012])
24754 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24757 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24758 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24760 case ${MACOSX_DEPLOYMENT_TARGET} in
24762 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24765 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24771 archive_cmds_need_lc_GCJ
=no
24772 hardcode_direct_GCJ
=no
24773 hardcode_automatic_GCJ
=yes
24774 hardcode_shlibpath_var_GCJ
=unsupported
24775 whole_archive_flag_spec_GCJ
=''
24776 link_all_deplibs_GCJ
=yes
24777 if test "$GCC" = yes ; then
24778 output_verbose_link_cmd
='echo'
24779 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24780 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24781 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24782 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}'
24783 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}'
24785 case $cc_basename in
24787 output_verbose_link_cmd
='echo'
24788 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24789 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24790 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24791 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}'
24792 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}'
24802 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24803 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24804 hardcode_shlibpath_var_GCJ
=no
24811 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24812 # support. Future versions do this automatically, but an explicit c++rt0.o
24813 # does not break anything, and helps significantly (at the cost of a little
24816 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24817 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24818 hardcode_direct_GCJ
=yes
24819 hardcode_shlibpath_var_GCJ
=no
24822 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24824 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24825 hardcode_direct_GCJ
=yes
24826 hardcode_minus_L_GCJ
=yes
24827 hardcode_shlibpath_var_GCJ
=no
24830 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24831 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24832 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24833 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24834 hardcode_direct_GCJ
=yes
24835 hardcode_shlibpath_var_GCJ
=no
24839 if test "$GCC" = yes; then
24840 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'
24842 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'
24844 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24845 hardcode_libdir_separator_GCJ
=:
24846 hardcode_direct_GCJ
=yes
24848 # hardcode_minus_L: Not really in the search PATH,
24849 # but as the default location of the library.
24850 hardcode_minus_L_GCJ
=yes
24851 export_dynamic_flag_spec_GCJ
='${wl}-E'
24855 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24856 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24858 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24860 if test "$with_gnu_ld" = no
; then
24861 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24862 hardcode_libdir_separator_GCJ
=:
24864 hardcode_direct_GCJ
=yes
24865 export_dynamic_flag_spec_GCJ
='${wl}-E'
24867 # hardcode_minus_L: Not really in the search PATH,
24868 # but as the default location of the library.
24869 hardcode_minus_L_GCJ
=yes
24874 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24877 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24880 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24883 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24889 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24892 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24895 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24899 if test "$with_gnu_ld" = no
; then
24900 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24901 hardcode_libdir_separator_GCJ
=:
24905 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24906 hardcode_direct_GCJ
=no
24907 hardcode_shlibpath_var_GCJ
=no
24910 hardcode_direct_GCJ
=yes
24911 export_dynamic_flag_spec_GCJ
='${wl}-E'
24913 # hardcode_minus_L: Not really in the search PATH,
24914 # but as the default location of the library.
24915 hardcode_minus_L_GCJ
=yes
24921 irix5
* | irix6
* | nonstopux
*)
24922 if test "$GCC" = yes; then
24923 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'
24925 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'
24926 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24928 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24929 hardcode_libdir_separator_GCJ
=:
24930 link_all_deplibs_GCJ
=yes
24934 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24935 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24937 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24939 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24940 hardcode_direct_GCJ
=yes
24941 hardcode_shlibpath_var_GCJ
=no
24945 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24946 hardcode_direct_GCJ
=yes
24947 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24948 hardcode_libdir_separator_GCJ
=:
24949 hardcode_shlibpath_var_GCJ
=no
24953 hardcode_direct_GCJ
=yes
24954 hardcode_shlibpath_var_GCJ
=no
24955 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24956 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24957 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24958 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24959 export_dynamic_flag_spec_GCJ
='${wl}-E'
24962 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24963 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24964 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24967 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24968 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24975 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24976 hardcode_minus_L_GCJ
=yes
24977 allow_undefined_flag_GCJ
=unsupported
24978 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'
24979 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24983 if test "$GCC" = yes; then
24984 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24985 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'
24987 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24988 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'
24990 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24991 hardcode_libdir_separator_GCJ
=:
24994 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
24995 if test "$GCC" = yes; then
24996 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24997 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'
24998 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25000 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
25001 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'
25002 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~
25003 $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'
25005 # Both c and cxx compiler support -rpath directly
25006 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
25008 hardcode_libdir_separator_GCJ
=:
25012 no_undefined_flag_GCJ
=' -z text'
25013 if test "$GCC" = yes; then
25015 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25016 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25017 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25020 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25021 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25022 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25024 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25025 hardcode_shlibpath_var_GCJ
=no
25027 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
25029 # The compiler driver will combine linker options so we
25030 # cannot just pass the convience library names through
25031 # without $wl, iff we do not link with $LD.
25032 # Luckily, gcc supports the same syntax we need for Sun Studio.
25033 # Supported since Solaris 2.6 (maybe 2.5.1?)
25036 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
25038 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' ;;
25041 link_all_deplibs_GCJ
=yes
25045 if test "x$host_vendor" = xsequent
; then
25046 # Use $CC to link under sequent, because it throws in some extra .o
25047 # files that make .init and .fini sections work.
25048 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25050 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25052 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25053 hardcode_direct_GCJ
=yes
25054 hardcode_minus_L_GCJ
=yes
25055 hardcode_shlibpath_var_GCJ
=no
25059 case $host_vendor in
25061 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25062 hardcode_direct_GCJ
=yes # is this really true???
25065 ## LD is ld it makes a PLAMLIB
25066 ## CC just makes a GrossModule.
25067 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25068 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
25069 hardcode_direct_GCJ
=no
25072 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25073 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
25076 runpath_var
='LD_RUN_PATH'
25077 hardcode_shlibpath_var_GCJ
=no
25081 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25082 hardcode_shlibpath_var_GCJ
=no
25083 export_dynamic_flag_spec_GCJ
='-Bexport'
25087 if test -d /usr
/nec
; then
25088 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25089 hardcode_shlibpath_var_GCJ
=no
25090 runpath_var
=LD_RUN_PATH
25091 hardcode_runpath_var
=yes
25096 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
25097 no_undefined_flag_GCJ
='${wl}-z,text'
25098 archive_cmds_need_lc_GCJ
=no
25099 hardcode_shlibpath_var_GCJ
=no
25100 runpath_var
='LD_RUN_PATH'
25102 if test "$GCC" = yes; then
25103 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25104 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25106 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25107 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25111 sysv5
* | sco3.2v5
* | sco5v6
*)
25112 # Note: We can NOT use -z defs as we might desire, because we do not
25113 # link with -lc, and that would cause any symbols used from libc to
25114 # always be unresolved, which means just about no library would
25115 # ever link correctly. If we're not using GNU ld we use -z text
25116 # though, which does catch some bad symbols but isn't as heavy-handed
25118 no_undefined_flag_GCJ
='${wl}-z,text'
25119 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
25120 archive_cmds_need_lc_GCJ
=no
25121 hardcode_shlibpath_var_GCJ
=no
25122 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25123 hardcode_libdir_separator_GCJ
=':'
25124 link_all_deplibs_GCJ
=yes
25125 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
25126 runpath_var
='LD_RUN_PATH'
25128 if test "$GCC" = yes; then
25129 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25130 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25132 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25133 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25138 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25139 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25140 hardcode_shlibpath_var_GCJ
=no
25149 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25150 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25151 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
25154 # Do we need to explicitly link libc?
25156 case "x$archive_cmds_need_lc_GCJ" in
25158 # Assume -lc should be added
25159 archive_cmds_need_lc_GCJ
=yes
25161 if test "$enable_shared" = yes && test "$GCC" = yes; then
25162 case $archive_cmds_GCJ in
25164 # FIXME: we may have to deal with multi-command sequences.
25167 # Test whether the compiler implicitly links with -lc since on some
25168 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25169 # to ld, don't add -lc before -lgcc.
25170 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25171 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25173 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
25175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25176 (eval $ac_compile) 2>&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } 2>conftest.err
; then
25182 libobjs
=conftest.
$ac_objext
25184 wl
=$lt_prog_compiler_wl_GCJ
25185 pic_flag
=$lt_prog_compiler_pic_GCJ
25191 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
25192 allow_undefined_flag_GCJ
=
25193 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25194 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); }
25199 archive_cmds_need_lc_GCJ
=no
25201 archive_cmds_need_lc_GCJ
=yes
25203 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25205 cat conftest.err
1>&5
25208 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25209 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25216 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25217 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25218 library_names_spec
=
25219 libname_spec
='lib$name'
25223 postuninstall_cmds
=
25227 shlibpath_overrides_runpath
=unknown
25229 dynamic_linker
="$host_os ld.so"
25230 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25231 if test "$GCC" = yes; then
25232 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25233 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25234 # if the path contains ";" then we assume it to be the separator
25235 # otherwise default to the standard path separator (i.e. ":") - it is
25236 # assumed that no part of a normal pathname contains ";" but that should
25237 # okay in the real world where ";" in dirpaths is itself problematic.
25238 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25240 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25243 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25245 need_lib_prefix
=unknown
25246 hardcode_into_libs
=no
25248 # when you set need_version to no, make sure it does not cause -set_version
25249 # flags to be left without arguments
25250 need_version
=unknown
25255 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25256 shlibpath_var
=LIBPATH
25258 # AIX 3 has no versioning support, so we append a major version to the name.
25259 soname_spec
='${libname}${release}${shared_ext}$major'
25266 hardcode_into_libs
=yes
25267 if test "$host_cpu" = ia64
; then
25268 # AIX 5 supports IA64
25269 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25270 shlibpath_var
=LD_LIBRARY_PATH
25272 # With GCC up to 2.95.x, collect2 would create an import file
25273 # for dependence libraries. The import file would start with
25274 # the line `#! .'. This would cause the generated library to
25275 # depend on `.', always an invalid library. This was fixed in
25276 # development snapshots of GCC prior to 3.0.
25278 aix4 | aix4.
[01] | aix4.
[01].
*)
25279 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25281 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25284 can_build_shared
=no
25288 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25289 # soname into executable. Probably we can add versioning support to
25290 # collect2, so additional links can be useful in future.
25291 if test "$aix_use_runtimelinking" = yes; then
25292 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25293 # instead of lib<name>.a to let people know that these are not
25294 # typical AIX shared libraries.
25295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25297 # We preserve .a as extension for shared libraries through AIX4.2
25298 # and later when we are not doing run time linking.
25299 library_names_spec
='${libname}${release}.a $libname.a'
25300 soname_spec
='${libname}${release}${shared_ext}$major'
25302 shlibpath_var
=LIBPATH
25307 library_names_spec
='$libname.ixlibrary $libname.a'
25308 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25309 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'
25313 library_names_spec
='${libname}${shared_ext}'
25314 dynamic_linker
="$host_os ld.so"
25315 shlibpath_var
=LIBRARY_PATH
25321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25322 soname_spec
='${libname}${release}${shared_ext}$major'
25323 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25324 shlibpath_var
=LD_LIBRARY_PATH
25325 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25326 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25327 # the default ld.so.conf also contains /usr/contrib/lib and
25328 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25329 # libtool to hard-code these into programs
25332 cygwin
* | mingw
* | pw32
*)
25333 version_type
=windows
25338 case $GCC,$host_os in
25339 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25340 library_names_spec
='$libname.dll.a'
25341 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25342 postinstall_cmds
='base_file=`basename \${file}`~
25343 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25344 dldir=$destdir/`dirname \$dlpath`~
25345 test -d \$dldir || mkdir -p \$dldir~
25346 $install_prog $dir/$dlname \$dldir/$dlname~
25347 chmod a+x \$dldir/$dlname'
25348 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25349 dlpath=$dir/\$dldll~
25351 shlibpath_overrides_runpath
=yes
25355 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25356 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25357 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25360 # MinGW DLLs use traditional 'lib' prefix
25361 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25362 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25363 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25364 # It is most probably a Windows format PATH printed by
25365 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25366 # path with ; separators, and with drive letters. We can handle the
25367 # drive letters (cygwin fileutils understands them), so leave them,
25368 # especially as we might pass files found there to a mingw objdump,
25369 # which wouldn't understand a cygwinified path. Ahh.
25370 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25372 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25376 # pw32 DLLs use 'pw' prefix rather than 'lib'
25377 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25383 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25386 dynamic_linker
='Win32 ld.exe'
25387 # FIXME: first we should search . and the directory the executable is in
25391 darwin
* | rhapsody
*)
25392 dynamic_linker
="$host_os dyld"
25393 version_type
=darwin
25396 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25397 soname_spec
='${libname}${release}${major}$shared_ext'
25398 shlibpath_overrides_runpath
=yes
25399 shlibpath_var
=DYLD_LIBRARY_PATH
25400 shrext_cmds
='.dylib'
25401 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25402 if test "$GCC" = yes; then
25403 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"`
25405 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25407 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25415 soname_spec
='${libname}${release}${shared_ext}$major'
25416 shlibpath_var
=LD_LIBRARY_PATH
25427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25428 soname_spec
='${libname}${release}${shared_ext}$major'
25429 shlibpath_var
=LD_LIBRARY_PATH
25430 shlibpath_overrides_runpath
=no
25431 hardcode_into_libs
=yes
25432 dynamic_linker
='GNU ld.so'
25435 freebsd
* | dragonfly
*)
25436 # DragonFly does not have aout. When/if they implement a new
25437 # versioning mechanism, adjust this.
25438 if test -x /usr
/bin
/objformat
; then
25439 objformat
=`/usr/bin/objformat`
25442 freebsd
[123]*) objformat
=aout
;;
25443 *) objformat
=elf
;;
25446 version_type
=freebsd-
$objformat
25447 case $version_type in
25449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25454 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25458 shlibpath_var
=LD_LIBRARY_PATH
25461 shlibpath_overrides_runpath
=yes
25463 freebsd3.
[01]* | freebsdelf3.
[01]*)
25464 shlibpath_overrides_runpath
=yes
25465 hardcode_into_libs
=yes
25467 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25468 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25469 shlibpath_overrides_runpath
=no
25470 hardcode_into_libs
=yes
25472 freebsd
*) # from 4.6 on
25473 shlibpath_overrides_runpath
=yes
25474 hardcode_into_libs
=yes
25483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25484 soname_spec
='${libname}${release}${shared_ext}$major'
25485 shlibpath_var
=LD_LIBRARY_PATH
25486 hardcode_into_libs
=yes
25489 hpux9
* | hpux10
* | hpux11
*)
25490 # Give a soname corresponding to the major version so that dld.sl refuses to
25491 # link against other versions.
25498 hardcode_into_libs
=yes
25499 dynamic_linker
="$host_os dld.so"
25500 shlibpath_var
=LD_LIBRARY_PATH
25501 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
25504 if test "X$HPUX_IA64_MODE" = X32
; then
25505 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25507 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25509 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25513 hardcode_into_libs
=yes
25514 dynamic_linker
="$host_os dld.sl"
25515 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25516 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25518 soname_spec
='${libname}${release}${shared_ext}$major'
25519 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25520 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25524 dynamic_linker
="$host_os dld.sl"
25525 shlibpath_var
=SHLIB_PATH
25526 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25528 soname_spec
='${libname}${release}${shared_ext}$major'
25531 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25532 postinstall_cmds
='chmod 555 $lib'
25539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25540 soname_spec
='${libname}${release}${shared_ext}$major'
25541 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25542 shlibpath_var
=LD_LIBRARY_PATH
25543 shlibpath_overrides_runpath
=no
25544 hardcode_into_libs
=yes
25547 irix5
* | irix6
* | nonstopux
*)
25549 nonstopux
*) version_type
=nonstopux
;;
25551 if test "$lt_cv_prog_gnu_ld" = yes; then
25559 soname_spec
='${libname}${release}${shared_ext}$major'
25560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25562 irix5
* | nonstopux
*)
25563 libsuff
= shlibsuff
=
25566 case $LD in # libtool.m4 will add one of these switches to LD
25567 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25568 libsuff
= shlibsuff
= libmagic
=32-bit;;
25569 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25570 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25571 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25572 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25573 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25577 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25578 shlibpath_overrides_runpath
=no
25579 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25580 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25581 hardcode_into_libs
=yes
25584 # No shared lib support for Linux oldld, aout, or coff.
25585 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25589 # This must be Linux ELF.
25594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25595 soname_spec
='${libname}${release}${shared_ext}$major'
25596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25597 shlibpath_var
=LD_LIBRARY_PATH
25598 shlibpath_overrides_runpath
=no
25599 # This implies no fast_install, which is unacceptable.
25600 # Some rework will be needed to allow for fast_install
25601 # before this can be enabled.
25602 hardcode_into_libs
=yes
25604 # Append ld.so.conf contents to the search path
25605 if test -f /etc
/ld.so.conf
; then
25606 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' ' '`
25607 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25610 # We used to test for /lib/ld.so.1 and disable shared libraries on
25611 # powerpc, because MkLinux only supported shared libraries with the
25612 # GNU dynamic linker. Since this was broken with cross compilers,
25613 # most powerpc-linux boxes support dynamic linking these days and
25614 # people can always --disable-shared, the test was removed, and we
25615 # assume the GNU/Linux dynamic linker is in use.
25616 dynamic_linker
='GNU/Linux ld.so'
25623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25624 soname_spec
='${libname}${release}${shared_ext}$major'
25625 shlibpath_var
=LD_LIBRARY_PATH
25626 shlibpath_overrides_runpath
=no
25627 hardcode_into_libs
=yes
25628 dynamic_linker
='GNU ld.so'
25635 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25637 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25638 dynamic_linker
='NetBSD (a.out) ld.so'
25640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25641 soname_spec
='${libname}${release}${shared_ext}$major'
25642 dynamic_linker
='NetBSD ld.elf_so'
25644 shlibpath_var
=LD_LIBRARY_PATH
25645 shlibpath_overrides_runpath
=yes
25646 hardcode_into_libs
=yes
25651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25652 shlibpath_var
=LD_LIBRARY_PATH
25653 shlibpath_overrides_runpath
=yes
25660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25661 soname_spec
='${libname}${release}${shared_ext}$major'
25662 shlibpath_var
=LD_LIBRARY_PATH
25663 shlibpath_overrides_runpath
=yes
25668 sys_lib_dlsearch_path_spec
="/usr/lib"
25670 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25672 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25673 *) need_version
=no
;;
25675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25676 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25677 shlibpath_var
=LD_LIBRARY_PATH
25678 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25680 openbsd2.
[89] | openbsd2.
[89].
*)
25681 shlibpath_overrides_runpath
=no
25684 shlibpath_overrides_runpath
=yes
25688 shlibpath_overrides_runpath
=yes
25693 libname_spec
='$name'
25696 library_names_spec
='$libname${shared_ext} $libname.a'
25697 dynamic_linker
='OS/2 ld.exe'
25698 shlibpath_var
=LIBPATH
25701 osf3
* | osf4
* | osf5
*)
25705 soname_spec
='${libname}${release}${shared_ext}$major'
25706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25707 shlibpath_var
=LD_LIBRARY_PATH
25708 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25709 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25717 soname_spec
='${libname}${release}${shared_ext}$major'
25718 shlibpath_var
=LD_LIBRARY_PATH
25719 shlibpath_overrides_runpath
=yes
25720 hardcode_into_libs
=yes
25721 # ldd complains unless libraries are executable
25722 postinstall_cmds
='chmod +x $lib'
25727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25728 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25729 shlibpath_var
=LD_LIBRARY_PATH
25730 shlibpath_overrides_runpath
=yes
25731 if test "$with_gnu_ld" = yes; then
25739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25740 soname_spec
='${libname}${release}${shared_ext}$major'
25741 shlibpath_var
=LD_LIBRARY_PATH
25742 case $host_vendor in
25744 shlibpath_overrides_runpath
=no
25746 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25747 runpath_var
=LD_RUN_PATH
25755 shlibpath_overrides_runpath
=no
25756 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25762 if test -d /usr
/nec
;then
25764 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25765 soname_spec
='$libname${shared_ext}.$major'
25766 shlibpath_var
=LD_LIBRARY_PATH
25770 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25771 version_type
=freebsd-elf
25774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25775 soname_spec
='${libname}${release}${shared_ext}$major'
25776 shlibpath_var
=LD_LIBRARY_PATH
25777 hardcode_into_libs
=yes
25778 if test "$with_gnu_ld" = yes; then
25779 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25780 shlibpath_overrides_runpath
=no
25782 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25783 shlibpath_overrides_runpath
=yes
25786 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25790 sys_lib_dlsearch_path_spec
='/usr/lib'
25795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25796 soname_spec
='${libname}${release}${shared_ext}$major'
25797 shlibpath_var
=LD_LIBRARY_PATH
25804 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25805 echo "${ECHO_T}$dynamic_linker" >&6; }
25806 test "$dynamic_linker" = no
&& can_build_shared
=no
25808 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25809 if test "$GCC" = yes; then
25810 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25813 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25814 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25815 hardcode_action_GCJ
=
25816 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25817 test -n "$runpath_var_GCJ" || \
25818 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25820 # We can hardcode non-existant directories.
25821 if test "$hardcode_direct_GCJ" != no
&&
25822 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25823 # have to relink, otherwise we might link with an installed library
25824 # when we should be linking with a yet-to-be-installed one
25825 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25826 test "$hardcode_minus_L_GCJ" != no
; then
25827 # Linking always hardcodes the temporary library directory.
25828 hardcode_action_GCJ
=relink
25830 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25831 hardcode_action_GCJ
=immediate
25834 # We cannot hardcode anything, or else we can only hardcode existing
25836 hardcode_action_GCJ
=unsupported
25838 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25839 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25841 if test "$hardcode_action_GCJ" = relink
; then
25842 # Fast installation is not supported
25843 enable_fast_install
=no
25844 elif test "$shlibpath_overrides_runpath" = yes ||
25845 test "$enable_shared" = no
; then
25846 # Fast installation is not necessary
25847 enable_fast_install
=needless
25851 # The else clause should only fire when bootstrapping the
25852 # libtool distribution, otherwise you forgot to ship ltmain.sh
25853 # with your package, and you will get complaints that there are
25854 # no rules to generate ltmain.sh.
25855 if test -f "$ltmain"; then
25856 # See if we are running on zsh, and set the options which allow our commands through
25857 # without removal of \ escapes.
25858 if test -n "${ZSH_VERSION+set}" ; then
25859 setopt NO_GLOB_SUBST
25861 # Now quote all the things that may contain metacharacters while being
25862 # careful not to overquote the AC_SUBSTed values. We take copies of the
25863 # variables and quote the copies for generation of the libtool script.
25864 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25866 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25867 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25868 deplibs_check_method reload_flag reload_cmds need_locks \
25869 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25870 lt_cv_sys_global_symbol_to_c_name_address \
25871 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25872 old_postinstall_cmds old_postuninstall_cmds \
25876 lt_prog_compiler_wl_GCJ \
25877 lt_prog_compiler_pic_GCJ \
25878 lt_prog_compiler_static_GCJ \
25879 lt_prog_compiler_no_builtin_flag_GCJ \
25880 export_dynamic_flag_spec_GCJ \
25881 thread_safe_flag_spec_GCJ \
25882 whole_archive_flag_spec_GCJ \
25883 enable_shared_with_static_runtimes_GCJ \
25884 old_archive_cmds_GCJ \
25885 old_archive_from_new_cmds_GCJ \
25886 predep_objects_GCJ \
25887 postdep_objects_GCJ \
25890 compiler_lib_search_path_GCJ \
25892 archive_expsym_cmds_GCJ \
25893 postinstall_cmds_GCJ \
25894 postuninstall_cmds_GCJ \
25895 old_archive_from_expsyms_cmds_GCJ \
25896 allow_undefined_flag_GCJ \
25897 no_undefined_flag_GCJ \
25898 export_symbols_cmds_GCJ \
25899 hardcode_libdir_flag_spec_GCJ \
25900 hardcode_libdir_flag_spec_ld_GCJ \
25901 hardcode_libdir_separator_GCJ \
25902 hardcode_automatic_GCJ \
25904 module_expsym_cmds_GCJ \
25905 lt_cv_prog_compiler_c_o_GCJ \
25906 exclude_expsyms_GCJ \
25907 include_expsyms_GCJ
; do
25910 old_archive_cmds_GCJ | \
25911 old_archive_from_new_cmds_GCJ | \
25912 archive_cmds_GCJ | \
25913 archive_expsym_cmds_GCJ | \
25914 module_cmds_GCJ | \
25915 module_expsym_cmds_GCJ | \
25916 old_archive_from_expsyms_cmds_GCJ | \
25917 export_symbols_cmds_GCJ | \
25918 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25919 postinstall_cmds | postuninstall_cmds | \
25920 old_postinstall_cmds | old_postuninstall_cmds | \
25921 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25922 # Double-quote double-evaled strings.
25923 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25926 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25932 *'\$0 --fallback-echo"')
25933 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25939 cat <<__EOF__ >> "$cfgfile"
25940 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25942 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25944 # Shell to use when invoking shell scripts.
25947 # Whether or not to build shared libraries.
25948 build_libtool_libs=$enable_shared
25950 # Whether or not to build static libraries.
25951 build_old_libs=$enable_static
25953 # Whether or not to add -lc for building shared libraries.
25954 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25956 # Whether or not to disallow shared libs when runtime libs are static
25957 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25959 # Whether or not to optimize for fast installation.
25960 fast_install=$enable_fast_install
25963 host_alias=$host_alias
25967 # The build system.
25968 build_alias=$build_alias
25972 # An echo program that does not interpret backslashes.
25977 AR_FLAGS=$lt_AR_FLAGS
25982 # LTCC compiler flags.
25983 LTCFLAGS=$lt_LTCFLAGS
25985 # A language-specific compiler.
25986 CC=$lt_compiler_GCJ
25988 # Is the compiler the GNU C compiler?
25994 # The linker used to build libraries.
25997 # Whether we need hard or soft links.
26000 # A BSD-compatible nm program.
26003 # A symbol stripping program
26006 # Used to examine libraries when file_magic_cmd begins "file"
26007 MAGIC_CMD=$MAGIC_CMD
26009 # Used on cygwin: DLL creation program.
26012 # Used on cygwin: object dumper.
26015 # Used on cygwin: assembler.
26018 # The name of the directory that contains temporary libtool files.
26021 # How to create reloadable object files.
26022 reload_flag=$lt_reload_flag
26023 reload_cmds=$lt_reload_cmds
26025 # How to pass a linker flag through the compiler.
26026 wl=$lt_lt_prog_compiler_wl_GCJ
26028 # Object file suffix (normally "o").
26029 objext="$ac_objext"
26031 # Old archive suffix (normally "a").
26034 # Shared library suffix (normally ".so").
26035 shrext_cmds='$shrext_cmds'
26037 # Executable file suffix (normally "").
26040 # Additional compiler flags for building library objects.
26041 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26044 # What is the maximum length of a command?
26045 max_cmd_len=$lt_cv_sys_max_cmd_len
26047 # Does compiler simultaneously support -c and -o options?
26048 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26050 # Must we lock files when doing compilation?
26051 need_locks=$lt_need_locks
26053 # Do we need the lib prefix for modules?
26054 need_lib_prefix=$need_lib_prefix
26056 # Do we need a version for libraries?
26057 need_version=$need_version
26059 # Whether dlopen is supported.
26060 dlopen_support=$enable_dlopen
26062 # Whether dlopen of programs is supported.
26063 dlopen_self=$enable_dlopen_self
26065 # Whether dlopen of statically linked programs is supported.
26066 dlopen_self_static=$enable_dlopen_self_static
26068 # Compiler flag to prevent dynamic linking.
26069 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26071 # Compiler flag to turn off builtin functions.
26072 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26074 # Compiler flag to allow reflexive dlopens.
26075 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26077 # Compiler flag to generate shared objects directly from archives.
26078 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26080 # Compiler flag to generate thread-safe objects.
26081 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26083 # Library versioning type.
26084 version_type=$version_type
26086 # Format of library name prefix.
26087 libname_spec=$lt_libname_spec
26089 # List of archive names. First name is the real one, the rest are links.
26090 # The last name is the one that the linker finds with -lNAME.
26091 library_names_spec=$lt_library_names_spec
26093 # The coded name of the library, if different from the real name.
26094 soname_spec=$lt_soname_spec
26096 # Commands used to build and install an old-style archive.
26098 old_archive_cmds=$lt_old_archive_cmds_GCJ
26099 old_postinstall_cmds=$lt_old_postinstall_cmds
26100 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26102 # Create an old-style archive from a shared archive.
26103 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26105 # Create a temporary old-style archive to link instead of a shared archive.
26106 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26108 # Commands used to build and install a shared archive.
26109 archive_cmds=$lt_archive_cmds_GCJ
26110 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26111 postinstall_cmds=$lt_postinstall_cmds
26112 postuninstall_cmds=$lt_postuninstall_cmds
26114 # Commands used to build a loadable module (assumed same as above if empty)
26115 module_cmds=$lt_module_cmds_GCJ
26116 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26118 # Commands to strip libraries.
26119 old_striplib=$lt_old_striplib
26120 striplib=$lt_striplib
26122 # Dependencies to place before the objects being linked to create a
26124 predep_objects=$lt_predep_objects_GCJ
26126 # Dependencies to place after the objects being linked to create a
26128 postdep_objects=$lt_postdep_objects_GCJ
26130 # Dependencies to place before the objects being linked to create a
26132 predeps=$lt_predeps_GCJ
26134 # Dependencies to place after the objects being linked to create a
26136 postdeps=$lt_postdeps_GCJ
26138 # The library search path used internally by the compiler when linking
26139 # a shared library.
26140 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26142 # Method to check whether dependent libraries are shared objects.
26143 deplibs_check_method=$lt_deplibs_check_method
26145 # Command to use when deplibs_check_method == file_magic.
26146 file_magic_cmd=$lt_file_magic_cmd
26148 # Flag that allows shared libraries with undefined symbols to be built.
26149 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26151 # Flag that forces no undefined symbols.
26152 no_undefined_flag=$lt_no_undefined_flag_GCJ
26154 # Commands used to finish a libtool library installation in a directory.
26155 finish_cmds=$lt_finish_cmds
26157 # Same as above, but a single script fragment to be evaled but not shown.
26158 finish_eval=$lt_finish_eval
26160 # Take the output of nm and produce a listing of raw symbols and C names.
26161 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26163 # Transform the output of nm in a proper C declaration
26164 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26166 # Transform the output of nm in a C name address pair
26167 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26169 # This is the shared library runtime path variable.
26170 runpath_var=$runpath_var
26172 # This is the shared library path variable.
26173 shlibpath_var=$shlibpath_var
26175 # Is shlibpath searched before the hard-coded library search path?
26176 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26178 # How to hardcode a shared library path into an executable.
26179 hardcode_action=$hardcode_action_GCJ
26181 # Whether we should hardcode library paths into libraries.
26182 hardcode_into_libs=$hardcode_into_libs
26184 # Flag to hardcode \$libdir into a binary during linking.
26185 # This must work even if \$libdir does not exist.
26186 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26188 # If ld is used when linking, flag to hardcode \$libdir into
26189 # a binary during linking. This must work even if \$libdir does
26191 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26193 # Whether we need a single -rpath flag with a separated argument.
26194 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26196 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26197 # resulting binary.
26198 hardcode_direct=$hardcode_direct_GCJ
26200 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26201 # resulting binary.
26202 hardcode_minus_L=$hardcode_minus_L_GCJ
26204 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26205 # the resulting binary.
26206 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26208 # Set to yes if building a shared library automatically hardcodes DIR into the library
26209 # and all subsequent libraries and executables linked against it.
26210 hardcode_automatic=$hardcode_automatic_GCJ
26212 # Variables whose values should be saved in libtool wrapper scripts and
26213 # restored at relink time.
26214 variables_saved_for_relink="$variables_saved_for_relink"
26216 # Whether libtool must link a program against all its dependency libraries.
26217 link_all_deplibs=$link_all_deplibs_GCJ
26219 # Compile-time system search path for libraries
26220 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26222 # Run-time system search path for libraries
26223 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26225 # Fix the shell variable \$srcfile for the compiler.
26226 fix_srcfile_path="$fix_srcfile_path_GCJ"
26228 # Set to yes if exported symbols are required.
26229 always_export_symbols=$always_export_symbols_GCJ
26231 # The commands to list exported symbols.
26232 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26234 # The commands to extract the exported symbol list from a shared archive.
26235 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26237 # Symbols that should not be listed in the preloaded symbols.
26238 exclude_expsyms=$lt_exclude_expsyms_GCJ
26240 # Symbols that must always be exported.
26241 include_expsyms=$lt_include_expsyms_GCJ
26243 # ### END LIBTOOL TAG CONFIG: $tagname
26249 # If there is no Makefile yet, we rely on a make rule to execute
26250 # `config.status --recheck' to rerun these tests and create the
26251 # libtool script then.
26252 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26253 if test -f "$ltmain_in"; then
26254 test -f Makefile
&& make "$ltmain"
26260 ac_cpp
='$CPP $CPPFLAGS'
26261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26274 ac_cpp
='$CPP $CPPFLAGS'
26275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26280 # Source file extension for RC test sources.
26283 # Object file extension for compiled RC test sources.
26287 # Code to be used in simple compile tests
26288 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26290 # Code to be used in simple link tests
26291 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26293 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26295 # If no C compiler was specified, use CC.
26298 # If no C compiler flags were specified, use CFLAGS.
26299 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26301 # Allow CC to be a program name with arguments.
26305 # save warnings/boilerplate of simple test code
26306 ac_outfile
=conftest.
$ac_objext
26307 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26308 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26309 _lt_compiler_boilerplate
=`cat conftest.err`
26312 ac_outfile
=conftest.
$ac_objext
26313 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26314 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26315 _lt_linker_boilerplate
=`cat conftest.err`
26319 # Allow CC to be a program name with arguments.
26324 for cc_temp
in $compiler""; do
26326 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26327 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26332 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26334 lt_cv_prog_compiler_c_o_RC
=yes
26336 # The else clause should only fire when bootstrapping the
26337 # libtool distribution, otherwise you forgot to ship ltmain.sh
26338 # with your package, and you will get complaints that there are
26339 # no rules to generate ltmain.sh.
26340 if test -f "$ltmain"; then
26341 # See if we are running on zsh, and set the options which allow our commands through
26342 # without removal of \ escapes.
26343 if test -n "${ZSH_VERSION+set}" ; then
26344 setopt NO_GLOB_SUBST
26346 # Now quote all the things that may contain metacharacters while being
26347 # careful not to overquote the AC_SUBSTed values. We take copies of the
26348 # variables and quote the copies for generation of the libtool script.
26349 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26351 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26352 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26353 deplibs_check_method reload_flag reload_cmds need_locks \
26354 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26355 lt_cv_sys_global_symbol_to_c_name_address \
26356 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26357 old_postinstall_cmds old_postuninstall_cmds \
26361 lt_prog_compiler_wl_RC \
26362 lt_prog_compiler_pic_RC \
26363 lt_prog_compiler_static_RC \
26364 lt_prog_compiler_no_builtin_flag_RC \
26365 export_dynamic_flag_spec_RC \
26366 thread_safe_flag_spec_RC \
26367 whole_archive_flag_spec_RC \
26368 enable_shared_with_static_runtimes_RC \
26369 old_archive_cmds_RC \
26370 old_archive_from_new_cmds_RC \
26371 predep_objects_RC \
26372 postdep_objects_RC \
26375 compiler_lib_search_path_RC \
26377 archive_expsym_cmds_RC \
26378 postinstall_cmds_RC \
26379 postuninstall_cmds_RC \
26380 old_archive_from_expsyms_cmds_RC \
26381 allow_undefined_flag_RC \
26382 no_undefined_flag_RC \
26383 export_symbols_cmds_RC \
26384 hardcode_libdir_flag_spec_RC \
26385 hardcode_libdir_flag_spec_ld_RC \
26386 hardcode_libdir_separator_RC \
26387 hardcode_automatic_RC \
26389 module_expsym_cmds_RC \
26390 lt_cv_prog_compiler_c_o_RC \
26391 exclude_expsyms_RC \
26392 include_expsyms_RC
; do
26395 old_archive_cmds_RC | \
26396 old_archive_from_new_cmds_RC | \
26397 archive_cmds_RC | \
26398 archive_expsym_cmds_RC | \
26400 module_expsym_cmds_RC | \
26401 old_archive_from_expsyms_cmds_RC | \
26402 export_symbols_cmds_RC | \
26403 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26404 postinstall_cmds | postuninstall_cmds | \
26405 old_postinstall_cmds | old_postuninstall_cmds | \
26406 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26407 # Double-quote double-evaled strings.
26408 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26411 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26417 *'\$0 --fallback-echo"')
26418 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26424 cat <<__EOF__ >> "$cfgfile"
26425 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26427 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26429 # Shell to use when invoking shell scripts.
26432 # Whether or not to build shared libraries.
26433 build_libtool_libs=$enable_shared
26435 # Whether or not to build static libraries.
26436 build_old_libs=$enable_static
26438 # Whether or not to add -lc for building shared libraries.
26439 build_libtool_need_lc=$archive_cmds_need_lc_RC
26441 # Whether or not to disallow shared libs when runtime libs are static
26442 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26444 # Whether or not to optimize for fast installation.
26445 fast_install=$enable_fast_install
26448 host_alias=$host_alias
26452 # The build system.
26453 build_alias=$build_alias
26457 # An echo program that does not interpret backslashes.
26462 AR_FLAGS=$lt_AR_FLAGS
26467 # LTCC compiler flags.
26468 LTCFLAGS=$lt_LTCFLAGS
26470 # A language-specific compiler.
26473 # Is the compiler the GNU C compiler?
26479 # The linker used to build libraries.
26482 # Whether we need hard or soft links.
26485 # A BSD-compatible nm program.
26488 # A symbol stripping program
26491 # Used to examine libraries when file_magic_cmd begins "file"
26492 MAGIC_CMD=$MAGIC_CMD
26494 # Used on cygwin: DLL creation program.
26497 # Used on cygwin: object dumper.
26500 # Used on cygwin: assembler.
26503 # The name of the directory that contains temporary libtool files.
26506 # How to create reloadable object files.
26507 reload_flag=$lt_reload_flag
26508 reload_cmds=$lt_reload_cmds
26510 # How to pass a linker flag through the compiler.
26511 wl=$lt_lt_prog_compiler_wl_RC
26513 # Object file suffix (normally "o").
26514 objext="$ac_objext"
26516 # Old archive suffix (normally "a").
26519 # Shared library suffix (normally ".so").
26520 shrext_cmds='$shrext_cmds'
26522 # Executable file suffix (normally "").
26525 # Additional compiler flags for building library objects.
26526 pic_flag=$lt_lt_prog_compiler_pic_RC
26529 # What is the maximum length of a command?
26530 max_cmd_len=$lt_cv_sys_max_cmd_len
26532 # Does compiler simultaneously support -c and -o options?
26533 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26535 # Must we lock files when doing compilation?
26536 need_locks=$lt_need_locks
26538 # Do we need the lib prefix for modules?
26539 need_lib_prefix=$need_lib_prefix
26541 # Do we need a version for libraries?
26542 need_version=$need_version
26544 # Whether dlopen is supported.
26545 dlopen_support=$enable_dlopen
26547 # Whether dlopen of programs is supported.
26548 dlopen_self=$enable_dlopen_self
26550 # Whether dlopen of statically linked programs is supported.
26551 dlopen_self_static=$enable_dlopen_self_static
26553 # Compiler flag to prevent dynamic linking.
26554 link_static_flag=$lt_lt_prog_compiler_static_RC
26556 # Compiler flag to turn off builtin functions.
26557 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26559 # Compiler flag to allow reflexive dlopens.
26560 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26562 # Compiler flag to generate shared objects directly from archives.
26563 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26565 # Compiler flag to generate thread-safe objects.
26566 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26568 # Library versioning type.
26569 version_type=$version_type
26571 # Format of library name prefix.
26572 libname_spec=$lt_libname_spec
26574 # List of archive names. First name is the real one, the rest are links.
26575 # The last name is the one that the linker finds with -lNAME.
26576 library_names_spec=$lt_library_names_spec
26578 # The coded name of the library, if different from the real name.
26579 soname_spec=$lt_soname_spec
26581 # Commands used to build and install an old-style archive.
26583 old_archive_cmds=$lt_old_archive_cmds_RC
26584 old_postinstall_cmds=$lt_old_postinstall_cmds
26585 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26587 # Create an old-style archive from a shared archive.
26588 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26590 # Create a temporary old-style archive to link instead of a shared archive.
26591 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26593 # Commands used to build and install a shared archive.
26594 archive_cmds=$lt_archive_cmds_RC
26595 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26596 postinstall_cmds=$lt_postinstall_cmds
26597 postuninstall_cmds=$lt_postuninstall_cmds
26599 # Commands used to build a loadable module (assumed same as above if empty)
26600 module_cmds=$lt_module_cmds_RC
26601 module_expsym_cmds=$lt_module_expsym_cmds_RC
26603 # Commands to strip libraries.
26604 old_striplib=$lt_old_striplib
26605 striplib=$lt_striplib
26607 # Dependencies to place before the objects being linked to create a
26609 predep_objects=$lt_predep_objects_RC
26611 # Dependencies to place after the objects being linked to create a
26613 postdep_objects=$lt_postdep_objects_RC
26615 # Dependencies to place before the objects being linked to create a
26617 predeps=$lt_predeps_RC
26619 # Dependencies to place after the objects being linked to create a
26621 postdeps=$lt_postdeps_RC
26623 # The library search path used internally by the compiler when linking
26624 # a shared library.
26625 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26627 # Method to check whether dependent libraries are shared objects.
26628 deplibs_check_method=$lt_deplibs_check_method
26630 # Command to use when deplibs_check_method == file_magic.
26631 file_magic_cmd=$lt_file_magic_cmd
26633 # Flag that allows shared libraries with undefined symbols to be built.
26634 allow_undefined_flag=$lt_allow_undefined_flag_RC
26636 # Flag that forces no undefined symbols.
26637 no_undefined_flag=$lt_no_undefined_flag_RC
26639 # Commands used to finish a libtool library installation in a directory.
26640 finish_cmds=$lt_finish_cmds
26642 # Same as above, but a single script fragment to be evaled but not shown.
26643 finish_eval=$lt_finish_eval
26645 # Take the output of nm and produce a listing of raw symbols and C names.
26646 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26648 # Transform the output of nm in a proper C declaration
26649 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26651 # Transform the output of nm in a C name address pair
26652 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26654 # This is the shared library runtime path variable.
26655 runpath_var=$runpath_var
26657 # This is the shared library path variable.
26658 shlibpath_var=$shlibpath_var
26660 # Is shlibpath searched before the hard-coded library search path?
26661 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26663 # How to hardcode a shared library path into an executable.
26664 hardcode_action=$hardcode_action_RC
26666 # Whether we should hardcode library paths into libraries.
26667 hardcode_into_libs=$hardcode_into_libs
26669 # Flag to hardcode \$libdir into a binary during linking.
26670 # This must work even if \$libdir does not exist.
26671 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26673 # If ld is used when linking, flag to hardcode \$libdir into
26674 # a binary during linking. This must work even if \$libdir does
26676 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26678 # Whether we need a single -rpath flag with a separated argument.
26679 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26681 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26682 # resulting binary.
26683 hardcode_direct=$hardcode_direct_RC
26685 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26686 # resulting binary.
26687 hardcode_minus_L=$hardcode_minus_L_RC
26689 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26690 # the resulting binary.
26691 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26693 # Set to yes if building a shared library automatically hardcodes DIR into the library
26694 # and all subsequent libraries and executables linked against it.
26695 hardcode_automatic=$hardcode_automatic_RC
26697 # Variables whose values should be saved in libtool wrapper scripts and
26698 # restored at relink time.
26699 variables_saved_for_relink="$variables_saved_for_relink"
26701 # Whether libtool must link a program against all its dependency libraries.
26702 link_all_deplibs=$link_all_deplibs_RC
26704 # Compile-time system search path for libraries
26705 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26707 # Run-time system search path for libraries
26708 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26710 # Fix the shell variable \$srcfile for the compiler.
26711 fix_srcfile_path="$fix_srcfile_path_RC"
26713 # Set to yes if exported symbols are required.
26714 always_export_symbols=$always_export_symbols_RC
26716 # The commands to list exported symbols.
26717 export_symbols_cmds=$lt_export_symbols_cmds_RC
26719 # The commands to extract the exported symbol list from a shared archive.
26720 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26722 # Symbols that should not be listed in the preloaded symbols.
26723 exclude_expsyms=$lt_exclude_expsyms_RC
26725 # Symbols that must always be exported.
26726 include_expsyms=$lt_include_expsyms_RC
26728 # ### END LIBTOOL TAG CONFIG: $tagname
26734 # If there is no Makefile yet, we rely on a make rule to execute
26735 # `config.status --recheck' to rerun these tests and create the
26736 # libtool script then.
26737 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26738 if test -f "$ltmain_in"; then
26739 test -f Makefile
&& make "$ltmain"
26745 ac_cpp
='$CPP $CPPFLAGS'
26746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26755 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26756 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26757 { (exit 1); exit 1; }; }
26761 # Append the new tag name to the list of available tags.
26762 if test -n "$tagname" ; then
26763 available_tags
="$available_tags $tagname"
26769 # Now substitute the updated list of available tags.
26770 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26771 mv "${ofile}T" "$ofile"
26775 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26776 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26777 { (exit 1); exit 1; }; }
26783 # This can be used to rebuild libtool when needed
26784 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26786 # Always use our own libtool.
26787 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26789 # Prevent multiple expansion
26811 if test "$lt_cv_dlopen_self" = "yes" ; then
26813 cat >>confdefs.h
<<\_ACEOF
26814 #define CAN_DLOPEN_SELF 1
26819 if test "$WITH_LLVMGCCDIR" = "default" ; then
26820 LLVMGCC
="llvm-gcc${EXEEXT}"
26821 LLVMGXX
="llvm-g++${EXEEXT}"
26822 LLVMGCCCOMMAND
="$LLVMGCC"
26823 LLVMGXXCOMMAND
="$LLVMGXX"
26825 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
26827 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
26829 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26830 set dummy
$LLVMGCC; ac_word
=$2
26831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26833 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26834 echo $ECHO_N "(cached) $ECHO_C" >&6
26838 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26842 for as_dir
in $PATH
26845 test -z "$as_dir" && as_dir
=.
26846 for ac_exec_ext
in '' $ac_executable_extensions; do
26847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26848 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26859 LLVMGCC
=$ac_cv_path_LLVMGCC
26860 if test -n "$LLVMGCC"; then
26861 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26862 echo "${ECHO_T}$LLVMGCC" >&6; }
26864 { echo "$as_me:$LINENO: result: no" >&5
26865 echo "${ECHO_T}no" >&6; }
26869 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26870 set dummy
$LLVMGXX; ac_word
=$2
26871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26873 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26874 echo $ECHO_N "(cached) $ECHO_C" >&6
26878 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26882 for as_dir
in $PATH
26885 test -z "$as_dir" && as_dir
=.
26886 for ac_exec_ext
in '' $ac_executable_extensions; do
26887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26888 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26899 LLVMGXX
=$ac_cv_path_LLVMGXX
26900 if test -n "$LLVMGXX"; then
26901 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26902 echo "${ECHO_T}$LLVMGXX" >&6; }
26904 { echo "$as_me:$LINENO: result: no" >&5
26905 echo "${ECHO_T}no" >&6; }
26910 if test -z "$LLVMGCC"; then
26911 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26912 LLVMGCCCOMMAND
="$LLVMGCC"
26914 if test -z "$LLVMGXX"; then
26915 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26916 LLVMGXXCOMMAND
="$LLVMGXX"
26923 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
26925 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
26930 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26931 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26944 if test "$GCC" != "yes" && test "$ICC" != "yes"
26946 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26947 echo "$as_me: error: gcc|icc required but not found" >&2;}
26948 { (exit 1); exit 1; }; }
26951 if test "$GXX" != "yes" && test "$IXX" != "yes"
26953 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26954 echo "$as_me: error: g++|icc required but not found" >&2;}
26955 { (exit 1); exit 1; }; }
26958 if test "$GCC" = "yes"
26960 cat >conftest.
$ac_ext <<_ACEOF
26961 #if !defined(__GNUC__) || __GNUC__ < 3
26962 #error Unsupported GCC version
26966 rm -f conftest.
$ac_objext
26967 if { (ac_try
="$ac_compile"
26968 case "(($ac_try" in
26969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26970 *) ac_try_echo=$ac_try;;
26972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26973 (eval "$ac_compile") 2>conftest.er1
26975 grep -v '^ *+' conftest.er1 >conftest.err
26977 cat conftest.err >&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); } &&
26980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26981 { (case "(($ac_try" in
26982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26983 *) ac_try_echo
=$ac_try;;
26985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26986 (eval "$ac_try") 2>&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); }; } &&
26990 { ac_try
='test -s conftest.$ac_objext'
26991 { (case "(($ac_try" in
26992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26993 *) ac_try_echo=$ac_try;;
26995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26996 (eval "$ac_try") 2>&5
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); }; }; then
27002 echo "$as_me: failed program was:" >&5
27003 sed 's/^/| /' conftest.$ac_ext >&5
27005 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
27006 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
27007 { (exit 1); exit 1; }; }
27010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27013 if test -z "$llvm_cv_gnu_make_command"
27015 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
27016 echo "$as_me: error: GNU Make required but not found" >&2;}
27017 { (exit 1); exit 1; }; }
27020 { echo "$as_me:$LINENO: result: ok" >&5
27021 echo "${ECHO_T}ok" >&6; }
27025 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
27026 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
27027 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 ac_check_lib_save_LIBS=$LIBS
27032 cat >conftest.$ac_ext <<_ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27039 /* Override any GCC internal prototype to avoid an error.
27040 Use char because int might match the return type of a GCC
27041 builtin and then its argument prototype would still apply. */
27049 return elf_begin ();
27054 rm -f conftest.$ac_objext conftest$ac_exeext
27055 if { (ac_try="$ac_link"
27056 case "(($ac_try" in
27057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27058 *) ac_try_echo
=$ac_try;;
27060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27061 (eval "$ac_link") 2>conftest.er1
27063 grep -v '^ *+' conftest.er1
>conftest.err
27065 cat conftest.err
>&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } &&
27068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27069 { (case "(($ac_try" in
27070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27071 *) ac_try_echo=$ac_try;;
27073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27074 (eval "$ac_try") 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; } &&
27078 { ac_try='test -s conftest$ac_exeext'
27079 { (case "(($ac_try" in
27080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27081 *) ac_try_echo
=$ac_try;;
27083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27084 (eval "$ac_try") 2>&5
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); }; }; then
27088 ac_cv_lib_elf_elf_begin
=yes
27090 echo "$as_me: failed program was:" >&5
27091 sed 's/^/| /' conftest.
$ac_ext >&5
27093 ac_cv_lib_elf_elf_begin
=no
27096 rm -f core conftest.err conftest.
$ac_objext \
27097 conftest
$ac_exeext conftest.
$ac_ext
27098 LIBS
=$ac_check_lib_save_LIBS
27100 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
27101 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
27102 if test $ac_cv_lib_elf_elf_begin = yes; then
27103 cat >>confdefs.h
<<_ACEOF
27104 #define HAVE_LIBELF 1
27112 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27113 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27114 if test "${ac_cv_lib_m_sin+set}" = set; then
27115 echo $ECHO_N "(cached) $ECHO_C" >&6
27117 ac_check_lib_save_LIBS
=$LIBS
27119 cat >conftest.
$ac_ext <<_ACEOF
27122 cat confdefs.h
>>conftest.
$ac_ext
27123 cat >>conftest.
$ac_ext <<_ACEOF
27124 /* end confdefs.h. */
27126 /* Override any GCC internal prototype to avoid an error.
27127 Use char because int might match the return type of a GCC
27128 builtin and then its argument prototype would still apply. */
27141 rm -f conftest.
$ac_objext conftest
$ac_exeext
27142 if { (ac_try
="$ac_link"
27143 case "(($ac_try" in
27144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27145 *) ac_try_echo=$ac_try;;
27147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27148 (eval "$ac_link") 2>conftest.er1
27150 grep -v '^ *+' conftest.er1 >conftest.err
27152 cat conftest.err >&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27156 { (case "(($ac_try" in
27157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27158 *) ac_try_echo
=$ac_try;;
27160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27161 (eval "$ac_try") 2>&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); }; } &&
27165 { ac_try
='test -s conftest$ac_exeext'
27166 { (case "(($ac_try" in
27167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27168 *) ac_try_echo=$ac_try;;
27170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27171 (eval "$ac_try") 2>&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); }; }; then
27175 ac_cv_lib_m_sin=yes
27177 echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.$ac_ext >&5
27183 rm -f core conftest.err conftest.$ac_objext \
27184 conftest$ac_exeext conftest.$ac_ext
27185 LIBS=$ac_check_lib_save_LIBS
27187 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27188 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27189 if test $ac_cv_lib_m_sin = yes; then
27190 cat >>confdefs.h <<_ACEOF
27191 #define HAVE_LIBM 1
27198 if test "$llvm_cv_os_type" = "MingW" ; then
27200 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
27201 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
27202 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
27203 echo $ECHO_N "(cached) $ECHO_C" >&6
27205 ac_check_lib_save_LIBS=$LIBS
27206 LIBS="-limagehlp $LIBS"
27207 cat >conftest.$ac_ext <<_ACEOF
27210 cat confdefs.h >>conftest.$ac_ext
27211 cat >>conftest.$ac_ext <<_ACEOF
27212 /* end confdefs.h. */
27223 rm -f conftest.$ac_objext conftest$ac_exeext
27224 if { (ac_try="$ac_link"
27225 case "(($ac_try" in
27226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27227 *) ac_try_echo
=$ac_try;;
27229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27230 (eval "$ac_link") 2>conftest.er1
27232 grep -v '^ *+' conftest.er1
>conftest.err
27234 cat conftest.err
>&5
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); } &&
27237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27238 { (case "(($ac_try" in
27239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27240 *) ac_try_echo=$ac_try;;
27242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27243 (eval "$ac_try") 2>&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); }; } &&
27247 { ac_try='test -s conftest$ac_exeext'
27248 { (case "(($ac_try" in
27249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27250 *) ac_try_echo
=$ac_try;;
27252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27253 (eval "$ac_try") 2>&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); }; }; then
27257 ac_cv_lib_imagehlp_main
=yes
27259 echo "$as_me: failed program was:" >&5
27260 sed 's/^/| /' conftest.
$ac_ext >&5
27262 ac_cv_lib_imagehlp_main
=no
27265 rm -f core conftest.err conftest.
$ac_objext \
27266 conftest
$ac_exeext conftest.
$ac_ext
27267 LIBS
=$ac_check_lib_save_LIBS
27269 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27270 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27271 if test $ac_cv_lib_imagehlp_main = yes; then
27272 cat >>confdefs.h
<<_ACEOF
27273 #define HAVE_LIBIMAGEHLP 1
27276 LIBS
="-limagehlp $LIBS"
27281 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27282 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27283 if test "${ac_cv_lib_psapi_main+set}" = set; then
27284 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 ac_check_lib_save_LIBS
=$LIBS
27287 LIBS
="-lpsapi $LIBS"
27288 cat >conftest.
$ac_ext <<_ACEOF
27291 cat confdefs.h
>>conftest.
$ac_ext
27292 cat >>conftest.
$ac_ext <<_ACEOF
27293 /* end confdefs.h. */
27304 rm -f conftest.
$ac_objext conftest
$ac_exeext
27305 if { (ac_try
="$ac_link"
27306 case "(($ac_try" in
27307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27308 *) ac_try_echo=$ac_try;;
27310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27311 (eval "$ac_link") 2>conftest.er1
27313 grep -v '^ *+' conftest.er1 >conftest.err
27315 cat conftest.err >&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); } &&
27318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27319 { (case "(($ac_try" in
27320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27321 *) ac_try_echo
=$ac_try;;
27323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27324 (eval "$ac_try") 2>&5
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); }; } &&
27328 { ac_try
='test -s conftest$ac_exeext'
27329 { (case "(($ac_try" in
27330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27331 *) ac_try_echo=$ac_try;;
27333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27334 (eval "$ac_try") 2>&5
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; }; then
27338 ac_cv_lib_psapi_main=yes
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27343 ac_cv_lib_psapi_main=no
27346 rm -f core conftest.err conftest.$ac_objext \
27347 conftest$ac_exeext conftest.$ac_ext
27348 LIBS=$ac_check_lib_save_LIBS
27350 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27351 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27352 if test $ac_cv_lib_psapi_main = yes; then
27353 cat >>confdefs.h <<_ACEOF
27354 #define HAVE_LIBPSAPI 1
27357 LIBS="-lpsapi $LIBS"
27363 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27364 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27365 if test "${ac_cv_search_dlopen+set}" = set; then
27366 echo $ECHO_N "(cached) $ECHO_C" >&6
27368 ac_func_search_save_LIBS=$LIBS
27369 cat >conftest.$ac_ext <<_ACEOF
27372 cat confdefs.h >>conftest.$ac_ext
27373 cat >>conftest.$ac_ext <<_ACEOF
27374 /* end confdefs.h. */
27376 /* Override any GCC internal prototype to avoid an error.
27377 Use char because int might match the return type of a GCC
27378 builtin and then its argument prototype would still apply. */
27391 for ac_lib in '' dl; do
27392 if test -z "$ac_lib"; then
27393 ac_res="none required"
27396 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27398 rm -f conftest.$ac_objext conftest$ac_exeext
27399 if { (ac_try="$ac_link"
27400 case "(($ac_try" in
27401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27402 *) ac_try_echo
=$ac_try;;
27404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27405 (eval "$ac_link") 2>conftest.er1
27407 grep -v '^ *+' conftest.er1
>conftest.err
27409 cat conftest.err
>&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); } &&
27412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27413 { (case "(($ac_try" in
27414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27415 *) ac_try_echo=$ac_try;;
27417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27418 (eval "$ac_try") 2>&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; } &&
27422 { ac_try='test -s conftest$ac_exeext'
27423 { (case "(($ac_try" in
27424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27425 *) ac_try_echo
=$ac_try;;
27427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27428 (eval "$ac_try") 2>&5
27430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27431 (exit $ac_status); }; }; then
27432 ac_cv_search_dlopen
=$ac_res
27434 echo "$as_me: failed program was:" >&5
27435 sed 's/^/| /' conftest.
$ac_ext >&5
27440 rm -f core conftest.err conftest.
$ac_objext \
27442 if test "${ac_cv_search_dlopen+set}" = set; then
27446 if test "${ac_cv_search_dlopen+set}" = set; then
27449 ac_cv_search_dlopen
=no
27451 rm conftest.
$ac_ext
27452 LIBS
=$ac_func_search_save_LIBS
27454 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27455 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27456 ac_res
=$ac_cv_search_dlopen
27457 if test "$ac_res" != no
; then
27458 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27460 cat >>confdefs.h
<<\_ACEOF
27461 #define HAVE_DLOPEN 1
27465 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27466 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27470 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
27471 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
27472 if test "${ac_cv_search_ffi_call+set}" = set; then
27473 echo $ECHO_N "(cached) $ECHO_C" >&6
27475 ac_func_search_save_LIBS
=$LIBS
27476 cat >conftest.
$ac_ext <<_ACEOF
27479 cat confdefs.h
>>conftest.
$ac_ext
27480 cat >>conftest.
$ac_ext <<_ACEOF
27481 /* end confdefs.h. */
27483 /* Override any GCC internal prototype to avoid an error.
27484 Use char because int might match the return type of a GCC
27485 builtin and then its argument prototype would still apply. */
27493 return ffi_call ();
27498 for ac_lib
in '' ffi
; do
27499 if test -z "$ac_lib"; then
27500 ac_res
="none required"
27503 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27505 rm -f conftest.
$ac_objext conftest
$ac_exeext
27506 if { (ac_try
="$ac_link"
27507 case "(($ac_try" in
27508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27509 *) ac_try_echo=$ac_try;;
27511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27512 (eval "$ac_link") 2>conftest.er1
27514 grep -v '^ *+' conftest.er1 >conftest.err
27516 cat conftest.err >&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } &&
27519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27520 { (case "(($ac_try" in
27521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27522 *) ac_try_echo
=$ac_try;;
27524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27525 (eval "$ac_try") 2>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; } &&
27529 { ac_try
='test -s conftest$ac_exeext'
27530 { (case "(($ac_try" in
27531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27532 *) ac_try_echo=$ac_try;;
27534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27535 (eval "$ac_try") 2>&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; }; then
27539 ac_cv_search_ffi_call=$ac_res
27541 echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.$ac_ext >&5
27547 rm -f core conftest.err conftest.$ac_objext \
27549 if test "${ac_cv_search_ffi_call+set}" = set; then
27553 if test "${ac_cv_search_ffi_call+set}" = set; then
27556 ac_cv_search_ffi_call=no
27558 rm conftest.$ac_ext
27559 LIBS=$ac_func_search_save_LIBS
27561 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
27562 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
27563 ac_res=$ac_cv_search_ffi_call
27564 if test "$ac_res" != no; then
27565 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27567 cat >>confdefs.h <<\_ACEOF
27568 #define HAVE_FFI_CALL 1
27572 { echo "$as_me:$LINENO: WARNING: libffi not found - disabling external calls from interpreter" >&5
27573 echo "$as_me: WARNING: libffi not found - disabling external calls from interpreter" >&2;}
27577 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27578 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27579 if test "${ac_cv_search_mallinfo+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 ac_func_search_save_LIBS=$LIBS
27583 cat >conftest.$ac_ext <<_ACEOF
27586 cat confdefs.h >>conftest.$ac_ext
27587 cat >>conftest.$ac_ext <<_ACEOF
27588 /* end confdefs.h. */
27590 /* Override any GCC internal prototype to avoid an error.
27591 Use char because int might match the return type of a GCC
27592 builtin and then its argument prototype would still apply. */
27600 return mallinfo ();
27605 for ac_lib in '' malloc; do
27606 if test -z "$ac_lib"; then
27607 ac_res="none required"
27610 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27612 rm -f conftest.$ac_objext conftest$ac_exeext
27613 if { (ac_try="$ac_link"
27614 case "(($ac_try" in
27615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27616 *) ac_try_echo
=$ac_try;;
27618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27619 (eval "$ac_link") 2>conftest.er1
27621 grep -v '^ *+' conftest.er1
>conftest.err
27623 cat conftest.err
>&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } &&
27626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27627 { (case "(($ac_try" in
27628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27629 *) ac_try_echo=$ac_try;;
27631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27632 (eval "$ac_try") 2>&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); }; } &&
27636 { ac_try='test -s conftest$ac_exeext'
27637 { (case "(($ac_try" in
27638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27639 *) ac_try_echo
=$ac_try;;
27641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27642 (eval "$ac_try") 2>&5
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); }; }; then
27646 ac_cv_search_mallinfo
=$ac_res
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.
$ac_ext >&5
27654 rm -f core conftest.err conftest.
$ac_objext \
27656 if test "${ac_cv_search_mallinfo+set}" = set; then
27660 if test "${ac_cv_search_mallinfo+set}" = set; then
27663 ac_cv_search_mallinfo
=no
27665 rm conftest.
$ac_ext
27666 LIBS
=$ac_func_search_save_LIBS
27668 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27669 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27670 ac_res
=$ac_cv_search_mallinfo
27671 if test "$ac_res" != no
; then
27672 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27674 cat >>confdefs.h
<<\_ACEOF
27675 #define HAVE_MALLINFO 1
27681 if test "$ENABLE_THREADS" -eq 1 ; then
27683 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27684 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27685 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27686 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 ac_check_lib_save_LIBS
=$LIBS
27689 LIBS
="-lpthread $LIBS"
27690 cat >conftest.
$ac_ext <<_ACEOF
27693 cat confdefs.h
>>conftest.
$ac_ext
27694 cat >>conftest.
$ac_ext <<_ACEOF
27695 /* end confdefs.h. */
27697 /* Override any GCC internal prototype to avoid an error.
27698 Use char because int might match the return type of a GCC
27699 builtin and then its argument prototype would still apply. */
27703 char pthread_mutex_init ();
27707 return pthread_mutex_init ();
27712 rm -f conftest.
$ac_objext conftest
$ac_exeext
27713 if { (ac_try
="$ac_link"
27714 case "(($ac_try" in
27715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27716 *) ac_try_echo=$ac_try;;
27718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27719 (eval "$ac_link") 2>conftest.er1
27721 grep -v '^ *+' conftest.er1 >conftest.err
27723 cat conftest.err >&5
27724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725 (exit $ac_status); } &&
27726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27727 { (case "(($ac_try" in
27728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27729 *) ac_try_echo
=$ac_try;;
27731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27732 (eval "$ac_try") 2>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; } &&
27736 { ac_try
='test -s conftest$ac_exeext'
27737 { (case "(($ac_try" in
27738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27739 *) ac_try_echo=$ac_try;;
27741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27742 (eval "$ac_try") 2>&5
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); }; }; then
27746 ac_cv_lib_pthread_pthread_mutex_init=yes
27748 echo "$as_me: failed program was:" >&5
27749 sed 's/^/| /' conftest.$ac_ext >&5
27751 ac_cv_lib_pthread_pthread_mutex_init=no
27754 rm -f core conftest.err conftest.$ac_objext \
27755 conftest$ac_exeext conftest.$ac_ext
27756 LIBS=$ac_check_lib_save_LIBS
27758 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27759 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27760 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27761 cat >>confdefs.h <<_ACEOF
27762 #define HAVE_LIBPTHREAD 1
27765 LIBS="-lpthread $LIBS"
27769 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27770 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27771 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27772 echo $ECHO_N "(cached) $ECHO_C" >&6
27774 ac_func_search_save_LIBS=$LIBS
27775 cat >conftest.$ac_ext <<_ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27782 /* Override any GCC internal prototype to avoid an error.
27783 Use char because int might match the return type of a GCC
27784 builtin and then its argument prototype would still apply. */
27788 char pthread_mutex_lock ();
27792 return pthread_mutex_lock ();
27797 for ac_lib in '' pthread; do
27798 if test -z "$ac_lib"; then
27799 ac_res="none required"
27802 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27804 rm -f conftest.$ac_objext conftest$ac_exeext
27805 if { (ac_try="$ac_link"
27806 case "(($ac_try" in
27807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27808 *) ac_try_echo
=$ac_try;;
27810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27811 (eval "$ac_link") 2>conftest.er1
27813 grep -v '^ *+' conftest.er1
>conftest.err
27815 cat conftest.err
>&5
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); } &&
27818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27819 { (case "(($ac_try" in
27820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27821 *) ac_try_echo=$ac_try;;
27823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27824 (eval "$ac_try") 2>&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); }; } &&
27828 { ac_try='test -s conftest$ac_exeext'
27829 { (case "(($ac_try" in
27830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27831 *) ac_try_echo
=$ac_try;;
27833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27834 (eval "$ac_try") 2>&5
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); }; }; then
27838 ac_cv_search_pthread_mutex_lock
=$ac_res
27840 echo "$as_me: failed program was:" >&5
27841 sed 's/^/| /' conftest.
$ac_ext >&5
27846 rm -f core conftest.err conftest.
$ac_objext \
27848 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27852 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27855 ac_cv_search_pthread_mutex_lock
=no
27857 rm conftest.
$ac_ext
27858 LIBS
=$ac_func_search_save_LIBS
27860 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27861 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27862 ac_res
=$ac_cv_search_pthread_mutex_lock
27863 if test "$ac_res" != no
; then
27864 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27866 cat >>confdefs.h
<<\_ACEOF
27867 #define HAVE_PTHREAD_MUTEX_LOCK 1
27875 # Check whether --with-udis86 was given.
27876 if test "${with_udis86+set}" = set; then
27877 withval
=$with_udis86;
27882 *) LDFLAGS
="$LDFLAGS -L${withval}" ;;
27885 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27886 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27887 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27888 echo $ECHO_N "(cached) $ECHO_C" >&6
27890 ac_check_lib_save_LIBS
=$LIBS
27891 LIBS
="-ludis86 $LIBS"
27892 cat >conftest.
$ac_ext <<_ACEOF
27895 cat confdefs.h
>>conftest.
$ac_ext
27896 cat >>conftest.
$ac_ext <<_ACEOF
27897 /* end confdefs.h. */
27899 /* Override any GCC internal prototype to avoid an error.
27900 Use char because int might match the return type of a GCC
27901 builtin and then its argument prototype would still apply. */
27914 rm -f conftest.
$ac_objext conftest
$ac_exeext
27915 if { (ac_try
="$ac_link"
27916 case "(($ac_try" in
27917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27918 *) ac_try_echo=$ac_try;;
27920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27921 (eval "$ac_link") 2>conftest.er1
27923 grep -v '^ *+' conftest.er1 >conftest.err
27925 cat conftest.err >&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); } &&
27928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27929 { (case "(($ac_try" in
27930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27931 *) ac_try_echo
=$ac_try;;
27933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27934 (eval "$ac_try") 2>&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); }; } &&
27938 { ac_try
='test -s conftest$ac_exeext'
27939 { (case "(($ac_try" in
27940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27941 *) ac_try_echo=$ac_try;;
27943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27944 (eval "$ac_try") 2>&5
27946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947 (exit $ac_status); }; }; then
27948 ac_cv_lib_udis86_ud_init=yes
27950 echo "$as_me: failed program was:" >&5
27951 sed 's/^/| /' conftest.$ac_ext >&5
27953 ac_cv_lib_udis86_ud_init=no
27956 rm -f core conftest.err conftest.$ac_objext \
27957 conftest$ac_exeext conftest.$ac_ext
27958 LIBS=$ac_check_lib_save_LIBS
27960 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27961 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27962 if test $ac_cv_lib_udis86_ud_init = yes; then
27963 cat >>confdefs.h <<_ACEOF
27964 #define HAVE_LIBUDIS86 1
27967 LIBS="-ludis86 $LIBS"
27971 echo "Error! You need to have libudis86 around."
27983 cat >>confdefs.h <<_ACEOF
27984 #define USE_UDIS86 $USE_UDIS86
27994 ac_header_dirent=no
27995 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
27996 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
27997 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
27998 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
27999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28000 echo $ECHO_N "(cached) $ECHO_C" >&6
28002 cat >conftest.$ac_ext <<_ACEOF
28005 cat confdefs.h >>conftest.$ac_ext
28006 cat >>conftest.$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008 #include <sys/types.h>
28020 rm -f conftest.$ac_objext
28021 if { (ac_try="$ac_compile"
28022 case "(($ac_try" in
28023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28024 *) ac_try_echo
=$ac_try;;
28026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28027 (eval "$ac_compile") 2>conftest.er1
28029 grep -v '^ *+' conftest.er1
>conftest.err
28031 cat conftest.err
>&5
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); } &&
28034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28035 { (case "(($ac_try" in
28036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28037 *) ac_try_echo=$ac_try;;
28039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28040 (eval "$ac_try") 2>&5
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); }; } &&
28044 { ac_try='test -s conftest.$ac_objext'
28045 { (case "(($ac_try" in
28046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28047 *) ac_try_echo
=$ac_try;;
28049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28050 (eval "$ac_try") 2>&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; }; then
28054 eval "$as_ac_Header=yes"
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.
$ac_ext >&5
28059 eval "$as_ac_Header=no"
28062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28064 ac_res
=`eval echo '${'$as_ac_Header'}'`
28065 { echo "$as_me:$LINENO: result: $ac_res" >&5
28066 echo "${ECHO_T}$ac_res" >&6; }
28067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28068 cat >>confdefs.h
<<_ACEOF
28069 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
28072 ac_header_dirent
=$ac_hdr; break
28076 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
28077 if test $ac_header_dirent = dirent.h
; then
28078 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28079 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28080 if test "${ac_cv_search_opendir+set}" = set; then
28081 echo $ECHO_N "(cached) $ECHO_C" >&6
28083 ac_func_search_save_LIBS
=$LIBS
28084 cat >conftest.
$ac_ext <<_ACEOF
28087 cat confdefs.h
>>conftest.
$ac_ext
28088 cat >>conftest.
$ac_ext <<_ACEOF
28089 /* end confdefs.h. */
28091 /* Override any GCC internal prototype to avoid an error.
28092 Use char because int might match the return type of a GCC
28093 builtin and then its argument prototype would still apply. */
28106 for ac_lib
in '' dir
; do
28107 if test -z "$ac_lib"; then
28108 ac_res
="none required"
28111 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28113 rm -f conftest.
$ac_objext conftest
$ac_exeext
28114 if { (ac_try
="$ac_link"
28115 case "(($ac_try" in
28116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28117 *) ac_try_echo=$ac_try;;
28119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28120 (eval "$ac_link") 2>conftest.er1
28122 grep -v '^ *+' conftest.er1 >conftest.err
28124 cat conftest.err >&5
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); } &&
28127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28128 { (case "(($ac_try" in
28129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28130 *) ac_try_echo
=$ac_try;;
28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133 (eval "$ac_try") 2>&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; } &&
28137 { ac_try
='test -s conftest$ac_exeext'
28138 { (case "(($ac_try" in
28139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28140 *) ac_try_echo=$ac_try;;
28142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28143 (eval "$ac_try") 2>&5
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); }; }; then
28147 ac_cv_search_opendir=$ac_res
28149 echo "$as_me: failed program was:" >&5
28150 sed 's/^/| /' conftest.$ac_ext >&5
28155 rm -f core conftest.err conftest.$ac_objext \
28157 if test "${ac_cv_search_opendir+set}" = set; then
28161 if test "${ac_cv_search_opendir+set}" = set; then
28164 ac_cv_search_opendir=no
28166 rm conftest.$ac_ext
28167 LIBS=$ac_func_search_save_LIBS
28169 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28170 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28171 ac_res=$ac_cv_search_opendir
28172 if test "$ac_res" != no; then
28173 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28178 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28179 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28180 if test "${ac_cv_search_opendir+set}" = set; then
28181 echo $ECHO_N "(cached) $ECHO_C" >&6
28183 ac_func_search_save_LIBS=$LIBS
28184 cat >conftest.$ac_ext <<_ACEOF
28187 cat confdefs.h >>conftest.$ac_ext
28188 cat >>conftest.$ac_ext <<_ACEOF
28189 /* end confdefs.h. */
28191 /* Override any GCC internal prototype to avoid an error.
28192 Use char because int might match the return type of a GCC
28193 builtin and then its argument prototype would still apply. */
28206 for ac_lib in '' x; do
28207 if test -z "$ac_lib"; then
28208 ac_res="none required"
28211 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28213 rm -f conftest.$ac_objext conftest$ac_exeext
28214 if { (ac_try="$ac_link"
28215 case "(($ac_try" in
28216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28217 *) ac_try_echo
=$ac_try;;
28219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28220 (eval "$ac_link") 2>conftest.er1
28222 grep -v '^ *+' conftest.er1
>conftest.err
28224 cat conftest.err
>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } &&
28227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28228 { (case "(($ac_try" in
28229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28230 *) ac_try_echo=$ac_try;;
28232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28233 (eval "$ac_try") 2>&5
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; } &&
28237 { ac_try='test -s conftest$ac_exeext'
28238 { (case "(($ac_try" in
28239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28240 *) ac_try_echo
=$ac_try;;
28242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28243 (eval "$ac_try") 2>&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); }; }; then
28247 ac_cv_search_opendir
=$ac_res
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.
$ac_ext >&5
28255 rm -f core conftest.err conftest.
$ac_objext \
28257 if test "${ac_cv_search_opendir+set}" = set; then
28261 if test "${ac_cv_search_opendir+set}" = set; then
28264 ac_cv_search_opendir
=no
28266 rm conftest.
$ac_ext
28267 LIBS
=$ac_func_search_save_LIBS
28269 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28270 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28271 ac_res
=$ac_cv_search_opendir
28272 if test "$ac_res" != no
; then
28273 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28279 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28280 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28281 if test "${ac_cv_header_mmap_anon+set}" = set; then
28282 echo $ECHO_N "(cached) $ECHO_C" >&6
28285 ac_cpp
='$CPP $CPPFLAGS'
28286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28290 cat >conftest.
$ac_ext <<_ACEOF
28293 cat confdefs.h
>>conftest.
$ac_ext
28294 cat >>conftest.
$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28296 #include <sys/mman.h>
28297 #include <unistd.h>
28302 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28307 rm -f conftest.
$ac_objext
28308 if { (ac_try
="$ac_compile"
28309 case "(($ac_try" in
28310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28311 *) ac_try_echo=$ac_try;;
28313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28314 (eval "$ac_compile") 2>conftest.er1
28316 grep -v '^ *+' conftest.er1 >conftest.err
28318 cat conftest.err >&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); } &&
28321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28322 { (case "(($ac_try" in
28323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28324 *) ac_try_echo
=$ac_try;;
28326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28327 (eval "$ac_try") 2>&5
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); }; } &&
28331 { ac_try
='test -s conftest.$ac_objext'
28332 { (case "(($ac_try" in
28333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28334 *) ac_try_echo=$ac_try;;
28336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28337 (eval "$ac_try") 2>&5
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); }; }; then
28341 ac_cv_header_mmap_anon=yes
28343 echo "$as_me: failed program was:" >&5
28344 sed 's/^/| /' conftest.$ac_ext >&5
28346 ac_cv_header_mmap_anon=no
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28358 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28359 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28360 if test "$ac_cv_header_mmap_anon" = yes; then
28362 cat >>confdefs.h <<\_ACEOF
28363 #define HAVE_MMAP_ANONYMOUS 1
28368 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28369 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28370 if test "${ac_cv_header_stat_broken+set}" = set; then
28371 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 cat >conftest.$ac_ext <<_ACEOF
28376 cat confdefs.h >>conftest.$ac_ext
28377 cat >>conftest.$ac_ext <<_ACEOF
28378 /* end confdefs.h. */
28379 #include <sys/types.h>
28380 #include <sys/stat.h>
28382 #if defined S_ISBLK && defined S_IFDIR
28383 # if S_ISBLK (S_IFDIR)
28388 #if defined S_ISBLK && defined S_IFCHR
28389 # if S_ISBLK (S_IFCHR)
28394 #if defined S_ISLNK && defined S_IFREG
28395 # if S_ISLNK (S_IFREG)
28400 #if defined S_ISSOCK && defined S_IFREG
28401 # if S_ISSOCK (S_IFREG)
28407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28408 $EGREP "You lose" >/dev/null 2>&1; then
28409 ac_cv_header_stat_broken=yes
28411 ac_cv_header_stat_broken=no
28416 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28417 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28418 if test $ac_cv_header_stat_broken = yes; then
28420 cat >>confdefs.h <<\_ACEOF
28421 #define STAT_MACROS_BROKEN 1
28426 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28427 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28428 if test "${ac_cv_header_stdc+set}" = set; then
28429 echo $ECHO_N "(cached) $ECHO_C" >&6
28431 cat >conftest.$ac_ext <<_ACEOF
28434 cat confdefs.h >>conftest.$ac_ext
28435 cat >>conftest.$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28437 #include <stdlib.h>
28438 #include <stdarg.h>
28439 #include <string.h>
28450 rm -f conftest.$ac_objext
28451 if { (ac_try="$ac_compile"
28452 case "(($ac_try" in
28453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28454 *) ac_try_echo
=$ac_try;;
28456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_compile") 2>conftest.er1
28459 grep -v '^ *+' conftest.er1
>conftest.err
28461 cat conftest.err
>&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } &&
28464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28465 { (case "(($ac_try" in
28466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28467 *) ac_try_echo=$ac_try;;
28469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28470 (eval "$ac_try") 2>&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; } &&
28474 { ac_try='test -s conftest.$ac_objext'
28475 { (case "(($ac_try" in
28476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28477 *) ac_try_echo
=$ac_try;;
28479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28480 (eval "$ac_try") 2>&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); }; }; then
28484 ac_cv_header_stdc
=yes
28486 echo "$as_me: failed program was:" >&5
28487 sed 's/^/| /' conftest.
$ac_ext >&5
28489 ac_cv_header_stdc
=no
28492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28494 if test $ac_cv_header_stdc = yes; then
28495 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28496 cat >conftest.
$ac_ext <<_ACEOF
28499 cat confdefs.h
>>conftest.
$ac_ext
28500 cat >>conftest.
$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28502 #include <string.h>
28505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28506 $EGREP "memchr" >/dev
/null
2>&1; then
28509 ac_cv_header_stdc
=no
28515 if test $ac_cv_header_stdc = yes; then
28516 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28517 cat >conftest.
$ac_ext <<_ACEOF
28520 cat confdefs.h
>>conftest.
$ac_ext
28521 cat >>conftest.
$ac_ext <<_ACEOF
28522 /* end confdefs.h. */
28523 #include <stdlib.h>
28526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28527 $EGREP "free" >/dev
/null
2>&1; then
28530 ac_cv_header_stdc
=no
28536 if test $ac_cv_header_stdc = yes; then
28537 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28538 if test "$cross_compiling" = yes; then
28541 cat >conftest.
$ac_ext <<_ACEOF
28544 cat confdefs.h
>>conftest.
$ac_ext
28545 cat >>conftest.
$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28548 #include <stdlib.h>
28549 #if ((' ' & 0x0FF) == 0x020)
28550 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28551 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28553 # define ISLOWER(c) \
28554 (('a' <= (c) && (c) <= 'i') \
28555 || ('j' <= (c) && (c) <= 'r') \
28556 || ('s' <= (c) && (c) <= 'z'))
28557 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28560 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28565 for (i = 0; i < 256; i++)
28566 if (XOR (islower (i), ISLOWER (i))
28567 || toupper (i) != TOUPPER (i))
28572 rm -f conftest
$ac_exeext
28573 if { (ac_try
="$ac_link"
28574 case "(($ac_try" in
28575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28576 *) ac_try_echo=$ac_try;;
28578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28579 (eval "$ac_link") 2>&5
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28583 { (case "(($ac_try" in
28584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28585 *) ac_try_echo
=$ac_try;;
28587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28588 (eval "$ac_try") 2>&5
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); }; }; then
28594 echo "$as_me: program exited with status $ac_status" >&5
28595 echo "$as_me: failed program was:" >&5
28596 sed 's/^/| /' conftest.
$ac_ext >&5
28598 ( exit $ac_status )
28599 ac_cv_header_stdc
=no
28601 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28607 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28608 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28609 if test $ac_cv_header_stdc = yes; then
28611 cat >>confdefs.h
<<\_ACEOF
28612 #define STDC_HEADERS 1
28617 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28618 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28619 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28620 echo $ECHO_N "(cached) $ECHO_C" >&6
28622 cat >conftest.
$ac_ext <<_ACEOF
28625 cat confdefs.h
>>conftest.
$ac_ext
28626 cat >>conftest.
$ac_ext <<_ACEOF
28627 /* end confdefs.h. */
28628 #include <sys/types.h>
28629 #include <sys/wait.h>
28630 #ifndef WEXITSTATUS
28631 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28634 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28642 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28647 rm -f conftest.
$ac_objext
28648 if { (ac_try
="$ac_compile"
28649 case "(($ac_try" in
28650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28651 *) ac_try_echo=$ac_try;;
28653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28654 (eval "$ac_compile") 2>conftest.er1
28656 grep -v '^ *+' conftest.er1 >conftest.err
28658 cat conftest.err >&5
28659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28660 (exit $ac_status); } &&
28661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28662 { (case "(($ac_try" in
28663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28664 *) ac_try_echo
=$ac_try;;
28666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28667 (eval "$ac_try") 2>&5
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; } &&
28671 { ac_try
='test -s conftest.$ac_objext'
28672 { (case "(($ac_try" in
28673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_try") 2>&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); }; }; then
28681 ac_cv_header_sys_wait_h=yes
28683 echo "$as_me: failed program was:" >&5
28684 sed 's/^/| /' conftest.$ac_ext >&5
28686 ac_cv_header_sys_wait_h=no
28689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28691 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28692 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28693 if test $ac_cv_header_sys_wait_h = yes; then
28695 cat >>confdefs.h <<\_ACEOF
28696 #define HAVE_SYS_WAIT_H 1
28701 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28702 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28703 if test "${ac_cv_header_time+set}" = set; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 cat >conftest.$ac_ext <<_ACEOF
28709 cat confdefs.h >>conftest.$ac_ext
28710 cat >>conftest.$ac_ext <<_ACEOF
28711 /* end confdefs.h. */
28712 #include <sys/types.h>
28713 #include <sys/time.h>
28719 if ((struct tm *) 0)
28725 rm -f conftest.$ac_objext
28726 if { (ac_try="$ac_compile"
28727 case "(($ac_try" in
28728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28729 *) ac_try_echo
=$ac_try;;
28731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28732 (eval "$ac_compile") 2>conftest.er1
28734 grep -v '^ *+' conftest.er1
>conftest.err
28736 cat conftest.err
>&5
28737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28738 (exit $ac_status); } &&
28739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28740 { (case "(($ac_try" in
28741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28742 *) ac_try_echo=$ac_try;;
28744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28745 (eval "$ac_try") 2>&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; } &&
28749 { ac_try='test -s conftest.$ac_objext'
28750 { (case "(($ac_try" in
28751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28752 *) ac_try_echo
=$ac_try;;
28754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28755 (eval "$ac_try") 2>&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); }; }; then
28759 ac_cv_header_time
=yes
28761 echo "$as_me: failed program was:" >&5
28762 sed 's/^/| /' conftest.
$ac_ext >&5
28764 ac_cv_header_time
=no
28767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28769 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28770 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28771 if test $ac_cv_header_time = yes; then
28773 cat >>confdefs.h
<<\_ACEOF
28774 #define TIME_WITH_SYS_TIME 1
28786 for ac_header
in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28789 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28792 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28793 echo $ECHO_N "(cached) $ECHO_C" >&6
28795 ac_res
=`eval echo '${'$as_ac_Header'}'`
28796 { echo "$as_me:$LINENO: result: $ac_res" >&5
28797 echo "${ECHO_T}$ac_res" >&6; }
28799 # Is the header compilable?
28800 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28802 cat >conftest.
$ac_ext <<_ACEOF
28805 cat confdefs.h
>>conftest.
$ac_ext
28806 cat >>conftest.
$ac_ext <<_ACEOF
28807 /* end confdefs.h. */
28808 $ac_includes_default
28809 #include <$ac_header>
28811 rm -f conftest.
$ac_objext
28812 if { (ac_try
="$ac_compile"
28813 case "(($ac_try" in
28814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28815 *) ac_try_echo=$ac_try;;
28817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28818 (eval "$ac_compile") 2>conftest.er1
28820 grep -v '^ *+' conftest.er1 >conftest.err
28822 cat conftest.err >&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } &&
28825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28826 { (case "(($ac_try" in
28827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28828 *) ac_try_echo
=$ac_try;;
28830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28831 (eval "$ac_try") 2>&5
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); }; } &&
28835 { ac_try
='test -s conftest.$ac_objext'
28836 { (case "(($ac_try" in
28837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28838 *) ac_try_echo=$ac_try;;
28840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28841 (eval "$ac_try") 2>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); }; }; then
28845 ac_header_compiler=yes
28847 echo "$as_me: failed program was:" >&5
28848 sed 's/^/| /' conftest.$ac_ext >&5
28850 ac_header_compiler=no
28853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28854 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28855 echo "${ECHO_T}$ac_header_compiler" >&6; }
28857 # Is the header present?
28858 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28860 cat >conftest.$ac_ext <<_ACEOF
28863 cat confdefs.h >>conftest.$ac_ext
28864 cat >>conftest.$ac_ext <<_ACEOF
28865 /* end confdefs.h. */
28866 #include <$ac_header>
28868 if { (ac_try="$ac_cpp conftest.$ac_ext"
28869 case "(($ac_try" in
28870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28871 *) ac_try_echo
=$ac_try;;
28873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28876 grep -v '^ *+' conftest.er1
>conftest.err
28878 cat conftest.err
>&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); } >/dev
/null
; then
28881 if test -s conftest.err
; then
28882 ac_cpp_err
=$ac_c_preproc_warn_flag
28883 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28890 if test -z "$ac_cpp_err"; then
28891 ac_header_preproc
=yes
28893 echo "$as_me: failed program was:" >&5
28894 sed 's/^/| /' conftest.
$ac_ext >&5
28896 ac_header_preproc
=no
28899 rm -f conftest.err conftest.
$ac_ext
28900 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28901 echo "${ECHO_T}$ac_header_preproc" >&6; }
28903 # So? What about this header?
28904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28910 ac_header_preproc
=yes
28913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28926 ## ----------------------------------- ##
28927 ## Report this to llvmbugs@cs.uiuc.edu ##
28928 ## ----------------------------------- ##
28930 ) |
sed "s/^/$as_me: WARNING: /" >&2
28933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28935 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28936 echo $ECHO_N "(cached) $ECHO_C" >&6
28938 eval "$as_ac_Header=\$ac_header_preproc"
28940 ac_res
=`eval echo '${'$as_ac_Header'}'`
28941 { echo "$as_me:$LINENO: result: $ac_res" >&5
28942 echo "${ECHO_T}$ac_res" >&6; }
28945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28946 cat >>confdefs.h
<<_ACEOF
28947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28960 for ac_header
in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28962 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28963 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28966 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28967 echo $ECHO_N "(cached) $ECHO_C" >&6
28969 ac_res
=`eval echo '${'$as_ac_Header'}'`
28970 { echo "$as_me:$LINENO: result: $ac_res" >&5
28971 echo "${ECHO_T}$ac_res" >&6; }
28973 # Is the header compilable?
28974 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28976 cat >conftest.
$ac_ext <<_ACEOF
28979 cat confdefs.h
>>conftest.
$ac_ext
28980 cat >>conftest.
$ac_ext <<_ACEOF
28981 /* end confdefs.h. */
28982 $ac_includes_default
28983 #include <$ac_header>
28985 rm -f conftest.
$ac_objext
28986 if { (ac_try
="$ac_compile"
28987 case "(($ac_try" in
28988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28989 *) ac_try_echo=$ac_try;;
28991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28992 (eval "$ac_compile") 2>conftest.er1
28994 grep -v '^ *+' conftest.er1 >conftest.err
28996 cat conftest.err >&5
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); } &&
28999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29000 { (case "(($ac_try" in
29001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29002 *) ac_try_echo
=$ac_try;;
29004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29005 (eval "$ac_try") 2>&5
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); }; } &&
29009 { ac_try
='test -s conftest.$ac_objext'
29010 { (case "(($ac_try" in
29011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29012 *) ac_try_echo=$ac_try;;
29014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29015 (eval "$ac_try") 2>&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); }; }; then
29019 ac_header_compiler=yes
29021 echo "$as_me: failed program was:" >&5
29022 sed 's/^/| /' conftest.$ac_ext >&5
29024 ac_header_compiler=no
29027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29028 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29029 echo "${ECHO_T}$ac_header_compiler" >&6; }
29031 # Is the header present?
29032 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29034 cat >conftest.$ac_ext <<_ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29040 #include <$ac_header>
29042 if { (ac_try="$ac_cpp conftest.$ac_ext"
29043 case "(($ac_try" in
29044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29045 *) ac_try_echo
=$ac_try;;
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29050 grep -v '^ *+' conftest.er1
>conftest.err
29052 cat conftest.err
>&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } >/dev
/null
; then
29055 if test -s conftest.err
; then
29056 ac_cpp_err
=$ac_c_preproc_warn_flag
29057 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29064 if test -z "$ac_cpp_err"; then
29065 ac_header_preproc
=yes
29067 echo "$as_me: failed program was:" >&5
29068 sed 's/^/| /' conftest.
$ac_ext >&5
29070 ac_header_preproc
=no
29073 rm -f conftest.err conftest.
$ac_ext
29074 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29075 echo "${ECHO_T}$ac_header_preproc" >&6; }
29077 # So? What about this header?
29078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29083 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29084 ac_header_preproc
=yes
29087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29091 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29092 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29093 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29094 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29097 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29098 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29100 ## ----------------------------------- ##
29101 ## Report this to llvmbugs@cs.uiuc.edu ##
29102 ## ----------------------------------- ##
29104 ) |
sed "s/^/$as_me: WARNING: /" >&2
29107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29109 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29110 echo $ECHO_N "(cached) $ECHO_C" >&6
29112 eval "$as_ac_Header=\$ac_header_preproc"
29114 ac_res
=`eval echo '${'$as_ac_Header'}'`
29115 { echo "$as_me:$LINENO: result: $ac_res" >&5
29116 echo "${ECHO_T}$ac_res" >&6; }
29119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29120 cat >>confdefs.h
<<_ACEOF
29121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29129 for ac_header
in windows.h
29131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29132 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29135 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29136 echo $ECHO_N "(cached) $ECHO_C" >&6
29138 ac_res
=`eval echo '${'$as_ac_Header'}'`
29139 { echo "$as_me:$LINENO: result: $ac_res" >&5
29140 echo "${ECHO_T}$ac_res" >&6; }
29142 # Is the header compilable?
29143 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29145 cat >conftest.
$ac_ext <<_ACEOF
29148 cat confdefs.h
>>conftest.
$ac_ext
29149 cat >>conftest.
$ac_ext <<_ACEOF
29150 /* end confdefs.h. */
29151 $ac_includes_default
29152 #include <$ac_header>
29154 rm -f conftest.
$ac_objext
29155 if { (ac_try
="$ac_compile"
29156 case "(($ac_try" in
29157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29158 *) ac_try_echo=$ac_try;;
29160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29161 (eval "$ac_compile") 2>conftest.er1
29163 grep -v '^ *+' conftest.er1 >conftest.err
29165 cat conftest.err >&5
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); } &&
29168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29169 { (case "(($ac_try" in
29170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29171 *) ac_try_echo
=$ac_try;;
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_try") 2>&5
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); }; } &&
29178 { ac_try
='test -s conftest.$ac_objext'
29179 { (case "(($ac_try" in
29180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29181 *) ac_try_echo=$ac_try;;
29183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29184 (eval "$ac_try") 2>&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); }; }; then
29188 ac_header_compiler=yes
29190 echo "$as_me: failed program was:" >&5
29191 sed 's/^/| /' conftest.$ac_ext >&5
29193 ac_header_compiler=no
29196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29197 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29198 echo "${ECHO_T}$ac_header_compiler" >&6; }
29200 # Is the header present?
29201 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29203 cat >conftest.$ac_ext <<_ACEOF
29206 cat confdefs.h >>conftest.$ac_ext
29207 cat >>conftest.$ac_ext <<_ACEOF
29208 /* end confdefs.h. */
29209 #include <$ac_header>
29211 if { (ac_try="$ac_cpp conftest.$ac_ext"
29212 case "(($ac_try" in
29213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29214 *) ac_try_echo
=$ac_try;;
29216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29219 grep -v '^ *+' conftest.er1
>conftest.err
29221 cat conftest.err
>&5
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); } >/dev
/null
; then
29224 if test -s conftest.err
; then
29225 ac_cpp_err
=$ac_c_preproc_warn_flag
29226 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29233 if test -z "$ac_cpp_err"; then
29234 ac_header_preproc
=yes
29236 echo "$as_me: failed program was:" >&5
29237 sed 's/^/| /' conftest.
$ac_ext >&5
29239 ac_header_preproc
=no
29242 rm -f conftest.err conftest.
$ac_ext
29243 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29244 echo "${ECHO_T}$ac_header_preproc" >&6; }
29246 # So? What about this header?
29247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29253 ac_header_preproc
=yes
29256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29269 ## ----------------------------------- ##
29270 ## Report this to llvmbugs@cs.uiuc.edu ##
29271 ## ----------------------------------- ##
29273 ) |
sed "s/^/$as_me: WARNING: /" >&2
29276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29278 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29279 echo $ECHO_N "(cached) $ECHO_C" >&6
29281 eval "$as_ac_Header=\$ac_header_preproc"
29283 ac_res
=`eval echo '${'$as_ac_Header'}'`
29284 { echo "$as_me:$LINENO: result: $ac_res" >&5
29285 echo "${ECHO_T}$ac_res" >&6; }
29288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29289 cat >>confdefs.h
<<_ACEOF
29290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29301 for ac_header
in sys
/mman.h sys
/param.h sys
/resource.h sys
/time.h
29303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29304 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29307 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29308 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 ac_res
=`eval echo '${'$as_ac_Header'}'`
29311 { echo "$as_me:$LINENO: result: $ac_res" >&5
29312 echo "${ECHO_T}$ac_res" >&6; }
29314 # Is the header compilable?
29315 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29317 cat >conftest.
$ac_ext <<_ACEOF
29320 cat confdefs.h
>>conftest.
$ac_ext
29321 cat >>conftest.
$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29323 $ac_includes_default
29324 #include <$ac_header>
29326 rm -f conftest.
$ac_objext
29327 if { (ac_try
="$ac_compile"
29328 case "(($ac_try" in
29329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29330 *) ac_try_echo=$ac_try;;
29332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29333 (eval "$ac_compile") 2>conftest.er1
29335 grep -v '^ *+' conftest.er1 >conftest.err
29337 cat conftest.err >&5
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); } &&
29340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29341 { (case "(($ac_try" in
29342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29343 *) ac_try_echo
=$ac_try;;
29345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29346 (eval "$ac_try") 2>&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); }; } &&
29350 { ac_try
='test -s conftest.$ac_objext'
29351 { (case "(($ac_try" in
29352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29353 *) ac_try_echo=$ac_try;;
29355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29356 (eval "$ac_try") 2>&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; }; then
29360 ac_header_compiler=yes
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.$ac_ext >&5
29365 ac_header_compiler=no
29368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29369 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29370 echo "${ECHO_T}$ac_header_compiler" >&6; }
29372 # Is the header present?
29373 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29375 cat >conftest.$ac_ext <<_ACEOF
29378 cat confdefs.h >>conftest.$ac_ext
29379 cat >>conftest.$ac_ext <<_ACEOF
29380 /* end confdefs.h. */
29381 #include <$ac_header>
29383 if { (ac_try="$ac_cpp conftest.$ac_ext"
29384 case "(($ac_try" in
29385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29386 *) ac_try_echo
=$ac_try;;
29388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29391 grep -v '^ *+' conftest.er1
>conftest.err
29393 cat conftest.err
>&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); } >/dev
/null
; then
29396 if test -s conftest.err
; then
29397 ac_cpp_err
=$ac_c_preproc_warn_flag
29398 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29405 if test -z "$ac_cpp_err"; then
29406 ac_header_preproc
=yes
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.
$ac_ext >&5
29411 ac_header_preproc
=no
29414 rm -f conftest.err conftest.
$ac_ext
29415 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29416 echo "${ECHO_T}$ac_header_preproc" >&6; }
29418 # So? What about this header?
29419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29425 ac_header_preproc
=yes
29428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29441 ## ----------------------------------- ##
29442 ## Report this to llvmbugs@cs.uiuc.edu ##
29443 ## ----------------------------------- ##
29445 ) |
sed "s/^/$as_me: WARNING: /" >&2
29448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29450 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29451 echo $ECHO_N "(cached) $ECHO_C" >&6
29453 eval "$as_ac_Header=\$ac_header_preproc"
29455 ac_res
=`eval echo '${'$as_ac_Header'}'`
29456 { echo "$as_me:$LINENO: result: $ac_res" >&5
29457 echo "${ECHO_T}$ac_res" >&6; }
29460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29461 cat >>confdefs.h
<<_ACEOF
29462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29472 for ac_header
in sys
/types.h malloc
/malloc.h mach
/mach.h
29474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29475 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29478 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29479 echo $ECHO_N "(cached) $ECHO_C" >&6
29481 ac_res
=`eval echo '${'$as_ac_Header'}'`
29482 { echo "$as_me:$LINENO: result: $ac_res" >&5
29483 echo "${ECHO_T}$ac_res" >&6; }
29485 # Is the header compilable?
29486 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29488 cat >conftest.
$ac_ext <<_ACEOF
29491 cat confdefs.h
>>conftest.
$ac_ext
29492 cat >>conftest.
$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29494 $ac_includes_default
29495 #include <$ac_header>
29497 rm -f conftest.
$ac_objext
29498 if { (ac_try
="$ac_compile"
29499 case "(($ac_try" in
29500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29501 *) ac_try_echo=$ac_try;;
29503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29504 (eval "$ac_compile") 2>conftest.er1
29506 grep -v '^ *+' conftest.er1 >conftest.err
29508 cat conftest.err >&5
29509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29510 (exit $ac_status); } &&
29511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29512 { (case "(($ac_try" in
29513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29514 *) ac_try_echo
=$ac_try;;
29516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29517 (eval "$ac_try") 2>&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); }; } &&
29521 { ac_try
='test -s conftest.$ac_objext'
29522 { (case "(($ac_try" in
29523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29524 *) ac_try_echo=$ac_try;;
29526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29527 (eval "$ac_try") 2>&5
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); }; }; then
29531 ac_header_compiler=yes
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29536 ac_header_compiler=no
29539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29540 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29541 echo "${ECHO_T}$ac_header_compiler" >&6; }
29543 # Is the header present?
29544 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29546 cat >conftest.$ac_ext <<_ACEOF
29549 cat confdefs.h >>conftest.$ac_ext
29550 cat >>conftest.$ac_ext <<_ACEOF
29551 /* end confdefs.h. */
29552 #include <$ac_header>
29554 if { (ac_try="$ac_cpp conftest.$ac_ext"
29555 case "(($ac_try" in
29556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29557 *) ac_try_echo
=$ac_try;;
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29562 grep -v '^ *+' conftest.er1
>conftest.err
29564 cat conftest.err
>&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } >/dev
/null
; then
29567 if test -s conftest.err
; then
29568 ac_cpp_err
=$ac_c_preproc_warn_flag
29569 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29576 if test -z "$ac_cpp_err"; then
29577 ac_header_preproc
=yes
29579 echo "$as_me: failed program was:" >&5
29580 sed 's/^/| /' conftest.
$ac_ext >&5
29582 ac_header_preproc
=no
29585 rm -f conftest.err conftest.
$ac_ext
29586 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29587 echo "${ECHO_T}$ac_header_preproc" >&6; }
29589 # So? What about this header?
29590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29596 ac_header_preproc
=yes
29599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29612 ## ----------------------------------- ##
29613 ## Report this to llvmbugs@cs.uiuc.edu ##
29614 ## ----------------------------------- ##
29616 ) |
sed "s/^/$as_me: WARNING: /" >&2
29619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29621 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29622 echo $ECHO_N "(cached) $ECHO_C" >&6
29624 eval "$as_ac_Header=\$ac_header_preproc"
29626 ac_res
=`eval echo '${'$as_ac_Header'}'`
29627 { echo "$as_me:$LINENO: result: $ac_res" >&5
29628 echo "${ECHO_T}$ac_res" >&6; }
29631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29632 cat >>confdefs.h
<<_ACEOF
29633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29640 if test "$ENABLE_THREADS" -eq 1 ; then
29642 for ac_header
in pthread.h
29644 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29645 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29646 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29648 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29649 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 ac_res
=`eval echo '${'$as_ac_Header'}'`
29652 { echo "$as_me:$LINENO: result: $ac_res" >&5
29653 echo "${ECHO_T}$ac_res" >&6; }
29655 # Is the header compilable?
29656 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29658 cat >conftest.
$ac_ext <<_ACEOF
29661 cat confdefs.h
>>conftest.
$ac_ext
29662 cat >>conftest.
$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29664 $ac_includes_default
29665 #include <$ac_header>
29667 rm -f conftest.
$ac_objext
29668 if { (ac_try
="$ac_compile"
29669 case "(($ac_try" in
29670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29671 *) ac_try_echo=$ac_try;;
29673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29674 (eval "$ac_compile") 2>conftest.er1
29676 grep -v '^ *+' conftest.er1 >conftest.err
29678 cat conftest.err >&5
29679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29680 (exit $ac_status); } &&
29681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29682 { (case "(($ac_try" in
29683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29684 *) ac_try_echo
=$ac_try;;
29686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29687 (eval "$ac_try") 2>&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try
='test -s conftest.$ac_objext'
29692 { (case "(($ac_try" in
29693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29694 *) ac_try_echo=$ac_try;;
29696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29697 (eval "$ac_try") 2>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; }; then
29701 ac_header_compiler=yes
29703 echo "$as_me: failed program was:" >&5
29704 sed 's/^/| /' conftest.$ac_ext >&5
29706 ac_header_compiler=no
29709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29710 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29711 echo "${ECHO_T}$ac_header_compiler" >&6; }
29713 # Is the header present?
29714 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29715 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29716 cat >conftest.$ac_ext <<_ACEOF
29719 cat confdefs.h >>conftest.$ac_ext
29720 cat >>conftest.$ac_ext <<_ACEOF
29721 /* end confdefs.h. */
29722 #include <$ac_header>
29724 if { (ac_try="$ac_cpp conftest.$ac_ext"
29725 case "(($ac_try" in
29726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29727 *) ac_try_echo
=$ac_try;;
29729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29732 grep -v '^ *+' conftest.er1
>conftest.err
29734 cat conftest.err
>&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } >/dev
/null
; then
29737 if test -s conftest.err
; then
29738 ac_cpp_err
=$ac_c_preproc_warn_flag
29739 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29746 if test -z "$ac_cpp_err"; then
29747 ac_header_preproc
=yes
29749 echo "$as_me: failed program was:" >&5
29750 sed 's/^/| /' conftest.
$ac_ext >&5
29752 ac_header_preproc
=no
29755 rm -f conftest.err conftest.
$ac_ext
29756 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29757 echo "${ECHO_T}$ac_header_preproc" >&6; }
29759 # So? What about this header?
29760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29766 ac_header_preproc
=yes
29769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29782 ## ----------------------------------- ##
29783 ## Report this to llvmbugs@cs.uiuc.edu ##
29784 ## ----------------------------------- ##
29786 ) |
sed "s/^/$as_me: WARNING: /" >&2
29789 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29791 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29792 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 eval "$as_ac_Header=\$ac_header_preproc"
29796 ac_res
=`eval echo '${'$as_ac_Header'}'`
29797 { echo "$as_me:$LINENO: result: $ac_res" >&5
29798 echo "${ECHO_T}$ac_res" >&6; }
29801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29802 cat >>confdefs.h
<<_ACEOF
29803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29821 for ac_header
in ffi.h ffi
/ffi.h
29823 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29824 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29825 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29827 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29828 echo $ECHO_N "(cached) $ECHO_C" >&6
29830 ac_res
=`eval echo '${'$as_ac_Header'}'`
29831 { echo "$as_me:$LINENO: result: $ac_res" >&5
29832 echo "${ECHO_T}$ac_res" >&6; }
29834 # Is the header compilable?
29835 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29837 cat >conftest.
$ac_ext <<_ACEOF
29840 cat confdefs.h
>>conftest.
$ac_ext
29841 cat >>conftest.
$ac_ext <<_ACEOF
29842 /* end confdefs.h. */
29843 $ac_includes_default
29844 #include <$ac_header>
29846 rm -f conftest.
$ac_objext
29847 if { (ac_try
="$ac_compile"
29848 case "(($ac_try" in
29849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29850 *) ac_try_echo=$ac_try;;
29852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29853 (eval "$ac_compile") 2>conftest.er1
29855 grep -v '^ *+' conftest.er1 >conftest.err
29857 cat conftest.err >&5
29858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29859 (exit $ac_status); } &&
29860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29861 { (case "(($ac_try" in
29862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29863 *) ac_try_echo
=$ac_try;;
29865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29866 (eval "$ac_try") 2>&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; } &&
29870 { ac_try
='test -s conftest.$ac_objext'
29871 { (case "(($ac_try" in
29872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29873 *) ac_try_echo=$ac_try;;
29875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_try") 2>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; }; then
29880 ac_header_compiler=yes
29882 echo "$as_me: failed program was:" >&5
29883 sed 's/^/| /' conftest.$ac_ext >&5
29885 ac_header_compiler=no
29888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29889 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29890 echo "${ECHO_T}$ac_header_compiler" >&6; }
29892 # Is the header present?
29893 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29895 cat >conftest.$ac_ext <<_ACEOF
29898 cat confdefs.h >>conftest.$ac_ext
29899 cat >>conftest.$ac_ext <<_ACEOF
29900 /* end confdefs.h. */
29901 #include <$ac_header>
29903 if { (ac_try="$ac_cpp conftest.$ac_ext"
29904 case "(($ac_try" in
29905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29906 *) ac_try_echo
=$ac_try;;
29908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29911 grep -v '^ *+' conftest.er1
>conftest.err
29913 cat conftest.err
>&5
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); } >/dev
/null
; then
29916 if test -s conftest.err
; then
29917 ac_cpp_err
=$ac_c_preproc_warn_flag
29918 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29925 if test -z "$ac_cpp_err"; then
29926 ac_header_preproc
=yes
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.
$ac_ext >&5
29931 ac_header_preproc
=no
29934 rm -f conftest.err conftest.
$ac_ext
29935 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29936 echo "${ECHO_T}$ac_header_preproc" >&6; }
29938 # So? What about this header?
29939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29945 ac_header_preproc
=yes
29948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29961 ## ----------------------------------- ##
29962 ## Report this to llvmbugs@cs.uiuc.edu ##
29963 ## ----------------------------------- ##
29965 ) |
sed "s/^/$as_me: WARNING: /" >&2
29968 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29970 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29971 echo $ECHO_N "(cached) $ECHO_C" >&6
29973 eval "$as_ac_Header=\$ac_header_preproc"
29975 ac_res
=`eval echo '${'$as_ac_Header'}'`
29976 { echo "$as_me:$LINENO: result: $ac_res" >&5
29977 echo "${ECHO_T}$ac_res" >&6; }
29980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29981 cat >>confdefs.h
<<_ACEOF
29982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29992 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
29993 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
29994 if test "${ac_cv_huge_val_sanity+set}" = set; then
29995 echo $ECHO_N "(cached) $ECHO_C" >&6
29999 ac_cpp
='$CXXCPP $CPPFLAGS'
30000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30005 if test "$cross_compiling" = yes; then
30006 ac_cv_huge_val_sanity
=yes
30008 cat >conftest.
$ac_ext <<_ACEOF
30011 cat confdefs.h
>>conftest.
$ac_ext
30012 cat >>conftest.
$ac_ext <<_ACEOF
30013 /* end confdefs.h. */
30018 double x = HUGE_VAL; return x != x;
30023 rm -f conftest
$ac_exeext
30024 if { (ac_try
="$ac_link"
30025 case "(($ac_try" in
30026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30027 *) ac_try_echo=$ac_try;;
30029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30030 (eval "$ac_link") 2>&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30034 { (case "(($ac_try" in
30035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30036 *) ac_try_echo
=$ac_try;;
30038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30039 (eval "$ac_try") 2>&5
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); }; }; then
30043 ac_cv_huge_val_sanity
=yes
30045 echo "$as_me: program exited with status $ac_status" >&5
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.
$ac_ext >&5
30049 ( exit $ac_status )
30050 ac_cv_huge_val_sanity
=no
30052 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30057 ac_cpp
='$CPP $CPPFLAGS'
30058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30064 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
30065 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
30066 HUGE_VAL_SANITY
=$ac_cv_huge_val_sanity
30069 { echo "$as_me:$LINENO: checking for pid_t" >&5
30070 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
30071 if test "${ac_cv_type_pid_t+set}" = set; then
30072 echo $ECHO_N "(cached) $ECHO_C" >&6
30074 cat >conftest.
$ac_ext <<_ACEOF
30077 cat confdefs.h
>>conftest.
$ac_ext
30078 cat >>conftest.
$ac_ext <<_ACEOF
30079 /* end confdefs.h. */
30080 $ac_includes_default
30081 typedef pid_t ac__type_new_;
30085 if ((ac__type_new_ *) 0)
30087 if (sizeof (ac__type_new_))
30093 rm -f conftest.
$ac_objext
30094 if { (ac_try
="$ac_compile"
30095 case "(($ac_try" in
30096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_compile") 2>conftest.er1
30102 grep -v '^ *+' conftest.er1 >conftest.err
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } &&
30107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30108 { (case "(($ac_try" in
30109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30110 *) ac_try_echo
=$ac_try;;
30112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30113 (eval "$ac_try") 2>&5
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); }; } &&
30117 { ac_try
='test -s conftest.$ac_objext'
30118 { (case "(($ac_try" in
30119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30120 *) ac_try_echo=$ac_try;;
30122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30123 (eval "$ac_try") 2>&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); }; }; then
30127 ac_cv_type_pid_t=yes
30129 echo "$as_me: failed program was:" >&5
30130 sed 's/^/| /' conftest.$ac_ext >&5
30132 ac_cv_type_pid_t=no
30135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30137 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30138 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
30139 if test $ac_cv_type_pid_t = yes; then
30143 cat >>confdefs.h <<_ACEOF
30149 { echo "$as_me:$LINENO: checking for size_t" >&5
30150 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
30151 if test "${ac_cv_type_size_t+set}" = set; then
30152 echo $ECHO_N "(cached) $ECHO_C" >&6
30154 cat >conftest.$ac_ext <<_ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 $ac_includes_default
30161 typedef size_t ac__type_new_;
30165 if ((ac__type_new_ *) 0)
30167 if (sizeof (ac__type_new_))
30173 rm -f conftest.$ac_objext
30174 if { (ac_try="$ac_compile"
30175 case "(($ac_try" in
30176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30177 *) ac_try_echo
=$ac_try;;
30179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30180 (eval "$ac_compile") 2>conftest.er1
30182 grep -v '^ *+' conftest.er1
>conftest.err
30184 cat conftest.err
>&5
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); } &&
30187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30188 { (case "(($ac_try" in
30189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30190 *) ac_try_echo=$ac_try;;
30192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30193 (eval "$ac_try") 2>&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); }; } &&
30197 { ac_try='test -s conftest.$ac_objext'
30198 { (case "(($ac_try" in
30199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30200 *) ac_try_echo
=$ac_try;;
30202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30203 (eval "$ac_try") 2>&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; }; then
30207 ac_cv_type_size_t
=yes
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.
$ac_ext >&5
30212 ac_cv_type_size_t
=no
30215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30217 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30218 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
30219 if test $ac_cv_type_size_t = yes; then
30223 cat >>confdefs.h
<<_ACEOF
30224 #define size_t unsigned int
30229 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
30230 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
30231 if test "${ac_cv_type_signal+set}" = set; then
30232 echo $ECHO_N "(cached) $ECHO_C" >&6
30234 cat >conftest.
$ac_ext <<_ACEOF
30237 cat confdefs.h
>>conftest.
$ac_ext
30238 cat >>conftest.
$ac_ext <<_ACEOF
30239 /* end confdefs.h. */
30240 #include <sys/types.h>
30241 #include <signal.h>
30246 return *(signal (0, 0)) (0) == 1;
30251 rm -f conftest.
$ac_objext
30252 if { (ac_try
="$ac_compile"
30253 case "(($ac_try" in
30254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30255 *) ac_try_echo=$ac_try;;
30257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30258 (eval "$ac_compile") 2>conftest.er1
30260 grep -v '^ *+' conftest.er1 >conftest.err
30262 cat conftest.err >&5
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); } &&
30265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30266 { (case "(($ac_try" in
30267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30268 *) ac_try_echo
=$ac_try;;
30270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30271 (eval "$ac_try") 2>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; } &&
30275 { ac_try
='test -s conftest.$ac_objext'
30276 { (case "(($ac_try" in
30277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30278 *) ac_try_echo=$ac_try;;
30280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30281 (eval "$ac_try") 2>&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; }; then
30285 ac_cv_type_signal=int
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30290 ac_cv_type_signal=void
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30295 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
30296 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
30298 cat >>confdefs.h <<_ACEOF
30299 #define RETSIGTYPE $ac_cv_type_signal
30303 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
30304 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
30305 if test "${ac_cv_struct_tm+set}" = set; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30308 cat >conftest.$ac_ext <<_ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314 #include <sys/types.h>
30320 struct tm *tp; tp->tm_sec;
30325 rm -f conftest.$ac_objext
30326 if { (ac_try="$ac_compile"
30327 case "(($ac_try" in
30328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30329 *) ac_try_echo
=$ac_try;;
30331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30332 (eval "$ac_compile") 2>conftest.er1
30334 grep -v '^ *+' conftest.er1
>conftest.err
30336 cat conftest.err
>&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } &&
30339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30340 { (case "(($ac_try" in
30341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30342 *) ac_try_echo=$ac_try;;
30344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30345 (eval "$ac_try") 2>&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); }; } &&
30349 { ac_try='test -s conftest.$ac_objext'
30350 { (case "(($ac_try" in
30351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30352 *) ac_try_echo
=$ac_try;;
30354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30355 (eval "$ac_try") 2>&5
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; }; then
30359 ac_cv_struct_tm
=time.h
30361 echo "$as_me: failed program was:" >&5
30362 sed 's/^/| /' conftest.
$ac_ext >&5
30364 ac_cv_struct_tm
=sys
/time.h
30367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30369 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
30370 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
30371 if test $ac_cv_struct_tm = sys
/time.h
; then
30373 cat >>confdefs.h
<<\_ACEOF
30374 #define TM_IN_SYS_TIME 1
30379 { echo "$as_me:$LINENO: checking for int64_t" >&5
30380 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
30381 if test "${ac_cv_type_int64_t+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30384 cat >conftest.
$ac_ext <<_ACEOF
30387 cat confdefs.h
>>conftest.
$ac_ext
30388 cat >>conftest.
$ac_ext <<_ACEOF
30389 /* end confdefs.h. */
30390 $ac_includes_default
30391 typedef int64_t ac__type_new_;
30395 if ((ac__type_new_ *) 0)
30397 if (sizeof (ac__type_new_))
30403 rm -f conftest.
$ac_objext
30404 if { (ac_try
="$ac_compile"
30405 case "(($ac_try" in
30406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30407 *) ac_try_echo=$ac_try;;
30409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30410 (eval "$ac_compile") 2>conftest.er1
30412 grep -v '^ *+' conftest.er1 >conftest.err
30414 cat conftest.err >&5
30415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416 (exit $ac_status); } &&
30417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30418 { (case "(($ac_try" in
30419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30420 *) ac_try_echo
=$ac_try;;
30422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30423 (eval "$ac_try") 2>&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; } &&
30427 { ac_try
='test -s conftest.$ac_objext'
30428 { (case "(($ac_try" in
30429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30430 *) ac_try_echo=$ac_try;;
30432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30433 (eval "$ac_try") 2>&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; }; then
30437 ac_cv_type_int64_t=yes
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.$ac_ext >&5
30442 ac_cv_type_int64_t=no
30445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30447 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
30448 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
30449 if test $ac_cv_type_int64_t = yes; then
30451 cat >>confdefs.h <<_ACEOF
30452 #define HAVE_INT64_T 1
30457 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
30458 echo "$as_me: error: Type int64_t required but not found" >&2;}
30459 { (exit 1); exit 1; }; }
30462 { echo "$as_me:$LINENO: checking for uint64_t" >&5
30463 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
30464 if test "${ac_cv_type_uint64_t+set}" = set; then
30465 echo $ECHO_N "(cached) $ECHO_C" >&6
30467 cat >conftest.$ac_ext <<_ACEOF
30470 cat confdefs.h >>conftest.$ac_ext
30471 cat >>conftest.$ac_ext <<_ACEOF
30472 /* end confdefs.h. */
30473 $ac_includes_default
30474 typedef uint64_t ac__type_new_;
30478 if ((ac__type_new_ *) 0)
30480 if (sizeof (ac__type_new_))
30486 rm -f conftest.$ac_objext
30487 if { (ac_try="$ac_compile"
30488 case "(($ac_try" in
30489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30490 *) ac_try_echo
=$ac_try;;
30492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30493 (eval "$ac_compile") 2>conftest.er1
30495 grep -v '^ *+' conftest.er1
>conftest.err
30497 cat conftest.err
>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); } &&
30500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30501 { (case "(($ac_try" in
30502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30503 *) ac_try_echo=$ac_try;;
30505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30506 (eval "$ac_try") 2>&5
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; } &&
30510 { ac_try='test -s conftest.$ac_objext'
30511 { (case "(($ac_try" in
30512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30513 *) ac_try_echo
=$ac_try;;
30515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30516 (eval "$ac_try") 2>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; }; then
30520 ac_cv_type_uint64_t
=yes
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.
$ac_ext >&5
30525 ac_cv_type_uint64_t
=no
30528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30530 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
30531 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
30532 if test $ac_cv_type_uint64_t = yes; then
30534 cat >>confdefs.h
<<_ACEOF
30535 #define HAVE_UINT64_T 1
30540 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
30541 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
30542 if test "${ac_cv_type_u_int64_t+set}" = set; then
30543 echo $ECHO_N "(cached) $ECHO_C" >&6
30545 cat >conftest.
$ac_ext <<_ACEOF
30548 cat confdefs.h
>>conftest.
$ac_ext
30549 cat >>conftest.
$ac_ext <<_ACEOF
30550 /* end confdefs.h. */
30551 $ac_includes_default
30552 typedef u_int64_t ac__type_new_;
30556 if ((ac__type_new_ *) 0)
30558 if (sizeof (ac__type_new_))
30564 rm -f conftest.
$ac_objext
30565 if { (ac_try
="$ac_compile"
30566 case "(($ac_try" in
30567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_compile") 2>conftest.er1
30573 grep -v '^ *+' conftest.er1 >conftest.err
30575 cat conftest.err >&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } &&
30578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30579 { (case "(($ac_try" in
30580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30581 *) ac_try_echo
=$ac_try;;
30583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30584 (eval "$ac_try") 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; } &&
30588 { ac_try
='test -s conftest.$ac_objext'
30589 { (case "(($ac_try" in
30590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30591 *) ac_try_echo=$ac_try;;
30593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30594 (eval "$ac_try") 2>&5
30596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30597 (exit $ac_status); }; }; then
30598 ac_cv_type_u_int64_t=yes
30600 echo "$as_me: failed program was:" >&5
30601 sed 's/^/| /' conftest.$ac_ext >&5
30603 ac_cv_type_u_int64_t=no
30606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30608 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
30609 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
30610 if test $ac_cv_type_u_int64_t = yes; then
30612 cat >>confdefs.h <<_ACEOF
30613 #define HAVE_U_INT64_T 1
30618 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
30619 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
30620 { (exit 1); exit 1; }; }
30634 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30636 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30639 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30640 echo $ECHO_N "(cached) $ECHO_C" >&6
30642 cat >conftest.$ac_ext <<_ACEOF
30645 cat confdefs.h >>conftest.$ac_ext
30646 cat >>conftest.$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30650 #define $ac_func innocuous_$ac_func
30652 /* System header to define __stub macros and hopefully few prototypes,
30653 which can conflict with char $ac_func (); below.
30654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30655 <limits.h> exists even on freestanding compilers. */
30658 # include <limits.h>
30660 # include <assert.h>
30665 /* Override any GCC internal prototype to avoid an error.
30666 Use char because int might match the return type of a GCC
30667 builtin and then its argument prototype would still apply. */
30672 /* The GNU C library defines this for functions which it implements
30673 to always fail with ENOSYS. Some functions are actually named
30674 something starting with __ and the normal name is an alias. */
30675 #if defined __stub_$ac_func || defined __stub___$ac_func
30682 return $ac_func ();
30687 rm -f conftest.$ac_objext conftest$ac_exeext
30688 if { (ac_try="$ac_link"
30689 case "(($ac_try" in
30690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30691 *) ac_try_echo
=$ac_try;;
30693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30694 (eval "$ac_link") 2>conftest.er1
30696 grep -v '^ *+' conftest.er1
>conftest.err
30698 cat conftest.err
>&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); } &&
30701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30702 { (case "(($ac_try" in
30703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30704 *) ac_try_echo=$ac_try;;
30706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30707 (eval "$ac_try") 2>&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); }; } &&
30711 { ac_try='test -s conftest$ac_exeext'
30712 { (case "(($ac_try" in
30713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30714 *) ac_try_echo
=$ac_try;;
30716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30717 (eval "$ac_try") 2>&5
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); }; }; then
30721 eval "$as_ac_var=yes"
30723 echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.
$ac_ext >&5
30726 eval "$as_ac_var=no"
30729 rm -f core conftest.err conftest.
$ac_objext \
30730 conftest
$ac_exeext conftest.
$ac_ext
30732 ac_res
=`eval echo '${'$as_ac_var'}'`
30733 { echo "$as_me:$LINENO: result: $ac_res" >&5
30734 echo "${ECHO_T}$ac_res" >&6; }
30735 if test `eval echo '${'$as_ac_var'}'` = yes; then
30736 cat >>confdefs.h
<<_ACEOF
30737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30747 for ac_func
in powf fmodf strtof round
30749 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30752 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30753 echo $ECHO_N "(cached) $ECHO_C" >&6
30755 cat >conftest.
$ac_ext <<_ACEOF
30758 cat confdefs.h
>>conftest.
$ac_ext
30759 cat >>conftest.
$ac_ext <<_ACEOF
30760 /* end confdefs.h. */
30761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30763 #define $ac_func innocuous_$ac_func
30765 /* System header to define __stub macros and hopefully few prototypes,
30766 which can conflict with char $ac_func (); below.
30767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30768 <limits.h> exists even on freestanding compilers. */
30771 # include <limits.h>
30773 # include <assert.h>
30778 /* Override any GCC internal prototype to avoid an error.
30779 Use char because int might match the return type of a GCC
30780 builtin and then its argument prototype would still apply. */
30785 /* The GNU C library defines this for functions which it implements
30786 to always fail with ENOSYS. Some functions are actually named
30787 something starting with __ and the normal name is an alias. */
30788 #if defined __stub_$ac_func || defined __stub___$ac_func
30795 return $ac_func ();
30800 rm -f conftest.
$ac_objext conftest
$ac_exeext
30801 if { (ac_try
="$ac_link"
30802 case "(($ac_try" in
30803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30804 *) ac_try_echo=$ac_try;;
30806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30807 (eval "$ac_link") 2>conftest.er1
30809 grep -v '^ *+' conftest.er1 >conftest.err
30811 cat conftest.err >&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); } &&
30814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30815 { (case "(($ac_try" in
30816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30817 *) ac_try_echo
=$ac_try;;
30819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30820 (eval "$ac_try") 2>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; } &&
30824 { ac_try
='test -s conftest$ac_exeext'
30825 { (case "(($ac_try" in
30826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30827 *) ac_try_echo=$ac_try;;
30829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30830 (eval "$ac_try") 2>&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); }; }; then
30834 eval "$as_ac_var=yes"
30836 echo "$as_me: failed program was:" >&5
30837 sed 's/^/| /' conftest.$ac_ext >&5
30839 eval "$as_ac_var=no"
30842 rm -f core conftest.err conftest.$ac_objext \
30843 conftest$ac_exeext conftest.$ac_ext
30845 ac_res=`eval echo '${'$as_ac_var'}'`
30846 { echo "$as_me:$LINENO: result: $ac_res" >&5
30847 echo "${ECHO_T}$ac_res" >&6; }
30848 if test `eval echo '${'$as_ac_var'}'` = yes; then
30849 cat >>confdefs.h <<_ACEOF
30850 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30861 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
30863 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30864 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30869 cat >conftest.$ac_ext <<_ACEOF
30872 cat confdefs.h >>conftest.$ac_ext
30873 cat >>conftest.$ac_ext <<_ACEOF
30874 /* end confdefs.h. */
30875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30877 #define $ac_func innocuous_$ac_func
30879 /* System header to define __stub macros and hopefully few prototypes,
30880 which can conflict with char $ac_func (); below.
30881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30882 <limits.h> exists even on freestanding compilers. */
30885 # include <limits.h>
30887 # include <assert.h>
30892 /* Override any GCC internal prototype to avoid an error.
30893 Use char because int might match the return type of a GCC
30894 builtin and then its argument prototype would still apply. */
30899 /* The GNU C library defines this for functions which it implements
30900 to always fail with ENOSYS. Some functions are actually named
30901 something starting with __ and the normal name is an alias. */
30902 #if defined __stub_$ac_func || defined __stub___$ac_func
30909 return $ac_func ();
30914 rm -f conftest.$ac_objext conftest$ac_exeext
30915 if { (ac_try="$ac_link"
30916 case "(($ac_try" in
30917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30918 *) ac_try_echo
=$ac_try;;
30920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30921 (eval "$ac_link") 2>conftest.er1
30923 grep -v '^ *+' conftest.er1
>conftest.err
30925 cat conftest.err
>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30929 { (case "(($ac_try" in
30930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30931 *) ac_try_echo=$ac_try;;
30933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30934 (eval "$ac_try") 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; } &&
30938 { ac_try='test -s conftest$ac_exeext'
30939 { (case "(($ac_try" in
30940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30941 *) ac_try_echo
=$ac_try;;
30943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30944 (eval "$ac_try") 2>&5
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); }; }; then
30948 eval "$as_ac_var=yes"
30950 echo "$as_me: failed program was:" >&5
30951 sed 's/^/| /' conftest.
$ac_ext >&5
30953 eval "$as_ac_var=no"
30956 rm -f core conftest.err conftest.
$ac_objext \
30957 conftest
$ac_exeext conftest.
$ac_ext
30959 ac_res
=`eval echo '${'$as_ac_var'}'`
30960 { echo "$as_me:$LINENO: result: $ac_res" >&5
30961 echo "${ECHO_T}$ac_res" >&6; }
30962 if test `eval echo '${'$as_ac_var'}'` = yes; then
30963 cat >>confdefs.h
<<_ACEOF
30964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30973 for ac_func
in isatty mkdtemp mkstemp
30975 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30976 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30978 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30981 cat >conftest.
$ac_ext <<_ACEOF
30984 cat confdefs.h
>>conftest.
$ac_ext
30985 cat >>conftest.
$ac_ext <<_ACEOF
30986 /* end confdefs.h. */
30987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30989 #define $ac_func innocuous_$ac_func
30991 /* System header to define __stub macros and hopefully few prototypes,
30992 which can conflict with char $ac_func (); below.
30993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30994 <limits.h> exists even on freestanding compilers. */
30997 # include <limits.h>
30999 # include <assert.h>
31004 /* Override any GCC internal prototype to avoid an error.
31005 Use char because int might match the return type of a GCC
31006 builtin and then its argument prototype would still apply. */
31011 /* The GNU C library defines this for functions which it implements
31012 to always fail with ENOSYS. Some functions are actually named
31013 something starting with __ and the normal name is an alias. */
31014 #if defined __stub_$ac_func || defined __stub___$ac_func
31021 return $ac_func ();
31026 rm -f conftest.
$ac_objext conftest
$ac_exeext
31027 if { (ac_try
="$ac_link"
31028 case "(($ac_try" in
31029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31030 *) ac_try_echo=$ac_try;;
31032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31033 (eval "$ac_link") 2>conftest.er1
31035 grep -v '^ *+' conftest.er1 >conftest.err
31037 cat conftest.err >&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } &&
31040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31041 { (case "(($ac_try" in
31042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31043 *) ac_try_echo
=$ac_try;;
31045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31046 (eval "$ac_try") 2>&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; } &&
31050 { ac_try
='test -s conftest$ac_exeext'
31051 { (case "(($ac_try" in
31052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31053 *) ac_try_echo=$ac_try;;
31055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31056 (eval "$ac_try") 2>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; }; then
31060 eval "$as_ac_var=yes"
31062 echo "$as_me: failed program was:" >&5
31063 sed 's/^/| /' conftest.$ac_ext >&5
31065 eval "$as_ac_var=no"
31068 rm -f core conftest.err conftest.$ac_objext \
31069 conftest$ac_exeext conftest.$ac_ext
31071 ac_res=`eval echo '${'$as_ac_var'}'`
31072 { echo "$as_me:$LINENO: result: $ac_res" >&5
31073 echo "${ECHO_T}$ac_res" >&6; }
31074 if test `eval echo '${'$as_ac_var'}'` = yes; then
31075 cat >>confdefs.h <<_ACEOF
31076 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31089 for ac_func in mktemp realpath sbrk setrlimit strdup strerror strerror_r
31091 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31092 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31094 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31097 cat >conftest.$ac_ext <<_ACEOF
31100 cat confdefs.h >>conftest.$ac_ext
31101 cat >>conftest.$ac_ext <<_ACEOF
31102 /* end confdefs.h. */
31103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31105 #define $ac_func innocuous_$ac_func
31107 /* System header to define __stub macros and hopefully few prototypes,
31108 which can conflict with char $ac_func (); below.
31109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31110 <limits.h> exists even on freestanding compilers. */
31113 # include <limits.h>
31115 # include <assert.h>
31120 /* Override any GCC internal prototype to avoid an error.
31121 Use char because int might match the return type of a GCC
31122 builtin and then its argument prototype would still apply. */
31127 /* The GNU C library defines this for functions which it implements
31128 to always fail with ENOSYS. Some functions are actually named
31129 something starting with __ and the normal name is an alias. */
31130 #if defined __stub_$ac_func || defined __stub___$ac_func
31137 return $ac_func ();
31142 rm -f conftest.$ac_objext conftest$ac_exeext
31143 if { (ac_try="$ac_link"
31144 case "(($ac_try" in
31145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31146 *) ac_try_echo
=$ac_try;;
31148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31149 (eval "$ac_link") 2>conftest.er1
31151 grep -v '^ *+' conftest.er1
>conftest.err
31153 cat conftest.err
>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); } &&
31156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31157 { (case "(($ac_try" in
31158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31159 *) ac_try_echo=$ac_try;;
31161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31162 (eval "$ac_try") 2>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; } &&
31166 { ac_try='test -s conftest$ac_exeext'
31167 { (case "(($ac_try" in
31168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31169 *) ac_try_echo
=$ac_try;;
31171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31172 (eval "$ac_try") 2>&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); }; }; then
31176 eval "$as_ac_var=yes"
31178 echo "$as_me: failed program was:" >&5
31179 sed 's/^/| /' conftest.
$ac_ext >&5
31181 eval "$as_ac_var=no"
31184 rm -f core conftest.err conftest.
$ac_objext \
31185 conftest
$ac_exeext conftest.
$ac_ext
31187 ac_res
=`eval echo '${'$as_ac_var'}'`
31188 { echo "$as_me:$LINENO: result: $ac_res" >&5
31189 echo "${ECHO_T}$ac_res" >&6; }
31190 if test `eval echo '${'$as_ac_var'}'` = yes; then
31191 cat >>confdefs.h
<<_ACEOF
31192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31202 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
31204 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31207 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31208 echo $ECHO_N "(cached) $ECHO_C" >&6
31210 cat >conftest.
$ac_ext <<_ACEOF
31213 cat confdefs.h
>>conftest.
$ac_ext
31214 cat >>conftest.
$ac_ext <<_ACEOF
31215 /* end confdefs.h. */
31216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31218 #define $ac_func innocuous_$ac_func
31220 /* System header to define __stub macros and hopefully few prototypes,
31221 which can conflict with char $ac_func (); below.
31222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31223 <limits.h> exists even on freestanding compilers. */
31226 # include <limits.h>
31228 # include <assert.h>
31233 /* Override any GCC internal prototype to avoid an error.
31234 Use char because int might match the return type of a GCC
31235 builtin and then its argument prototype would still apply. */
31240 /* The GNU C library defines this for functions which it implements
31241 to always fail with ENOSYS. Some functions are actually named
31242 something starting with __ and the normal name is an alias. */
31243 #if defined __stub_$ac_func || defined __stub___$ac_func
31250 return $ac_func ();
31255 rm -f conftest.
$ac_objext conftest
$ac_exeext
31256 if { (ac_try
="$ac_link"
31257 case "(($ac_try" in
31258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31259 *) ac_try_echo=$ac_try;;
31261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31262 (eval "$ac_link") 2>conftest.er1
31264 grep -v '^ *+' conftest.er1 >conftest.err
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31270 { (case "(($ac_try" in
31271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31272 *) ac_try_echo
=$ac_try;;
31274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31275 (eval "$ac_try") 2>&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); }; } &&
31279 { ac_try
='test -s conftest$ac_exeext'
31280 { (case "(($ac_try" in
31281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31282 *) ac_try_echo=$ac_try;;
31284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31285 (eval "$ac_try") 2>&5
31287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288 (exit $ac_status); }; }; then
31289 eval "$as_ac_var=yes"
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.$ac_ext >&5
31294 eval "$as_ac_var=no"
31297 rm -f core conftest.err conftest.$ac_objext \
31298 conftest$ac_exeext conftest.$ac_ext
31300 ac_res=`eval echo '${'$as_ac_var'}'`
31301 { echo "$as_me:$LINENO: result: $ac_res" >&5
31302 echo "${ECHO_T}$ac_res" >&6; }
31303 if test `eval echo '${'$as_ac_var'}'` = yes; then
31304 cat >>confdefs.h <<_ACEOF
31305 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31315 for ac_func in setjmp longjmp sigsetjmp siglongjmp
31317 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31318 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31320 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31321 echo $ECHO_N "(cached) $ECHO_C" >&6
31323 cat >conftest.$ac_ext <<_ACEOF
31326 cat confdefs.h >>conftest.$ac_ext
31327 cat >>conftest.$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31331 #define $ac_func innocuous_$ac_func
31333 /* System header to define __stub macros and hopefully few prototypes,
31334 which can conflict with char $ac_func (); below.
31335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31336 <limits.h> exists even on freestanding compilers. */
31339 # include <limits.h>
31341 # include <assert.h>
31346 /* Override any GCC internal prototype to avoid an error.
31347 Use char because int might match the return type of a GCC
31348 builtin and then its argument prototype would still apply. */
31353 /* The GNU C library defines this for functions which it implements
31354 to always fail with ENOSYS. Some functions are actually named
31355 something starting with __ and the normal name is an alias. */
31356 #if defined __stub_$ac_func || defined __stub___$ac_func
31363 return $ac_func ();
31368 rm -f conftest.$ac_objext conftest$ac_exeext
31369 if { (ac_try="$ac_link"
31370 case "(($ac_try" in
31371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31372 *) ac_try_echo
=$ac_try;;
31374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31375 (eval "$ac_link") 2>conftest.er1
31377 grep -v '^ *+' conftest.er1
>conftest.err
31379 cat conftest.err
>&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31383 { (case "(($ac_try" in
31384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31385 *) ac_try_echo=$ac_try;;
31387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31388 (eval "$ac_try") 2>&5
31390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31391 (exit $ac_status); }; } &&
31392 { ac_try='test -s conftest$ac_exeext'
31393 { (case "(($ac_try" in
31394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31395 *) ac_try_echo
=$ac_try;;
31397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31398 (eval "$ac_try") 2>&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31402 eval "$as_ac_var=yes"
31404 echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.
$ac_ext >&5
31407 eval "$as_ac_var=no"
31410 rm -f core conftest.err conftest.
$ac_objext \
31411 conftest
$ac_exeext conftest.
$ac_ext
31413 ac_res
=`eval echo '${'$as_ac_var'}'`
31414 { echo "$as_me:$LINENO: result: $ac_res" >&5
31415 echo "${ECHO_T}$ac_res" >&6; }
31416 if test `eval echo '${'$as_ac_var'}'` = yes; then
31417 cat >>confdefs.h
<<_ACEOF
31418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31424 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
31425 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
31426 if test "${llvm_cv_c_printf_a+set}" = set; then
31427 echo $ECHO_N "(cached) $ECHO_C" >&6
31430 ac_cpp
='$CPP $CPPFLAGS'
31431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31435 if test "$cross_compiling" = yes; then
31436 llvmac_cv_c_printf_a
=no
31438 cat >conftest.
$ac_ext <<_ACEOF
31442 cat confdefs.h
>>conftest.
$ac_ext
31443 cat >>conftest.
$ac_ext <<_ACEOF
31444 /* end confdefs.h. */
31447 #include <stdlib.h>
31453 volatile double A, B;
31457 sprintf(Buffer, "%a", A);
31461 if (A != 0x1.999999999999ap-4)
31468 rm -f conftest
$ac_exeext
31469 if { (ac_try
="$ac_link"
31470 case "(($ac_try" in
31471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31472 *) ac_try_echo=$ac_try;;
31474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31475 (eval "$ac_link") 2>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31479 { (case "(($ac_try" in
31480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31481 *) ac_try_echo
=$ac_try;;
31483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31484 (eval "$ac_try") 2>&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; }; then
31488 llvm_cv_c_printf_a
=yes
31490 echo "$as_me: program exited with status $ac_status" >&5
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.
$ac_ext >&5
31494 ( exit $ac_status )
31495 llvmac_cv_c_printf_a
=no
31497 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31502 ac_cpp
='$CPP $CPPFLAGS'
31503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31508 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
31509 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
31510 if test "$llvm_cv_c_printf_a" = "yes"; then
31512 cat >>confdefs.h
<<\_ACEOF
31513 #define HAVE_PRINTF_A 1
31518 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
31519 # for constant arguments. Useless!
31520 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
31521 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
31522 if test "${ac_cv_working_alloca_h+set}" = set; then
31523 echo $ECHO_N "(cached) $ECHO_C" >&6
31525 cat >conftest.
$ac_ext <<_ACEOF
31528 cat confdefs.h
>>conftest.
$ac_ext
31529 cat >>conftest.
$ac_ext <<_ACEOF
31530 /* end confdefs.h. */
31531 #include <alloca.h>
31535 char *p = (char *) alloca (2 * sizeof (int));
31541 rm -f conftest.
$ac_objext conftest
$ac_exeext
31542 if { (ac_try
="$ac_link"
31543 case "(($ac_try" in
31544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31545 *) ac_try_echo=$ac_try;;
31547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31548 (eval "$ac_link") 2>conftest.er1
31550 grep -v '^ *+' conftest.er1 >conftest.err
31552 cat conftest.err >&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } &&
31555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31556 { (case "(($ac_try" in
31557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31558 *) ac_try_echo
=$ac_try;;
31560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31561 (eval "$ac_try") 2>&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; } &&
31565 { ac_try
='test -s conftest$ac_exeext'
31566 { (case "(($ac_try" in
31567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31568 *) ac_try_echo=$ac_try;;
31570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31571 (eval "$ac_try") 2>&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; }; then
31575 ac_cv_working_alloca_h=yes
31577 echo "$as_me: failed program was:" >&5
31578 sed 's/^/| /' conftest.$ac_ext >&5
31580 ac_cv_working_alloca_h=no
31583 rm -f core conftest.err conftest.$ac_objext \
31584 conftest$ac_exeext conftest.$ac_ext
31586 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31587 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
31588 if test $ac_cv_working_alloca_h = yes; then
31590 cat >>confdefs.h <<\_ACEOF
31591 #define HAVE_ALLOCA_H 1
31596 { echo "$as_me:$LINENO: checking for alloca" >&5
31597 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
31598 if test "${ac_cv_func_alloca_works+set}" = set; then
31599 echo $ECHO_N "(cached) $ECHO_C" >&6
31601 cat >conftest.$ac_ext <<_ACEOF
31604 cat confdefs.h >>conftest.$ac_ext
31605 cat >>conftest.$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31608 # define alloca __builtin_alloca
31611 # include <malloc.h>
31612 # define alloca _alloca
31615 # include <alloca.h>
31620 # ifndef alloca /* predefined by HP cc +Olibcalls */
31631 char *p = (char *) alloca (1);
31637 rm -f conftest.$ac_objext conftest$ac_exeext
31638 if { (ac_try="$ac_link"
31639 case "(($ac_try" in
31640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31641 *) ac_try_echo
=$ac_try;;
31643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31644 (eval "$ac_link") 2>conftest.er1
31646 grep -v '^ *+' conftest.er1
>conftest.err
31648 cat conftest.err
>&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); } &&
31651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31652 { (case "(($ac_try" in
31653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31654 *) ac_try_echo=$ac_try;;
31656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31657 (eval "$ac_try") 2>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); }; } &&
31661 { ac_try='test -s conftest$ac_exeext'
31662 { (case "(($ac_try" in
31663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31664 *) ac_try_echo
=$ac_try;;
31666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31667 (eval "$ac_try") 2>&5
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); }; }; then
31671 ac_cv_func_alloca_works
=yes
31673 echo "$as_me: failed program was:" >&5
31674 sed 's/^/| /' conftest.
$ac_ext >&5
31676 ac_cv_func_alloca_works
=no
31679 rm -f core conftest.err conftest.
$ac_objext \
31680 conftest
$ac_exeext conftest.
$ac_ext
31682 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31683 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31685 if test $ac_cv_func_alloca_works = yes; then
31687 cat >>confdefs.h
<<\_ACEOF
31688 #define HAVE_ALLOCA 1
31692 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
31693 # that cause trouble. Some versions do not even contain alloca or
31694 # contain a buggy version. If you still want to use their alloca,
31695 # use ar to extract alloca.o from them instead of compiling alloca.c.
31697 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
31699 cat >>confdefs.h
<<\_ACEOF
31704 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
31705 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
31706 if test "${ac_cv_os_cray+set}" = set; then
31707 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 cat >conftest.
$ac_ext <<_ACEOF
31712 cat confdefs.h
>>conftest.
$ac_ext
31713 cat >>conftest.
$ac_ext <<_ACEOF
31714 /* end confdefs.h. */
31715 #if defined CRAY && ! defined CRAY2
31722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31723 $EGREP "webecray" >/dev
/null
2>&1; then
31731 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31732 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31733 if test $ac_cv_os_cray = yes; then
31734 for ac_func
in _getb67 GETB67 getb67
; do
31735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31738 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31739 echo $ECHO_N "(cached) $ECHO_C" >&6
31741 cat >conftest.
$ac_ext <<_ACEOF
31744 cat confdefs.h
>>conftest.
$ac_ext
31745 cat >>conftest.
$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31749 #define $ac_func innocuous_$ac_func
31751 /* System header to define __stub macros and hopefully few prototypes,
31752 which can conflict with char $ac_func (); below.
31753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31754 <limits.h> exists even on freestanding compilers. */
31757 # include <limits.h>
31759 # include <assert.h>
31764 /* Override any GCC internal prototype to avoid an error.
31765 Use char because int might match the return type of a GCC
31766 builtin and then its argument prototype would still apply. */
31771 /* The GNU C library defines this for functions which it implements
31772 to always fail with ENOSYS. Some functions are actually named
31773 something starting with __ and the normal name is an alias. */
31774 #if defined __stub_$ac_func || defined __stub___$ac_func
31781 return $ac_func ();
31786 rm -f conftest.
$ac_objext conftest
$ac_exeext
31787 if { (ac_try
="$ac_link"
31788 case "(($ac_try" in
31789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31790 *) ac_try_echo=$ac_try;;
31792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31793 (eval "$ac_link") 2>conftest.er1
31795 grep -v '^ *+' conftest.er1 >conftest.err
31797 cat conftest.err >&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); } &&
31800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31801 { (case "(($ac_try" in
31802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31803 *) ac_try_echo
=$ac_try;;
31805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31806 (eval "$ac_try") 2>&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; } &&
31810 { ac_try
='test -s conftest$ac_exeext'
31811 { (case "(($ac_try" in
31812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31813 *) ac_try_echo=$ac_try;;
31815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31816 (eval "$ac_try") 2>&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); }; }; then
31820 eval "$as_ac_var=yes"
31822 echo "$as_me: failed program was:" >&5
31823 sed 's/^/| /' conftest.$ac_ext >&5
31825 eval "$as_ac_var=no"
31828 rm -f core conftest.err conftest.$ac_objext \
31829 conftest$ac_exeext conftest.$ac_ext
31831 ac_res=`eval echo '${'$as_ac_var'}'`
31832 { echo "$as_me:$LINENO: result: $ac_res" >&5
31833 echo "${ECHO_T}$ac_res" >&6; }
31834 if test `eval echo '${'$as_ac_var'}'` = yes; then
31836 cat >>confdefs.h <<_ACEOF
31837 #define CRAY_STACKSEG_END $ac_func
31846 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31847 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31848 if test "${ac_cv_c_stack_direction+set}" = set; then
31849 echo $ECHO_N "(cached) $ECHO_C" >&6
31851 if test "$cross_compiling" = yes; then
31852 ac_cv_c_stack_direction=0
31854 cat >conftest.$ac_ext <<_ACEOF
31857 cat confdefs.h >>conftest.$ac_ext
31858 cat >>conftest.$ac_ext <<_ACEOF
31859 /* end confdefs.h. */
31860 $ac_includes_default
31862 find_stack_direction ()
31864 static char *addr = 0;
31869 return find_stack_direction ();
31872 return (&dummy > addr) ? 1 : -1;
31878 return find_stack_direction () < 0;
31881 rm -f conftest$ac_exeext
31882 if { (ac_try="$ac_link"
31883 case "(($ac_try" in
31884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31885 *) ac_try_echo
=$ac_try;;
31887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31888 (eval "$ac_link") 2>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31892 { (case "(($ac_try" in
31893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31894 *) ac_try_echo=$ac_try;;
31896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31897 (eval "$ac_try") 2>&5
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); }; }; then
31901 ac_cv_c_stack_direction=1
31903 echo "$as_me: program exited with status $ac_status" >&5
31904 echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.$ac_ext >&5
31907 ( exit $ac_status )
31908 ac_cv_c_stack_direction=-1
31910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31915 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31916 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31918 cat >>confdefs.h <<_ACEOF
31919 #define STACK_DIRECTION $ac_cv_c_stack_direction
31926 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
31927 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
31928 if test "${ac_cv_func_rand48+set}" = set; then
31929 echo $ECHO_N "(cached) $ECHO_C" >&6
31932 ac_cpp='$CXXCPP $CPPFLAGS'
31933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31937 cat >conftest.$ac_ext <<_ACEOF
31940 cat confdefs.h >>conftest.$ac_ext
31941 cat >>conftest.$ac_ext <<_ACEOF
31942 /* end confdefs.h. */
31943 #include <stdlib.h>
31947 srand48(0);lrand48();drand48();
31952 rm -f conftest.$ac_objext
31953 if { (ac_try="$ac_compile"
31954 case "(($ac_try" in
31955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31956 *) ac_try_echo
=$ac_try;;
31958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31959 (eval "$ac_compile") 2>conftest.er1
31961 grep -v '^ *+' conftest.er1
>conftest.err
31963 cat conftest.err
>&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } &&
31966 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31967 { (case "(($ac_try" in
31968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31969 *) ac_try_echo=$ac_try;;
31971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31972 (eval "$ac_try") 2>&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); }; } &&
31976 { ac_try='test -s conftest.$ac_objext'
31977 { (case "(($ac_try" in
31978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31979 *) ac_try_echo
=$ac_try;;
31981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31982 (eval "$ac_try") 2>&5
31984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985 (exit $ac_status); }; }; then
31986 ac_cv_func_rand48
=yes
31988 echo "$as_me: failed program was:" >&5
31989 sed 's/^/| /' conftest.
$ac_ext >&5
31991 ac_cv_func_rand48
=no
31994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31996 ac_cpp
='$CPP $CPPFLAGS'
31997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32002 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
32003 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
32005 if test "$ac_cv_func_rand48" = "yes" ; then
32007 cat >>confdefs.h
<<\_ACEOF
32008 #define HAVE_RAND48 1
32014 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
32015 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
32016 if test "${ac_cv_cxx_namespaces+set}" = set; then
32017 echo $ECHO_N "(cached) $ECHO_C" >&6
32020 ac_cpp
='$CXXCPP $CPPFLAGS'
32021 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32022 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32023 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32025 cat >conftest.
$ac_ext <<_ACEOF
32028 cat confdefs.h
>>conftest.
$ac_ext
32029 cat >>conftest.
$ac_ext <<_ACEOF
32030 /* end confdefs.h. */
32031 namespace Outer { namespace Inner { int i = 0; }}
32035 using namespace Outer::Inner; return i;
32040 rm -f conftest.
$ac_objext
32041 if { (ac_try
="$ac_compile"
32042 case "(($ac_try" in
32043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32044 *) ac_try_echo=$ac_try;;
32046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32047 (eval "$ac_compile") 2>conftest.er1
32049 grep -v '^ *+' conftest.er1 >conftest.err
32051 cat conftest.err >&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); } &&
32054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32055 { (case "(($ac_try" in
32056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32057 *) ac_try_echo
=$ac_try;;
32059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32060 (eval "$ac_try") 2>&5
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; } &&
32064 { ac_try
='test -s conftest.$ac_objext'
32065 { (case "(($ac_try" in
32066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32067 *) ac_try_echo=$ac_try;;
32069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32070 (eval "$ac_try") 2>&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); }; }; then
32074 ac_cv_cxx_namespaces=yes
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.$ac_ext >&5
32079 ac_cv_cxx_namespaces=no
32082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32084 ac_cpp='$CPP $CPPFLAGS'
32085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32091 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
32092 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
32093 if test "$ac_cv_cxx_namespaces" = yes; then
32095 cat >>confdefs.h <<\_ACEOF
32096 #define HAVE_NAMESPACES
32101 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
32102 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
32103 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
32104 echo $ECHO_N "(cached) $ECHO_C" >&6
32108 ac_cpp='$CXXCPP $CPPFLAGS'
32109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32113 cat >conftest.$ac_ext <<_ACEOF
32116 cat confdefs.h >>conftest.$ac_ext
32117 cat >>conftest.$ac_ext <<_ACEOF
32118 /* end confdefs.h. */
32119 #include <iterator>
32120 #ifdef HAVE_NAMESPACES
32121 using namespace std;
32126 iterator<int,int,int> t; return 0;
32131 rm -f conftest.$ac_objext
32132 if { (ac_try="$ac_compile"
32133 case "(($ac_try" in
32134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32135 *) ac_try_echo
=$ac_try;;
32137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32138 (eval "$ac_compile") 2>conftest.er1
32140 grep -v '^ *+' conftest.er1
>conftest.err
32142 cat conftest.err
>&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } &&
32145 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32146 { (case "(($ac_try" in
32147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32148 *) ac_try_echo=$ac_try;;
32150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32151 (eval "$ac_try") 2>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); }; } &&
32155 { ac_try='test -s conftest.$ac_objext'
32156 { (case "(($ac_try" in
32157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32158 *) ac_try_echo
=$ac_try;;
32160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32161 (eval "$ac_try") 2>&5
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); }; }; then
32165 ac_cv_cxx_have_std_iterator
=yes
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.
$ac_ext >&5
32170 ac_cv_cxx_have_std_iterator
=no
32173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32175 ac_cpp
='$CPP $CPPFLAGS'
32176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32182 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
32183 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32184 if test "$ac_cv_cxx_have_std_iterator" = yes
32187 cat >>confdefs.h
<<\_ACEOF
32188 #define HAVE_STD_ITERATOR 1
32193 cat >>confdefs.h
<<\_ACEOF
32194 #define HAVE_STD_ITERATOR 0
32199 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
32200 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
32201 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32202 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 ac_cpp
='$CXXCPP $CPPFLAGS'
32207 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32208 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32209 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32211 cat >conftest.
$ac_ext <<_ACEOF
32214 cat confdefs.h
>>conftest.
$ac_ext
32215 cat >>conftest.
$ac_ext <<_ACEOF
32216 /* end confdefs.h. */
32217 #include <iterator>
32218 #ifdef HAVE_NAMESPACES
32219 using namespace std;
32224 bidirectional_iterator<int,int> t; return 0;
32229 rm -f conftest.
$ac_objext
32230 if { (ac_try
="$ac_compile"
32231 case "(($ac_try" in
32232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32233 *) ac_try_echo=$ac_try;;
32235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32236 (eval "$ac_compile") 2>conftest.er1
32238 grep -v '^ *+' conftest.er1 >conftest.err
32240 cat conftest.err >&5
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); } &&
32243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32244 { (case "(($ac_try" in
32245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32246 *) ac_try_echo
=$ac_try;;
32248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32249 (eval "$ac_try") 2>&5
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; } &&
32253 { ac_try
='test -s conftest.$ac_objext'
32254 { (case "(($ac_try" in
32255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32256 *) ac_try_echo=$ac_try;;
32258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32259 (eval "$ac_try") 2>&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); }; }; then
32263 ac_cv_cxx_have_bi_iterator=yes
32265 echo "$as_me: failed program was:" >&5
32266 sed 's/^/| /' conftest.$ac_ext >&5
32268 ac_cv_cxx_have_bi_iterator=no
32271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32273 ac_cpp='$CPP $CPPFLAGS'
32274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32280 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
32281 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32282 if test "$ac_cv_cxx_have_bi_iterator" = yes
32285 cat >>confdefs.h <<\_ACEOF
32286 #define HAVE_BI_ITERATOR 1
32291 cat >>confdefs.h <<\_ACEOF
32292 #define HAVE_BI_ITERATOR 0
32297 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
32298 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
32299 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32300 echo $ECHO_N "(cached) $ECHO_C" >&6
32304 ac_cpp='$CXXCPP $CPPFLAGS'
32305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32309 cat >conftest.$ac_ext <<_ACEOF
32312 cat confdefs.h >>conftest.$ac_ext
32313 cat >>conftest.$ac_ext <<_ACEOF
32314 /* end confdefs.h. */
32315 #include <iterator>
32316 #ifdef HAVE_NAMESPACES
32317 using namespace std;
32322 forward_iterator<int,int> t; return 0;
32327 rm -f conftest.$ac_objext
32328 if { (ac_try="$ac_compile"
32329 case "(($ac_try" in
32330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32331 *) ac_try_echo
=$ac_try;;
32333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32334 (eval "$ac_compile") 2>conftest.er1
32336 grep -v '^ *+' conftest.er1
>conftest.err
32338 cat conftest.err
>&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } &&
32341 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32342 { (case "(($ac_try" in
32343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32344 *) ac_try_echo=$ac_try;;
32346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32347 (eval "$ac_try") 2>&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); }; } &&
32351 { ac_try='test -s conftest.$ac_objext'
32352 { (case "(($ac_try" in
32353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32354 *) ac_try_echo
=$ac_try;;
32356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32357 (eval "$ac_try") 2>&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; }; then
32361 ac_cv_cxx_have_fwd_iterator
=yes
32363 echo "$as_me: failed program was:" >&5
32364 sed 's/^/| /' conftest.
$ac_ext >&5
32366 ac_cv_cxx_have_fwd_iterator
=no
32369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32371 ac_cpp
='$CPP $CPPFLAGS'
32372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32378 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
32379 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32380 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32383 cat >>confdefs.h
<<\_ACEOF
32384 #define HAVE_FWD_ITERATOR 1
32389 cat >>confdefs.h
<<\_ACEOF
32390 #define HAVE_FWD_ITERATOR 0
32396 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
32397 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
32398 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32402 ac_cpp
='$CXXCPP $CPPFLAGS'
32403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32407 cat >conftest.
$ac_ext <<_ACEOF
32410 cat confdefs.h
>>conftest.
$ac_ext
32411 cat >>conftest.
$ac_ext <<_ACEOF
32412 /* end confdefs.h. */
32422 rm -f conftest.
$ac_objext
32423 if { (ac_try
="$ac_compile"
32424 case "(($ac_try" in
32425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32426 *) ac_try_echo=$ac_try;;
32428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32429 (eval "$ac_compile") 2>conftest.er1
32431 grep -v '^ *+' conftest.er1 >conftest.err
32433 cat conftest.err >&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); } &&
32436 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32437 { (case "(($ac_try" in
32438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32439 *) ac_try_echo
=$ac_try;;
32441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32442 (eval "$ac_try") 2>&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); }; } &&
32446 { ac_try
='test -s conftest.$ac_objext'
32447 { (case "(($ac_try" in
32448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32449 *) ac_try_echo=$ac_try;;
32451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32452 (eval "$ac_try") 2>&5
32454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32455 (exit $ac_status); }; }; then
32456 ac_cv_func_isnan_in_math_h=yes
32458 echo "$as_me: failed program was:" >&5
32459 sed 's/^/| /' conftest.$ac_ext >&5
32461 ac_cv_func_isnan_in_math_h=no
32464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32466 ac_cpp='$CPP $CPPFLAGS'
32467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32472 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
32473 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32476 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32478 cat >>confdefs.h <<\_ACEOF
32479 #define HAVE_ISNAN_IN_MATH_H 1
32484 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
32485 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
32486 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32487 echo $ECHO_N "(cached) $ECHO_C" >&6
32490 ac_cpp='$CXXCPP $CPPFLAGS'
32491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32495 cat >conftest.$ac_ext <<_ACEOF
32498 cat confdefs.h >>conftest.$ac_ext
32499 cat >>conftest.$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32510 rm -f conftest.$ac_objext
32511 if { (ac_try="$ac_compile"
32512 case "(($ac_try" in
32513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32514 *) ac_try_echo
=$ac_try;;
32516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32517 (eval "$ac_compile") 2>conftest.er1
32519 grep -v '^ *+' conftest.er1
>conftest.err
32521 cat conftest.err
>&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); } &&
32524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32525 { (case "(($ac_try" in
32526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32527 *) ac_try_echo=$ac_try;;
32529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32530 (eval "$ac_try") 2>&5
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); }; } &&
32534 { ac_try='test -s conftest.$ac_objext'
32535 { (case "(($ac_try" in
32536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32537 *) ac_try_echo
=$ac_try;;
32539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32540 (eval "$ac_try") 2>&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); }; }; then
32544 ac_cv_func_isnan_in_cmath
=yes
32546 echo "$as_me: failed program was:" >&5
32547 sed 's/^/| /' conftest.
$ac_ext >&5
32549 ac_cv_func_isnan_in_cmath
=no
32552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32554 ac_cpp
='$CPP $CPPFLAGS'
32555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32560 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
32561 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32563 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32565 cat >>confdefs.h
<<\_ACEOF
32566 #define HAVE_ISNAN_IN_CMATH 1
32571 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
32572 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
32573 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32574 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 ac_cpp
='$CXXCPP $CPPFLAGS'
32578 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32579 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32580 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32582 cat >conftest.
$ac_ext <<_ACEOF
32585 cat confdefs.h
>>conftest.
$ac_ext
32586 cat >>conftest.
$ac_ext <<_ACEOF
32587 /* end confdefs.h. */
32592 float f; std::isnan(f);
32597 rm -f conftest.
$ac_objext
32598 if { (ac_try
="$ac_compile"
32599 case "(($ac_try" in
32600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32601 *) ac_try_echo=$ac_try;;
32603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32604 (eval "$ac_compile") 2>conftest.er1
32606 grep -v '^ *+' conftest.er1 >conftest.err
32608 cat conftest.err >&5
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); } &&
32611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32612 { (case "(($ac_try" in
32613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32614 *) ac_try_echo
=$ac_try;;
32616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32617 (eval "$ac_try") 2>&5
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); }; } &&
32621 { ac_try
='test -s conftest.$ac_objext'
32622 { (case "(($ac_try" in
32623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32624 *) ac_try_echo=$ac_try;;
32626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32627 (eval "$ac_try") 2>&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; }; then
32631 ac_cv_func_std_isnan_in_cmath=yes
32633 echo "$as_me: failed program was:" >&5
32634 sed 's/^/| /' conftest.$ac_ext >&5
32636 ac_cv_func_std_isnan_in_cmath=no
32639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32641 ac_cpp='$CPP $CPPFLAGS'
32642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32647 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
32648 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32650 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32652 cat >>confdefs.h <<\_ACEOF
32653 #define HAVE_STD_ISNAN_IN_CMATH 1
32659 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
32660 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
32661 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32662 echo $ECHO_N "(cached) $ECHO_C" >&6
32665 ac_cpp='$CXXCPP $CPPFLAGS'
32666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32670 cat >conftest.$ac_ext <<_ACEOF
32673 cat confdefs.h >>conftest.$ac_ext
32674 cat >>conftest.$ac_ext <<_ACEOF
32675 /* end confdefs.h. */
32685 rm -f conftest.$ac_objext
32686 if { (ac_try="$ac_compile"
32687 case "(($ac_try" in
32688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32689 *) ac_try_echo
=$ac_try;;
32691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32692 (eval "$ac_compile") 2>conftest.er1
32694 grep -v '^ *+' conftest.er1
>conftest.err
32696 cat conftest.err
>&5
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); } &&
32699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32700 { (case "(($ac_try" in
32701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32702 *) ac_try_echo=$ac_try;;
32704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32705 (eval "$ac_try") 2>&5
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); }; } &&
32709 { ac_try='test -s conftest.$ac_objext'
32710 { (case "(($ac_try" in
32711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32712 *) ac_try_echo
=$ac_try;;
32714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32715 (eval "$ac_try") 2>&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); }; }; then
32719 ac_cv_func_isinf_in_math_h
=yes
32721 echo "$as_me: failed program was:" >&5
32722 sed 's/^/| /' conftest.
$ac_ext >&5
32724 ac_cv_func_isinf_in_math_h
=no
32727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32729 ac_cpp
='$CPP $CPPFLAGS'
32730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32735 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
32736 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
32738 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
32740 cat >>confdefs.h
<<\_ACEOF
32741 #define HAVE_ISINF_IN_MATH_H 1
32746 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
32747 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
32748 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
32749 echo $ECHO_N "(cached) $ECHO_C" >&6
32752 ac_cpp
='$CXXCPP $CPPFLAGS'
32753 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32754 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32755 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32757 cat >conftest.
$ac_ext <<_ACEOF
32760 cat confdefs.h
>>conftest.
$ac_ext
32761 cat >>conftest.
$ac_ext <<_ACEOF
32762 /* end confdefs.h. */
32772 rm -f conftest.
$ac_objext
32773 if { (ac_try
="$ac_compile"
32774 case "(($ac_try" in
32775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32776 *) ac_try_echo=$ac_try;;
32778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32779 (eval "$ac_compile") 2>conftest.er1
32781 grep -v '^ *+' conftest.er1 >conftest.err
32783 cat conftest.err >&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } &&
32786 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32787 { (case "(($ac_try" in
32788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32789 *) ac_try_echo
=$ac_try;;
32791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32792 (eval "$ac_try") 2>&5
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); }; } &&
32796 { ac_try
='test -s conftest.$ac_objext'
32797 { (case "(($ac_try" in
32798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32799 *) ac_try_echo=$ac_try;;
32801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32802 (eval "$ac_try") 2>&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); }; }; then
32806 ac_cv_func_isinf_in_cmath=yes
32808 echo "$as_me: failed program was:" >&5
32809 sed 's/^/| /' conftest.$ac_ext >&5
32811 ac_cv_func_isinf_in_cmath=no
32814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32816 ac_cpp='$CPP $CPPFLAGS'
32817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32822 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
32823 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
32825 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
32827 cat >>confdefs.h <<\_ACEOF
32828 #define HAVE_ISINF_IN_CMATH 1
32833 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
32834 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
32835 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
32836 echo $ECHO_N "(cached) $ECHO_C" >&6
32839 ac_cpp='$CXXCPP $CPPFLAGS'
32840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32844 cat >conftest.$ac_ext <<_ACEOF
32847 cat confdefs.h >>conftest.$ac_ext
32848 cat >>conftest.$ac_ext <<_ACEOF
32849 /* end confdefs.h. */
32854 float f; std::isinf(f)}
32859 rm -f conftest.$ac_objext
32860 if { (ac_try="$ac_compile"
32861 case "(($ac_try" in
32862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32863 *) ac_try_echo
=$ac_try;;
32865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32866 (eval "$ac_compile") 2>conftest.er1
32868 grep -v '^ *+' conftest.er1
>conftest.err
32870 cat conftest.err
>&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); } &&
32873 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32874 { (case "(($ac_try" in
32875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32876 *) ac_try_echo=$ac_try;;
32878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32879 (eval "$ac_try") 2>&5
32881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32882 (exit $ac_status); }; } &&
32883 { ac_try='test -s conftest.$ac_objext'
32884 { (case "(($ac_try" in
32885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32886 *) ac_try_echo
=$ac_try;;
32888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32889 (eval "$ac_try") 2>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; }; then
32893 ac_cv_func_std_isinf_in_cmath
=yes
32895 echo "$as_me: failed program was:" >&5
32896 sed 's/^/| /' conftest.
$ac_ext >&5
32898 ac_cv_func_std_isinf_in_cmath
=no
32901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32903 ac_cpp
='$CPP $CPPFLAGS'
32904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32909 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
32910 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
32912 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
32914 cat >>confdefs.h
<<\_ACEOF
32915 #define HAVE_STD_ISINF_IN_CMATH 1
32920 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
32921 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
32922 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32926 ac_cpp
='$CXXCPP $CPPFLAGS'
32927 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32928 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32929 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32931 cat >conftest.
$ac_ext <<_ACEOF
32934 cat confdefs.h
>>conftest.
$ac_ext
32935 cat >>conftest.
$ac_ext <<_ACEOF
32936 /* end confdefs.h. */
32937 #include <ieeefp.h>
32941 float f; finite(f);
32946 rm -f conftest.
$ac_objext
32947 if { (ac_try
="$ac_compile"
32948 case "(($ac_try" in
32949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32950 *) ac_try_echo=$ac_try;;
32952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32953 (eval "$ac_compile") 2>conftest.er1
32955 grep -v '^ *+' conftest.er1 >conftest.err
32957 cat conftest.err >&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); } &&
32960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32961 { (case "(($ac_try" in
32962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32963 *) ac_try_echo
=$ac_try;;
32965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32966 (eval "$ac_try") 2>&5
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); }; } &&
32970 { ac_try
='test -s conftest.$ac_objext'
32971 { (case "(($ac_try" in
32972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32973 *) ac_try_echo=$ac_try;;
32975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32976 (eval "$ac_try") 2>&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; }; then
32980 ac_cv_func_finite_in_ieeefp_h=yes
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.$ac_ext >&5
32985 ac_cv_func_finite_in_ieeefp_h=no
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32996 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
32997 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
32999 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
33001 cat >>confdefs.h <<\_ACEOF
33002 #define HAVE_FINITE_IN_IEEEFP_H 1
33009 if test "$llvm_cv_platform_type" = "Unix" ; then
33012 for ac_header in stdlib.h unistd.h
33014 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
33015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33016 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33019 echo $ECHO_N "(cached) $ECHO_C" >&6
33021 ac_res=`eval echo '${'$as_ac_Header'}'`
33022 { echo "$as_me:$LINENO: result: $ac_res" >&5
33023 echo "${ECHO_T}$ac_res" >&6; }
33025 # Is the header compilable?
33026 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
33027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33028 cat >conftest.$ac_ext <<_ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33034 $ac_includes_default
33035 #include <$ac_header>
33037 rm -f conftest.$ac_objext
33038 if { (ac_try="$ac_compile"
33039 case "(($ac_try" in
33040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33041 *) ac_try_echo
=$ac_try;;
33043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33044 (eval "$ac_compile") 2>conftest.er1
33046 grep -v '^ *+' conftest.er1
>conftest.err
33048 cat conftest.err
>&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33052 { (case "(($ac_try" in
33053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33054 *) ac_try_echo=$ac_try;;
33056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33057 (eval "$ac_try") 2>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); }; } &&
33061 { ac_try='test -s conftest.$ac_objext'
33062 { (case "(($ac_try" in
33063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33064 *) ac_try_echo
=$ac_try;;
33066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33067 (eval "$ac_try") 2>&5
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); }; }; then
33071 ac_header_compiler
=yes
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.
$ac_ext >&5
33076 ac_header_compiler
=no
33079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33080 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33081 echo "${ECHO_T}$ac_header_compiler" >&6; }
33083 # Is the header present?
33084 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33086 cat >conftest.
$ac_ext <<_ACEOF
33089 cat confdefs.h
>>conftest.
$ac_ext
33090 cat >>conftest.
$ac_ext <<_ACEOF
33091 /* end confdefs.h. */
33092 #include <$ac_header>
33094 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33095 case "(($ac_try" in
33096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33097 *) ac_try_echo=$ac_try;;
33099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33102 grep -v '^ *+' conftest.er1 >conftest.err
33104 cat conftest.err >&5
33105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106 (exit $ac_status); } >/dev/null; then
33107 if test -s conftest.err; then
33108 ac_cpp_err=$ac_c_preproc_warn_flag
33109 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33116 if test -z "$ac_cpp_err"; then
33117 ac_header_preproc=yes
33119 echo "$as_me: failed program was:" >&5
33120 sed 's/^/| /' conftest.$ac_ext >&5
33122 ac_header_preproc=no
33125 rm -f conftest.err conftest.$ac_ext
33126 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33127 echo "${ECHO_T}$ac_header_preproc" >&6; }
33129 # So? What about this header?
33130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33136 ac_header_preproc=yes
33139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33143 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33144 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33145 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33146 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33149 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33150 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33152 ## ----------------------------------- ##
33153 ## Report this to llvmbugs@cs.uiuc.edu ##
33154 ## ----------------------------------- ##
33156 ) | sed "s/^/$as_me: WARNING: /" >&2
33159 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33162 echo $ECHO_N "(cached) $ECHO_C" >&6
33164 eval "$as_ac_Header=\$ac_header_preproc"
33166 ac_res=`eval echo '${'$as_ac_Header'}'`
33167 { echo "$as_me:$LINENO: result: $ac_res" >&5
33168 echo "${ECHO_T}$ac_res" >&6; }
33171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33172 cat >>confdefs.h <<_ACEOF
33173 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
33181 for ac_func in getpagesize
33183 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
33184 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33186 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 cat >conftest.$ac_ext <<_ACEOF
33192 cat confdefs.h >>conftest.$ac_ext
33193 cat >>conftest.$ac_ext <<_ACEOF
33194 /* end confdefs.h. */
33195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33197 #define $ac_func innocuous_$ac_func
33199 /* System header to define __stub macros and hopefully few prototypes,
33200 which can conflict with char $ac_func (); below.
33201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33202 <limits.h> exists even on freestanding compilers. */
33205 # include <limits.h>
33207 # include <assert.h>
33212 /* Override any GCC internal prototype to avoid an error.
33213 Use char because int might match the return type of a GCC
33214 builtin and then its argument prototype would still apply. */
33219 /* The GNU C library defines this for functions which it implements
33220 to always fail with ENOSYS. Some functions are actually named
33221 something starting with __ and the normal name is an alias. */
33222 #if defined __stub_$ac_func || defined __stub___$ac_func
33229 return $ac_func ();
33234 rm -f conftest.$ac_objext conftest$ac_exeext
33235 if { (ac_try="$ac_link"
33236 case "(($ac_try" in
33237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33238 *) ac_try_echo
=$ac_try;;
33240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33241 (eval "$ac_link") 2>conftest.er1
33243 grep -v '^ *+' conftest.er1
>conftest.err
33245 cat conftest.err
>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); } &&
33248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33249 { (case "(($ac_try" in
33250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33251 *) ac_try_echo=$ac_try;;
33253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33254 (eval "$ac_try") 2>&5
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); }; } &&
33258 { ac_try='test -s conftest$ac_exeext'
33259 { (case "(($ac_try" in
33260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33261 *) ac_try_echo
=$ac_try;;
33263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33264 (eval "$ac_try") 2>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; }; then
33268 eval "$as_ac_var=yes"
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.
$ac_ext >&5
33273 eval "$as_ac_var=no"
33276 rm -f core conftest.err conftest.
$ac_objext \
33277 conftest
$ac_exeext conftest.
$ac_ext
33279 ac_res
=`eval echo '${'$as_ac_var'}'`
33280 { echo "$as_me:$LINENO: result: $ac_res" >&5
33281 echo "${ECHO_T}$ac_res" >&6; }
33282 if test `eval echo '${'$as_ac_var'}'` = yes; then
33283 cat >>confdefs.h
<<_ACEOF
33284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33290 { echo "$as_me:$LINENO: checking for working mmap" >&5
33291 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33292 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33293 echo $ECHO_N "(cached) $ECHO_C" >&6
33295 if test "$cross_compiling" = yes; then
33296 ac_cv_func_mmap_fixed_mapped
=no
33298 cat >conftest.
$ac_ext <<_ACEOF
33301 cat confdefs.h
>>conftest.
$ac_ext
33302 cat >>conftest.
$ac_ext <<_ACEOF
33303 /* end confdefs.h. */
33304 $ac_includes_default
33305 /* malloc might have been renamed as rpl_malloc. */
33308 /* Thanks to Mike Haertel and Jim Avera for this test.
33309 Here is a matrix of mmap possibilities:
33310 mmap private not fixed
33311 mmap private fixed at somewhere currently unmapped
33312 mmap private fixed at somewhere already mapped
33313 mmap shared not fixed
33314 mmap shared fixed at somewhere currently unmapped
33315 mmap shared fixed at somewhere already mapped
33316 For private mappings, we should verify that changes cannot be read()
33317 back from the file, nor mmap's back from the file at a different
33318 address. (There have been systems where private was not correctly
33319 implemented like the infamous i386 svr4.0, and systems where the
33320 VM page cache was not coherent with the file system buffer cache
33321 like early versions of FreeBSD and possibly contemporary NetBSD.)
33322 For shared mappings, we should conversely verify that changes get
33323 propagated back to all the places they're supposed to be.
33325 Grep wants private fixed already mapped.
33326 The main things grep needs to know about mmap are:
33327 * does it exist and is it safe to write into the mmap'd area
33328 * how to use it (BSD variants) */
33331 #include <sys/mman.h>
33333 #if !STDC_HEADERS && !HAVE_STDLIB_H
33337 /* This mess was copied from the GNU getpagesize.h. */
33338 #if !HAVE_GETPAGESIZE
33339 /* Assume that all systems that can run configure have sys/param.h. */
33340 # if !HAVE_SYS_PARAM_H
33341 # define HAVE_SYS_PARAM_H 1
33344 # ifdef _SC_PAGESIZE
33345 # define getpagesize() sysconf(_SC_PAGESIZE)
33346 # else /* no _SC_PAGESIZE */
33347 # if HAVE_SYS_PARAM_H
33348 # include <sys/param.h>
33349 # ifdef EXEC_PAGESIZE
33350 # define getpagesize() EXEC_PAGESIZE
33351 # else /* no EXEC_PAGESIZE */
33353 # define getpagesize() NBPG * CLSIZE
33356 # endif /* no CLSIZE */
33357 # else /* no NBPG */
33359 # define getpagesize() NBPC
33360 # else /* no NBPC */
33362 # define getpagesize() PAGESIZE
33363 # endif /* PAGESIZE */
33364 # endif /* no NBPC */
33365 # endif /* no NBPG */
33366 # endif /* no EXEC_PAGESIZE */
33367 # else /* no HAVE_SYS_PARAM_H */
33368 # define getpagesize() 8192 /* punt totally */
33369 # endif /* no HAVE_SYS_PARAM_H */
33370 # endif /* no _SC_PAGESIZE */
33372 #endif /* no HAVE_GETPAGESIZE */
33377 char *data, *data2, *data3;
33381 pagesize = getpagesize ();
33383 /* First, make a file with some known garbage in it. */
33384 data = (char *) malloc (pagesize);
33387 for (i = 0; i < pagesize; ++i)
33388 *(data + i) = rand ();
33390 fd = creat ("conftest.mmap", 0600);
33393 if (write (fd, data, pagesize) != pagesize)
33397 /* Next, try to mmap the file at a fixed address which already has
33398 something else allocated at it. If we can, also make sure that
33399 we see the same garbage. */
33400 fd = open ("conftest.mmap", O_RDWR);
33403 data2 = (char *) malloc (2 * pagesize);
33406 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33407 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33408 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33410 for (i = 0; i < pagesize; ++i)
33411 if (*(data + i) != *(data2 + i))
33414 /* Finally, make sure that changes to the mapped area do not
33415 percolate back to the file as seen by read(). (This is a bug on
33416 some variants of i386 svr4.0.) */
33417 for (i = 0; i < pagesize; ++i)
33418 *(data2 + i) = *(data2 + i) + 1;
33419 data3 = (char *) malloc (pagesize);
33422 if (read (fd, data3, pagesize) != pagesize)
33424 for (i = 0; i < pagesize; ++i)
33425 if (*(data + i) != *(data3 + i))
33431 rm -f conftest
$ac_exeext
33432 if { (ac_try
="$ac_link"
33433 case "(($ac_try" in
33434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33435 *) ac_try_echo=$ac_try;;
33437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33438 (eval "$ac_link") 2>&5
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33442 { (case "(($ac_try" in
33443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33444 *) ac_try_echo
=$ac_try;;
33446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33447 (eval "$ac_try") 2>&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; }; then
33451 ac_cv_func_mmap_fixed_mapped
=yes
33453 echo "$as_me: program exited with status $ac_status" >&5
33454 echo "$as_me: failed program was:" >&5
33455 sed 's/^/| /' conftest.
$ac_ext >&5
33457 ( exit $ac_status )
33458 ac_cv_func_mmap_fixed_mapped
=no
33460 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33465 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33466 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33467 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33469 cat >>confdefs.h
<<\_ACEOF
33470 #define HAVE_MMAP 1
33474 rm -f conftest.mmap
33476 { echo "$as_me:$LINENO: checking for mmap of files" >&5
33477 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
33478 if test "${ac_cv_func_mmap_file+set}" = set; then
33479 echo $ECHO_N "(cached) $ECHO_C" >&6
33482 ac_cpp
='$CPP $CPPFLAGS'
33483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33487 if test "$cross_compiling" = yes; then
33488 ac_cv_func_mmap_file
=no
33490 cat >conftest.
$ac_ext <<_ACEOF
33494 cat confdefs.h
>>conftest.
$ac_ext
33495 cat >>conftest.
$ac_ext <<_ACEOF
33496 /* end confdefs.h. */
33498 #include <sys/types.h>
33499 #include <sys/mman.h>
33507 fd = creat ("foo",0777);
33508 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33510 return (fd != (int) MAP_FAILED);
33515 rm -f conftest
$ac_exeext
33516 if { (ac_try
="$ac_link"
33517 case "(($ac_try" in
33518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33519 *) ac_try_echo=$ac_try;;
33521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33522 (eval "$ac_link") 2>&5
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33526 { (case "(($ac_try" in
33527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33528 *) ac_try_echo
=$ac_try;;
33530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33531 (eval "$ac_try") 2>&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); }; }; then
33535 ac_cv_func_mmap_file
=yes
33537 echo "$as_me: program exited with status $ac_status" >&5
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.
$ac_ext >&5
33541 ( exit $ac_status )
33542 ac_cv_func_mmap_file
=no
33544 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33549 ac_cpp
='$CPP $CPPFLAGS'
33550 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33556 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
33557 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33558 if test "$ac_cv_func_mmap_file" = yes; then
33560 cat >>confdefs.h
<<\_ACEOF
33561 #define HAVE_MMAP_FILE
33568 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
33569 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
33570 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33571 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 if test "$llvm_cv_os_type" = "Interix" ; then
33574 ac_cv_need_dev_zero_for_mmap
=yes
33576 ac_cv_need_dev_zero_for_mmap
=no
33580 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
33581 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33582 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33584 cat >>confdefs.h
<<\_ACEOF
33585 #define NEED_DEV_ZERO_FOR_MMAP 1
33590 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
33592 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
33593 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
33595 if test "$ac_cv_func_mmap_file" = "no"
33597 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
33598 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
33604 for ac_func
in __dso_handle
33606 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33609 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33612 cat >conftest.
$ac_ext <<_ACEOF
33615 cat confdefs.h
>>conftest.
$ac_ext
33616 cat >>conftest.
$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33620 #define $ac_func innocuous_$ac_func
33622 /* System header to define __stub macros and hopefully few prototypes,
33623 which can conflict with char $ac_func (); below.
33624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33625 <limits.h> exists even on freestanding compilers. */
33628 # include <limits.h>
33630 # include <assert.h>
33635 /* Override any GCC internal prototype to avoid an error.
33636 Use char because int might match the return type of a GCC
33637 builtin and then its argument prototype would still apply. */
33642 /* The GNU C library defines this for functions which it implements
33643 to always fail with ENOSYS. Some functions are actually named
33644 something starting with __ and the normal name is an alias. */
33645 #if defined __stub_$ac_func || defined __stub___$ac_func
33652 return $ac_func ();
33657 rm -f conftest.
$ac_objext conftest
$ac_exeext
33658 if { (ac_try
="$ac_link"
33659 case "(($ac_try" in
33660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33661 *) ac_try_echo=$ac_try;;
33663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33664 (eval "$ac_link") 2>conftest.er1
33666 grep -v '^ *+' conftest.er1 >conftest.err
33668 cat conftest.err >&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } &&
33671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33672 { (case "(($ac_try" in
33673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33674 *) ac_try_echo
=$ac_try;;
33676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33677 (eval "$ac_try") 2>&5
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); }; } &&
33681 { ac_try
='test -s conftest$ac_exeext'
33682 { (case "(($ac_try" in
33683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33684 *) ac_try_echo=$ac_try;;
33686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33687 (eval "$ac_try") 2>&5
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); }; }; then
33691 eval "$as_ac_var=yes"
33693 echo "$as_me: failed program was:" >&5
33694 sed 's/^/| /' conftest.$ac_ext >&5
33696 eval "$as_ac_var=no"
33699 rm -f core conftest.err conftest.$ac_objext \
33700 conftest$ac_exeext conftest.$ac_ext
33702 ac_res=`eval echo '${'$as_ac_var'}'`
33703 { echo "$as_me:$LINENO: result: $ac_res" >&5
33704 echo "${ECHO_T}$ac_res" >&6; }
33705 if test `eval echo '${'$as_ac_var'}'` = yes; then
33706 cat >>confdefs.h <<_ACEOF
33707 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
33714 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
33715 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
33716 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
33717 echo $ECHO_N "(cached) $ECHO_C" >&6
33719 llvm_cv_llvmgcc_sanity="no"
33720 if test -x "$LLVMGCC" ; then
33721 cp /dev/null conftest.c
33722 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
33723 grep 'target datalayout =' > /dev/null 2>&1
33724 if test $? -eq 0 ; then
33725 llvm_cv_llvmgcc_sanity="yes"
33730 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
33731 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
33733 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
33734 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
33735 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
33736 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1
`
33737 LLVMCC1=$llvmcc1path
33739 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus
`
33740 LLVMCC1PLUS=$llvmcc1pluspath
33742 llvmgccdir=`echo "$llvmcc1path" |
sed 's,/libexec/.*,,'`
33743 LLVMGCCDIR=$llvmgccdir
33745 llvmgcclibexec=`echo "$llvmcc1path" |
sed 's,/cc1,,'`
33746 LLVMGCCLIBEXEC=$llvmgcclibexec
33748 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 |
sed 's/^\([0-9.]*\).*/\1/'`
33749 llvmgccmajvers=`echo $llvmgccversion |
sed 's/^\([0-9]\).*/\1/'`
33750 LLVMGCC_VERSION=$llvmgccversion
33752 LLVMGCC_MAJVERS=$llvmgccmajvers
33754 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 |
grep '^Configured with:' |
sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
33755 LLVMGCC_LANGS=$llvmgcclangs
33757 { echo "$as_me:$LINENO: result: ok" >&5
33758 echo "${ECHO_T}ok" >&6; }
33761 SHLIBEXT=$libltdl_cv_shlibext
33764 # Translate the various configuration directories and other basic
33765 # information into substitutions that will end up in Makefile.config.in
33766 # that these configured values can be used by the makefiles
33767 if test "${prefix}" = "NONE" ; then
33768 prefix="/usr/local"
33770 eval LLVM_PREFIX="${prefix}";
33771 eval LLVM_BINDIR="${prefix}/bin";
33772 eval LLVM_LIBDIR="${prefix}/lib";
33773 eval LLVM_DATADIR="${prefix}/share/llvm";
33774 eval LLVM_DOCSDIR="${prefix}/docs/llvm";
33775 eval LLVM_ETCDIR="${prefix}/etc/llvm";
33776 eval LLVM_INCLUDEDIR="${prefix}/include";
33777 eval LLVM_INFODIR="${prefix}/info";
33778 eval LLVM_MANDIR="${prefix}/man";
33779 LLVM_CONFIGTIME=`date`
33791 # Place the various directores into the config.h file as #defines so that we
33792 # can know about the installation paths within LLVM.
33794 cat >>confdefs.h <<_ACEOF
33795 #define LLVM_PREFIX "$LLVM_PREFIX"
33799 cat >>confdefs.h <<_ACEOF
33800 #define LLVM_BINDIR "$LLVM_BINDIR"
33804 cat >>confdefs.h <<_ACEOF
33805 #define LLVM_LIBDIR "$LLVM_LIBDIR"
33809 cat >>confdefs.h <<_ACEOF
33810 #define LLVM_DATADIR "$LLVM_DATADIR"
33814 cat >>confdefs.h <<_ACEOF
33815 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
33819 cat >>confdefs.h <<_ACEOF
33820 #define LLVM_ETCDIR "$LLVM_ETCDIR"
33824 cat >>confdefs.h <<_ACEOF
33825 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
33829 cat >>confdefs.h <<_ACEOF
33830 #define LLVM_INFODIR "$LLVM_INFODIR"
33834 cat >>confdefs.h <<_ACEOF
33835 #define LLVM_MANDIR "$LLVM_MANDIR"
33839 cat >>confdefs.h <<_ACEOF
33840 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
33844 cat >>confdefs.h <<_ACEOF
33845 #define LLVM_HOSTTRIPLE "$host"
33849 # Determine which bindings to build.
33850 if test "$BINDINGS_TO_BUILD" = auto ; then
33851 BINDINGS_TO_BUILD=""
33852 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
33853 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
33856 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
33859 # This isn't really configurey, but it avoids having to repeat the list in
33864 # Do any work necessary to ensure that bindings have what they need.
33865 binding_prereqs_failed=0
33866 for a_binding in $BINDINGS_TO_BUILD ; do
33867 case "$a_binding" in
33869 if test "x$OCAMLC" = x ; then
33870 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
33871 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
33872 binding_prereqs_failed=1
33874 if test "x$OCAMLDEP" = x ; then
33875 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
33876 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
33877 binding_prereqs_failed=1
33879 if test "x$OCAMLOPT" = x ; then
33880 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
33881 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
33883 if test "x$with_ocaml_libdir" != xauto ; then
33884 OCAML_LIBDIR=$with_ocaml_libdir
33887 ocaml_stdlib="`"$OCAMLC" -where`"
33888 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
33890 # ocaml stdlib is beneath our prefix; use stdlib
33891 OCAML_LIBDIR=$ocaml_stdlib
33894 # ocaml stdlib is outside our prefix; use libdir/ocaml
33895 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
33902 if test "$binding_prereqs_failed" = 1 ; then
33903 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
33904 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
33905 { (exit 1); exit 1; }; }
33908 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
33909 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
33910 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
33911 echo $ECHO_N "(cached) $ECHO_C" >&6
33914 ac_cpp='$CXXCPP $CPPFLAGS'
33915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33919 oldcxxflags="$CXXFLAGS"
33920 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
33921 cat >conftest.$ac_ext <<_ACEOF
33924 cat confdefs.h >>conftest.$ac_ext
33925 cat >>conftest.$ac_ext <<_ACEOF
33926 /* end confdefs.h. */
33936 rm -f conftest.$ac_objext
33937 if { (ac_try="$ac_compile"
33938 case "(($ac_try" in
33939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33940 *) ac_try_echo
=$ac_try;;
33942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33943 (eval "$ac_compile") 2>conftest.er1
33945 grep -v '^ *+' conftest.er1
>conftest.err
33947 cat conftest.err
>&5
33948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33949 (exit $ac_status); } &&
33950 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33951 { (case "(($ac_try" in
33952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33953 *) ac_try_echo=$ac_try;;
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_try") 2>&5
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); }; } &&
33960 { ac_try='test -s conftest.$ac_objext'
33961 { (case "(($ac_try" in
33962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33963 *) ac_try_echo
=$ac_try;;
33965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33966 (eval "$ac_try") 2>&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); }; }; then
33970 llvm_cv_cxx_visibility_inlines_hidden
=yes
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.
$ac_ext >&5
33975 llvm_cv_cxx_visibility_inlines_hidden
=no
33978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33979 CXXFLAGS
="$oldcxxflags"
33981 ac_cpp
='$CPP $CPPFLAGS'
33982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33988 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
33989 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
33990 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
33991 ENABLE_VISIBILITY_INLINES_HIDDEN
=1
33994 ENABLE_VISIBILITY_INLINES_HIDDEN
=0
33999 if test "$llvm_cv_link_use_r" = "yes" ; then
34006 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
34007 RDYNAMIC
="-Wl,-export-dynamic"
34014 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
34016 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
34018 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator.h"
34021 ac_config_files
="$ac_config_files Makefile.config"
34024 ac_config_files
="$ac_config_files llvm.spec"
34027 ac_config_files
="$ac_config_files docs/doxygen.cfg"
34030 ac_config_files
="$ac_config_files tools/llvmc/plugins/Base/Base.td"
34033 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
34036 ac_config_commands
="$ac_config_commands setup"
34038 ac_config_commands
="$ac_config_commands Makefile"
34041 ac_config_commands
="$ac_config_commands Makefile.common"
34044 ac_config_commands
="$ac_config_commands examples/Makefile"
34047 ac_config_commands
="$ac_config_commands lib/Makefile"
34050 ac_config_commands
="$ac_config_commands runtime/Makefile"
34053 ac_config_commands
="$ac_config_commands test/Makefile"
34056 ac_config_commands
="$ac_config_commands test/Makefile.tests"
34059 ac_config_commands
="$ac_config_commands unittests/Makefile"
34062 ac_config_commands
="$ac_config_commands tools/Makefile"
34065 ac_config_commands
="$ac_config_commands utils/Makefile"
34068 ac_config_commands
="$ac_config_commands projects/Makefile"
34071 ac_config_commands
="$ac_config_commands bindings/Makefile"
34074 ac_config_commands
="$ac_config_commands bindings/ocaml/Makefile.ocaml"
34078 cat >confcache
<<\_ACEOF
34079 # This file is a shell script that caches the results of configure
34080 # tests run on this system so they can be shared between configure
34081 # scripts and configure runs, see configure's option --config-cache.
34082 # It is not useful on other systems. If it contains results you don't
34083 # want to keep, you may remove or edit it.
34085 # config.status only pays attention to the cache file if you give it
34086 # the --recheck option to rerun configure.
34088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34090 # following values.
34094 # The following way of writing the cache mishandles newlines in values,
34095 # but we know of no workaround that is simple, portable, and efficient.
34096 # So, we kill variables containing newlines.
34097 # Ultrix sh set writes to stderr and can't be redirected directly,
34098 # and sets the high bit in the cache file unless we assign to the vars.
34100 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34101 eval ac_val
=\$
$ac_var
34105 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
34106 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
34109 _ | IFS | as_nl
) ;; #(
34110 *) $as_unset $ac_var ;;
34116 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34117 *${as_nl}ac_space
=\
*)
34118 # `set' does not quote correctly, so add quotes (double-quote
34119 # substitution turns \\\\ into \\, and sed turns \\ into \).
34122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34125 # `set' quotes correctly as required by POSIX, so do not add quotes.
34126 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34135 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34137 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34139 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
34140 if test -w "$cache_file"; then
34141 test "x$cache_file" != "x/dev/null" &&
34142 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
34143 echo "$as_me: updating cache $cache_file" >&6;}
34144 cat confcache
>$cache_file
34146 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
34147 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34152 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34153 # Let make expand exec_prefix.
34154 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34156 DEFS
=-DHAVE_CONFIG_H
34160 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34161 # 1. Remove the extension, and $U if already installed.
34162 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
34163 ac_i
=`echo "$ac_i" | sed "$ac_script"`
34164 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34165 # will be set to the directory where LIBOBJS objects are built.
34166 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34167 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
34169 LIBOBJS
=$ac_libobjs
34171 LTLIBOBJS
=$ac_ltlibobjs
34174 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
34175 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
34176 Usually this means the macro was only invoked conditionally." >&5
34177 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
34178 Usually this means the macro was only invoked conditionally." >&2;}
34179 { (exit 1); exit 1; }; }
34181 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
34182 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34183 Usually this means the macro was only invoked conditionally." >&5
34184 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
34185 Usually this means the macro was only invoked conditionally." >&2;}
34186 { (exit 1); exit 1; }; }
34189 : ${CONFIG_STATUS=./config.status}
34190 ac_clean_files_save
=$ac_clean_files
34191 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34192 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34193 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34194 cat >$CONFIG_STATUS <<_ACEOF
34196 # Generated by $as_me.
34197 # Run this file to recreate the current configuration.
34198 # Compiler output produced by configure, useful for debugging
34199 # configure, is in config.log if it exists.
34202 ac_cs_recheck=false
34204 SHELL=\${CONFIG_SHELL-$SHELL}
34207 cat >>$CONFIG_STATUS <<\_ACEOF
34208 ## --------------------- ##
34209 ## M4sh Initialization. ##
34210 ## --------------------- ##
34212 # Be Bourne compatible
34213 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34216 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34217 # is contrary to our usage. Disable this feature.
34218 alias -g '${1+"$@"}'='"$@"'
34219 setopt NO_GLOB_SUBST
34221 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
34223 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
34224 DUALCASE
=1; export DUALCASE
# for MKS sh
34228 # Avoid depending upon Character Ranges.
34229 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34230 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34231 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34232 as_cr_digits
='0123456789'
34233 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34235 # The user is always right.
34236 if test "${PATH_SEPARATOR+set}" != set; then
34237 echo "#! /bin/sh" >conf$$.sh
34238 echo "exit 0" >>conf$$.sh
34240 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34248 # Support unset when possible.
34249 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34257 # We need space, tab and new line, in precisely that order. Quoting is
34258 # there to prevent editors from complaining about space-tab.
34259 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34260 # splitting by setting IFS to empty value.)
34265 # Find who we are. Look in the path if we contain no directory separator.
34267 *[\\/]* ) as_myself
=$0 ;;
34268 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34269 for as_dir
in $PATH
34272 test -z "$as_dir" && as_dir
=.
34273 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34279 # We did not find ourselves, most probably we were run as `sh COMMAND'
34280 # in which case we are not to be found in the path.
34281 if test "x$as_myself" = x
; then
34284 if test ! -f "$as_myself"; then
34285 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34286 { (exit 1); exit 1; }
34289 # Work around bugs in pre-3.0 UWIN ksh.
34290 for as_var
in ENV MAIL MAILPATH
34291 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34299 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34300 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34301 LC_TELEPHONE LC_TIME
34303 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34304 eval $as_var=C
; export $as_var
34306 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34310 # Required to use basename.
34311 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34312 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34318 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34319 as_basename
=basename
34325 # Name of the executable.
34326 as_me
=`$as_basename -- "$0" ||
34327 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34328 X"$0" : 'X\(//\)$' \| \
34329 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34331 sed '/^.*\/\([^/][^/]*\)\/*$/{
34350 as_lineno_1
=$LINENO
34351 as_lineno_2
=$LINENO
34352 test "x$as_lineno_1" != "x$as_lineno_2" &&
34353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
34355 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34356 # uniformly replaced by the line number. The first 'sed' inserts a
34357 # line-number line after each line using $LINENO; the second 'sed'
34358 # does the real work. The second script uses 'N' to pair each
34359 # line-number line with the line containing $LINENO, and appends
34360 # trailing '-' during substitution so that $LINENO is not a special
34361 # case at line end.
34362 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34363 # scripts with optimization help from Paolo Bonzini. Blame Lee
34364 # E. McMahon (1931-1989) for sed's syntax. :-)
34376 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34379 ' >$as_me.lineno
&&
34380 chmod +x
"$as_me.lineno" ||
34381 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34382 { (exit 1); exit 1; }; }
34384 # Don't try to exec as it changes $[0], causing all sort of problems
34385 # (the dirname of $[0] is not the place where we might find the
34386 # original and so on. Autoconf is especially sensitive to this).
34387 .
"./$as_me.lineno"
34388 # Exit status is that of the last command.
34393 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
34399 ECHO_C
= ECHO_N
= ECHO_T
=
34400 case `echo -n x` in
34402 case `echo 'x\c'` in
34403 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
34410 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34411 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34417 rm -f conf$$ conf$$.exe conf$$.
file
34418 if test -d conf$$.dir
; then
34419 rm -f conf$$.dir
/conf$$.
file
34425 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34427 # ... but there are two gotchas:
34428 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34429 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34430 # In both cases, we have to default to `cp -p'.
34431 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
34433 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34438 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
34439 rmdir conf$$.dir
2>/dev
/null
34441 if mkdir
-p .
2>/dev
/null
; then
34444 test -d .
/-p && rmdir .
/-p
34448 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
34449 # systems may use methods other than mode bits to determine executability.
34450 cat >conf$$.
file <<_ASEOF
34454 chmod +x conf$$.
file
34455 if test -x conf$$.
file >/dev
/null
2>&1; then
34456 as_executable_p
="test -x"
34462 # Sed expression to map a string onto a valid CPP name.
34463 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34465 # Sed expression to map a string onto a valid variable name.
34466 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34471 # Save the log message, to keep $[0] and so on meaningful, and to
34472 # report actual input values of CONFIG_FILES etc. instead of their
34473 # values after options handling.
34475 This file was extended by llvm $as_me 2.6svn, which was
34476 generated by GNU Autoconf 2.60. Invocation command line was
34478 CONFIG_FILES = $CONFIG_FILES
34479 CONFIG_HEADERS = $CONFIG_HEADERS
34480 CONFIG_LINKS = $CONFIG_LINKS
34481 CONFIG_COMMANDS = $CONFIG_COMMANDS
34484 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34489 cat >>$CONFIG_STATUS <<_ACEOF
34490 # Files that config.status was made for.
34491 config_files="$ac_config_files"
34492 config_headers="$ac_config_headers"
34493 config_commands="$ac_config_commands"
34497 cat >>$CONFIG_STATUS <<\_ACEOF
34499 \`$as_me' instantiates files from templates according to the
34500 current configuration.
34502 Usage: $0 [OPTIONS] [FILE]...
34504 -h, --help print this help, then exit
34505 -V, --version print version number, then exit
34506 -q, --quiet do not print progress messages
34507 -d, --debug don't remove temporary files
34508 --recheck update $as_me by reconfiguring in the same conditions
34509 --file=FILE[:TEMPLATE]
34510 instantiate the configuration file FILE
34511 --header=FILE[:TEMPLATE]
34512 instantiate the configuration header FILE
34514 Configuration files:
34517 Configuration headers:
34520 Configuration commands:
34523 Report bugs to <bug-autoconf@gnu.org>."
34526 cat >>$CONFIG_STATUS <<_ACEOF
34528 llvm config.status 2.6svn
34529 configured by $0, generated by GNU Autoconf 2.60,
34530 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34532 Copyright (C) 2006 Free Software Foundation, Inc.
34533 This config.status script is free software; the Free Software Foundation
34534 gives unlimited permission to copy, distribute and modify it."
34541 cat >>$CONFIG_STATUS <<\_ACEOF
34542 # If no file are specified by the user, then we need to provide default
34543 # value. By we need to know if files were specified by the user.
34549 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34550 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34561 # Handling of the options.
34562 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34564 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34565 echo "$ac_cs_version"; exit ;;
34566 --debug |
--debu |
--deb |
--de |
--d |
-d )
34568 --file |
--fil |
--fi |
--f )
34570 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34571 ac_need_defaults
=false
;;
34572 --header |
--heade |
--head |
--hea )
34574 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34575 ac_need_defaults
=false
;;
34577 # Conflict between --help and --header
34578 { echo "$as_me: error: ambiguous option: $1
34579 Try \`$0 --help' for more information." >&2
34580 { (exit 1); exit 1; }; };;
34581 --help |
--hel |
-h )
34582 echo "$ac_cs_usage"; exit ;;
34583 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34584 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34587 # This is an error.
34588 -*) { echo "$as_me: error: unrecognized option: $1
34589 Try \`$0 --help' for more information." >&2
34590 { (exit 1); exit 1; }; } ;;
34592 *) ac_config_targets
="$ac_config_targets $1"
34593 ac_need_defaults
=false
;;
34599 ac_configure_extra_args
=
34601 if $ac_cs_silent; then
34603 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34607 cat >>$CONFIG_STATUS <<_ACEOF
34608 if \$ac_cs_recheck; then
34609 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34610 CONFIG_SHELL=$SHELL
34611 export CONFIG_SHELL
34612 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34616 cat >>$CONFIG_STATUS <<\_ACEOF
34620 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34621 ## Running $as_me. ##
34627 cat >>$CONFIG_STATUS <<_ACEOF
34631 llvm_src="${srcdir}"
34635 cat >>$CONFIG_STATUS <<\_ACEOF
34637 # Handling of arguments.
34638 for ac_config_target
in $ac_config_targets
34640 case $ac_config_target in
34641 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34642 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34643 "include/llvm/ADT/iterator.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator.h" ;;
34644 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34645 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34646 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34647 "tools/llvmc/plugins/Base/Base.td") CONFIG_FILES
="$CONFIG_FILES tools/llvmc/plugins/Base/Base.td" ;;
34648 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34649 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34650 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34651 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34652 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34653 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34654 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34655 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34656 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34657 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
34658 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34659 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34660 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34661 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
34662 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
34664 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34665 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34666 { (exit 1); exit 1; }; };;
34671 # If the user did not use the arguments to specify the items to instantiate,
34672 # then the envvar interface is used. Set only those that are not.
34673 # We use the long form for the default assignment because of an extremely
34674 # bizarre bug on SunOS 4.1.3.
34675 if $ac_need_defaults; then
34676 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34677 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34678 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34681 # Have a temporary directory for convenience. Make it in the build tree
34682 # simply because there is no reason against having it here, and in addition,
34683 # creating and moving files from /tmp can sometimes cause problems.
34684 # Hook for its removal unless debugging.
34685 # Note that there is a small window in which the directory will not be cleaned:
34686 # after its creation but before its name has been assigned to `$tmp'.
34690 trap 'exit_status=$?
34691 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34693 trap '{ (exit 1); exit 1; }' 1 2 13 15
34695 # Create a (secure) tmp directory for tmp files.
34698 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34699 test -n "$tmp" && test -d "$tmp"
34702 tmp
=.
/conf$$
-$RANDOM
34703 (umask 077 && mkdir
"$tmp")
34706 echo "$me: cannot create a temporary directory in ." >&2
34707 { (exit 1); exit 1; }
34711 # Set up the sed scripts for CONFIG_FILES section.
34714 # No need to generate the scripts if there are no CONFIG_FILES.
34715 # This happens for instance when ./config.status config.h
34716 if test -n "$CONFIG_FILES"; then
34723 for ac_last_try
in false false false false false
:; do
34724 cat >conf$
$subs.
sed <<_ACEOF
34725 SHELL!$SHELL$ac_delim
34726 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34727 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34728 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34729 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34730 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34731 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34732 exec_prefix!$exec_prefix$ac_delim
34733 prefix!$prefix$ac_delim
34734 program_transform_name!$program_transform_name$ac_delim
34735 bindir!$bindir$ac_delim
34736 sbindir!$sbindir$ac_delim
34737 libexecdir!$libexecdir$ac_delim
34738 datarootdir!$datarootdir$ac_delim
34739 datadir!$datadir$ac_delim
34740 sysconfdir!$sysconfdir$ac_delim
34741 sharedstatedir!$sharedstatedir$ac_delim
34742 localstatedir!$localstatedir$ac_delim
34743 includedir!$includedir$ac_delim
34744 oldincludedir!$oldincludedir$ac_delim
34745 docdir!$docdir$ac_delim
34746 infodir!$infodir$ac_delim
34747 htmldir!$htmldir$ac_delim
34748 dvidir!$dvidir$ac_delim
34749 pdfdir!$pdfdir$ac_delim
34750 psdir!$psdir$ac_delim
34751 libdir!$libdir$ac_delim
34752 localedir!$localedir$ac_delim
34753 mandir!$mandir$ac_delim
34754 DEFS!$DEFS$ac_delim
34755 ECHO_C!$ECHO_C$ac_delim
34756 ECHO_N!$ECHO_N$ac_delim
34757 ECHO_T!$ECHO_T$ac_delim
34758 LIBS!$LIBS$ac_delim
34759 build_alias!$build_alias$ac_delim
34760 host_alias!$host_alias$ac_delim
34761 target_alias!$target_alias$ac_delim
34762 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34763 subdirs!$subdirs$ac_delim
34764 build!$build$ac_delim
34765 build_cpu!$build_cpu$ac_delim
34766 build_vendor!$build_vendor$ac_delim
34767 build_os!$build_os$ac_delim
34768 host!$host$ac_delim
34769 host_cpu!$host_cpu$ac_delim
34770 host_vendor!$host_vendor$ac_delim
34771 host_os!$host_os$ac_delim
34772 target!$target$ac_delim
34773 target_cpu!$target_cpu$ac_delim
34774 target_vendor!$target_vendor$ac_delim
34775 target_os!$target_os$ac_delim
34777 LINKALL!$LINKALL$ac_delim
34778 NOLINKALL!$NOLINKALL$ac_delim
34779 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34780 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34781 ARCH!$ARCH$ac_delim
34782 ENDIAN!$ENDIAN$ac_delim
34784 CFLAGS!$CFLAGS$ac_delim
34785 LDFLAGS!$LDFLAGS$ac_delim
34786 CPPFLAGS!$CPPFLAGS$ac_delim
34787 ac_ct_CC!$ac_ct_CC$ac_delim
34788 EXEEXT!$EXEEXT$ac_delim
34789 OBJEXT!$OBJEXT$ac_delim
34791 GREP!$GREP$ac_delim
34792 EGREP!$EGREP$ac_delim
34793 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
34794 BUILD_CC!$BUILD_CC$ac_delim
34795 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
34796 BUILD_CXX!$BUILD_CXX$ac_delim
34797 CVSBUILD!$CVSBUILD$ac_delim
34798 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
34799 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
34800 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
34801 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
34802 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
34803 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
34805 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
34806 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
34807 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
34808 ENABLE_PIC!$ENABLE_PIC$ac_delim
34809 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
34810 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
34811 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
34812 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
34814 CXXFLAGS!$CXXFLAGS$ac_delim
34815 ac_ct_CXX!$ac_ct_CXX$ac_delim
34817 ifGNUmake!$ifGNUmake$ac_delim
34818 LN_S!$LN_S$ac_delim
34821 DATE!$DATE$ac_delim
34824 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34826 elif $ac_last_try; then
34827 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34828 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34829 { (exit 1); exit 1; }; }
34831 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34835 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34836 if test -n "$ac_eof"; then
34837 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34838 ac_eof
=`expr $ac_eof + 1`
34841 cat >>$CONFIG_STATUS <<_ACEOF
34842 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34846 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34847 s/^/s,@/; s/!/@,|#_!!_#|/
34850 s/'"$ac_delim"'$/,g/; t
34852 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34853 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34854 rm -f conf$
$subs.
sed
34855 cat >>$CONFIG_STATUS <<_ACEOF
34861 for ac_last_try
in false false false false false
:; do
34862 cat >conf$
$subs.
sed <<_ACEOF
34863 FIND!$FIND$ac_delim
34864 MKDIR!$MKDIR$ac_delim
34866 RANLIB!$RANLIB$ac_delim
34870 BINPWD!$BINPWD$ac_delim
34871 GRAPHVIZ!$GRAPHVIZ$ac_delim
34874 DOTTY!$DOTTY$ac_delim
34875 PERL!$PERL$ac_delim
34876 HAVE_PERL!$HAVE_PERL$ac_delim
34877 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34878 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34879 INSTALL_DATA!$INSTALL_DATA$ac_delim
34880 BZIP2!$BZIP2$ac_delim
34881 DOXYGEN!$DOXYGEN$ac_delim
34882 GROFF!$GROFF$ac_delim
34883 GZIP!$GZIP$ac_delim
34884 POD2HTML!$POD2HTML$ac_delim
34885 POD2MAN!$POD2MAN$ac_delim
34886 RUNTEST!$RUNTEST$ac_delim
34887 TCLSH!$TCLSH$ac_delim
34889 OCAMLC!$OCAMLC$ac_delim
34890 OCAMLOPT!$OCAMLOPT$ac_delim
34891 OCAMLDEP!$OCAMLDEP$ac_delim
34892 OCAMLDOC!$OCAMLDOC$ac_delim
34894 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
34895 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
34896 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
34897 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
34898 LIBADD_DL!$LIBADD_DL$ac_delim
34899 ECHO!$ECHO$ac_delim
34901 STRIP!$STRIP$ac_delim
34902 CXXCPP!$CXXCPP$ac_delim
34904 FFLAGS!$FFLAGS$ac_delim
34905 ac_ct_F77!$ac_ct_F77$ac_delim
34906 LIBTOOL!$LIBTOOL$ac_delim
34907 LLVMGCC!$LLVMGCC$ac_delim
34908 LLVMGXX!$LLVMGXX$ac_delim
34909 LLVMGCCCOMMAND!$LLVMGCCCOMMAND$ac_delim
34910 LLVMGXXCOMMAND!$LLVMGXXCOMMAND$ac_delim
34911 USE_UDIS86!$USE_UDIS86$ac_delim
34912 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
34913 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
34914 ALLOCA!$ALLOCA$ac_delim
34915 MMAP_FILE!$MMAP_FILE$ac_delim
34916 LLVMCC1!$LLVMCC1$ac_delim
34917 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
34918 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
34919 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
34920 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
34921 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
34922 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
34923 SHLIBEXT!$SHLIBEXT$ac_delim
34924 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
34925 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
34926 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
34927 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
34928 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
34929 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
34930 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
34931 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
34932 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
34933 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
34934 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
34935 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
34936 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
34937 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
34938 RPATH!$RPATH$ac_delim
34939 RDYNAMIC!$RDYNAMIC$ac_delim
34940 LIBOBJS!$LIBOBJS$ac_delim
34941 LTLIBOBJS!$LTLIBOBJS$ac_delim
34944 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
34946 elif $ac_last_try; then
34947 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34948 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34949 { (exit 1); exit 1; }; }
34951 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34955 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34956 if test -n "$ac_eof"; then
34957 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34958 ac_eof
=`expr $ac_eof + 1`
34961 cat >>$CONFIG_STATUS <<_ACEOF
34962 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34966 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34967 s/^/s,@/; s/!/@,|#_!!_#|/
34970 s/'"$ac_delim"'$/,g/; t
34972 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34973 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34974 rm -f conf$
$subs.
sed
34975 cat >>$CONFIG_STATUS <<_ACEOF
34982 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34983 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34984 # trailing colons and then remove the whole line if VPATH becomes empty
34985 # (actually we leave an empty line to preserve line numbers).
34986 if test "x$srcdir" = x.
; then
34987 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34988 s/:*\$(srcdir):*/:/
34989 s/:*\${srcdir}:*/:/
34991 s/^\([^=]*=[ ]*\):*/\1/
34997 cat >>$CONFIG_STATUS <<\_ACEOF
34998 fi # test -n "$CONFIG_FILES"
35001 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
35004 :[FHLC
]) ac_mode
=$ac_tag; continue;;
35006 case $ac_mode$ac_tag in
35008 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
35009 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
35010 { (exit 1); exit 1; }; };;
35011 :[FH
]-) ac_tag
=-:-;;
35012 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
35029 -) ac_f
="$tmp/stdin";;
35030 *) # Look for the file first in the build tree, then in the source tree
35031 # (if the path is not absolute). The absolute path cannot be DOS-style,
35032 # because $ac_f cannot contain `:'.
35036 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
35038 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
35039 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
35040 { (exit 1); exit 1; }; };;
35042 ac_file_inputs
="$ac_file_inputs $ac_f"
35045 # Let's still pretend it is `configure' which instantiates (i.e., don't
35046 # use $as_me), people would be surprised to read:
35047 # /* config.h. Generated by config.status. */
35048 configure_input
="Generated from "`IFS=:
35049 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
35050 if test x
"$ac_file" != x-
; then
35051 configure_input
="$ac_file. $configure_input"
35052 { echo "$as_me:$LINENO: creating $ac_file" >&5
35053 echo "$as_me: creating $ac_file" >&6;}
35057 *:-:* |
*:-) cat >"$tmp/stdin";;
35062 ac_dir
=`$as_dirname -- "$ac_file" ||
35063 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35064 X"$ac_file" : 'X\(//\)[^/]' \| \
35065 X"$ac_file" : 'X\(//\)$' \| \
35066 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35072 /^X\(\/\/\)[^/].*/{
35087 -*) as_dir
=.
/$as_dir;;
35089 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35093 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35094 *) as_qdir
=$as_dir;;
35096 as_dirs
="'$as_qdir' $as_dirs"
35097 as_dir
=`$as_dirname -- "$as_dir" ||
35098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35099 X"$as_dir" : 'X\(//\)[^/]' \| \
35100 X"$as_dir" : 'X\(//\)$' \| \
35101 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35107 /^X\(\/\/\)[^/].*/{
35120 test -d "$as_dir" && break
35122 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35123 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35124 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35125 { (exit 1); exit 1; }; }; }
35129 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35131 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35132 # A ".." for each directory in $ac_dir_suffix.
35133 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35134 case $ac_top_builddir_sub in
35135 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35136 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35139 ac_abs_top_builddir
=$ac_pwd
35140 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35141 # for backward compatibility:
35142 ac_top_builddir
=$ac_top_build_prefix
35145 .
) # We are building in place.
35147 ac_top_srcdir
=$ac_top_builddir_sub
35148 ac_abs_top_srcdir
=$ac_pwd ;;
35149 [\\/]* | ?
:[\\/]* ) # Absolute name.
35150 ac_srcdir
=$srcdir$ac_dir_suffix;
35151 ac_top_srcdir
=$srcdir
35152 ac_abs_top_srcdir
=$srcdir ;;
35153 *) # Relative name.
35154 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35155 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35156 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35158 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35168 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35169 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
35173 cat >>$CONFIG_STATUS <<\_ACEOF
35174 # If the template does not know about datarootdir, expand it.
35175 # FIXME: This hack should be removed a few years after 2.60.
35176 ac_datarootdir_hack
=; ac_datarootdir_seen
=
35178 case `sed -n '/datarootdir/ {
35187 ' $ac_file_inputs` in
35188 *datarootdir
*) ac_datarootdir_seen
=yes;;
35189 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
35190 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35191 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35193 cat >>$CONFIG_STATUS <<_ACEOF
35194 ac_datarootdir_hack='
35195 s&@datadir@&$datadir&g
35196 s&@docdir@&$docdir&g
35197 s&@infodir@&$infodir&g
35198 s&@localedir@&$localedir&g
35199 s&@mandir@&$mandir&g
35200 s&\\\${datarootdir}&$datarootdir&g' ;;
35204 # Neutralize VPATH when `$srcdir' = `.'.
35205 # Shell code in configure.ac might set extrasub.
35206 # FIXME: do we really want to maintain this feature?
35207 cat >>$CONFIG_STATUS <<_ACEOF
35211 cat >>$CONFIG_STATUS <<\_ACEOF
35213 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
35214 s
&@configure_input@
&$configure_input&;t t
35215 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
35216 s
&@srcdir@
&$ac_srcdir&;t t
35217 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
35218 s
&@top_srcdir@
&$ac_top_srcdir&;t t
35219 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
35220 s
&@builddir@
&$ac_builddir&;t t
35221 s
&@abs_builddir@
&$ac_abs_builddir&;t t
35222 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
35223 s
&@INSTALL@
&$ac_INSTALL&;t t
35224 $ac_datarootdir_hack
35225 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
35227 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35228 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
35229 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
35230 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
35231 which seems to be undefined. Please make sure it is defined." >&5
35232 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
35233 which seems to be undefined. Please make sure it is defined." >&2;}
35237 -) cat "$tmp/out"; rm -f "$tmp/out";;
35238 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35247 # Transform confdefs.h into a sed script `conftest.defines', that
35248 # substitutes the proper values into config.h.in to produce config.h.
35249 rm -f conftest.defines conftest.
tail
35250 # First, append a space to every undef/define line, to ease matching.
35251 echo 's/$/ /' >conftest.defines
35252 # Then, protect against being on the right side of a sed subst, or in
35253 # an unquoted here document, in config.status. If some macros were
35254 # called several times there might be several #defines for the same
35255 # symbol, which is useless. But do not sort them, since the last
35256 # AC_DEFINE must be honored.
35257 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
35258 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35259 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35260 # PARAMS is the parameter list in the macro definition--in most cases, it's
35261 # just an empty string.
35262 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35263 ac_dB
='\\)[ (].*,\\1define\\2'
35271 s/^[ ]*#[ ]*define[ ][ ]*//
35276 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35277 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35278 ' >>conftest.defines
35280 # Remove the space that was appended to ease matching.
35281 # Then replace #undef with comments. This is necessary, for
35282 # example, in the case of _POSIX_SOURCE, which is predefined and required
35283 # on some systems where configure will not decide to define it.
35284 # (The regexp can be short, since the line contains either #define or #undef.)
35286 s,^[ #]*u.*,/* & */,' >>conftest.defines
35288 # Break up conftest.defines:
35289 ac_max_sed_lines
=50
35291 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35292 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35293 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35295 ac_in
='$ac_file_inputs'
35296 ac_out
='"$tmp/out1"'
35297 ac_nxt
='"$tmp/out2"'
35301 # Write a here document:
35302 cat >>$CONFIG_STATUS <<_ACEOF
35303 # First, check the format of the line:
35304 cat >"\$tmp/defines.sed" <<\\CEOF
35305 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35306 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35310 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
35312 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35313 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
35314 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
35315 grep . conftest.
tail >/dev
/null ||
break
35316 rm -f conftest.defines
35317 mv conftest.
tail conftest.defines
35319 rm -f conftest.defines conftest.
tail
35321 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35322 cat >>$CONFIG_STATUS <<\_ACEOF
35323 if test x
"$ac_file" != x-
; then
35324 echo "/* $configure_input */" >"$tmp/config.h"
35325 cat "$ac_result" >>"$tmp/config.h"
35326 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
35327 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35328 echo "$as_me: $ac_file is unchanged" >&6;}
35331 mv "$tmp/config.h" $ac_file
35334 echo "/* $configure_input */"
35340 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35341 echo "$as_me: executing $ac_file commands" >&6;}
35346 case $ac_file$ac_mode in
35347 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
35348 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
35349 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
35350 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
35351 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
35352 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
35353 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
35354 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
35355 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
35356 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
35357 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
35358 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
35359 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
35360 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
35361 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
35362 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
35363 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
35364 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
35365 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
35366 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
35367 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
35368 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
35369 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
35370 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
35371 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
35372 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
35378 { (exit 0); exit 0; }
35380 chmod +x
$CONFIG_STATUS
35381 ac_clean_files
=$ac_clean_files_save
35384 # configure is writing to config.log, and then calls config.status.
35385 # config.status does its own redirection, appending to config.log.
35386 # Unfortunately, on DOS this fails, as config.log is still kept open
35387 # by configure, so config.status won't be able to write to it; its
35388 # output is simply discarded. So we exec the FD to /dev/null,
35389 # effectively closing config.log, so it can be properly (re)opened and
35390 # appended to by config.status. When coming back to configure, we
35391 # need to make the FD available again.
35392 if test "$no_create" != yes; then
35394 ac_config_status_args
=
35395 test "$silent" = yes &&
35396 ac_config_status_args
="$ac_config_status_args --quiet"
35398 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
35400 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35401 # would make configure fail if this is the last instruction.
35402 $ac_cs_success ||
{ (exit 1); exit 1; }
35406 # CONFIG_SUBDIRS section.
35408 if test "$no_recursion" != yes; then
35410 # Remove --cache-file and --srcdir arguments so they do not pile up.
35411 ac_sub_configure_args
=
35413 eval "set x $ac_configure_args"
35417 if test -n "$ac_prev"; then
35422 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
35423 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
35424 ac_prev
=cache_file
;;
35425 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
35426 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
35429 --config-cache |
-C)
35431 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
35433 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
35435 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
35437 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
35441 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35443 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
35447 # Always prepend --prefix to ensure using the same prefix
35448 # in subdir configurations.
35449 ac_arg
="--prefix=$prefix"
35451 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35453 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
35456 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
35458 # Do not complain, so a configure script can configure whichever
35459 # parts of a large source tree are present.
35460 test -d "$srcdir/$ac_dir" ||
continue
35462 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
35463 echo "$as_me:$LINENO: $ac_msg" >&5
35467 -*) as_dir
=.
/$as_dir;;
35469 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35473 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35474 *) as_qdir
=$as_dir;;
35476 as_dirs
="'$as_qdir' $as_dirs"
35477 as_dir
=`$as_dirname -- "$as_dir" ||
35478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35479 X"$as_dir" : 'X\(//\)[^/]' \| \
35480 X"$as_dir" : 'X\(//\)$' \| \
35481 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35487 /^X\(\/\/\)[^/].*/{
35500 test -d "$as_dir" && break
35502 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35503 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35504 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35505 { (exit 1); exit 1; }; }; }
35509 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35511 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35512 # A ".." for each directory in $ac_dir_suffix.
35513 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35514 case $ac_top_builddir_sub in
35515 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35516 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35519 ac_abs_top_builddir
=$ac_pwd
35520 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35521 # for backward compatibility:
35522 ac_top_builddir
=$ac_top_build_prefix
35525 .
) # We are building in place.
35527 ac_top_srcdir
=$ac_top_builddir_sub
35528 ac_abs_top_srcdir
=$ac_pwd ;;
35529 [\\/]* | ?
:[\\/]* ) # Absolute name.
35530 ac_srcdir
=$srcdir$ac_dir_suffix;
35531 ac_top_srcdir
=$srcdir
35532 ac_abs_top_srcdir
=$srcdir ;;
35533 *) # Relative name.
35534 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35535 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35536 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35538 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35543 # Check for guested configure; otherwise get Cygnus style configure.
35544 if test -f "$ac_srcdir/configure.gnu"; then
35545 ac_sub_configure
=$ac_srcdir/configure.gnu
35546 elif test -f "$ac_srcdir/configure"; then
35547 ac_sub_configure
=$ac_srcdir/configure
35548 elif test -f "$ac_srcdir/configure.in"; then
35549 # This should be Cygnus configure.
35550 ac_sub_configure
=$ac_aux_dir/configure
35552 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35553 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35557 # The recursion is here.
35558 if test -n "$ac_sub_configure"; then
35559 # Make the cache file name correct relative to the subdirectory.
35560 case $cache_file in
35561 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35562 *) # Relative name.
35563 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35566 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35567 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35568 # The eval makes quoting arguments work.
35569 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35570 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35571 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35572 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35573 { (exit 1); exit 1; }; }